/*
Theme Name: Järvamaa Haigla
Theme URI: https://www.jmh.ee
Description: Järvamaa Haigla
Author: Rando Rooberg | rando.rooberg@gmail.com | Veebiks kiired ja vihased kodulehed ja e-poed
Author URI: https://www.veebiks.ee
Version: 1.0
License: Veebiks | Kopeerimine ja jagamine keelatud | Kasutusluba Järvamaa Haigla
*/

* { box-sizing: border-box;}
body {background-color: #FFF8F8; font-size: 1rem; line-height: 2; color: #1D1D1D; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-style: normal; font-optical-sizing: auto; font-weight: 400;}

img {max-width: 100%; height: auto;}

img.alignright {float:right; margin:0 0 1rem 1rem}
img.alignleft {float:left; margin:0 1rem 1rem 0}
img.aligncenter {display: block; margin-left: auto; margin-right: auto}
a img.alignright {float:right; margin:0 0 1rem 1rem}
a img.alignleft {float:left; margin:0 1rem 1rem 0}
a img.aligncenter {display: block; margin-left: auto; margin-right: auto}

.table_wrapp {overflow: auto;}

table {border-collapse: collapse; width: 100%;}
table td, table th {border: 0.063rem solid #213540; padding: 0.5rem;}
table th {padding: 0.938rem 0.625rem!important; text-align: left; border: 0.063rem solid #213540!important; background-color: #213540; color: #ffffff;}

blockquote {background: #f9f9f9; border-left: 0.625rem solid #EB0F0F; margin: 1.5rem 0.625rem; padding: 0.5rem 0.625rem; quotes: "\201C""\201D""\2018""\2019";}
blockquote:before {color: #EB0F0F; content: "\""; font-size: 4rem; line-height: 0.1rem; margin-right: 0.25rem; vertical-align: -0.4rem;}
blockquote a{text-decoration: none; background: #eeeeee; cursor: pointer; padding: 0 0.188rem; color: #000000;}
blockquote a:hover{color: #000000;}
blockquote em{font-style: italic;}

iframe, video  {width: 100%!important; margin: 0; padding: 0;}

strong {font-weight: 800;}

input, select, textarea{ width: 100%; padding: 1.25rem 0.625rem; border: 0.063rem solid #cccccc; font-size: 1rem; border-radius: 0.313rem; box-sizing: border-box; resize: vertical; outline: 0; -webkit-appearance: none;}
label { padding: 0.75rem 0.75rem 0.75rem 0; display: inline-block; }

input[type=submit], button { font-size: 1rem; background-color: #EB0F0F; color: #ffffff; padding: 0.75rem 1.25rem; border: 0.125rem solid #EB0F0F; border-radius: 0.313rem; cursor: pointer; transition-duration: 0.5s;}
input[type=checkbox] {-webkit-appearance: none; -moz-appearance: none; vertical-align: middle; appearance: none; width: 1.563rem; height: 1.563rem; border: 0.125rem solid #000000; border-radius: 0.313rem; cursor: pointer;}
input[type=checkbox]:checked { background-color: #EB0F0F; }
input[type=submit]:hover, button:hover {background-color: #ffffff; color: #000000;}

.wpcf7-submit {padding: 1.563rem 0.625rem!important; margin-top: 1.563rem!important; width: 50%!important; float: right!important; font-weight: 600!important;}
.wpcf7-response-output {margin-top: 6.25rem!important;}
.wpcf7-list-item {margin: 0!important;}

h1, h2, h3, h4, h5, h6 {color: #000000; line-height: 1.2; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-style: normal; font-optical-sizing: auto; font-weight: 600;}

h1 { font-size: 2rem;}
h2 { font-size: 1.5rem;}
h3 { font-size: 1rem;}
h4 { font-size: 1rem;}
h5 { font-size: 1rem; }
h6 { font-size: 1rem; }

a {color: #EB0F0F; font-weight: 600; text-decoration: none;}
a:hover {color: #1D1D1D; text-decoration: underline; }

.contrast-mode-on {background-color: #202127; color: #FFE66D!important;}
.contrast-mode-on #top-header, .contrast-mode-on #bottom-header, .contrast-mode-on .sub-menu-inner, .contrast-mode-on #hero-cta, .contrast-mode-on .frontpage-news, .contrast-mode-on #navigation, .contrast-mode-on #simple-page-sidebar, .contrast-mode-on .fresh-news, .contrast-mode-on .listed-procurement, .contrast-mode-on .job-offer, .contrast-mode-on #footer {background-color: #202127;}
.contrast-mode-on #navigation ul li a, .contrast-mode-on #hero-cta .hero-cta-block, .contrast-mode-on #hero-cta .hero-cta-block-title, .contrast-mode-on #simple-page-sidebar ul li a, .contrast-mode-on .frontpage-news-meta, .contrast-mode-on .fresh-news-meta {color: #FFE66D;}

.contrast-mode-on .listed-procurement:hover, .contrast-mode-on .job-offer:hover, .contrast-mode-on .frontpage-news:hover {background-color: #202127; color: #FFE66D;}

.contrast-mode-on #top-header-slogan, .contrast-mode-on #header-slogan-mobile  {color: #FFE66D;}

.contrast-mode-on #hero-cta-bottom .hero-cta-block {background-color: #202127; border: 0.125rem solid #FFE66D;}
.contrast-mode-on #hero-cta-bottom .hero-cta-block-title {color: #FFE66D;}
.contrast-mode-on #hero-cta-bottom .hero-cta-block:hover {background-color: #202127;}
.contrast-mode-on #hero-cta-bottom .hero-cta-block:hover .hero-cta-block-title {color: #FFE66D;}

.contrast-mode-on #hero {background-color: #202127;}

.contrast-mode-on .simple-button, .contrast-mode-on .wpcf7-submit {border: 0.125rem solid #FFE66D; background-color: #202127; color: #FFE66D;}
.contrast-mode-on .simple-button:hover {background-color: #202127; color: #FFE66D!important;}

.contrast-mode-on a {color: #FFE66D; }
.contrast-mode-on a:hover {color: #FFE66D!important;}

.contrast-mode-on  blockquote {background: #202127; border-color: #FFE66D; }
.contrast-mode-on  blockquote:before {color: #FFE66D;}

.contrast-mode-on .fil1, .contrast-mode-on .fil0, .contrast-mode-on .fil2 {fill: #FFE66D;}
.contrast-mode-on #Dribbble-Light-Preview {fill: #FFE66D;}
.contrast-mode-on svg path {stroke: #FFE66D;}

.contrast-mode-on table tr {background-color: #202127;}
.contrast-mode-on table th {background-color: #202127; color: #FFE66D; border-color: #FFE66D!important;}

.contrast-mode-on input, .contrast-mode-on select {background-color: #000000!important; border: 0.125rem solid #FFE66D!important; color: #FFE66D!important;}
.contrast-mode-on button {background-color: #FFE66D!important; color: #000000!important; border-color: #FFE66D!important;}

.contrast-mode-on h1, .contrast-mode-on h2, .contrast-mode-on h3, .contrast-mode-on h4 {color: #FFE66D;}

.contrast-mode-on .hero-cta-block-img img {display: none;}

.contrast-mode-on #hero-cta-bottom .hero-cta-block a, .contrast-mode-on #hero-cta-bottom .hero-cta-block {transition-duration: initial;}

.contrast-mode-on .flexslider .caption-wrap {color: #FFE66D!important;}
.contrast-mode-on #hero .flexslider .caption-wrap {background: #202127!important;}

.contrast-mode-on #footer, .contrast-mode-on #footer a, .contrast-mode-on .footer-title {color: #FFE66D!important;}
.contrast-mode-on #footer {border-top: 0.313rem solid #FFE66D; border-bottom: 0.313rem solid #FFE66D;}

.container {position: relative; width: 75rem; max-width: 100%; padding: 0 0.625rem;}

#header {width: 100%;}
#top-header, #bottom-header {position: relative; display: flex; justify-content: center; width: 100%;}
#top-header .container, #bottom-header .container {display: flex; flex-wrap: wrap; align-items: center;}

#top-header {padding: 0.938rem 0; background-color: #EAEBF1; font-size: 0.75rem!important; font-weight: 500; }
#bottom-header {padding: 1.563rem 0; background-color: #ffffff;}

#top-header form {width: 100%; display: none; margin-top: 0.938rem;}
.search-active {display: block!important;}
#top-header .wp-block-search__inside-wrapper {display: flex; flex-wrap: wrap; width: 100%;}
#top-header form input {width: 85%; border-radius: 0; padding: 1.563rem 0.625rem; background-color: #f3f4f7; border: none;}
#top-header form button {width: 15%; margin: 0!important; border-radius: 0; background-color: #52565e; border-color: #52565e;}
#top-header form button:hover {color: #000000; background-color: #ffffff;}

#bottom-header .contrast, #bottom-header .search-now {display: none;}

#top-header-slogan, #header-slogan-mobile  {font-weight: 600; color: #EB0F0F;}

#top-header-contact {margin-left: auto; }
#top-header-contact img {width: 1.2rem; vertical-align: middle;}
.reg, .contact-mail {margin-left: 0.625rem;}

#top-header-tools {margin-left: 0.938rem;}
.search-now {margin-left: 0.313rem;}
.search-now svg {width: 1.5rem!important; margin-top: 0.094rem; cursor: pointer; vertical-align: middle;}
.contrast svg {width: 1.5rem!important; cursor: pointer; vertical-align: middle;}

#logo {position: relative; display: block!important;}
#logo svg, #logo-mobile svg {max-width: 10.938rem; vertical-align: middle;}
#logo-mobile, #header-slogan-mobile {display: none;}

#navigation {margin-left: auto; position: relative;}
#navigation ul {padding: 0; margin: 0; list-style: none;}
#navigation ul li {display: inline-block;}
#navigation ul li a {text-decoration: none; padding: 0.938rem; color: #000000; font-size: 1.2rem; font-weight: 500;}
#navigation ul li a:last-of-type {padding-right: 0;}
#navigation ul li a:hover {text-decoration: none; color: #EB0F0F;}

.sub-menu {display: none; position: absolute; z-index: 2; padding: 0!important;}
#menu-item-171 .sub-menu {right: 0;}
.sub-menu li {display: block!important; margin: 0;}
.sub-menu li a {display: block; padding: 0.313rem 0!important; font-weight: 400!important; font-size: 1rem!important;}
.sub-menu li a:hover {text-decoration: underline!important;}
.menu-item-has-children:hover .sub-menu {display: block;}
.sub-menu li a:hover:after { width: 0!important;}
.sub-menu .current-menu-item a:after { width: 0!important;}
.sub-menu-inner {background-color: #EAEBF1; margin-top: 1.563rem; min-width: 18.75rem; padding: 0.625rem; margin-left: 0.313rem;}

#navigation-inside {display: flex;}
.menuicon svg {display: none;}
.btn-close {display: none;}

#hero {display: flex; justify-content: center; background-color: #ffffff;}
#hero-slider-container {height: 28.125rem; max-width: 73.75rem;}
#hero img {width: 100%; height: 28.125rem; object-fit: cover;}
#hero .caption {margin: 0 auto; padding: 3.125rem 0; width: 98%; line-height: 1.2; font-size: 1.3rem; font-weight: 700;}
#hero .flexslider .caption-wrap {opacity: 0.9; background: #213540!important;}

#hero-cta {display: flex; justify-content: center; background-color: #EAF6F6; padding: 3.125rem 0 ;}
#hero-cta .container {display: flex; flex-wrap: wrap; align-items: center;}

#hero-cta-bottom {display: flex; justify-content: center; margin-bottom: -0.625rem;}
#hero-cta-bottom .container {display: flex; flex-wrap: wrap; justify-content: center;}

.hero-cta-block {width: 32.66%; color: #1D1D1D; margin-left: 1%;}
.hero-cta-block:nth-child(3n+1) {margin-left: 0;}
.hero-cta-block:hover {color: #1D1D1D; text-decoration: none;}
.hero-cta-block span {display: block; text-align: center;}
.hero-cta-block-img img {width: 2.5rem; margin: 0 auto; }
.hero-cta-block-title {color: #EB0F0F; font-size: 1.5rem; line-height: 1;}
.hero-cta-block:hover .hero-cta-block-title  {color: #1D1D1D;}
.hero-cta-block-description {font-size: 1rem; font-weight: 400; line-height: 1; margin-top: 1rem;}

#hero-cta-bottom .hero-cta-block {width: 25%; margin: 0; background-color: #EAEBF1; padding: 1.25rem 0.625rem; border-bottom-left-radius: 0.625rem; border-bottom-right-radius: 0.625rem; transition-duration: 0.5s;}
#hero-cta-bottom .hero-cta-block a {transition-duration: 0.5s;}
#hero-cta-bottom .hero-cta-block:hover {background-color: #EB0F0F;}
#hero-cta-bottom .hero-cta-block-title {font-size: 1rem; color: #1D1D1D;}
#hero-cta-bottom .hero-cta-block:hover .hero-cta-block-title {color: #ffffff;}

#frontpage-news-zone {display: flex; justify-content: center; padding: 3.125rem 0;}
#frontpage-news-zone .container {display: flex; flex-wrap: wrap; align-items: center;}

#frontpage-news-zone-title {width: 100%; margin-bottom: 3.125rem;}
#frontpage-news-zone-title h2 {margin: 0;}

#frontpage-news-feed {width: 100%; display: flex; flex-wrap: wrap; }

.frontpage-news {position: relative; text-decoration: none; color: #1D1D1D; width: 49.5%; margin: 0; border-radius: 0.313rem; background-color: #ffffff; box-shadow: 0 0.625rem 1.25rem rgba(0,0,0,0.19), 0 0.375rem 0.375rem rgba(0,0,0,0.23);}
.frontpage-news:hover {background-color: #EAEBF1; text-decoration: none;}
.frontpage-news-thumbnail img {border-top-left-radius: 0.313rem; transition: filter 0.3s ease;}
.frontpage-news:hover img {filter: blur(0.313rem);}
.frontpage-news-title {padding: 1.563rem 0.938rem;}
.frontpage-news-title h2 {font-size: 1.2rem; margin: 0;}
.frontpage-news-meta {font-size: 0.6rem; font-weight: 400; position: absolute; right: 0.625rem; bottom: 0;}

#frontpage-news-feed-wrapped {width: 49.5%; margin-left: auto; display: flex; flex-wrap: wrap;}
#frontpage-news-feed-wrapped .frontpage-news {width: 100%; margin-top: 1.5%; display: flex; flex-wrap: wrap; align-items: center;}
#frontpage-news-feed-wrapped .frontpage-news:first-of-type {margin-top: 0;}
#frontpage-news-feed-wrapped .frontpage-news-thumbnail {width: 40%; height: 100%;}
#frontpage-news-feed-wrapped .frontpage-news-thumbnail img {object-fit: cover; min-height: 100%; height: auto;}
#frontpage-news-feed-wrapped .frontpage-news-title {width: 58%; margin-left: auto;}

#frontpage-news-feed-view-all {width: 100%; margin-top: 3.125rem; display: flex; justify-content: right;}
.simple-button {border: 0.125rem solid #EB0F0F; font-size: 1rem; background-color: #EB0F0F; color: #ffffff; padding: 0.938rem; border-radius: 0.313rem; transition-duration: 0.5s;}
.simple-button:hover {text-decoration: none; color: #000000; background-color: #ffffff;}

#search-result-block {display: flex; justify-content: center; padding: 1.563rem 0 4.688rem 0;}
#search-query {width: 100%; font-size: 1.5rem; line-height: 1.2;}

#show-search-results {width: 100%; border: 0.063rem solid #dddddd; padding: 0 1.25rem 2.813rem 1.25rem;}
.search-result-item {display: block; margin-top: 2.188rem; padding-top: 2.188rem; border-top: 0.063rem solid #dddddd;}
.search-result-item:first-of-type {margin: 0; border: none;}
.search-result-item:hover {text-decoration: none; }
.search-result-item h2 {margin: 0; font-size: 1.2rem;}

#search-again {width: 100%; font-size: 1.2rem; margin-top: 2.5rem;}

#search-again form input {width: 85%; border-radius: 0; background-color: #ffffff; border: none; padding: 2.188rem 0.625rem; font-weight: 600;}
#search-again form button {width: 15%; border-radius: 0; margin: 0!important; background-color: #EB0F0F; border-color: #EB0F0F; font-weight: 600;}
#search-again form button:hover {color: #000000; background-color: #ffffff;}
#search-again .wp-block-search__inside-wrapper {width: 100%; display: flex;}

#simple-page {display: flex; justify-content: center; padding: 3.125rem 0;}
#simple-page .container {display: flex; flex-wrap: wrap; align-items: flex-start;}

.single #simple-page .container, .page-template-page-full #simple-page .container {display: block;}

#breadcrumb {width: 100%; font-size: 0.65rem; margin-bottom: -1rem; line-height: 1;}
.archive #breadcrumb {margin: 0;}
#breadcrumb span {margin: 0 0.313rem;}
#breadcrumb span:first-of-type {margin-left: 0;}

#simple-page-content-block {width: 70%; order: 2; margin-left: auto;}

#simple-page-sidebar {width: 25%; order: 1; background-color: #EAEBF1; padding: 0.938rem 0.938rem 2.5rem 0.938rem; border-radius: 0.625rem; box-shadow: 0 0.625rem 1.25rem rgba(0,0,0,0.19), 0 0.375rem 0.375rem rgba(0,0,0,0.23);}
#simple-page-sidebar ul {margin: 0; padding: 0; list-style: none;}
#simple-page-sidebar ul li {line-height: 1; margin-top: 1.563rem; padding-top: 1.563rem; border-top: 0.063rem solid #cccccc;}
#simple-page-sidebar ul li:first-of-type {padding: 0; border: none;}
#simple-page-sidebar ul li a {font-size: 1rem; color: #1D1D1D;}
#simple-page-sidebar .current_page_item a {color: #EB0F0F; text-decoration: underline;}

#news-block {display: flex; justify-content: center; padding: 3.125rem 0;}
#news-block .container {display: flex; flex-wrap: wrap;}

#news-block-title {margin-bottom: 1.563rem;}
#news-block-title h2 {margin: 0; font-size: 2rem;}

#news-feed {width: 100%; display: flex; flex-wrap: wrap; margin: 0 0 3.125rem 0;}

.fresh-news {position: relative; width: 49.5%; display: flex; flex-wrap: wrap; align-items: center; margin-top: 1%; text-decoration: none; color: #1D1D1D; border-radius: 0.313rem; background-color: #ffffff; box-shadow: 0 0.625rem 1.25rem rgba(0,0,0,0.19), 0 0.375rem 0.375rem rgba(0,0,0,0.23); }
.fresh-news:nth-child(2n) {margin-left: auto;}

.fresh-news-thumbnail {width: 40%; height: 100%;}
.fresh-news-thumbnail img {object-fit: cover; min-height: 100%; height: auto;border-top-left-radius: 0.313rem; transition: filter 0.3s ease;}
.fresh-news:hover img {filter: blur(0.313rem);}

.fresh-news-title {width: 58%; margin-left: auto;}
.fresh-news-title h2 {font-size: 1rem;}

.fresh-news-meta {font-size: 0.6rem; font-weight: 400; position: absolute; right: 0.625rem; bottom: 0;}

#jobs-block {display: flex; justify-content: center; padding: 3.125rem 0;}
#jobs-block .container {display: flex; flex-wrap: wrap;}

#jobs-block-title {margin-bottom: 1.563rem;}
#jobs-block-title h2 {margin: 0; font-size: 2rem;}

#jobs-feed {width: 100%; display: flex; flex-wrap: wrap; margin: 0 0 3.125rem 0;}

.job-offer {position: relative; width: 49.5%; display: flex; flex-wrap: wrap; background-color: #ffffff; margin-top: 1%; padding: 0.938rem 0.625rem; text-decoration: none; border-radius: 0.313rem; box-shadow: 0 0.625rem 1.25rem rgba(0,0,0,0.19), 0 0.375rem 0.375rem rgba(0,0,0,0.23);}
.job-offer:nth-child(2n) {margin-left: auto;}
.job-offer:hover {text-decoration: none; background-color: #EAEBF1;}

.job-title {width: 100%;}
.job-title h2 {font-size: 1.5rem;}

.job-meta {width: 100%; font-size: 0.75rem;}
.job-apply-date {margin-left: 0.938rem;}
.find-out-more {position: absolute; bottom: 0.938rem; right: 0.938rem;}

#procurement-block {display: flex; justify-content: center; padding: 3.125rem 0;}
#procurement-block .container {display: flex; flex-wrap: wrap;}

#procurement-block-title {margin-bottom: 1.563rem;}
#procurement-block-title h2 {margin: 0; font-size: 2rem;}

#procurement-feed {width: 100%; display: flex; flex-wrap: wrap; margin: 1.563rem 0 3.125rem 0;}

.listed-procurement {position: relative; width: 49.5%; display: flex; flex-wrap: wrap; background-color: #ffffff; margin-top: 1%; padding: 0.938rem 0.625rem 2.188rem 0.625rem; text-decoration: none; border-radius: 0.313rem; box-shadow: 0 0.625rem 1.25rem rgba(0,0,0,0.19), 0 0.375rem 0.375rem rgba(0,0,0,0.23);}
.listed-procurement:nth-child(2n) {margin-left: auto;}
.listed-procurement:hover {text-decoration: none; background-color: #EAEBF1;}

.procurement-title {width: 100%;}
.procurement-title h2 {font-size: 1.5rem;}

.procurement-meta {width: 100%; font-size: 0.75rem; position: absolute; bottom: 0.938rem;}
.procurement-apply-date {margin-left: 0.938rem;}

#its-404 {display: flex; justify-content: center; padding: 3.125rem 0;}
#its-404 h2 {font-size: 7rem; text-align: center;}
#its-404 p {font-size: 3.5rem; text-align: center;}
#its-404 .simple-button {display: block; margin: 9.375rem auto 0 auto; width: 18.75rem; text-align: center;}

#page-navigation {width: 100%; text-align: center;}
#page-navigation:has(.nav-next:empty) {display: none;}
.nav-previous {display: inline;}
.nav-next {display: inline; margin-left: 1.25rem;}

#footer {display: flex; justify-content: center; padding: 6.25rem 0; background-color: #213540; color: #ffffff; border-bottom: 0.313rem solid #EB0F0F; font-size: 1rem;}
#footer .container {display: flex; flex-wrap: wrap;}
#footer a {color: #ffffff; font-weight: 400;}
#footer a:hover {color: #ffffff;}
#footer ul {margin: 0; padding: 0; list-style: none;}
#footer .footer-title {font-size: 1.2rem; color: #cccccc; font-weight: 600; line-height: 1;}
#footer img {max-width: 12.5rem;}

.footer-box {width: 21.25%; margin-left: 5%;}
.footer-box:first-of-type {margin: 0;}

@media (max-width: 1065px) {
    
#bottom-header {padding: 0.625rem 0;}	

#hero .caption {padding: 0.938rem 0.625rem; font-size: 1rem;}

#search-and-contrast-menu {margin-left: auto;}
#search-and-contrast-menu .contrast, #search-and-contrast-menu .search-now {display: inline; margin: 0 auto;}
#search-and-contrast-menu .contrast svg {width: 3rem; display: inline-block; margin-right: 0.625rem; vertical-align: middle;}
#top-header-contact .contrast, #top-header-contact .search-now {display: none;}
#search-and-contrast-menu .search-now svg {width: 3rem; display: inline-block; vertical-align: middle;}  
.menuicon svg {cursor: pointer; width: 3rem; margin-right: 0.625rem; display: inline-block; vertical-align: middle;}

#logo-mobile {display: block; margin-top: 1.563rem; margin-left: 0.625rem;}

#navigation .with_sub {display: block!important;}
#navigation .with_sub:after {content: '\002B'; color: #000000; padding: 0 0.938rem; cursor: pointer; position: absolute; font-weight: bold; font-size: 2rem; top: -0.125rem; right: 0;}
#navigation .sub-menu-opened:after {content: '\002D'!important; top: -0.25rem; right: 0.063rem;}

.contrast-mode-on #navigation .with_sub:after {color: #FFE66D;}

.btn-close {display: block; font-size: 4rem; cursor: pointer; position: absolute; top: -1.563rem; right: 0.625rem; color: #000000;}
.contrast-mode-on .btn-close {color: #FFE66D;}

#navigation {background-color: #EAEBF1; display: none; position: fixed; z-index: 1; left: 0; top: 0; bottom: 0; overflow-y: auto; overflow-x:hidden; transition: 0.5s;}
#navigation ul li {width: 100%; position: relative;}
#navigation ul li a{width: 100%; display: inline-block; padding: 0.625rem 0; font-weight: 600;}
#navigation ul li a:hover {color: #000000;}
.menu-item-has-children:hover .sub-menu {display: none;}
.navigation-active {display: block!important; width: 100%!important;}
#navigation-inside {margin: 1.563rem 0 0 0.625rem; display: block;}

.sub-menu {position: relative; z-index: 1;}
.sub-menu-inner {margin: 0; padding: 0; min-width: initial;}

#top-header-contact img {width: 0.75rem;}
.reg, .contact-mail {margin-left: 0.313rem;}

#hero-slider-container {height: 15.625rem;}
#hero img {height: 15.625rem;}

#search-query {font-size: 1.2rem;}
.search-result-item h2 {font-size: 1rem;}
#search-again {font-size: 1rem;}
#top-header form input, #search-again form input {padding: 1.25rem 0.625rem;}
}

@media (max-width: 980px) {
.find-out-more {position: relative; bottom: 0; right: 0; display: block; width: 100%; }
}

@media (max-width: 890px) {
#top-header {font-size: 0.6rem!important;}
}

@media (max-width: 850px) {
.hero-cta-block-title, .frontpage-news-title h2 {font-size: 1rem;}
#hero-cta .container {align-items: flex-start;}

#simple-page {padding: 1.563rem 0 3.125rem 0;}
#simple-page-content-block {width: 100%; order: 1; margin: 0;}
#simple-page-sidebar {width: 100%; order: 2; margin: 1.563rem 0 0 0;}
}

@media (max-width: 720px) {
#top-header {font-size: 0.5rem!important;}
}

@media (max-width: 690px) {
#top-header-slogan {display: none;}
#header-slogan-mobile  {display: block; margin-top: 1.563rem; margin-left: 0.625rem; font-size: 0.75rem;}
#top-header-contact {margin: 0 auto;}
}

@media (max-width: 680px) {
.wpcf7-submit {width: 100%!important;}	
.wpcf7-response-output {margin-top: -0.938rem!important;}
	
#top-header form input, #search-again form input {width: 70%;}
#top-header form button, #search-again form button {width: 30%;}

#hero-cta-bottom .hero-cta-block {width: 50%;}

.frontpage-news {width: 100%;}
.frontpage-news-title, .fresh-news-title {padding: 1rem 0.625rem 1.5rem 0.625rem;}
#frontpage-news-feed-wrapped {width: 100%; margin-left: 0;}
#frontpage-news-feed-wrapped .frontpage-news {width: 100%; margin-top: 0.938rem!important;}
.simple-button {font-size: 0.75rem; padding: 0.625rem;}

#news-block {padding: 1.563rem 0 3.125rem 0;}
#news-feed {margin: 0 0 3.125rem 0;}
.fresh-news {width: 100%; margin-top: 1.563rem;}
.fresh-news:first-of-type {margin: 0;}

#jobs-block {padding: 1.563rem 0 3.125rem 0;}
#jobs-feed {margin: 0 0 3.125rem 0;}

.job-offer {width: 100%; margin-top: 1.563rem;}
.job-offer:first-of-type {margin: 0;}

#procurement-block {padding: 1.563rem 0 3.125rem 0;}
#procurement-feed {margin: 0 0 3.125rem 0;}

.listed-procurement {width: 100%; margin-top: 1.563rem;}
.listed-procurement:first-of-type {margin: 0;}

#its-404 h2 {font-size: 5rem; }
#its-404 p {font-size: 2.5rem; line-height: 1;}
#its-404 .simple-button {width: 100%; margin-top: 3.125rem; margin-bottom: 4.688rem; font-size: 1.2rem;}
	
#footer {padding: 3.125rem 0 6.25rem 0; font-size: 0.85rem;}
.footer-box {width: 100%; margin: 0.938rem 0 0 0;}
}

@media (max-width: 480px) {
.nav-previous, .nav-next {display: inline-block; width: 100%; margin: 0;}
}

@media (max-width: 435px) {
h1, #news-block-title h2 {font-size: 2rem;}
.hero-cta-block {width: 100%; margin: 0; margin-top: 1.563rem; padding-top: 1.563rem; border-top: 0.063rem solid #cccccc;}
.hero-cta-block:first-of-type {margin: 0; padding: 0; border-top: none;}

.job-meta span {display: block; width: 100%; margin-left: 0;}
}

@media (max-width: 370px) {
#logo svg {max-width: 11.563rem;}
.menuicon img {width: 2.5rem;}
#hero-cta-bottom .hero-cta-block {width: 75%;}
}

@media print {
body {margin: 0; font-family: Arial, Helvetica, sans-serif!important;}
#header, #footer, #simple-page-sidebar, #cookie-notice, #breadcrumb {display: none!important;}	
#simple-page-content-block {margin: 0; padding: 0; width: 100%;}
h1, h2, h3, h4, h5, h6 {font-family: Arial, Helvetica, sans-serif!important;}
@page {margin: 0;}
}