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

/* VARIABLES
-------------------------------------------------- */
:root {
    --primary-color: #216244;
    --primary-light-color: #329d65;
    --primary-lighter-color: #d6e2dd;
    --secondary-color: #252525;
    --secondary-light-color: #6f6f6f;
    --secondary-lighter-color: #f8f8f8;
    --tertiary-color: #183544;
    --tertiary-light-color: #306a88;
    --tertiary-lighter-color: #d6e0e6;
    --lighter-color: #edba41;
    --lightest-color: #f8d766;
    --primary-font: 'Open Sans', sans-serif;
    --secondary-font: 'Montserrat', sans-serif;
}

/* GLOBAL STYLES
-------------------------------------------------- */
html { background-color: var(--primary-lighter-color); }
body { font-family: var(--primary-font); color: #000; background-color: var(--secondary-lighter-color); }
a, .btn-link { color: var(--primary-color); }
a:hover, a:active, .btn-link:hover { color: var(--tertiary-light-color); }
hr { opacity: 1; height: auto; border-top: 1px solid var(--secondary-light-color); background-color: transparent; }
table th { font-weight: 600; }
h1, .h1, h2, .h2, h3, .h3 { font-weight: 600; font-family: var(--secondary-font); }
h4, .h4, h5, .h5, h6, .h6 { font-weight: 700; }
embed, iframe, object { margin-bottom: 1rem; max-width: 100%; border: none; }
img, video { height: auto; max-width: 100%; }

.fw-600 { font-weight: 600!important; }
.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%; }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); -webkit-clip-path: inset(50%); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; word-break: normal; }
.grecaptcha-badge { visibility: collapse !important; }
body #cookie-notice { left: 1rem; bottom: 1rem; right: 1rem; min-width: auto; border-radius: .5rem; line-height: 1.3; font-size: .875rem; box-shadow: 0 .5rem 1rem rgba(0,0,0,.25); }
.main-slider { background-color: #fff; }

.form-control { color: var(--secondary-light-color); }
.btn { box-shadow: none!important; }
.btn-primary { background-color: var(--primary-color); border-color: var(--primary-color); }
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.disabled, .btn-primary:disabled { background-color: var(--primary-light-color); border-color: var(--primary-light-color); }
.btn-outline-primary { color: var(--primary-color); border-color: var(--primary-color); }
.btn-outline-primary:hover, .btn-outline-primary:focus, .btn-outline-primary:active { color: #fff; background-color: var(--primary-color); border-color: var(--primary-color); }
.btn-outline-primary.disabled, .btn-outline-primary:disabled { color: var(--primary-light-color); border-color: var(--primary-light-color); }
.btn-secondary { background-color: var(--secondary-light-color); border-color: var(--secondary-light-color); }
.btn-secondary:hover, .btn-secondary:focus, .btn-secondary:active, .btn-secondary.disabled, .btn-secondary:disabled { background-color: var(--secondary-color); border-color: var(--secondary-color); }
.btn-outline-secondary { color: var(--secondary-light-color); border-color: var(--secondary-light-color); }
.btn-outline-secondary:hover, .btn-outline-secondary:focus, .btn-outline-secondary:active { color: #fff; background-color: var(--secondary-light-color); border-color: var(--secondary-light-color); }
.btn-outline-secondary.disabled, .btn-outline-secondary:disabled { color: var(--secondary-light-color); border-color: var(--secondary-light-color); }
.wpcf7-validation-errors, .wpcf7-mail-sent-ok, .wpcf7-spam-blocked { margin-bottom: 1rem; padding: 1rem; border: none; line-height: 1.3; font-weight: 400; border-radius: 0px; }
.wpcf7-validation-errors, .wpcf7-spam-blocked { color: #fff; background-color: #ff4e4e; }
.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: #ff4e4e; }
div.wpcf7 .screen-reader-response { display: none !important; }
.wpcf7-form { position: relative; }
.ajax-loader { display: none; position: absolute; top: 0; left: 0; justify-content: center; align-items: center; width: 100%; height: 100%; }
.wpcf7-form.submitting .ajax-loader { display: flex; }
.ajax-loader .loader { width: 112px; height: 112px; border-radius: 100%; text-indent: -9999px; background-image: url('images/ajax-loader.svg'); background-position: 50% 50%; background-repeat: no-repeat; }
.wpcf7-response-output:empty { display: none; }
.wpcf7-response-output { margin: 0 0 1rem; padding: .75rem 1.25rem; border-radius: 0; text-align: center; }
.form-floating { position: relative;}
.form-floating .wpcf7-form-control-wrap > .form-control, .form-floating .wpcf7-form-control-wrap select.form-control:not([size]):not([multiple]) { height: auto; padding: 1.25rem 1rem .25rem 1rem; line-height: 1.5; font-size: 1.125rem; }
.form-floating .wpcf7-form-control-wrap select.form-control:not([size]):not([multiple]) { padding: .9rem 1rem .6rem 1rem; }
.form-floating .wpcf7-form-control-wrap + label { position: absolute; top: 0; right: 0; left: 0; margin: 0; padding: 1rem 1rem .75rem 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 1.125rem; color: var(--secondary-light-color); transition: all 0.15s ease;}
.form-floating:is(.active, :has(.active)) .wpcf7-form-control-wrap + label, .form-floating:focus-within .wpcf7-form-control-wrap + label { top: .25rem; padding: 0 1rem; font-size: 12px; }
.wpcf7 .wpcf7-list-item { display: block; margin-bottom: .5rem; }
.wpcf7-form .wpcf7-radio label, .wpcf7-form .wpcf7-checkbox label, .wpcf7-form .wpcf7-acceptance label { position: relative; margin: 0; cursor: pointer; }
.wpcf7-form .wpcf7-radio input[type=radio], .wpcf7-form .wpcf7-checkbox input[type=checkbox], .wpcf7-form .wpcf7-acceptance input[type=checkbox] { position: relative; width: 30px; visibility: hidden; }
.wpcf7-form .wpcf7-radio input[type=radio] + span:before { content: ''; position: absolute; top: 3px; display: block; height: 18px; width: 18px; border-radius: 100%; border: 1px solid #abbbc3; background-color: #fff; }
.wpcf7-form .wpcf7-radio input[type=radio] + span:after { content: ''; position: absolute; top: 7px; left: 4px; display: block; width: 10px; height: 10px; border-radius: 100%;background: #e8ebef; }
.wpcf7-form .wpcf7-radio input[type=radio]:checked + span:before { }
.wpcf7-form .wpcf7-radio input[type=radio]:checked + span:after { background-color: var(--tertiary-light-color); }
.wpcf7-form .wpcf7-checkbox input[type=checkbox] + span:before, .wpcf7-form .wpcf7-acceptance input[type=checkbox] + span:before { content: ''; position: absolute; top: 3px; display: block; width: 18px; height: 18px; border-radius: 5px; border: 1px solid #abbbc3; background-color: #fff; }
.wpcf7-form .wpcf7-checkbox input[type=checkbox] + span:after, .wpcf7-form .wpcf7-acceptance input[type=checkbox] + span:after { content: '\f00c'; position: absolute; top: 4px; left: 3px; display: block; visibility: hidden; font-family: "Font Awesome 5 Free"; font-size: 12px; font-weight: 700; color: #fff; }
.wpcf7-form .wpcf7-checkbox input[type=checkbox]:checked + span:before, .wpcf7-form .wpcf7-acceptance input[type=checkbox]:checked + span:before { background-color: var(--tertiary-light-color); }
.wpcf7-form .wpcf7-checkbox input[type=checkbox]:checked + span:after, .wpcf7-form .wpcf7-acceptance input[type=checkbox]:checked + span:after { visibility: visible; }
.codedropz-upload-handler { border-color: var(--secondary-light-color); }
.codedropz-upload-inner > :first-child { margin: 0 0 .5rem; font-size: 1.125rem; font-family: var(--secondary-font); }
.codedropz-upload-inner .codedropz-btn-wrap a.cd-upload-btn { text-decoration: underline; }

body #cookie-notice { left: 1rem; bottom: 1rem; right: 1rem; min-width: auto; border-radius: .5rem; line-height: 1.3; font-size: .875rem; box-shadow: 0 .5rem 1rem rgba(0,0,0,.25); }
body #cookie-notice .cookie-notice-container { padding: 1rem 1rem .5rem 1rem; text-align: left; }
body #cookie-notice .cn-text-container { display: block; margin: 0 0 1rem 0; }
body #cookie-notice .cn-close-icon { top: .25rem; right: .25rem; margin: 0; }
body #cookie-notice .cn-close-icon:before, body #cookie-notice .cn-close-icon:after { background-color: #000; }
body #cookie-notice .cn-button { margin: 0 .5rem .5rem 0; padding: .375rem .75rem; font-size: 1rem; }
body #cookie-notice #cn-accept-cookie:before, body #cookie-notice #cn-more-info:before { content: ''; margin-right: .25rem; font-family: "Font Awesome 5 Free"; font-weight: 700; }
body #cookie-notice #cn-accept-cookie:before { content: '\f00c'; }
body #cookie-notice #cn-more-info:before { content: '\f3ed'; }

.lg-backdrop { background-color: var(--tertiary-color); }
.lg-outer .lg-thumb-outer, .lg-outer .lg-toogle-thumb { background-color: rgba(0, 0, 0, 0.75); }
.lg-outer .lg-thumb-item.active, .lg-outer .lg-thumb-item:hover { border-color: var(--tertiary-light-color); }
.lg-toolbar .lg-icon, .lg-actions .lg-next, .lg-actions .lg-prev, .lg-outer .lg-toogle-thumb, .lg-outer.lg-dropdown #lg-share { color: var(--tertiary-lighter-color); }
.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: var(--tertiary-light-color); }
.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; }
.lg-object { margin: 0; box-shadow: 0px 5px 20px 1px rgba(0, 0, 0, 0.35); }
.lg-img-wrap > img { background-color: #fff; }

/* HEADER
-------------------------------------------------- */
#header { position: sticky; top: 0; z-index: 100; background-color: #fff; }
body.sticky-header #header { z-index: 999; }
body.sticky-header-shadow #header { box-shadow: 0 0.5rem 1rem rgba(0,0,0,.25); }
#header .navbar { align-items: center; flex-wrap: nowrap; }
#header .navbar-brand { padding: 0; }
#header .navbar-nav-header { display: flex; justify-content: flex-end; align-items: center; margin-bottom: 1rem; }
#header .btn-menu { position: relative; display: flex; justify-content: center; align-items: center; flex: 0 0 38px; width: 38px; height: 38px; padding: 0; }
#header .btn-menu-icon { position: relative; height: 2px; width: 50%; background: #fff; }
#header .btn-menu-icon:before, #header .btn-menu-icon:after { content: ''; position: absolute; left: 0; width: 100%; height: inherit; background-color: #fff; }
#header .btn-menu-icon:before { top: -0.375rem; }
#header .btn-menu-icon:after { top: 0.375rem; }
#header .btn-menu.menu-hide .btn-menu-icon { background: transparent; }
#header .btn-menu.menu-hide .btn-menu-icon:before { top: 0; transform: rotate(-45deg); }
#header .btn-menu.menu-hide .btn-menu-icon:after { top: 0; transform: rotate(45deg); }
#header .navbar-right { display: flex; align-items: center; justify-content: flex-end; flex-wrap: nowrap; }
#navbar_search_form { position: absolute; z-index: 10; top: 0; left: 0; width: 100%; height: 100%; background-color: #fff; opacity: 0; transition: none; transition: opacity .15s ease-in-out; }
#navbar_search_form.show { opacity: 1; }
#navbar_search_form .search-form-wrap { display: flex; justify-content: center; align-items: center; width: 100%; height: 100%; }
#navbar_search_form .search-form-wrap form { width: 100%; }
#navbar_search_form .search-form-wrap .close { margin-left: 1rem; }

/* MAIN
-------------------------------------------------- */
#main:not(.page-full) { background-image: url('images/bg-main.png'); background-repeat: no-repeat; background-position: 50% 0; background-attachment: fixed; }
#main:not(.page-full):before { content: ''; display: block; width: 100%; height: 115px; background-image: url('images/bg-header.png'); background-repeat: no-repeat; background-position: 50% 50%; }

.main-header { padding: 4rem 0 3rem; }
.main-header h1 { margin: 0; color: var(--secondary-color); }

.main-content { padding: 2rem 1rem; border-radius: 1rem; background-color: #fff; }

.post-meta { margin-bottom: 1rem; }
.post-meta ul { display: flex; flex-wrap: wrap; align-items: center; margin: 0; padding: 0; list-style: none; }
.post-meta li { display: flex; align-items: center; margin: 0 1rem .5rem 0; line-height: 1.3; color: var(--secondary-light-color); }
.post-meta li a { color: inherit; }
.post-meta .meta-icon { margin-right: .25rem; }

.wp-block-image { margin-bottom: 1rem; }
figure.wp-block-image { display: inline-block; }
.wp-block-gallery .blocks-gallery-item figure a { position: relative; display: block; overflow: hidden; }
.wp-block-image figcaption a, .wp-block-gallery .blocks-gallery-item figcaption a { position: static; display: inline; }
.wp-block-image figcaption, .wp-block-video figcaption, .wp-block-gallery .blocks-gallery-item figcaption { margin: 0; padding: .5rem 0 0; text-align: center; font-size: 90%; color: var(--secondary-light-color); background: none; }
.wp-block-gallery ul.blocks-gallery-grid > li.blocks-gallery-item { margin-right: 2px; margin-bottom: 2px; }
.wp-block-gallery .blocks-gallery-grid .blocks-gallery-image:last-child, .wp-block-gallery .blocks-gallery-grid .blocks-gallery-item:last-child, .wp-block-gallery .wp-block-gallery .blocks-gallery-image:last-child, .wp-block-gallery .wp-block-gallery .blocks-gallery-item:last-child { margin-right: 0; }
.wp-block-gallery .blocks-gallery-item figure { flex-direction: column; }
.wp-block-gallery .blocks-gallery-item figure a:before, .gallery-slider .gallery-main a:before, .posts .post-image:before { content: ''; position: absolute; top: 0; left: 0; transition: all .2s; backface-visibility: hidden; width: 100%; height: 100%; background-color: var(--tertiary-light-color); opacity: 0; }
.wp-block-gallery .blocks-gallery-item figure a:hover:before, .gallery-slider .gallery-main a:hover:before, .posts .post-wrap:hover .post-image:before { z-index: 1; opacity: .45; }
.wp-block-gallery .blocks-gallery-item figure a:after, .gallery-slider .gallery-main a:after, .posts .post-image:after { content: ''; position: absolute; top: 45%; left: 50%; transform: translate(-50%, -50%); transition: all .3s; width: 2.5rem; padding-bottom: 2.5rem; background-image: url('images/expand.svg'); background-repeat: no-repeat; background-position: 50% 50%; background-size: cover; opacity: 0; }
.wp-block-gallery .blocks-gallery-item figure a:hover:after, .gallery-slider .gallery-main a:hover:after, .posts .post-wrap:hover .post-image:after { z-index: 1; top: 50%; opacity: 1; }
.wp-block-image figcaption a:before, .wp-block-image figcaption a:after, .wp-block-gallery .blocks-gallery-item figcaption a:before, .wp-block-gallery .blocks-gallery-item figcaption a:after, .wp-block-gallery .blocks-gallery-item figcaption:empty { display: none; }
.wp-block-gallery .blocks-gallery-item figcaption { position: static; }
.wp-block-gallery .blocks-gallery-caption { width: 100%; text-align: center; color: var(--secondary-light-color); }

.wp-block-file { clear: both; position: relative; margin-bottom: 1rem; padding-left: 1.75rem; }
.wp-block-file a { display: inline; text-decoration: none; }
.wp-block-file a:hover { text-decoration: underline; }
.wp-block-file a.wp-block-file__button { display: none; }
.wp-block-file a:before { content: "\f15b"; position: absolute; top: 0; left: 0; line-height: 1; font-family: "Font Awesome 5 Free"; font-size: 1.5rem; font-weight: 400; color: var(--tertiary-light-color); }
.wp-block-file a[href$='.pdf']:before, .wp-block-file a[title$='.pdf']:before { content: "\f1c1"; }
.wp-block-file a[href$='.doc']:before, .wp-block-file a[href$='.odt']:before, .wp-block-file a[title$='.doc']:before, .wp-block-file a[title$='.odt']:before { content: "\f1c2"; }
.wp-block-file a[href$='.xlsx']:before, .wp-block-file a[href$='.xls']:before, .wp-block-file a[title$='.xlsx']:before, .wp-block-file a[title$='.xls']:before { content: "\f1c3"; }
.wp-block-file a[href$='.jpg']:before, .wp-block-file a[href$='.jpeg']:before, .wp-block-file a[href$='.png']:before, .wp-block-file a[title$='.jpg']:before, .wp-block-file a[title$='.jpeg']:before, .wp-block-file a[title$='.png']:before { content: "\f1c5"; }
.wp-block-file a[href$='.zip']:before, .wp-block-file a[href$='.rar']:before, .wp-block-file a[title$='.zip']:before, .wp-block-file a[title$='.rar']:before { content: "\f1c6"; }
.wp-block-file a[href$='.wmv']:before, .wp-block-file a[href$='.mkv']:before, .wp-block-file a[title$='.wmv']:before, .wp-block-file a[title$='.mkv']:before { content: "\f1c8"; }
.wp-block-file a[href$='.ppsx']:before, .wp-block-file a[title$='.ppsx']:before { content: "\f1c4"; }
.wp-block-file a[href$='.mp3']:before, .wp-block-file a[title$='.mp3']:before { content: "\f1c7"; }

.wp-block-table table th, .wp-block-table table strong { font-weight: 500; }
.wp-block-table table th, .wp-block-table table td { padding: .75rem; vertical-align: top; border: 1px solid var(--secondary-light-color); }
.wp-block-table table thead td, .wp-block-table table thead th { border-color: var(--tertiary-color); border-bottom-width: 2px; color: #fff; background-color: var(--tertiary-light-color); }
.wp-block-table table tbody td, .wp-block-table table tbody th { }
.wp-block-table figcaption { margin: .5rem 0 0 0; text-align: center; font-size: .875rem; color: var(--secondary-light-color); }

body .main-container ul.page-numbers { display: flex; justify-content: center; align-items: center; margin: 0; padding: 0; border: none; list-style: none; }
body .main-container ul.page-numbers li { float: none; display: block; border: none; }
body .main-container ul.page-numbers li a, body .main-container ul.page-numbers li span { display: block; width: 40px; height: 40px; margin: 0 .1rem; padding: 0; border-radius: .25rem; line-height: 40px; text-align: center; text-decoration: none; font-weight: 600; background-color: var(--primary-lighter-color); }
body .main-container ul.page-numbers li span.current { color: #fff; background-color: var(--primary-color);}
body .main-container ul.page-numbers li a:focus, body .main-container ul.page-numbers li a:hover { color: #fff; background-color: var(--tertiary-light-color); }
body .main-container ul.page-numbers a.prev, body .main-container ul.page-numbers a.next { font-size: 0; background-color: transparent; }
ul.page-numbers li a.prev:after, ul.page-numbers li a.next:after { content: ''; font-family: "Font Awesome 5 Free"; font-size: 1rem; font-weight: 700; }
ul.page-numbers li a.prev:after { content: '\f060'; }
ul.page-numbers li a.next:after { content: '\f061'; }

.pagination-single { clear: both; display: flex; flex-direction: column; padding: 2rem 0 0; font-size: 110%; }
.pagination-single a { display: flex; align-items: baseline; flex: 1; text-decoration: none; letter-spacing: -0.0275em; font-weight: 500; }
.pagination-single a:hover .title { text-decoration: underline; }
.pagination-single a + a { margin-top: 1rem; }
.pagination-single a .arrow { margin-right: 1rem; }

.posts .post { margin-bottom: 1.5rem; }
.posts .post-wrap { display: flex; flex-direction: column; justify-content: space-between; height: 100%; padding: .5rem; border-radius: .75rem; text-decoration: none; color: inherit; background-color: #fff; box-shadow: 0 0.25rem 0.5rem rgb(0 0 0 / 10%); transition: 0.15s background ease; }
.posts .post-wrap:hover { background-color: var(--lighter-color); }
.posts .post-desc { display: flex; flex-direction: column; justify-content: space-between; flex: 1; padding: .75rem .75rem 1.25rem .75rem; }
.posts .post-title { margin: 0; font-weight: 700; color: var(--secondary-color); }
.posts .post-wrap:hover .post-title { color: #fff; }
.posts .post-excerpt { margin-top: .5rem; color: var(--secondary-color); }
.posts .post-excerpt small { display: block; font-size: .875rem; color: var(--secondary-light-color); }
.posts .post-wrap:hover .post-excerpt small { color: var(--secondary-color); }
.posts .post-image { margin: 0; border-radius: .5rem; overflow: hidden; }
.posts .post-image, .references .reference-image a { position: relative; display: block; }
.posts .post-image:after, .references .reference-image a:after { background-image: url('images/news.svg'); }

.posts-slider { position: relative; padding: 0 40px; opacity: 0; transition: 0.15s opacity ease; }
.posts-slider .post { width: 33.3333%; }
.posts-slider-next { right: 0; }
.posts-slider-prev { left: 0; }
.posts-slider-next, .posts-slider-prev { top: 50%; transform: translateY(-50%); width: 40px; height: auto; margin-top: 0; color: var(--primary-color); outline: none; }

.gallery-slider .swiper-button-prev { left: -.35rem; }
.gallery-slider .swiper-button-next { right: -.35rem; }
.gallery-slider .swiper-button-prev:after, .gallery-slider .swiper-button-next:after { padding: .75rem; border-radius: .5rem; font-size: 2rem; color: var(--primary-color); background-color: #fff; }
.gallery-slider .swiper-button-next.swiper-button-disabled, .gallery-slider .swiper-button-prev.swiper-button-disabled { opacity: 1; }
.gallery-slider .swiper-button-next.swiper-button-disabled:after, .gallery-slider .swiper-button-prev.swiper-button-disabled:after { color: var(--primary-lighter-color); }
.gallery-slider .gallery-main a > img { max-width: none; width: 100%; height: 100%; object-fit: cover; }
.gallery-slider .gallery-thumbs .swiper-wrapper { position: absolute; }
.gallery-slider .gallery-thumbs .swiper-slide { background-size: cover; background-position: 50% 50%; }
.gallery-slider .gallery-thumbs .swiper-slide-thumb-active { opacity: 0.5; }

.post-share { position: relative; clear: both; margin: 1.5rem 0 0 0; }
.post-share .share-services { position: absolute; z-index: 10; top: 120%; left: 0; padding: .5rem; background-color: #fff; box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.25); }
.post-share .share-services .at-share-btn-elements { display: flex; flex-direction: column; }
.post-share .share-services .at-share-btn { margin: 0 0 1px; padding-right: 1rem; white-space: nowrap; transition: none; }
.post-share .share-services .at-share-btn:last-child { margin-bottom: 0; }
.post-share .share-services .at-share-btn:hover, .entry-share .share-services .at-share-btn:focus, .entry-share .share-services .at-share-btn:active { transform: translateY(0); }
.post-share .at-resp-share-element.at-mobile .at-label { display: block!important; }

ul.social-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; padding: 0; list-style: none; }
ul.social-links > li { margin: 0 .5rem 1rem .5rem; }
ul.social-links > li > a { display: flex; align-items: center; justify-content: center; text-decoration: none; }
ul.social-links > li > a:hover .social-icon-text { text-decoration: underline; }
ul.social-links > li .social-icon { display: block; width: 4rem; height: 4rem; line-height: 4rem; border-radius: 100%; text-align: center; font-size: 1.875rem; }
ul.social-links > li .social-icon-text { display: block; margin-left: 1rem; font-size: 1.875rem; font-weight: 700; }

ul.content-menu { padding: 0; list-style: none; }

.map-wrap { height: 400px; }
.map-wrap .map-in { width: 100%; height: 100%; font-family: inherit; }
.map-wrap .map-in img  { max-width: none; z-index: 0; }

.searchandfilter { display: flex; justify-content: center; margin: 0 0 1rem; color: var(--tertiary-color); }
.searchandfilter > ul { position: relative; width: 100%; margin: 0; padding: 1rem 0; text-align: left; }
.searchandfilter > ul > li { margin: 0 0 1rem 0; padding: 0 1.5rem; }
.searchandfilter > ul > li.sf-field-reset { position: absolute; top: 15px; right: 15px; width: auto; padding: 0; border: none; font-size: 0.95rem; }
.searchandfilter > ul > li.sf-field-post-meta-zastavena_plocha { flex-grow: 1; border: none; }
.searchandfilter h4 { font-size: 1rem; font-weight: 600; }
.sf-input-select { display: block; width: 100%; padding: .375rem .75rem; font-size: 1rem; line-height: 1.5; background-color: #fff; border-radius: .25rem; transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out; }
.searchandfilter .meta-slider { max-width: 99%; }
.searchandfilter .noUi-connect { background-color: var(--tertiary-light-color); }

/* FOOTER
-------------------------------------------------- */
#footer { background-color: var(--primary-lighter-color); }
#footer ul.social-links { padding-top: 2rem; border-top: 1px solid; }
#footer ul.social-links > li { flex: 1; }

.footer-block-title { margin: 0 0 1.75rem; text-transform: uppercase; font-size: 1.75rem; font-weight: 700; font-family: var(--secondary-font); color: var(--secondary-color); }

.footer-copyright { text-align: center; font-size: .875rem; opacity: .5; }
.footer-copyright a { color: inherit; }

#footer .cd-top { position: fixed; z-index: 100; bottom: 15px; right: 15px; display: flex; justify-content: center; align-items: center; height: 40px; width: 40px; border-radius: .25rem; overflow: hidden; visibility: hidden; text-decoration: none; font-size: 1.25rem; color: var(--tertiary-lighter-color); background-color: var(--tertiary-light-color); opacity: 0; transition: opacity .3s 0s, visibility 0s .3s; }
#footer .cd-top.cd-is-visible, #footer .cd-top.cd-fade-out { transition: opacity .3s 0s, visibility 0s 0s; }
#footer .cd-top.cd-is-visible, #footer .cd-top.cd-is-visible:hover { visibility: visible; opacity: .9; }
#footer .cd-top.cd-fade-out { opacity: .5; }

/* RESPONSIVE CSS
-------------------------------------------------- */
@media (max-width: 575.98px) {
    #header .navbar-brand img { width: auto; max-height: 50px; }
    .posts .post-excerpt, ul.social-links > li .social-icon-text { display: none!important; }
}

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

@media (max-width: 767.98px) {
    .wp-block-column { flex-basis: 100%!important; }
    .footer-block { width: 100%!important; }
    .footer-block.title-on .footer-block-title { display: flex; align-items: center; justify-content: space-between; }
    .footer-block.title-on .footer-block-title:after { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; padding: 5px; border-radius: .25rem; font-family: "Font Awesome 5 Free"; font-weight: 700; font-size: 14px; color: #fff; background-color: #183544; }
    .footer-block.title-on .footer-block-title.collapsed:after { content: '\f067'; }
    .footer-block.title-on .footer-block-title:after { content: '\f068'; }
    .footer-block.title-off .footer-block-title { display: none; }
    .footer-block:not(:last-child) .footer-block-content { padding-bottom: 2rem; }
}

@media (min-width: 768px) {
    .main-content { padding: 2rem; }
    .gallery-slider .swiper-button-prev { left: -.5rem; }
    .gallery-slider .swiper-button-next { right: -.5rem; }
    .pagination-single { flex-direction: row; justify-content: space-between; }
	.pagination-single .next-post { flex-direction: row-reverse; text-align: right; }
	.pagination-single a + a { margin: 0 0 0 4rem; }
	.pagination-single .next-post .arrow { margin: 0 0 0 1rem; }
    .footer-block.title-on .footer-block-content-wrap { display: block!important; height: auto!important; }
}

@media (max-width: 991.98px) {
	#header .navbar-nav { position: fixed; z-index: 100; top: -100%; left: 0; width: 100%; height: 100vh; padding: 1rem; overflow: auto; overscroll-behavior: contain; background-color: var(--tertiary-color); transition: top .3s ease-in-out; }
    #header .navbar-nav.show { top: 0; }
}

@media (min-width: 992px) {
	body #cookie-notice { max-width: 460px; }
    #header .navbar { padding: 1rem 0; }
    #header .navbar-brand { position: relative; padding: 0; }
    #header .btn-menu.menu-show { display: none; }
    #header .navbar-nav { display: flex; }
    #header .navbar-nav-header { display: none; }
    .main-content { padding: 3rem; }
    .posts-slider { padding: 0 90px; }
    .posts-slider-next, .posts-slider-prev { width: 90px; }
    .posts-slider-next:after, .posts-slider-prev:after { font-size: 5rem; }
    .searchandfilter > ul { display: flex; justify-content: center; width: 70%; }
    .searchandfilter > ul > li { margin: 0; border-right: 1px solid rgba(0,0,0,0.25); }
}
@media (max-width: 1199.98px) {
}
@media (min-width: 1200px) {
    h2, .h2 { font-size: 1.75rem; }
    h3, .h3 { font-size: 1.5rem; }
    h4, .h4 { font-size: 1.25rem; }
    h5, .h5 { font-size: 1.125rem; }
    h6, .h6 { font-size: 1rem; }
}

/* HP – odstranění odrážek a odsazení galerie realizací */
body.home .wp-block-gallery > ul.blocks-gallery-grid {
    list-style: none;
    padding-left: 0;
}

body.home .wp-block-gallery > ul.blocks-gallery-grid > li.blocks-gallery-item {
    list-style: none;
}