/*
Theme Name: BU3
Author: LEXO GmbH
Author URI: https://www.lexo.ch/
Version: 1.0
*/

/*
 *
 * REGULAR PAGE SETTINGS
 *
 */

@media (min-width: 1200px) {
    .container {
        width: 100%;
        padding: 0 11%;
    }
}
html {
    scroll-behavior: smooth;
}

body {
    position: relative;
    min-height: 100vh;
    overflow-y: scroll;
    overflow-x: hidden;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    padding-top: 80px;
    transition: padding 0.25s ease-in-out;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
 
p {
    font-size: 1.6rem;
}

.flex {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
}

.flex-vertical-center {
    align-items: center;
}

.flex-pull-right {
    margin-left: auto;
}

input {
    -webkit-transition: all 0.25s;
    -moz-transition: all 0.25s;
    -ms-transition: all 0.25s;
    -o-transition: all 0.25s;
    transition: all 0.25s;
}

body.ios input,
body.ios textarea,
body.osx input,
body.osx textarea,
body.safari input,
body.safari textarea {
    -webkit-border-radius: 0;
    border-radius: 0;
    box-shadow: none;
    background-clip: padding-box;
}

h6 {
   font-size: 1.6rem;
}

#page-content {
    flex: 1 0 auto;
    word-break: break-word;
}
h1.main-title {
    font-size: 32px;
    line-height: 1.3em;
    color: #4d4d4d;
    font-family: var(--light-font);
}
#page-content:not(.auto-hyphenation-disabled) {
    -webkit-hyphens: auto;
    -webkit-hyphenate-limit-before: 3;
    -webkit-hyphenate-limit-after: 3;
    -webkit-hyphenate-limit-chars: 6 3 3;
    -webkit-hyphenate-limit-lines: 2;
    -webkit-hyphenate-limit-last: always;
    -webkit-hyphenate-limit-zone: 8%;
    -moz-hyphens: auto;
    -moz-hyphenate-limit-chars: 6 3 3;
    -moz-hyphenate-limit-lines: 2;
    -moz-hyphenate-limit-last: always;
    -moz-hyphenate-limit-zone: 8%;
    -ms-hyphens: auto;
    -ms-hyphenate-limit-chars: 6 3 3;
    -ms-hyphenate-limit-lines: 2;
    -ms-hyphenate-limit-last: always;
    -ms-hyphenate-limit-zone: 8%;
    hyphens: auto;
    hyphenate-limit-chars: 6 3 3;
    hyphenate-limit-lines: 2;
    hyphenate-limit-last: always;
    hyphenate-limit-zone: 8%;
}

#flexible-content>.section,
.subpage-content>.section,
#section-password-protected {
    padding-top: var(--spacing-regular);
    padding-bottom: 50px;
}

#flexible-content>.section:is(.remove-padding-top),
.subpage-content>.section:is(.remove-padding-top) {
    padding-top: 0 !important;
}

#flexible-content>.section:is(.remove-padding-bottom),
.subpage-content>.section:is(.remove-padding-bottom) {
    padding-bottom: 0 !important;
}
.section-background-img {
    background-image: url('images/bg-img.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.section-green {
    background-color: var(--color-blue-bg);
}

.section-lightgreen {
    background-color: var(--color-blue-bg-light);
}

.margin-regular {
    margin-bottom: calc(var(--spacing-regular) / 2);
}

.margin-small {
    margin-bottom: calc(var(--spacing-regular) / 8);
}

.margin-none {
    margin-bottom: 0;
}

.q-anim {
    /* opacity: 0;
    visibility: hidden; */
}

header {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    width: 100%;
    height: 80px;
    background: #F8F6F1;
    text-align: center;
    text-align: center;
    display: flex;
    justify-content: center;
}
#header-menu {
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
    list-style: none;
}

#header-menu .menu-item {
    position: relative;
    display: flex;
    align-items: baseline;
}
#header-menu .menu-image {
    margin: 0;
    padding: 0;
}
#header-menu .menu-image img {
    max-width: 100%;
    height: auto;
}
#header-menu .menu-item-has-children a {
    padding-right: 0 !important;
    margin-right: 0 !important;
}
#header-menu .menu-item-has-children {
    padding-right: 18px;
}
.opener {
    margin-left: 3px;
}
#header-menu .menu-item a {
    color: #000;
    font-size: 1.6rem;
    text-transform: uppercase;
    cursor: pointer;
    text-align: center;
    padding: 7px 14px 7px 16px;
    margin: 0 2px 8px 1px;
}
#header-menu .menu-item a:hover {
    color: #BC1F17;
}
#header-menu .current-menu-item a {
    color: #BC1F17;
}
#header-menu .current_menu_item_parent a{
    color: #BC1F17;
}
#header-menu .current_menu_item_parent .menu-item a {
    color: #000;
}
#header-menu .current_menu_item_parent .current-menu-item a {
    color: #BC1F17;
}
#header-menu .current-menu-item > ul.sub-menu a {
    color: #000;
}
#header-lower .footer-menu {
    margin-top: 4em;
    display: none;
}
.sub-menu {
    position: absolute;
    top: 100%;
    background: #F8F6F1;
    width: 230px;
    left: 0;
    padding: 0;
    margin: 0;
    padding-top: 20px;
    opacity: 0; 
    visibility: hidden; 
    transition: opacity 0.3s, visibility 0.3s; 
}

#header-menu .menu-item-has-children ul li {
    text-align: left;
    padding: 10px 0;
}
#header-menu .menu-item-has-children ul li  a:hover {
    color: #BC1F17;
}

#header-menu .menu-item .sub-menu li a {
    text-transform: capitalize;
    padding: 0 15px;
}
#header-menu .menu-item .opener .icon-icon6 {
    display: none;
}
.fa-chevron-down::after {
    content: "\f078";
    display: inline-block;
    cursor: pointer;
    width: 2.4rem;
    opacity: 0.5;
    font-weight: 900;
    text-align: right;
    color: #000;
    line-height: normal;
    font-size: 16px;
}
.fa-times {
    display: inline-block;
    cursor: pointer;
    width: 2.4rem;
    opacity: 0.5;
    font-weight: 900;
    text-align: right;
    color: #000;
    line-height: normal;
    font-size: 16px;
}
.menu-item.menu-item-has-children .fa-times {
    display: none;
}

.menu-item.menu-item-has-children .fa-chevron-down {
    display: inline-block;
}

.menu-item.menu-item-has-children:hover .fa-times {
    display: inline-block;
}

.menu-item.menu-item-has-children:hover .fa-chevron-down {
    display: none;
}
.content {
    padding: 0 15px;
    margin: 0 10px;
}
.contact-page-map{
    width: 100vw;
    margin: 0;
    padding: 0;
}
.locations-map-container .leaflet-map {
    height: 596px;
}
.locations-map-container .map-image {
    height: 596px !important;
    object-fit: cover;
}
.locations-map-container p {
    padding: 0 15px;
    color: #666666;
}

.contact {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;    
}
.contact-mail {
    color: #e30613;
}
.adress_info {
    width: 30%;
}
.adress_info .adress-content {
    width: 175px;
}
.adress_info h2 {
    font-family: var(--light-font);
    font-size: 3.2rem;
    font-weight: normal;
    text-transform: uppercase;
    color: #4d4d4d;

}
.adress_info h6 {
    color: #4d4d4d;
    margin: 3.5rem 0;
}
.adress_info p {
    font-size: 1.6rem;
    color: #666666;
}
.adress_info .contact_phone {
    text-decoration: none;
    color: #666666;
}
.adress_info p a:hover  {
    color: #4d4d4d;
}
.form-data {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 15px;
}

.contact-grid-wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}
.checkbox-form-item .checkbox-contact {
    width: auto;
    margin: 0;
    margin-right: 6px;
    cursor: pointer;
}
.checkbox-form {
    margin-left: 15px;
    margin-bottom: 30px;
}
.checkbox-form-item {
    margin-right: 15px;
}
.checkbox-form-item span {
    font-size: 1.6rem;
    color:#666;
    font-weight: normal;
    cursor: pointer;
}
.input-field {
    position: relative;
    flex: 0 0 calc(50% - 12px);
    margin-bottom: 20px;
}
.input-field input {
    background: #fff;
    border: 1px solid #dcdcdc;
    box-shadow: none;
    border-radius: 0;
    height: 45px;
    font-size: 13px;
    padding: 15px;
    color: #333;
}

.textarea-layer {
    flex: 1;
}
.textarea-layer textarea {
    background: #fff;
    border: 1px solid #dcdcdc;
    box-shadow: none;
    border-radius: 0;
    height: 100px;
    font-size: 13px;
    padding: 15px;
    margin-bottom: 30px;
    color: #333;
}
.form-contact {
    width: calc(65.0133% - ( 0.34986744158568 * 80px ) );
}
.form-contact h2 {
    font-family: var(--light-font);
    font-size: 2.5rem;
    margin: 0;
    margin-top: 20px;
    margin-bottom: 24px;
    font-weight: normal;
    color: #4d4d4d;
}

.success-message {
    display: none;
    font-size: 26px;
    text-align: center;
    color: #666666;
    margin: 8.75rem 0 1.5rem 0;
}

.send-info {
    justify-content: flex-end;
}
.send-btn {
    background: #fff;
    color: #4d4d4d;
    border: 1px solid #bcbcbc;
    font-size: 1.6rem;
    padding: 7px 30px;
    margin-right: 2%; 
}
.send-btn:hover {
    border: 1px solid #000;
    color: #000;
}
.anfrage-form-data {
    flex-direction: column;
}
.anfrage-success-message {
    display: none;
    font-size: 26px;
    text-align: center;
    margin: 0.75rem 0 1.5rem 0;
    color: #666666;
}

.anfrage-textarea-layer {
    margin-top: 15px;
    flex: 1;
}
.anfrage-textarea-layer textarea {
    width: 75%;
    background: #e6e6e6;
    border: 1px solid #dcdcdc;
    box-shadow: none;
    border-radius: 0;
    height: 100px;
    font-size: 13px;
    padding: 15px;
    margin-bottom: 20px;
    color: #333;

}
.anfrage-input-field {
    width: 75%;
    background: #e6e6e6;
    border: 1px solid #dcdcdc;
    box-shadow: none;
    border-radius: 0;
    height: 45px;
    font-size: 13px;
    padding: 15px;
    color: #333;
}
footer {
    border-top: none;
    background: #222;
    text-transform: uppercase;
    line-height: 40px;
    border-bottom: 5px solid #BC1F17;
    padding: 50px 0;
    color: #777;
}
#footer {
    width: 100%;
    padding: 0 11%;
}
.footer_container {
    position: relative;
    display: flex;
    align-items: baseline;
    flex-flow: row wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    text-rendering: optimizespeed;
}
.f-content {
    margin: 1rem;
    padding: 1.4rem;
    margin-bottom: 0;
    margin-top: 0;
    padding-bottom: 0;
    padding-top: 0;
}
.footer-menu .footer-list {
    padding-left: 0;
}
.sub-menu-footer .footer-list {
    padding-left: 0;
}
.footer_left {
    padding-right: 4%;
    flex: 0 28%;
    width: 28%;
}
.footer_left p {
    line-height: 40px;
}
.footer_right p {
    line-height: 40px;
}
.footer_left p a {
    color: #888;
}
.footer_left p a:hover {
    color: #BC1F17;
}

.footer-menu {
    flex: 0 24%;
    width: 24%;
}
.sub-menu-footer {
    flex: 0 24%;
    width: 24%;
}
.footer_right {
    flex: 0 24%;
    width: 24%;
}
.footer_image {
    width: auto;
    max-width: 100%;
    position: absolute;
    left: 20px;
    top: -55px;
}
#footer-upper>h4 {
    margin-bottom: 0.2em;
}

.footer-logo {
    display: inline-block;
}

.footer-logo img {
    width: 155px;
    height: 57px;
}
.footer-logo.hsg-logo img {
    width: auto;
}

footer .footer-list {
    margin-bottom: 33px;
    flex-direction: column;
}

footer .footer-list .f-item {
    position: relative;
}

footer .footer-list .f-item a {
    color: #777;
    font-family: var(--main-font);
    font-size: 1.6rem;
}
footer .footer-list .f-item a:hover {
    color: #BC1F17;
}
.footer-menu .footer-list h2 {
    color: #fff;
    font-size: 2.4rem;
    margin: 10px 0 30px 0;
    font-weight: 300;
}
.sub-menu-footer .footer-list h2 {
    color: #fff;
    font-size: 2.4rem;
    margin: 10px 0 30px 0;
    font-weight: 300;
}
.footer_container .footer_right h2 {
    color: #fff;
    font-size: 2.4rem;
    margin: 10px 0 30px 0;
    font-weight: 300;
    font-family: var();
}

.footer-image {
    max-width: 100%;
    height: auto;
}
.content_404 {
    padding: 60px 0;
}
.header-image {
    position: relative;
}
.header-image img {
    width: 100%;
}
.image-title-overlay {
    position: absolute;
    top: 230px;
    right: 0;
    z-index: 998;
    background: rgba(0, 0, 0, 0.7);
    text-align: left;
    padding: 20px 20% 20px 20px;
    margin: 0;
    color: #E30613;
}
.image-title-overlay #page-title .part1 {
    font-size: 3.6rem;
    line-height: 100%;
    color: #E30613;
    font-weight: 700;
    margin: 0;
    padding: 0;
    width: 100%;
}
.image-title-overlay #page-title .part2 {
    font-size: 3.6rem;
    margin: 0;
    padding: 0;
    line-height: 100%;
    color: #fff;
    font-weight: 600;
    background: none;
    text-align: center;
    width: 100%;
}
 .photo-gallery {
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
    width: 100%;
}
.photo-gallery-4 {
    display: grid;
    grid-gap: 4px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0 auto;
    padding-top: 30px;
}

.photo-gallery-4 .gallery-item {
    width: 100%;
    height: auto;
    aspect-ratio: 1; 
    box-sizing: border-box;
}

.photo-gallery-4 .gallery-item img {
    max-width: 100%;
    width: 100%;
    display: block;
    object-fit: cover;
    height: 100% !important;
}
.photo-gallery-3 {
    display: grid;
    grid-gap: 4px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 1050px;
    margin: 0 auto;
    max-width: 100%;
    margin-top: 30px;
    gap: 4px;
}

.photo-gallery-3 .gallery-item {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    box-sizing: border-box;
}
.photo-gallery-3 .gallery-item img {
    max-width: 100%;
    width: 100%;
    display: block;
    object-fit: cover;
}

.gallery-item {
    transition: all 0.3s ease 0s;
    -webkit-transition: all 0.3s ease 0s;
}

.gallery-item:hover {
    transform: scale(1.1);
    z-index: 998;
} 

.fancybox-thumbs {  
    left: 0;
    bottom: auto;
    width: auto;
    padding: 0;
    background: #000;
    margin: 0 auto;
}
.fancybox-thumbs__list a {
    width: 50px;
    height: 50px;
    opacity: 0.8;
}
.fancybox-thumbs__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 1px;
}
.fancybox-thumbs__list a:before {
    border: none;
}
.fancybox-thumbs-active {
    opacity: 1 !important;
    transform: scale(1.1);
    transition: all 0.4s ease-in-out;
}
.fancybox-bg {
    background: #000;
}
.fancybox-is-open .fancybox-bg {
    opacity: 1;
}
.fancybox-infobar {
    display: none;
}
.fancybox-show-thumbs .fancybox-inner {
    right: 0;
}
.fancybox-toolbar {
    bottom: 0;
    right: 50%;
    top: auto;
    transform: translateX(50%);
}
.spinner {
    visibility: hidden;
    display: inline-block;
    background-color: #23282d;
    opacity: 0.75;
    width: 33px;
    height: 25px;
    border: none;
    border-radius: 100%;
    padding: 0;
    margin-top: 23px;
    margin-left: 18px;
    position: relative;
}
.spinner::before {
    content: '';
    position: absolute;
    background-color: #fbfbfc;
    top: 4px;
    left: 4px;
    width: 6px;
    height: 6px;
    border: none;
    border-radius: 100%;
    transform-origin: 8px 8px;
    animation-name: spin;
    animation-duration: 1000ms;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}
#contact-form .send-info .send-wrapper .spinner {
    width: 64px;
    margin-left: 0;
    margin-right: 120px;
}
.child_container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.child {
    background-color: #fff;
    box-sizing: border-box;
    width: 390px;
    height: auto;
}
.child h3 {
    font-size: 2rem;
    margin: 0;
    padding: 20px 0;
    background-color: #fff;
    text-transform: uppercase;
    text-align: center;
}
.home-bottom {
    padding: 60px 0;
}
.child_container .child a img {
    width: 100%;
}

@media (prefers-reduced-motion: reduce) {
	.spinner::before {
		animation-name: blink;
		animation-duration: 2000ms;
	}
}

@keyframes spin {
	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg);
	}
}

@keyframes blink {
	from {
		opacity: 0;
	}

	50% {
		opacity: 1;
	}

	to {
		opacity: 0;
	}
}


/* Dodatne prilagodbe prema potrebi */


/* --------------------------- */
/* --RESPONSIVE MEDIA UPDATE-- */
/* --------------------------- */

.youtube-responsive-container {
    position: relative;
    padding-top: calc(9 / 16 * 100%);
    height: 0;
    overflow: hidden;
    margin-bottom: 1.3em;
}

.youtube-responsive-container iframe,
.youtube-responsive-container object,
.youtube-responsive-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* #page-content .wp_gallery_advanced_image {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    object-fit: cover;
    object-position: center;
    height: 100% !important;
}

.wp_gallery_advanced_caption {
    color: white;
    font-size: 1.4rem;
    line-height: 1.4;
}

.wp_gallery_advanced_gal_item {

}

.wp_gallery_advanced_type-slider .wp_gallery_advanced_caption {
    padding: 15px 20px;
    margin: 0;
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 0;
}

.wp_gallery_advanced_slider .slick-arrow {
    position: absolute;
    color: white;
    background-color: var(--color-red);
    font-size: 2rem;
    padding: 10px;
    z-index: 10;
    cursor: pointer;
    border-radius: 50%;
    opacity: 0.7;
    -webkit-transition: all 0.25s;
    -moz-transition: all 0.25s;
    -ms-transition: all 0.25s;
    -o-transition: all 0.25s;
    transition: all 0.25s;
    transform: translate(0px, -50%);
}

.wp_gallery_advanced_slider .slick-arrow:hover {
    opacity: 1;
}

.wp_gallery_advanced_slider .slick-arrow.slide_prev {
    left: 15px;
}

.wp_gallery_advanced_slider .slick-arrow.slide_next {
    right: 15px;
}

.section_regular .wp_gallery_advanced_slider_wrapper {
    padding: 0 0px;
}

.section_regular>.container>.row_children_1>.col-xs-12>.post_content_block>.wp_gallery_advanced_slider_wrapper {
    padding: 0;
}

.wp_gallery_advanced_gal_item_thumb {
    height: 390px;
}

.wp_gallery_advanced_thumbnails:not(.captions-enabled) .wp_gallery_advanced_gal_item_thumb {
    margin-bottom: 18px;
}

.wp_gallery_advanced_gal_item_thumb:before {
    opacity: 0;
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgb(6 49 59 / 50%);
    z-index: 1;
    -webkit-transition: opacity 0.25s;
    -moz-transition: opacity 0.25s;
    -ms-transition: opacity 0.25s;
    -o-transition: opacity 0.25s;
    transition: opacity 0.25s;
}

.wp_gallery_advanced_gal_item_thumb:after {
    content: "\e908";
    font-family: "icomoon" !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 2rem;
    color: #fff;
    z-index: 2;
    opacity: 0;
    -webkit-transition: opacity 0.25s;
    -moz-transition: opacity 0.25s;
    -ms-transition: opacity 0.25s;
    -o-transition: opacity 0.25s;
    transition: opacity 0.25s;
    transform: translate(-50%, -50%) rotate(45deg);
    border: 2px solid white;
    border-radius: 50%;
    padding: 13px;
}

.wp_gallery_advanced_gal_item_thumb:hover:before,
.wp_gallery_advanced_gal_item_thumb:hover:after {
    opacity: 1;
}

.wp_gallery_advanced_thumbnails {
    flex-wrap: wrap;
    margin-left: -9px;
    margin-right: -9px;
}

.wp_gallery_advanced_single_thumb_wrapper {
    padding-right: 9px;
    padding-left: 9px;
    margin-bottom: 18px;
    height: 390px;

}

.wp_gallery_advanced_single_thumb_wrapper .wp_gallery_advanced_caption {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 0;
    padding: 10px 15px;
}

.wp_gallery_advanced_gal_item {
    margin: 0 9px;
}

.wp_gallery_advanced_slider .slick-list {
    margin: 0 -9px;
} */

/*
 * FORM STYLES
 *
 */

input,
textarea {
    border: 1px solid #c3c3c3;
    padding: 8px 15px;
    width: 100%;
    background-color: transparent;
}

textarea {
    resize: vertical;
}

textarea.error,
input.error,
select.error {
    border-bottom-color: red !important;
}

label.error {
    display: none !important;
}

/*FORM ERROR*/

span.error {
    max-height: 0px !important;
    max-width: 0px !important;
    overflow: hidden;
    display: inline-block !important;
    border: 0px !important;
}

form em {
    font-style: normal;
    /*white-space: nowrap;*/
}

span.error.hover-active {
    max-height: none !important;
    max-width: 300px !important;
    position: absolute;
    top: 7px;
    right: 40px;
    background: #ededed;
    padding: 6px 10px;
    line-height: 15px;
    border: 0px;
    z-index: 100;
    display: inline-block !important;
    font-size: 13px;
    color: #f90106;
    font-weight: 700;
    overflow: visible;
}

span.error.hover-active:after {
    content: "";
    display: inline-block;
    border: 6px solid #ededed;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    position: absolute;
    top: 7px;
    right: -12px;
}
.custom-error-message {
    display: block;
    color: #dc3232;
    font-size: 1.6rem;
}
.form-error-message {
    font-size: 1.6rem;
    margin: 32px 0 16px;
    padding: 3.2px 16px;
    color: #666;
    border: 2px solid #ffb900;
}
.form-error-message-anfrage {
    font-size: 1.6rem;
    margin: 32px 8px 16px;
    padding: 3.2px 16px;
    color: #666;
    border: 2px solid #ffb900;
}

#l-notify {
    position: fixed;
    bottom: 0;
    z-index: 1100;
    left: 0;
    width: 100%;
    text-align: center;
    background-color: #F8F6F1;
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    -moz-backdrop-filter: saturate(180%) blur(12px);
    backdrop-filter: saturate(180%) blur(12px);
    border-top: 1px solid #dae0e3;
    padding: 25px 15px;
    color: #4d4d4d;
    font-size: 2.5rem;
    line-height: 1.3em;
    opacity: 0;
    visibility: hidden;
    -webkit-transform: translate(0, 100%);
    -moz-transform: translate(0, 100%);
    -ms-transform: translate(0, 100%);
    -o-transform: translate(0, 100%);
    transform: translate(0, 100%);
    -webkit-transition: transform 0.25s, opacity 0.25s, visibility 0.25s;
    -moz-transition: transform 0.25s, opacity 0.25s, visibility 0.25s;
    -ms-transition: transform 0.25s, opacity 0.25s, visibility 0.25s;
    -o-transition: transform 0.25s, opacity 0.25s, visibility 0.25s;
    transition: transform 0.25s, opacity 0.25s, visibility 0.25s;
}

#l-notify.l-error {
    border-top: 1px solid #fc8256;
    background-color: red;
}

#l-notify.active {
    opacity: 1;
    visibility: visible;
    -webkit-transform: translate(0, 0);
    -moz-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    -o-transform: translate(0, 0);
    transform: translate(0, 0);
}

/*
 * General
 */

.noselect {
    -webkit-touch-callout: none;
    /* iOS Safari */
    -webkit-user-select: none;
    /* Safari */
    -khtml-user-select: none;
    /* Konqueror HTML */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
    user-select: none;
    /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}

.noclick {
    pointer-events: none;
}

#page-content img {
    max-width: 100%;
    height: 100%;
}

/*
 * Youtube video
 */

.ytv_wrapper {
    position: relative;
    margin-bottom: 30px;
}

.ytv_action_wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ytv_play {
    position: relative;
    color: #fff;
    cursor: pointer;
    background: rgba(45, 108, 153, 0.4);
    border-radius: 50%;
    width: 120px;
    height: 120px;
    transition: all 0.2s ease-in-out;
}

.ytv_play:after {
    content: "\e934";
    font-family: "Icomoon";
    top: 50%;
    left: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    transition: all 0.2s ease-in-out 0.3s;
}

.ytv_play:before {
    content: "";
    border: 1px solid white;
    width: 100px;
    height: 100px;
    top: 50%;
    left: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    transition: all 0.25s ease-in-out;
    border-radius: 50%;
}

.ytv_play:hover {
    background: rgba(45, 108, 153, 0.7);
}

.ytv_play:hover:after {
    color: white;
    font-size: 3rem;
}

.ytv_play:hover:before {
    width: 100%;
    height: 100%;
}

.icon-holder {
    width: 35px;
    height: 35px;
    color: #555;
    position: relative;
    cursor: pointer;
    font-size: 3.5rem;
    transition: color 0.25s ease-in-out;
    display: block;
    z-index: 2001;
}

.toggle-icons {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -52%);
    transition: visibility 0.5s ease-in-out;
}

.toggle-icon-close {
    display: none;
}

body:is(.mm-active) .toggle-icon-close {
    display: block;
    font-size: 1.9rem;
    color: white;
    z-index: 2001;
    position: relative;
    top: 0;
    right: 0;
    text-align: right;
    padding-right: 15px;
}

body.mm-active #burger .toggle-icon-default {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    visibility: hidden;
}

body.mm-active #burger .toggle-icon-close {
    transform: translate(-50%, -50%) scale(1);
    
}

#burger .icon-icon {
    font-size: 2.5rem;
    font-weight: bolder;
    color: #555555;
}

.custom-col-20,
.custom-col-60 {
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
    float: left;
    width: 100%;
}

@media (min-width: 768px) {
    .custom-col-20 {
        width: 20%;
    }

    .custom-col-60 {
        width: 60%;
    }
}

.wp-caption>a {
    display: block;
}

.bordered-box {
    border-top: 10px solid var(--color-blue-bg);
    padding: 20px;
    box-shadow: 0px 0px 4px 0px rgb(0 0 0 / 50%);
}

#pasword-protected-frame {
    width: min(600px, 100%);
    margin-inline: auto;
}

.download-blocks {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    display: grid;
    grid-gap: 25px;
}

.download-block {
    padding: 0;
    flex-direction: column;
}

.download-block .db-content {
    padding: 20px 20px 40px 20px;
}

.download-block .db-content *:last-child {
    margin-bottom: 0;
}

.download-block .db-link-holder {
    justify-content: end;
    margin-top: auto;
}

.download-block .db-link {
    margin: 0;
}

.download-block .db-link:before {
    display: none;
}

.content-table {
    margin-bottom: 1.6em;
}

.content-table .ct-row {
    gap: 30px;
}

.content-table .ct-row:nth-child(odd) {
    background-color: rgb(8 77 93 / 10%);
}

.content-table .ct-column {
    flex: 1;
    padding: 10px 15px;
}

.content-table .ct-column *:last-child {
    margin-bottom: 0;
}

.pages-blocks {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    display: grid;
    grid-gap: 25px;
}

.pages-blocks[data-blocks-number="2"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pages-blocks[data-blocks-number="3"] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pages-blocks[data-blocks-number="4"] {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.pages-block {
    padding: 0;
    flex-direction: column;
    border-top-width: 7px;
    background-color: white;
}

.pages-block .pb-content {
    padding: 20px 20px 40px 20px;
}

.pages-block .pb-content *:last-child {
    margin-bottom: 0;
}

.pages-block .pb-link-holder {
    justify-content: end;
    margin-top: auto;
}

.pages-block .pb-link {
    margin: 0;
    padding-inline: 10px;
}

#subpages-box-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

#subpages-box-nav .pages-block {
    min-height: 245px;
}

#subpages-floating-nav {
    position: fixed;
    z-index: 99;
    right: 15px;
    top: 50%;
    transform: translate(0, -50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#subpages-floating-nav .sfn-elem {
    position: relative;
    align-items: center;
    justify-content: end;
}

#subpages-floating-nav .sfn-elem:is(:hover, :focus) {
    text-decoration: none;
}

#subpages-floating-nav .sfn-square {
    width: 12px;
    height: 12px;
    background-color: var(--color-main);
    display: block;
}

#subpages-floating-nav .sfn-title {
    color: var(--color-main);
    opacity: 0;
    visibility: hidden;
    transform: translate(-10px, -50%);
    transition: all 0.25s ease-in-out;
    position: absolute;
    top: 50%;
    right: 0px;
    padding-right: 25px;
    width: max-content;
}

#subpages-floating-nav .sfn-elem:is(.active) .sfn-square {
    background-color: var(--color-red);
}

#subpages-floating-nav:not(.full-report) .sfn-elem:is(.active, :hover) .sfn-title,
#subpages-floating-nav:is(.full-report) .sfn-elem:is(:hover) .sfn-title {
    opacity: 1;
    visibility: visible;
    transform: translate(0, -50%);
}

#subpages-floating-nav:is(.full-report) {
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease-in-out;
}

#subpages-floating-nav:is(.full-report.active) {
    opacity: 1;
    visibility: visible;
}


.toggle-radio>input+label:not(:last-of-type) {
    border-right: 1px solid #dadada;
}

.toggle-radio {
    border: 1px solid #dadada;
}

.toggle-radio>input:checked+label {
    background-color: var(--color-blue-bg-light);
    color: white;
    box-shadow: 0px 2px 4px rgb(0 0 0 / 35%);
    transition: background-color 0.1s ease;
}

.toggle-radio>input+label:not(:last-of-type) {
    border-right: 1px solid #dadada;
}

.toggle-radio {
    display: inline-flex;
}

.toggle-radio>input[type="radio"],
.kfh-keyword>input[type="checkbox"] {
    display: none;
}

.toggle-radio>input[disabled]+label {
    opacity: 0.5;
}

.toggle-radio>input[disabled]+label:hover {
    cursor: not-allowed;
}

.toggle-radio>input+label {
    margin-bottom: 0;
    padding: 4px 8px;
    cursor: pointer;
}

.radio-holder {
    align-items: center;
    gap: 15px;
}

#popup-modal-wrapper {}

#popup-modal-content {
    padding: 0;
    height: 100vh;
    width: 100%;
    position: fixed;
    z-index: 1020;
    left: 0;
    top: 0;
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    opacity: 0;
    visibility: hidden;
    overflow-y: auto;
}

#popup-modal-content:is(.active) {
    display: block;
    opacity: 1;
    visibility: visible;
}

#popup-modal-content[data-type="text"] {
    background-color: var(--color-blue-bg-light);
}

#popup-modal-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.popup-modal-content-slide {
    padding: 0;
}

#back-to-overview-wrapper {
    text-align: center;
    margin-top: 2em;
}

#bp-single-similar-posts-wrapper {
    margin-bottom: 3em;
}

#flexible-content .section {
    scroll-margin-top: 134px;
}

#page-title {
    margin-top: 0;
    margin-bottom: 0;
}



/*
 *
 * MEDIA QUERY
 *
 */

/* LARGE SCREENS */

@media (max-width: 1199px) {
    h1,
    .h1 {
        font-size: 3.7rem;
    }

    h2,
    .h2 {
        font-size: 3.0rem;
    }

    h3,
    .h3 {
        font-size: 2.4rem;
    }

    h4,
    .h4 {
        font-size: 2rem;
    }


    .ts-60 {
        font-size: 4.8rem;
        line-height: 1.1em;
    }
    
    .ts-54 {
        font-size: 4.2rem;
    }
    
    .ts-43 {
        font-size: 3.7rem;
    }
    
    .ts-34 {
        font-size: 2.8rem;
    }
    .ts-32 {
        font-size: 2.6rem;
    }
    .ts-28 {
        font-size: 2.4rem;
    }
    .ts-25 {
        font-size: 2.1rem;
    }
    .ts-24 {
        font-size: 1.9rem;
    }
    .ts-22 {
        font-size: 1.8rem;
    }
    
    .ts-16 {
        font-size: 1.4rem;
    }

    .button {
        font-size: 1.4rem;
    }
}
@media (max-width: 991px) {}

@media (max-width: 767px) {


    h1,
    .h1 {
        font-size: 3rem;
        line-height: 1.15;
    }

    h2,
    .h2 {
        font-size: 2.7rem;
    }

    h3,
    .h3 {
        font-size: 2.1rem;
    }

    h4,
    .h4 {
        font-size: 1.8rem;
    }

    .ts-60 {
        font-size: 3rem;
        line-height: 1.15;
    }
    
    .ts-54 {
        font-size: 2.8rem;
    }
    
    .ts-43 {
        font-size: 2.6rem;
    }
    
    .ts-34 {
        font-size: 2.2rem;
    }
    .ts-32 {
        font-size: 2.1rem;
    }
    
    .ts-28 {
        font-size: 2rem;
    }
    .ts-25 {
        font-size: 1.9rem;
    }
    .ts-24 {
        font-size: 1.7rem;
    }
    
    .ts-22 {
        font-size: 1.6rem;
    }
    
    .ts-16 {
        font-size: 1.3rem;
    }
}

@media (max-width: 600px) {
    :root {
        --top-section-image-height: auto;
        --skewed-height: 60px;
        --skewed-height: 30px;
    }

    body {
        padding-top: 55px;
    }

    .video-link:after {
        width: 70px;
        height: 70px;
    }

    .header-logo.hsg-logo {
        margin-left: 20px;
    }

    .header-logo img {
        width: 90px;
        height: 32px;
    }

    .footer-columns {
        display: block;
    }

    .footer-columns .footer-column:nth-child(2) {
        text-align: center;
    }

    .footer-image {
        max-width: 90px;
        margin-top: 40px;
    }

    footer .footer-list {
        flex-direction: column;
        gap: 7px;
    }
    .footer-subcolumns {
        gap: 15px;
        font-size: 1.1rem;
        line-height: 1.4;
    }

    .footer-socials {
        gap: 5px;
    }

    .footer-socials li a {
        font-size: 2.9rem;
    }

    .footer-logo img,
    .footer-logo.hsg-logo img {
        width: min(155px, 100%);
        height: auto;
    }

}

@media (max-width: 420px) {}

@media (max-width: 330px) {}

@media (min-width: 768px) and (max-width: 959px) {
    footer {
        line-height: 30px;
        padding: 60px 0 30px 0;
        font-size: 1.3rem;
    }
    #footer {
        padding: 0;
    }
    .footer-menu .footer-list h2 {
        font-size: 1.8rem;
        color: #e30613;
        font-weight: 400;
    }
    .sub-menu-footer .footer-list h2 {
        font-size: 1.8rem;
        color: #e30613;
        font-weight: 400;
    }
    .footer_container .footer_right h2 {
        font-size: 1.8rem;
        color: #e30613;
        font-weight: 400;
    }
    footer .footer-list .f-item a {
        color: #666;
        font-size: 1.3rem;
        line-height: 30px;
    }
    .footer_right p {
        color: #666;
        font-size: 1.3rem;
        line-height: 30px;
    }
    .footer_left p:first-child {
        color: #666;
        font-size: 1.3rem;
        line-height: 30px;
    }
    .sub-menu-footer {
    }
    .footer_image {
        top: -65px;
    }
    footer .footer-list {
        margin-bottom: 48px;
    }
}
@media (max-width: 767px) {
    .footer-menu {
        flex-grow: 0;
        flex-basis: 100%;
        max-width: 100%;
    }
    .footer_left {
        padding-right: 0;
        flex-grow: 0;
        flex-basis: 100%;
        max-width: 100%;
    }
    .footer_right {
        flex-grow: 0;
        flex-basis: 100%;
        max-width: 100%;
    }
    .sub-menu-footer {
        flex-grow: 0;
        flex-basis: 100%;
        max-width: 100%;
    }
    #footer {
        padding: 0;
        text-align: center;
    }
    .footer_image {
        left: 50%;
        transform: translateX(-50%);
    }
    .fancybox-show-thumbs .fancybox-thumbs {
        display: none;
    }
    .success-message {
        margin: 2.75rem 0 1.5rem 0;
    }
    .logo .mobile_logo {
        padding: 8px 15px !important;
    }
    .locations-map-container .map-image {
        height: 320px !important;
    }
    .image-title-overlay {
        margin-left: 15px !important;
    }

    .hide-on-mobile {
        display: none !important;
    }
}

@media (max-width: 1199px) {
    .submenu-opener.active .sub-menu {
        display: block;
    }
    body {
        padding-top: 0;
        font-size: 1.4rem;
    }
    #flexible-content .section {
        scroll-margin-top: 77px;
    }
    .content {
        padding: 0;
        margin: 0;
    }
   #header-menu {
        background-color: #212121;
        visibility: hidden;
        opacity: 0;
        color: white;
        position: fixed;
        width: 100%;
        height: 100vh;
        top: 0;
        right: 0;
        z-index: 2000;
        padding: 0;
        padding-block: 100px;
        padding-top: 40px;
        padding-bottom: 0;
        transition: opacity 0.25s ease-in-out, visibility 0.25s ease-in-out, transform 0.25s ease-in-out;
    }
    #header-menu .menu-item a {
        color: #aaaaaa;
        font-size: 2.5rem;
    }
    #header-menu {
        justify-content: unset;
        align-items: unset;
        flex-direction: column;
    }
    body:is(.mm-active) #header-menu {
        visibility: visible;
        opacity: 1;
        overflow: auto;
    }

    #header-menu .current-menu-item a {
        color: #BC1F17;
    }

    #header-menu .current_menu_item_parent .sub-menu .current-menu-item a {
        color: #000;
    }
    body:is(.mm-active) #header-menu .current_menu_item_parent .sub-menu {
        display: block !important;
    }
    #header-menu .current_menu_item_parent .submenu-opener {
        pointer-events: none;
    }
    .header-image {
        margin-top: 80px;
    }
    body.mm-active {
        overflow: hidden;
    }
 
    .sub-menu {
        top: 0;
    }
    .burger-menu.menu-open .icon-holder {
        position: fixed;
    }
    #header-menu .menu-image {
        display: none;
    }
    .logo .mobile_logo {
        max-width: 497px;
        padding: 8px 30px;

    }
    .header-container {
        margin-right: 0;
        margin-left: 0;
        display: flex;
        align-items: center;
        width: 100%;
    }
    body:is(.menu-open) .icon-holder {
        position: fixed;
        z-index: 99999;
    }
    .burger-menu {
        display: flex;
        align-items: center;
        justify-content: end;
        width: 100%;
        padding-right: 15px;
        
    }
    #header-menu .menu-item a {
        text-transform: capitalize;
        font-size: 2rem;
        text-align: left;
        padding: 11px 28px 11px 28px;
        margin: 0;
    }
    #header-menu .menu-item-has-children {
        padding-right: 0;     
    }
    #header-menu .menu-item:not(:last-child) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .mobile_menu_logo {
        margin-top: 40px;
        margin-bottom: 30px;
    }
    #header-menu .menu-item .sub-menu li a {
        padding-left: 20px;
    }
 
    #header-menu .menu-item .opener .fa-chevron-down {
        display: none;
    }
    #header-menu .menu-item .opener .fa-times{
        display: none;
    }
    #header-menu .menu-item .opener .icon-icon6 {
        display: block;
    }
    
    .submenu-mobile {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
    }
    #header-menu .menu-item .sub-menu li a {
        color: #fff;
        padding: 15px 15px 15px 28px;
    }
    #header-menu .menu-item .sub-menu li {
        padding-right: 2px;
    }
    .opener {
        position: absolute;
        top: 0;
        right: 0;
        width: 48px;
        height: 100%;
        background: rgba(255,255,255,0.085);

    }
    #header-menu .submenu-opener {
        display: inline-block;
        position: absolute;
        top: 0;
        right: 0;
        padding: 20px 17px 20px 17px;
        font-size: 1.2rem;
        color: #aaaaaa;
        transition: all 0.25s ease-in-out;

    }
    #header-menu .submenu-opener.active {
        transform: rotate(180deg);
    }
  
    .menu-item.menu-item-has-children:hover .fa-times {
        display: none;
    }
    #header-menu .sub-menu.level-1 {
        position: relative;
        display: none;
        width: 100%;
        padding-top: 0;
        background: #c0392b;
        opacity: 1;
        visibility: visible;
    }
    
 
    #header-menu .menu-item ul li a {
        color: #aaaaaa;
    }
    #header-menu .sub-menu.level-1 .submenu-opener {
        display: none;
    }
    #header-menu .menu-item-has-children ul li {
        padding: 0;
    }
    #header-menu .menu-item-has-children .current-menu-item a {
        color: #fff;
    }
    #header-menu .menu-item-has-children ul li a:hover {
        color: #fff;
    }
    .input-field {
        flex: 0 0 100%;
    }
    .child h3 {
        font-size: 1.8rem;
    }
    .anfrage-textarea-layer textarea {
        width: 100%;
    }
    .anfrage-input-field {
        width: 100%;
    }
    .menu-item-object-608 {
        display: none !important;
    }

    body:is(.mm-active) #overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1999;
    }

}
@media (min-width: 1200px) {
    .mobile_menu_logo {
        display: none;
    }
    .mobile_logo {
        display: none;
    }
    .menu-item.menu-item-has-children:hover .sub-menu {
        opacity: 1;
        visibility: visible;
    }
    .icon-holder {
        display: none;
    }
}
@media (min-width: 1600px) {
    .child_container {
        padding: 20px 7% 40px 7%;
    }
}
@media (min-width: 1400px) {
    .footer_left {
        flex: 0 23%;
    }
}

@media (min-width: 959px) and (max-width: 1200px){
    /* .locations-map-container .map-image {
        aspect-ratio: 2;
        object-fit: cover;
    } */
}
@media (max-width: 959px) {
    .image-title-overlay {
        position: relative;
        top: 0;
        margin-left: 25px;
        padding: 50px 0 30px 0;
        background: none;
    }
    /* .locations-map-container .map-image {
        height: 400px !important;
        object-fit: cover;
    } */
    .contact-overlay {
        padding-top: 110px;
    }
    .image-title-overlay #page-title .part1 {
        font-size: 3.2rem;
    }
    .image-title-overlay #page-title .part2 {
        color: #333;
        text-align: left;
        font-size: 2.6rem;
    }

    .remove-padding-top-mobile {
        padding-top: 0 !important;
    }
    
    .remove-padding-bottom-mobile {
        padding-bottom: 0 !important;
    }
}
@media (max-width: 780px) {
    .contact {
        flex-direction: column;
        margin-top: 10px;
    }
    .form-contact {
        width: 100%;
    }
    .checkbox-form {
        margin-left: 0;
    }
    .child h3 {
        font-size: 1.4rem;
    }
}
@media (max-width: 550px) {
    .logo {
        width: auto;

    }
    .logo .mobile_logo {
        padding: 7px 10px;
        max-width: 100%;
    }
    .adress_info {
        width: 100%;
    }
    .photo-gallery-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .photo-gallery-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 550px) and (max-width: 1023px) {
    .photo-gallery-4 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 960px) and (max-width: 1600px) {
    .image-title-overlay {
        top: 80px;
    }
}

@media (min-width: 1700px) {
    .photo-gallery-4 {
        width: 1384px
    }
}


@media (max-width: 470px) {
    .child-img {
        height: auto !important;
    }
    .child {
        width: 100%;
    }
}


