/*
 sm     =   small   =   phone-small     = 576px     = 36em;
 md     =   medium  =   phone-large     = 768px     = 48em;
 lg     =   large   =   phone-tablet    = 992px     = 62em;
 xl     =   xlarge  =   desktop         = 1200px    = 75em;
 xxl    =   xxl     =   big desktop     = 1400px    = 87.5em;
 1em = 16px;
*/
/*
When using MAX and Desktop first approach the biggest screen size
shall be on top for right cascading of styles(smallest shall be last)
*/
/*
When using MIN and Mobile first approach the smalles screen size
shall be on top for right cascading of styles(bigest shall be last)
*/
:root {
  --variables: goes here;
}

* {
  margin: 0;
  padding: 0;
}

*, *::before, *::after {
  -webkit-box-sizing: inherit;
          box-sizing: inherit;
}

html {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

@font-face {
  font-family: "Jost";
  src: url("../fonts/Jost-Regular.ttf");
  font-weight: normal;
}

@font-face {
  font-family: "Jost";
  src: url("../fonts/Jost-SemiBold.ttf");
  font-weight: 800;
}

@font-face {
  font-family: "Roboto";
  src: url("../fonts/RobotoCondensed-Light.ttf");
  font-weight: 300;
}

@font-face {
  font-family: "Roboto";
  src: url("../fonts/RobotoCondensed-Regular.ttf");
  font-weight: 400;
}

@font-face {
  font-family: "Roboto";
  src: url("../fonts/RobotoCondensed-Bold.ttf");
  font-weight: 800;
}

body {
  font-family: "Roboto";
}

.page-title {
  margin-bottom: 3.75rem;
  font-weight: 800;
  padding: 1.25rem;
  background-color: #e8f1fb;
  border-radius: 20px;
  text-align: center;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

h1 {
  font-size: 1.1rem;
}

h1,
h2 {
  text-transform: uppercase;
}

a {
  color: #345893;
}

a[target="_blank"] {
  position: relative;
  padding-left: 24px;
}

a[target="_blank"]:before {
  content: "";
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: absolute;
  top: 0px;
  left: 7px;
  background: url(../img/svg/blank.svg) center no-repeat;
  background-size: cover;
  width: 14px;
  height: 14px;
}

.link--download {
  position: relative;
  padding-left: 24px;
}

.link--download:before {
  content: "";
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: absolute;
  top: 4px;
  left: 0px;
  background: url(../img/svg/download.svg) center no-repeat;
  background-size: cover;
  width: 12px;
  height: 12px;
}

.ul-3col {
  -webkit-columns: 3;
          columns: 3;
  -webkit-column-gap: 2.5rem;
          column-gap: 2.5rem;
  min-height: 250px;
}

.topnav {
  background-color: #31496d;
  padding: 0.625rem 0;
}

.topnav__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  margin-bottom: 0;
}

.topnav__list li {
  display: inline-block;
}

.topnav__list a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 0.3125rem 0.625rem;
  color: white;
  text-decoration: none;
  font-family: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.7px;
  border-radius: 15px;
}

.topnav__list a:link {
  color: inherit;
  border-radius: 15px;
  color: white;
}

.topnav__list a:hover, .topnav__list a:active {
  color: black;
  background-color: white;
  border-radius: 15px;
}

.navbar-toggler {
  background: url(../img/svg/close-x.svg) center no-repeat;
  background-size: 36px 36px;
}

.navbar-toggler.collapsed {
  background: url(../img/svg/menu-open.svg) center no-repeat;
  background-size: 32px 32px;
}

.brand {
  background-color: white;
  background-image: url(../img/header_blue.png);
  background-size: cover;
  background-repeat: no-repeat;
  padding: 6vw 0;
  position: relative;
  z-index: 2;
}

.brand__link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  color: black;
  text-decoration: none;
  font-family: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

.brand__link:hover, .brand__link:active {
  color: inherit;
}

.brand__name {
  margin-left: 1.25rem;
}

.brand__ministerstvo {
  text-transform: uppercase;
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.3;
  margin-bottom: 0.3125rem;
  letter-spacing: -0.5px;
}

.brand__grao {
  font-size: 1.4rem;
  text-transform: uppercase;
}

.brand__grao span {
  text-transform: none;
  display: block;
  line-height: 1.3;
}

.brand__grao span:first-child {
  line-height: 1.2;
}

.main-nav {
  background-color: white;
  -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
          box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
  padding: 1.625rem 0;
}

.main-nav a {
  font-family: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  text-transform: uppercase;
  font-weight: normal;
  font-size: 0.83rem;
  color: black;
  display: inline-block;
  border-radius: 15px;
}

.main-nav a:hover, .main-nav a:active {
  color: white;
  background-color: #345893;
  border-radius: 15px;
}

.main-nav__list {
  margin: 0 auto;
}

.main-nav__list .active {
  color: white;
  background-color: #345893;
  border-radius: 15px;
}

.main-nav__list li:not(:first-child),
.main-nav__list li:not(:last-child) {
  margin: 0 0.3125rem;
}

.main-nav__list > li > ul {
  min-width: 300px;
  max-width: 450px;
}

.main-nav__list > li > ul a {
  white-space: normal;
}

@media (max-width: 61.9em) {
  .brand {
    padding: 6vw 0;
  }
  .brand__img {
    width: 90px;
    height: auto;
  }
  .brand__name {
    margin-left: 1.25rem;
  }
  .brand__ministerstvo {
    text-transform: uppercase;
    font-weight: 800;
    font-size: 1rem;
    line-height: 1.1;
    margin-bottom: 0.3125rem;
    letter-spacing: -0.5px;
  }
  .brand__grao {
    font-size: 1rem;
    text-transform: uppercase;
  }
  .brand__grao span {
    line-height: 1.3;
  }
  .brand__grao span:first-child {
    line-height: 1.2;
  }
  .main-nav__list {
    padding: 2.5rem 0;
  }
  .main-nav__list li {
    margin: 0.3125rem 0;
  }
  .main-nav__list li ul {
    padding: 1.25rem 0;
  }
  .main-nav__list li ul li {
    padding: 0.3125rem 1.25rem;
  }
  .main-nav__list li ul li a {
    padding: 0.625rem;
  }
}

@media (min-width: 62em) {
  .main-nav a {
    font-size: 0.9rem;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }
}

@media (min-width: 75em) {
  .main-nav a {
    font-size: 1rem;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

.breadcrumb {
  font-family: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  text-decoration: none;
  padding: 1.625rem 2.5rem;
}

.breadcrumb-item {
  font-weight: bold;
}

.breadcrumb-item:before {
  display: none;
}

.breadcrumb-item:after {
  content: '\203A';
  margin-left: 0.625rem;
}

.breadcrumb-item:last-child:after {
  display: none;
}

.breadcrumb__link {
  font-family: inherit;
  font-weight: bold;
  text-decoration: inherit;
  color: #31496d;
}

@media (max-width: 47.9em) {
  .breadcrumb {
    padding: 1.625rem 0.625rem;
  }
}

.main {
  padding: 2.5rem 1rem;
  padding-bottom: 7.5rem;
}

.page-content {
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

@media (max-width: 47.9em) {
  .page-content {
    padding-left: 0.625rem;
    padding-right: 0.625rem;
  }
}

.page-section__container {
  margin: 2.5rem 0;
}

.page-section__container small {
  display: block;
  font-weight: bold;
  margin-bottom: 1.25rem;
  padding-left: 1.25rem;
}

.page-section--link-content ul {
  list-style: none;
  padding-left: 0;
}

.page-section--link-content ul a {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  font-weight: 800;
  font-size: 0.93rem;
  text-decoration: none;
  position: relative;
  line-height: 1.3;
  margin-bottom: 0.625rem;
}

.page-section--phone-content ul {
  list-style: none;
  margin-left: 0;
  padding-left: 0.625rem;
}

.page-section--phone-content li {
  margin-bottom: 1.875rem;
}

.page-section--phone-content p {
  margin-bottom: 0;
  padding-bottom: 0;
}

.page-section--phone-content p span {
  display: block;
  font-weight: 800;
}

.page-section--phone-content h3 {
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 0;
}

h2.page-section__title,
h3.page-section__title {
  text-align: center;
}

h2.page-section__title {
  font-size: 1.03rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
}

h2.page-section__news-title {
  font-size: 1.03rem;
  font-weight: 800;
  background-color: #abcdf0;
  border-radius: 15px;
  padding: 1.25rem;
  margin-top: 1.25rem;
}

h3.page-section__title,
h2.page-section__title--background {
  font-size: 1rem;
  text-transform: uppercase;
  background-color: #abcdf0;
  border-radius: 15px;
  padding: 1.25rem;
  margin-top: 1.25rem;
  margin-bottom: 2.5rem;
}

h2.page-section__title--background {
  font-weight: 800;
}

@media (max-width: 61.9em) {
  .page-section--phone-content h3,
  .page-section--phone-content p {
    text-align: center;
  }
  h2.page-section__title--background {
    text-align: center;
  }
}

.footer {
  background-color: #abcdf0;
}

.footer .container {
  padding: 2.5rem 1rem;
}

.footer h2 {
  border-bottom: 1px solid #7694c1;
  padding: 0.625rem;
  font-weight: 800;
  font-size: 1rem;
}

.footer p {
  font-size: 0.95rem;
  padding: 0.625rem;
}

.footer span {
  display: block;
}

.footer__brand {
  background-color: #31496d;
  font-family: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  color: white;
  text-align: center;
  padding: 1.25rem 0;
}

.footer__brand p {
  margin-bottom: 0;
}
