/*
Theme Name: DRS
Author: info@drs.cz
Text Domain: drs
Version: 1.0
*/


/* GLOBAL STYLES
-------------------------------------------------- */
body { line-height: 1.7; font-family: 'Roboto Condensed', sans-serif; font-size: 1.125rem; font-weight: 300; color: #000; }
a { text-decoration: underline; color: #ee820f; }
a:focus { color: #0e4782; }
a:hover, a:active { color: #0e4782; }
b, strong { font-weight: 700; }
hr { clear: both; border-color: #99b4d1; }
table { width: 100%; margin-bottom: 1rem; }
table th, table td { padding: .75rem; border: 1px solid #99b4d1; background-color: #f5faff; }
table thead td, table thead th { border-bottom-width: 2px; background-color: #d4e1ef; }
tbody th { font-weight: 400; }
blockquote { font-size: 1.25rem; }
blockquote cite:before { content: "\2014 \00A0"; }
.h1, h1, .h2, h2, .h3, h3, .h4, h4, .h5, h5, .h6, h6 { font-family: 'Titillium Web', sans-serif; font-weight: 700; color: #004489; }
[role=button] { cursor: pointer; }
.btn { white-space: normal; border-radius: .55rem; text-decoration: none; }
.btn-sm { border-radius: .45rem; }
.btn-warning { border-color: #ee820f; color: #fff; background-color: #ee820f; }
.btn-warning:hover, .btn-warning:focus, .btn-warning:active { border-color: #e67a05; color: #fff!important; background-color: #e67a05; }
.validates-as-required label sup { color: red; }
.wpcf7-validation-errors, .wpcf7-mail-sent-ok, .wpcf7-spam-blocked { margin-bottom: 1rem; padding: 12px 15px 15px; border: none; line-height: 1.3; font-weight: 400; border-radius: 0px; }
.wpcf7-validation-errors, .wpcf7-spam-blocked { color: #fff; background-color: #ff8705; }
.alert-success, .wpcf7-mail-sent-ok { color: #fff; background-color: #5dbf34; }
span.wpcf7-not-valid-tip { display: none; padding: 5px 0 0 16px; line-height: 1.25; color: #cd401e; }
.red-block span.wpcf7-not-valid-tip { color: #fff; }
.wpcf7-form-control.wpcf7-not-valid { border-color: #ff8705; background: #ffe5c8; }
div.wpcf7 .screen-reader-response { display: none !important; }
.form-group.captcha { overflow: hidden; }
.wpcf7-form { position: relative; }
.wpcf7-acceptance label span { padding-left: .5rem; }
.ajax-loader { display: none; position: absolute; top: 0; left: 0; width: 100%; height: 100%; text-align: center; }
.ajax-loader.is-active { display: block; }
.ajax-loader .loader { position: absolute; top: 0; left: 0; width: 100%; height: 100%; text-indent: -9999px; background-image: url('images/ajax-loader.svg'); background-position: 50% 50%; background-repeat: no-repeat; }
.no-wrap { white-space: nowrap; }
.clear { clear: both; }
embed, iframe, object { margin-bottom: 1rem; max-width: 100%; }
img, video { height: auto; max-width: 100%; }
.video-container { position: relative; max-width: 100%; height: 0; margin: 0 auto; padding-bottom: 56.25%; overflow: hidden; }
.video-container iframe, .video-container object, .video-container embed, .video-container video {  position: absolute; top: 0; left: 0; right: 0; width: 100%; height: 100%; }
.grecaptcha-badge{ visibility: collapse !important; }
.kt-tab-inner-content-inner :first-child { margin-top: 0; }
.lg-backdrop { background-color: #004489; background-image: url('images/bg-lg-gallery.png'); background-repeat: no-repeat; background-position: 50% 50%; }
.lg-outer .lg-thumb-outer, .lg-outer .lg-toogle-thumb { background-color: rgba(0, 0, 0, 0.75); }
.lg-outer .lg-thumb-item, .lg-outer .lg-toogle-thumb, .lg-actions .lg-next, .lg-actions .lg-prev { border-radius: 0; }
.lg-outer .lg-thumb-item.active, .lg-outer .lg-thumb-item:hover { border-color: #ee820f; }
.lg-toolbar .lg-icon:hover, .lg-actions .lg-next:hover, .lg-actions .lg-prev:hover, .lg-outer .lg-toogle-thumb:hover, .lg-outer.lg-dropdown-active #lg-share { color: #ee820f; }
.lg-sub-html { font-size: 100%; color: #fff; }
.lg-sub-html a { color: inherit; }
.lg-outer .lg-item { background: url(images/ajax-loader.svg) center center no-repeat; }

#cookie-law-info-bar { padding: 16px!important; background: hsla(0,0%,100%,.95)!important; box-shadow: 0 -2px 8px 0 rgb(0 0 0 / 25%)!important; }
#cookie-bar { max-width: 640px; margin: 0 auto; text-align: center; font-weight: 400; color: #000; }
#cookie-bar .cli-plugin-main-link, #cookie-bar .cookie_action_close_header_reject { text-decoration: underline!important; font-weight: inherit!important; color: #ee820f!important; }
#cookie-bar .title { margin-bottom: 8px; line-height: 22px; font-size: 19px; font-weight: 700; color: #004489; }
#cookie-bar .bar-text { margin-bottom: 14px; vertical-align: middle; line-height: 20px; font-size: 16px; }
#cookie-bar .bar-text.after-button { margin-bottom: 0; }
#cookie-bar .button-bar { display: flex; justify-content: center; align-items: center; margin-bottom: 16px; }
#cookie-bar .button-bar a { display: block; margin: 0 5px 0 0!important; padding: 6px 16px!important; border: 1px solid transparent!important; border-radius: .5rem!important; line-height: 1.5; text-decoration: none; font-size: 16px!important; }
#cookie-bar .button-bar a.cli_settings_button { border-color: #004489!important; color: #004489!important; background-color: transparent!important; }
#cookie-bar .button-bar a.cli_settings_button:hover { color: #fff!important; background-color: #004489!important; }
.cli-modal .cli-tab-container h4, .cli-modal .cli-tab-container h1 { font-weight: 600; color: #004489; }
.cli-modal table.cookielawinfo-winter { font-family: inherit; }
.cli-modal table.cookielawinfo-winter thead th { background-color: #004489; }
.cli-modal table.cookielawinfo-winter tbody td, .cli-modal table.cookielawinfo-winter tbody th { border: 1px solid #99b4d1; background: #f5faff; }
.cli-modal .cli-switch input:checked + .cli-slider { background-color: #004489; }
.cli-modal .cli-tab-footer .wt-cli-privacy-accept-btn { border-radius: .5rem; line-height: 1.4; background-color: #ee820f; }

/* HEADER
-------------------------------------------------- */
#header { position: static; background-color: #fffdf7; }
#header:after { content: ''; display: block; height: 6px; background-color: #beb34b; background: linear-gradient(to right, #beb34b 0%, #eedf6d 25%, #beb34b 50%, #eedf6d 74%, #beb34b 100%); }
#header .navbar { flex-wrap: nowrap; padding: 0; }
#header .navbar-brand { position: relative; display: flex; align-self: stretch; margin: 0; padding: 0 2rem 0 0; }
#header .navbar-brand:after { content: ''; position: absolute; z-index: 1; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, #fffdf7 0%, #fffdf7 15%, #feefcc 50%, #fffdf7 80%, #fffdf7 100%); }
#header .navbar-brand a { position: relative; z-index: 2; display: flex; align-items: flex-end; padding: .75rem 0 0 0; }
#header .navbar-brand .logo-bottom { position: absolute; z-index: 2; top: 100%; left: 0; }
.navbar-slogan { position: absolute; z-index: 1; top: 100%; left: 140px; height: 26px; padding: 0 0 0 20%; white-space: nowrap; line-height: 26px; text-transform: uppercase; font-family: 'Titillium Web', sans-serif; font-size: 70%; color: #004489; background-color: #beb34b; background: linear-gradient(135deg, #beb34b 0%, #beb34b 15%, #eedf6d 50%, #beb34b 85%, #beb34b 100%); }
.navbar-slogan:before, #header .navbar-slogan:after { content: ''; position: absolute; top: 0; width: 140px; height: 33px; background-image: url(images/sprite.png); }
.navbar-slogan:before { left: -140px; background-position: 0 0; }
.navbar-slogan:after { right: -140px; background-position: -140px 0; }
#header .navbar-nav { padding-top: .75rem; }
.navbar-links { display: flex; justify-content: flex-end; margin: 0; }
.navbar-links li { margin-right: 0.65rem; }
.navbar-links li > a { position: relative; display: block; width: 32px; height: 32px; overflow: hidden; line-height: 32px; border-radius: 100px; text-align: center; text-decoration: none; color: #fff; }
.navbar-links li > a:before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: inherit; background: linear-gradient(to bottom, rgba(255,255,255,.5) 0%, rgba(255,255,255,0) 100%); }
.navbar-links li > a > .icon-in { position: relative; }
#navbar_search_form { display: none; position: absolute; z-index: 9999; top: 0; right: 0; bottom: 0; left: 0; margin: 0 -15px; background-color: #fffdf7; }


/* MAIN
-------------------------------------------------- */
.single .post-meta, .single .post-meta a { text-decoration: none; color: #99b4d1; }
.single .post-meta a:hover { text-decoration: underline; }
.single .post-meta { margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid #99b4d1; }
.page-main .h1, .page-main h1, .page-main .h2, .page-main h2, .page-main .h3, .page-main h3, .page-main .h4, .page-main h4, .page-main .h5, .page-main h5, .page-main .h6, .page-main h6 { margin-top: 2rem; margin-bottom: 1rem; }
.page-main .h2, .page-main h2 { margin-top: 2.5rem; }

.signpost { overflow: hidden; color: #fff; background-color: #042d6e; background: linear-gradient(135deg, #042d6e 0%, #05418a 15%, #05418a 85%, #042d6e 100%); }
.signpost-wrap { position: relative;}
.signpost-wrap:before, .signpost-wrap:after { content: ''; position: absolute; bottom: 0; width: 100%; height: 20px; background-color: #fff; }
.signpost-wrap:before { left: 100%; margin-left: 100px; }
.signpost-wrap:after { right: 100%; margin-right: 100px; }
.signpost ul { display: flex; justify-content: center; align-items: stretch; position: relative; margin: 0; padding: 0; border-top: 1px solid transparent; border-right: 1px solid rgba(255,255,255,0.3); list-style: none; }
.signpost ul:before, .signpost ul:after { content: ''; position: absolute; bottom: 0; width: 100px; height: 20px; background-image: url(images/sprite.png); background-position: 0 -66px; }
.signpost ul:before { left: -100px; }
.signpost ul:after { right: -101px; width: 101px; background-position: -176px -66px; }
.signpost ul > li { flex: 1 1 auto!important; border-left: 1px solid rgba(0,0,0,0.75); }
.signpost ul > li > a { position: relative; display: flex; align-items: center; height: 100%; padding: 2rem 1.25rem; border-left: 1px solid rgba(255,255,255,0.3); line-height: 1; text-transform: uppercase; text-decoration: none; font-size: 115%; color: inherit; background: radial-gradient(ellipse at center, #064f9d 0%, #05418a 75%, #05418a 100%); transition: background-color .15s ease-in-out; }
.signpost ul > li > a:hover { background: #05367b; }
.signpost ul > li:last-child > a { border-right: 1px solid rgba(0,0,0,0.75); }
.signpost ul > li > a:before { content: ''; position: absolute; top: 0; left: 0; width: 0; height: 0; border-style: solid; border-width: 14px 14px 0 0; border-color: rgba(255,255,255,0.2) transparent transparent transparent; }
.signpost ul > li > a > span { padding-right: .75rem; }
.signpost ul > li > a > strong { font-family: 'Titillium Web', sans-serif; font-weight: 400; }
body:not(.home) .signpost ul { height: 45px; border: 0;}
body:not(.home) .signpost ul > li { display: none; }
.addthis_inline_share_toolbox { position: absolute; top: 0; right: 0; }
body.home .addthis_inline_share_toolbox { display: none; }
.addthis_inline_share_toolbox .at-resp-share-element .at-share-btn { height: 45px; margin: 0 1px 0; transition: none; }
.addthis_inline_share_toolbox .at-resp-share-element .at-share-btn:not(:hover) { background-color: #0451a7!important; }
.addthis_inline_share_toolbox .at-resp-share-element .at-share-btn:hover { transform: translateY(0); }
.addthis_inline_share_toolbox .at-resp-share-element .at-share-btn g { fill: rgba(255, 255, 255, .75); }
.addthis_inline_share_toolbox .at-resp-share-element .at-share-btn:hover g { fill: rgba(255, 255, 255, 1); }

#slider { min-height: 55vh; }
#slider .slider { display: none; transition: 1s linear; }
.slider .slide { height: 55vh; overflow: hidden; }
.slider .slide .slide-img { transform: scale(1); transition: all 30s ease-out; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-position: 50% 50%; background-size: cover; }
.slider .slide.slick-current .slide-img, .slider .current-slide .slide-img { transform: scale(1.2); }
.slider .slide-caption { position: relative; float: right; padding: 3rem 0; text-align: right; text-shadow: 0 0 5px rgba(38,56,92, 0.60), 0 0 20px rgba(38,56,92, 0.45); font-family: 'Roboto', sans-serif; font-size: 130%; color: #fff; }
.slider .slide-caption:before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 150%; height: 100%; background-color: rgba(38,56,92,0.3); filter: blur(4rem); }
.slider .slide-caption-wrap { position: relative; }
.slider .slide-caption-title { text-transform: uppercase; font-size: 2.5rem; font-weight: 300; }
.slider .slide-caption-bottom { position: absolute; bottom: 4rem; text-transform: uppercase; text-shadow: 0 0 5px rgba(0, 0, 0, 0.75), 0 0 3px rgba(0,0,0,1); line-height: 1.2; font-size: 0.875rem; }
.slider .slide-caption-bottom strong {}
.slider .slide-caption-bottom small { display: block; font-size: 100%; font-weight: 300; }
.slider .slick-arrow { color: rgba(0,0,0,.3); background-color: transparent; box-shadow: none; }
.slider .slick-arrow:before { font-size: 4rem; }
.slider .slick-prev { left: 2rem; }
.slider .slick-next { right: 2rem; }

/* MOTTO - edit by SG */
.slider .motto { position: absolute; bottom: 4rem; right: 4%; float:left; text-transform: uppercase; text-shadow: 0 0 5px rgba(0, 0, 0, 0.75), 0 0 3px rgba(0,0,0,1); line-height: 1.2; font-size: 1.8rem; text-align: right; }
/* MOTTO - edit by SG */

.block { padding-top: 4rem; padding-bottom: 4rem; background-size: cover; }
.block-grey { background-color: #f5f5f5; }
.block-grey-fade { background: linear-gradient(to bottom, #f5f5f5 0%, #ffffff 59%, #ffffff 100%); }
.block-dark { color: #fff; background-color: #064e9c; background: linear-gradient(to bottom, #04367d 0%, #064e9b 20%, #04377d 70%, #04377d 100%); }
.block-dark a:not(.btn) { color: inherit; }
.block .title-block { position: relative; margin-top: 0; margin-bottom: 3rem; text-transform: uppercase; text-align: center; font-size: 2.75rem; font-weight: 700; }
.block .title-block small, .block .title-block .post-meta { display: block; margin-top: 0.25rem; text-transform: none; font-weight: 300; font-size: 45%; }
.block .title-block:after { content: ''; display: block; width: 100px; height: 3px; margin: 1.5rem auto 0 auto; background-color: #ee820f; }
.block .title-block .breadcrumbs { font-size: 36%; color: rgba(0, 0, 0, 0.7); }
.block .title-block .breadcrumbs a { text-decoration: none; color: inherit; }
.block .title-block .breadcrumbs a:hover { text-decoration: underline; }
.block-border-bottom { border-bottom: 13px solid #cfddec; }

.widget { margin-bottom: 2rem; }
.block .subtitle-block, .widget .widget-title { margin-bottom: 1.5rem; text-decoration: underline; text-decoration-color: rgba(0,68,137,0.20); font-weight: 300; }


.buttons-group, .links-group { margin-right: -1.5px; margin-left: -1.5px; }
.buttons-group li, .links-group li { padding: 1.5px; }
.buttons-group li .btn, .links-group li .btn { position: relative; display: flex; align-items: center; height: 100%; padding: 2.5rem 2rem; border-radius: 0; line-height: 1.3; text-transform: uppercase; text-align: left; text-decoration: none; font-size: 100%; }
.buttons-group li .btn:before, .links-group li .btn:before { content: ''; position: absolute; top: 4px; left: 4px; width: 0; height: 0; border-style: solid; border-width: 14px 14px 0 0; border-color: rgba(255,255,255,.2) transparent transparent transparent; }
.buttons-group .button-icon { margin-right: 2rem; }
.buttons-group .button-icon i { font-size: 320%; }
.buttons-group li .btn img { max-width: none; }
.btn-blue-1 { border-color: #0e4782; color: #fff; background-color: #0e4782; }
.btn-blue-1:hover, .btn-blue-1:focus, .btn-blue-1:active { border-color: #0d3d6f; color: #fff; background-color: #0d3d6f; }
.btn-blue-2 { border-color: #195594; color: #fff; background-color: #195594; }
.btn-blue-2:hover, .btn-blue-2:focus, .btn-blue-2:active { border-color: #15487c; color: #fff; background-color: #15487c; }
.btn-blue-3 { border-color: #336eaa; color: #fff; background-color: #336eaa; }
.btn-blue-3:hover, .btn-blue-3:focus, .btn-blue-3:active { border-color: #2d6094; color: #fff; background-color: #2d6094; }
.btn-orange-1 { border-color: #e37909; color: #fff; background-color: #e37909; }
.btn-orange-1:hover, .btn-orange-1:focus, .btn-orange-1:active { border-color: #cb6d0a; color: #fff; background-color: #cb6d0a; }
.btn-orange-2 { border-color: #ee820f; color: #fff; background-color: #ee820f; }
.btn-orange-2:hover, .btn-orange-2:focus, .btn-orange-2:active { border-color: #d9770f; color: #fff; background-color: #d9770f; }
.btn-orange-3 { border-color: #f18f28; color: #fff; background-color: #f18f28; }
.btn-orange-3:hover, .btn-orange-3:focus, .btn-orange-3:active { border-color: #dc8325; color: #fff; background-color: #dc8325; }
.btn-green-3 { border-color: #558a36; color: #fff; background-color: #558a36; }
.btn-green-3:hover, .btn-green-3:focus, .btn-green-3:active { border-color: #49762f; color: #fff; background-color: #49762f; }

.links-group li .btn { flex-direction: column; justify-content: center; padding: 2rem 1rem; border: 1px solid #c7d4e2; text-align: center; color: #004489; background-color: rgba(199, 212, 226, 0.05); }
.links-group li .btn:hover { border-color: #99b4d1; }
.links-group li .btn .link-img { margin-bottom: 1.5rem; }
.links-group li .btn .link-title { font-weight: 400; font-size: 90%; }
.links-group li .btn:before { border-color: #c7d4e2 transparent transparent transparent }
.links-group li .btn:hover:before { border-color: #99b4d1 transparent transparent transparent }

.partners { position: relative; margin: 0; padding: 0; overflow: hidden; list-style: none; text-align: center; }
.partners:before, .partners:after { content: ''; position: absolute; z-index: 1; top: 0; width: 3rem; height: 100%; background: linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 25%, rgba(255,255,255,0) 100%); }
.partners:before { left: 0; }
.partners:after { right: 0; transform: scaleX(-1); -ms-filter: fliph; filter: fliph; }
.partners li { display: inline-block; padding: 0 1.5rem; }
.partners li img { max-height: 100px; }

/* Article list  */
.articles { align-items: stretch; padding: 0; list-style: none; }
.articles .article { margin-bottom: 2rem; }
.articles .article a { text-decoration: none; color: inherit; }
.articles .article .post-thumb img { max-width: none; width: 100%; }
.articles .article .post-title { font-size: 1.25rem; font-weight: 700; margin: 0 0 .5rem; }
.page-sidebar .articles .article .post-title { font-size: 100%; }
.articles .article .post-title a > strong { display: block; }
.articles .article .post-title a > strong > .post-tags:before { content: ' | '; padding: 0 .6rem 0 .5rem; font-weight: normal; opacity: .5; }
.articles .article .post-title a > span { display: block; line-height: 1.5; font-family: 'Roboto Condensed', sans-serif; font-weight: 300; font-size: 90%; color: initial; }
.articles .article .post-excerpt { font-size: 95%; line-height: 1.5; }
.articles.thumb-off .post-thumb, .articles.excerpt-off .post-excerpt { display: none; }
.articles.thumb-off .article { margin-bottom: 1.5rem; }
.articles.thumb-off .post-desc { display: flex; -ms-flex: 0 0 100%; flex: 0 0 100%; max-width: 100%; padding-left: 15px; }
.articles.thumb-off .post-desc:before { content: '\f073'; margin-right: 1rem; line-height: 1; font-family: 'Font Awesome 5 Free'; font-size: 150%; color: #ee8311; }
.articles.excerpt-off .post-title { margin: 0; }

.articles-table { margin: 0 -1px 1rem -1px; padding: 0; list-style: none; }
.articles-table:not(.articles-slider) { display: flex; flex-wrap: wrap; }
.articles-table .article { display: inline-block; width: 33.333333%; padding-bottom: 1px; padding-left: 1px; padding-right: 1px; }
.articles-table.articles-slider .article { width: 20%; }
.articles-table .article a { position: relative; display: block; padding-top: 140%; overflow: hidden; text-decoration: none; color: #fff; }
.articles-table .article .post-thumb { position: absolute; top: 0; left: 0; width: 100%; height: 100%; transition: .4s ease-in-out; transform: scale(1); background-position: 50% 50%; background-repeat: no-repeat; background-size: cover; }
.articles-table .article a:hover .post-thumb { transform: scale(1.125); }
.articles-table .article .post-thumb img { display: none; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); max-width: none; object-fit: cover; width: 100%; height: 100%; }
.articles-table .article .post-title { position: absolute; bottom: 0; left: 0; width: 100%; margin: 0; padding: .75rem; text-transform: uppercase; line-height: 1.2; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; font-size: 80%; font-weight: 600; background-color: rgba(0, 68, 137, .75); }
.articles-table .article .post-title small { display: block; font-weight: 300; font-size: inherit; }

.searchandfilter ul, .searchandfilter li { margin: 0; padding: 0; }
.searchandfilter ul li { padding: 0 0.25rem 0.5rem 0; }
.searchandfilter ul li:last-child { padding-right: 0; padding-bottom: 0; }
.searchandfilter h4 { margin: 0 0 0.4rem; padding: 0; font-weight: 400; font-size: 90%; }
.select2-container--default .select2-selection--multiple { border: 1px solid #aaa; border-radius: 0; background-color: #fff; cursor: text; }
.select2-container--default .select2-selection--multiple .select2-selection__rendered { padding: 0 0.5rem; }
.select2-container .select2-search--inline { padding: 0; }
.select2-dropdown { border-radius: 0; box-shadow: 0 0 8px rgba(0, 0, 0, 0.3); }
.select2-container--default .select2-selection--multiple .select2-selection__choice { float: left; margin: 5px 5px 0 0; padding: 0 5px; border: 1px solid #aaa; border-radius: 0; font-size: 90%; background-color: #e4e4e4; }
.select2-results__option { padding: 0.3rem 0.5rem; font-size: 90%; }
.select2-container--default .select2-results__option--highlighted[aria-selected] { background-color: #47a2db; }
.sf-field-reset h4 { visibility: hidden; }
.sf-field-reset a.search-filter-reset, .sf-field-submit input { display: inline-block; padding: 0.33rem 0.8rem; border: 1px solid #aaa; text-decoration: none; color: #002363; background-color: #ffb300; cursor: pointer; }
.select2-container--classic .select2-results>.select2-results__options, .select2-container--default .select2-results>.select2-results__options { max-height: 300px; }
.select2-results__options { box-shadow: 1px 3px 8px rgba(0, 0, 0, 0.25); }
.select2-container { width: 100%!important; }
.select2-container--default .select2-selection--single { height: 42px; }
.select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 42px; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 40px; }

/* Images  */
.wp-block-gallery { margin-top: 1rem; margin-bottom: 1rem; gap: 2px!important; }
.wp-block-gallery + h2 { margin-top: 2rem; }
.wp-block-gallery + h3, .wp-block-gallery + h4 { margin-top: 1.5rem; }
.wp-block-image figcaption, .wp-block-video figcaption { overflow: hidden; text-align: center; line-height: 1.3; font-size: 80%; }
.wp-block-gallery .wp-block-image figcaption { background: linear-gradient(0deg,rgb(0, 68, 137),rgba(0, 68, 137,.3) 70%,transparent); }
.wp-block-gallery .wp-block-image figcaption:empty { display: none; }
.wp-block-gallery .wp-block-image figcaption a { text-decoration: none; color: inherit; }
.gallery-slider .blocks-gallery-grid, .wp-block-gallery.gallery-slider { display: block; }
.wp-block-gallery.gallery-slider { display: none; margin: 0 -8px; }
.wp-block-gallery.gallery-slider .wp-block-image { margin: 0 8px; }


ul.dlm-downloads, ul.dlm-downloads li { margin: 0; padding: 0; list-style: none; }
ul.dlm-downloads li { margin-bottom: 1rem; }
ul.dlm-downloads li .download-container { margin-bottom: 0; }
.download-container { clear: both; position: relative; margin-bottom: 1rem; padding-left: 3rem; line-height: 1.5; }
.download-container:last-child { margin-bottom: 0; }
.download-container p { margin: 0; }
.download-title { font-size: 1.25rem; font-weight: 400; }
.download-title a:before { content: ""; position: absolute; top: .25rem; left: 0; line-height: 1; font-family: "Font Awesome 5 Free"; font-size: 2.5rem; }
.download-title.pdf a:before { content: "\f1c1"; }
.download-title.doc a:before, .download-title.docx a:before, .download-title.odt a:before { content: "\f1c2"; }
.download-title.xlsx a:before, .download-title.xls a:before { content: "\f1c3"; }
.download-title.jpg a:before, .download-title.jpeg a:before, .download-title.png a:before { content: "\f1c5"; }
.download-title.zip a:before, .download-title.rar a:before { content: "\f1c6"; }
.download-title.wmv a:before, .download-title.mp4 a:before, .download-title.mkv a:before { content: "\f1c8"; }
.download-title.ppsx a:before { content: "\f1c4"; }
.download-title.mp3 a:before { content: "\f1c7"; }
.download-meta { color: #99b4d1; }

/* Page numbers  */
ul.page-numbers { display: flex; justify-content: center; align-items: center; margin: 0; padding: 0; list-style: none; }
ul.page-numbers > li { margin: 0 1px; }
ul.page-numbers > li > a, ul.page-numbers > li > span { display: block; padding: 0.875rem 1rem; border-radius: .45rem; line-height: 1; text-decoration: none; text-align: center; font-weight: 400; color: inherit; background-color: #eee; }
ul.page-numbers > li > a:hover { background-color: #e2e2e2; }
ul.page-numbers > li > .current { color: #fff; background-color: #ee820f; }

.thumb-arrows { }
.thumb-arrow { position: fixed; z-index: 1; top: 50%; transform: translate(0, -50%); width: 300px; transition: .2s ease-in; }
.thumb-arrow > a { display: block; padding: 0; text-decoration: none; background-color: #fff; box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.15); }
.thumb-arrow:before { content: ''; position: absolute; top: 0; width: 40px; height: 100%; background-color: #0e4782; }
.thumb-arrow:after { content: ''; position: absolute; top: 50%; transform: translate(0, -50%); width: 40px; text-align: center; font-size: 1.25rem; font-family: "Font Awesome 5 Free"; font-weight: 700; color: #fff; }
.thumb-arrow.prev { left: -260px; padding-right: 40px; border-radius: 0; }
.thumb-arrow.prev:hover { left: 0; }
.thumb-arrow.prev:before { right: 0; clip-path: polygon(0 0, 100% 10%, 100% 90%, 0% 100%); }
.thumb-arrow.next { right: -260px; padding-left: 40px; border-radius: 0; }
.thumb-arrow.next:hover { right: 0; }
.thumb-arrow.next:before { left: 0; clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 90%); }
.thumb-arrow.prev:after { content: '\f053'; right: 0; }
.thumb-arrow.next:after { content: '\f054'; left: 0; }
.thumb-arrow .arrow-title { display: block; padding: 0.5rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.2; font-size: 1.1rem; font-weight: 600; color: #004489; background-color: #ebdc6b; }

.tagcloud { position: relative; max-height: 300px; overflow: hidden; text-align: center; }
.tagcloud-full { max-height: none; }
.tagcloud a { display: inline-block; padding: .25rem 0.5rem; border-radius: .45rem; vertical-align: middle; white-space: nowrap; line-height: 1; text-transform: lowercase; text-decoration: none; color:#000; background-color: transparent; }
.tagcloud a:hover { text-decoration: none; color: #fff; background-color: #ee820f; }
.tagcloud a .tag-link-count { vertical-align: super; font-size: 10px; font-weight: 700; opacity: .5; }
.tagcloud:not(.tagcloud-full):after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 4rem; background: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 50%, rgba(255,255,255,0) 100%);}
.tagcloud-btn { position: relative; margin-top: -1rem; text-align: center; }
.tagcloud-btn a { display: inline-block; padding: .25rem 1.5rem; border-radius: .45rem; line-height: 1; text-align: center; text-decoration: none; font-size: 0; background-color: #eee; }
.tagcloud-btn a:after { content: '\f078'; font-family: 'Font Awesome 5 Free'; font-size: 1rem; font-weight: 900; }
.tagcloud-full + .tagcloud-btn { margin-top: 1rem; }
.tagcloud-full + .tagcloud-btn a:after { content: '\f077'; }

/* FOOTER
-------------------------------------------------- */
#footer:before { content: ''; display: block; width: 100%; height: 9px; background-color: #b5aa44; background: linear-gradient(135deg, #eadb6a 0%, #b5aa44 20%, #eadb6a 40%, #b5aa44 60%, #eadb6a 80%, #b5aa44 100%); }

.footer-nav .footer-menu, .footer-nav .footer-menu ul, .footer-copyright ul { margin: 0; padding: 0; list-style: none; line-height: 1.2; }
.footer-nav .footer-menu { margin: 0 0 2rem 0; }
.footer-menu li { margin-bottom: .35rem; }
.footer-menu a { display: inline-block; text-decoration: none; font-family: 'Titillium Web', sans-serif; font-size: 80%; }
.footer-menu a:hover, .footer-copyright ul li a:hover { text-decoration: underline; }
.footer-menu a .menu-icon { display: none; }
.footer-menu > li { margin-bottom: 2rem; }
.footer-menu > li > a { margin-bottom: .75rem; text-transform: uppercase; font-size: 90%; font-weight: 700; }
.footer-copyright { font-size: 80%; color: rgba(255,255,255,0.50); }
.footer-copyright ul { margin-bottom: .25rem; }
.footer-copyright ul li { display: inline; }
.footer-copyright ul li:not(:last-child):after { content: ' | '; }
.footer-copyright ul li a { text-decoration: none; }
.footer-copyright .drs { white-space: nowrap; }
.footer-copyright .drs a img { position: relative; top: -2px; margin-left: .25rem; opacity: .5; }
.footer-copyright .drs a:hover img { opacity: .75; } 

.footer-map { position: relative; z-index: 0; height: 640px; }
.footer-map:before { position: relative; z-index: 2; }
.footer-map img  { max-width: none; }

#map .card { display: block; margin: 0 0 20px; padding: 0; overflow: visible; border-radius: 0; border: 0; background-color: transparent; box-shadow: none; }
#map .card-header, #map .card-footer { display: none; }
#map .card .card-body { flex: none; padding: 0; overflow: visible; background-color: transparent; }
#map .map-card { position: relative; min-height: 140px; padding: 0.75rem 1rem; border-radius: .5rem; background-color: #fff; box-shadow: 0 4px 16px 0 rgba(0,0,0,.2); }
#map .map-card:after { content: ''; position: absolute; bottom: -20px; left: 50%; width: 0; height: 0; margin-left: -9px; border-style: solid; border-width: 20px 9px 0 9px; border-color: #fff transparent transparent transparent; }
#map .card .close { text-shadow: none; }

.map-container { position: relative; display: block; height: 100%; min-height: 640px; overflow: hidden; }
.map-container img.map { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); max-width: none; }
.map-container img.map-marker { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); max-width: none; margin-top: -74px; margin-left: 12px; }

/* Back to top button  */
#footer .cd-top { position: fixed; z-index: 1; bottom: 20px; right: 10px; height: 40px; width: 40px; border-radius: 100px; overflow: hidden; white-space: nowrap; text-indent: 100%; background: rgba(255, 135, 5, 0.9) url(images/cd-top-arrow.svg) no-repeat center 50%; visibility: hidden; opacity: 0; -webkit-transition: opacity .3s 0s, visibility 0s .3s; -moz-transition: opacity .3s 0s, visibility 0s .3s; transition: opacity .3s 0s, visibility 0s .3s; }
#footer .cd-top.cd-is-visible, #footer .cd-top.cd-fade-out { -webkit-transition: opacity .3s 0s, visibility 0s 0s; -moz-transition: opacity .3s 0s, visibility 0s 0s; transition: opacity .3s 0s, visibility 0s 0s; }
#footer .cd-top.cd-is-visible, #footer .cd-top.cd-is-visible:hover { visibility: visible; opacity: 1; }
#footer .cd-top.cd-fade-out { opacity: .5; }

/* Page popup  */
#page_popup_wrap { display: none; z-index: 10000; position: fixed; left: 0; top: 0; width: 100%; height: 100%; }
#page_popup_in { display: flex; align-items: center; justify-content: center; height: 100%; padding: 15px; }
#page_popup { position: relative; z-index: 1; display: inline-block; width: auto; max-height: 100%; padding: 4px; overflow: auto; background-color: #fff; box-shadow: 2px 2px 16px rgba(0, 0, 0, 0.4); }
#close_popup { position: absolute; top: 10px; right: 10px; cursor: pointer; width: 30px; height: 30px; text-decoration: none; text-align: center; line-height: 30px; font-size: 24px; color: #000; background-color: #fff; opacity: .7; }
#close_popup:hover { opacity: .9; }
#page_popup img { border: 4px solid transparent; }
#page_popup a { display: block; }
#page_popup a:hover img { border-color: #0e4782; }
#show_popup { position: fixed; z-index: 1; bottom: 70px; right: 10px; width: 40px; height: 40px; line-height: 40px; border-radius: 100%; text-align: center; font-size: 20px; color: #fff; background-color: #004489; cursor: pointer; opacity: 0.5; }
#show_popup:hover { opacity: 1; }
#page_popup_bg { display: none; z-index: 0; position: fixed; width: 100%; height: 100%; top: 0; left: 0; background: #000; opacity: 0.75; }


/* RESPONSIVE CSS
-------------------------------------------------- */


@media (min-width: 1260px) {
	.articles-slider .slick-arrow { color: rgba(0,0,0,.3); background-color: transparent; box-shadow: none; }
	.articles-slider .slick-arrow:before { font-size: 4.5rem; }
	.articles-slider .slick-prev { left: -4rem; }
	.articles-slider .slick-next { right: -4rem; }
}

@media (min-width: 1200px) {
}

@media (max-width: 1199.98px) {
}

@media (min-width: 992px) {
	#header .navbar { -ms-flex-wrap: nowrap; flex-wrap: nowrap; -ms-flex-align: center; align-items: flex-end; justify-content: center; }
	.sticky-header #header { position: fixed; z-index: 999; top: 0; left: 0; width: 100%; }
	.sticky-header-shadow #header { box-shadow: 0 0 8px rgba(0, 0, 0, 0.25); }
	.sticky-header .navbar-slogan { box-shadow: 0 0 8px rgba(0, 0, 0, 0.25); }
	.sticky-header .navbar-slogan:before { background-position: 0 -33px; }
	.sticky-header .navbar-slogan:after { background-position: -140px -33px; }
	.sticky-header .logo-bottom, .sticky-header .navbar-slogan { display: none; }
	.sticky-header-shadow .logo-bottom, .sticky-header-shadow .navbar-slogan { display: block; }
	.page-main { -ms-flex: 0 0 71%; flex: 0 0 71%; max-width: 71%; padding-left: 70px }
	.page-sidebar { -ms-flex: 0 0 29%; flex: 0 0 29%; max-width: 29%; }
	#footer .cd-top { height: 50px; width: 50px; right: 10px; bottom: 20px; }
	#show_popup { right: 15px; bottom: 80px; }
}

@media (max-width: 991.98px) {
	body.sticky-header { padding-top: 0!important; }
	#header .navbar-nav { position: absolute; z-index: 2; top: 100%; right: 0; padding: 0; background-color: #0e4782; box-shadow: 0 6px 14px rgba(0,0,0,.3); }
	.navbar-links { padding: .8rem 0 .8rem 0.65rem; border-bottom: 2px solid #fff; }
	.slider .slide { padding-top: 0!important; }
	.page-main { margin-bottom: 3rem; padding-bottom: 3rem; border-bottom: 13px solid #cfddec; }
	.sidebar-nav { display: none; }
}


@media (min-width: 768px) {
	.articles .article .row { align-items: center; }
	.footer-nav { position: relative; padding-bottom: 4rem; padding-left: 3rem; border-left: 1px solid rgba(0,0,0,.25); }
	.footer-nav:before { content: ''; position: absolute; top: 0; left: 0; width: 1px; height: 100%; background-color: rgba(255,255,255,.25) }
	.footer-menu { column-count: 3; column-gap: 2rem; }
	.footer-copyright { position: absolute; bottom: 0; }
}

@media (max-width: 767.98px) {
	.wp-block-column { flex-basis: 100% }
	.wp-block-column:nth-child(2n) { margin-left: 0; }
	.signpost ul { flex-direction: column; margin: 0 -15px; }
	.signpost ul > li > a { padding-top: 1rem; padding-bottom: 1rem; border-top: 1px solid rgba(255,255,255,0.3); border-bottom: 1px solid rgba(0,0,0,0.75); border-right: 1px solid rgba(0,0,0,0.75); }
	.footer-nav .footer-menu { display: none; }
}

@media (min-width: 576px) {
}

@media (max-width: 575.98px) {
	#header .navbar-brand a { padding: .75rem 0; }
	.articles-table .article { width: 50%; }
	.navbar-slogan, #header .navbar-brand .logo-bottom, .thumb-arrows { display: none; }
    #slider { min-height: 45vh; }
    .slider .slide { height: 45vh; }

}