/*
 Theme Name:   wunu webLab Child Theme
 Theme URI:    https://wunu.eu
 Description:  wunu webLab Child Theme for Direkt Regional
 Template:     wunu-weblab
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  wunu-weblab-child
*/


.otgs-development-site-front-end {
    display: none !important;
}

/**
four column on home needs to be three column
 */
@media only screen and (min-width: 1200px) {
    .vierspaltenContainer.small {
        width: 855px !important;
        max-width: 855px !important;
    }
}
@media only screen and (min-width: 1400px) {
    .vierspaltenContainer.small {
        width: 990px !important;
        max-width: 990px !important;
    }
}
@media only screen and (min-width: 1700px) {
    .vierspaltenContainer.small {
        width: 1125px !important;
        max-width: 1125px !important;
    }
}
@media only screen and (min-width: 3000px) {
    .vierspaltenContainer.small {
        width: 1500px !important;
        max-width: 1500px !important;
    }
}

/* Borlabs bei der Karte übers Info DIV legen (David) */
body .brlbs-cmpnt-container.brlbs-cmpnt-content-blocker {
	position: relative !important;
	z-index: 99999 !important;
	
}


.vierspaltenContainer h3.vierspaltig {
    margin-bottom:12px;
}
.vierspaltenContainer .row .kachelCol .icon img {
    width: 30% !important;
    height: auto !important;
}
@media only screen and (min-width: 1024px) {
    .vierspaltenContainer .row .kachelCol .icon img {
        width: 21% !important;
        height: auto !important;
    }
}

.sectionContainer .cardContainer.cardContainerPadding {
    width: 100%;
    padding-right: var(--bs-gutter-x, 0.75rem) !important;
    padding-left: var(--bs-gutter-x, 0.75rem) !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

@media only screen and  (min-width: 576px) and (max-width: 767px) {
    .sectionContainer .cardContainer.cardContainerPadding {
        max-width: 540px !important;
    }
}
@media only screen and  (min-width: 768px) and (max-width: 991px) {
    .sectionContainer .cardContainer.cardContainerPadding {
        max-width: 720px !important;
    }
}

.sectionContainer .cardContainer.cardContainerPadding .inhaltsKachel .bigCard {
    border-radius: var(--kacheln-border-top-left-radius) var(--kacheln-border-top-right-radius) var(--kacheln-border-bottom-right-radius) var(--kacheln-border-bottom-left-radius) !important;
    box-shadow: var(--kacheln-boxshadow) !important;
}

.cardsRow .card h3.cardHeading {
    margin-bottom: 0 !important;
}

.sr-only {
    display: none;
}

/*
Banner overlay
 */


#footer-banner {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0,0,0,0.8);
    width: 100dvw;
    height: 100dvh;
    z-index: 999999;
    &.hidden {
        display: none;
    }
    &:before {
        content: '';
        position: absolute;
        top: -50px;
        right: 0;
        bottom: 0;
        width: 30px;
        height: 30px;
        cursor: pointer;
        mask-image: url("/wp-content/themes/wunu-weblab/icons/xmark-solid.svg");
        mask-size: contain;
        mask-repeat: no-repeat;
        background-color: #bbb;
        mask-position: center;
    }
    picture {
        max-width: 75dvw;
        max-height: 80dvh;
        object-fit: contain;
        width: auto;
        height: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        img {
            width: auto;
            height: auto;
            object-fit: contain;
            position: relative;
        }

    }

}

body.lockScrollBanner {
        height: 100vh;
        overflow: hidden;
        &::-webkit-scrollbar {
            display: none;
        }
        -ms-overflow-style: none;
        scrollbar-width: none;
        padding-right: calc(100vw - 100%);
    }