.swiper {
    overflow: visible !important;
    --swiper-navigation-size: 44px;
    --swiper-navigation-sides-offset: -1.5rem;
    --swiper-navigation-color: transparent;
}

@media screen and (min-width: 1440px) {
    .swiper {
        --swiper-navigation-sides-offset: -4rem;
    }
}

@media screen and (min-width: 1620px) {
    .swiper {
        --swiper-navigation-sides-offset: -8rem;
    }
}

.block-media--swiper {
    overflow-x: hidden;
}

.swiper-wrapper {
    justify-content: flex-start;
}

.swiper-slide {
    max-width: 80vw;
}

.swiper-slide-active {
    max-height: 100vh;
}

.swiper-slide > figure {
    margin: auto;
    float: none;
}

.swiper-slide .block-media__image {
    height: auto !important;
    padding-bottom: 0 !important;
}

.swiper-button-next {
    position: absolute !important;
    right: calc(var(--swiper-navigation-sides-offset)) !important;
    /*right: calc(-1 * var(--swiper-navigation-sides-offset)) !important;*/
}

.swiper-button-prev {
    position: absolute !important;
    left: calc(var(--swiper-navigation-sides-offset)) !important;
    /*left: calc(-1 * var(--swiper-navigation-sides-offset)) !important;*/
}

.swiper-button-prev, .swiper-button-next {
    width: 4rem !important;
    height: 4rem !important;
    background: white;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    user-select: none !important;
}

.swiper-button-prev:after, .swiper-button-next:after {
    display: none !important;
}

.swiper-button-prev > svg, .swiper-button-next > svg {
    width: 2rem !important;
    height: 2rem !important;
}

.swiper-button-prev > svg > path, .swiper-button-next > svg > path {
    fill: #000;
}

.flickity-page-dots {
    display: flex;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    padding: 1rem;
    text-align: center;
    overflow-x: auto;
    overflow-y: hidden;
}

.flickity-page-dots::before, .flickity-page-dots::after {
    content: "";
    height: 1rem;
    flex: 1;
}

.flickity-page-dots > .dot {
    /*background: #F25C42;*/
    background: #000;
    opacity: 0.30;
    /*width: 0.75rem;*/
    height: 0.75rem;
    aspect-ratio: 1;
    border-radius: 50%;
    transition: opacity 0.3s ease;
    margin: 0 1rem;
    flex-shrink: 0;
}

.flickity-page-dots > .dot.is-selected {
    opacity: 1;
}

.swiper#lightBox-Swiper {
    height: 100%;
}
.swiper#lightBox-Swiper .swiper-slide {
    padding: 0 120px;
    max-width: 100%;
}

.swiper#lightBox-Swiper .swiper-button-prev {
    left: 70px!important;
}

.swiper#lightBox-Swiper .swiper-button-next {
    right: 70px!important;
}

.swiper#lightBox-Swiper .swiper-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 0;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 0;
    text-align: center;
}
.swiper#lightBox-Swiper .swiper-pagination .swiper-pagination-bullet {
    background: black;
    opacity: .3;
    width: .75rem;
    height: .75rem;
    border-radius: 50%;
    margin: 0;
    transition: opacity 0.3s ease;
}
.swiper#lightBox-Swiper .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    opacity: 1;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media screen and (max-width: 991px) {
    .swiper#lightBox-Swiper .swiper-slide {
        padding: 0;
    }
    .swiper#lightBox-Swiper .swiper-button-prev {
        left: 0!important;
    }

    .swiper#lightBox-Swiper .swiper-button-next {
        right: 0!important;
    }
    .swiper#lightBox-Swiper .swiper-pagination {
        gap: .5rem;
    }
    .swiper#lightBox-Swiper .swiper-pagination .swiper-pagination-bullet {
        width: .5rem;
        height: .5rem;
    }
}

.about-frontpage__slideshow {
    .swiper-slide {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        opacity: 0;
        transition: .3s ease-in-out;

        &.swiper-slide-active {
            opacity: 1;
        }
    }
}

.hero-slideshow.swiper {
    z-index: auto;

    .swiper-wrapper {
        z-index: auto;
    }
    .swiper-slide {
        max-width: 100%;
    }
    .hero-slideshow__nav-btn {
        position: relative !important;
        background: none;
    }
}

/* Custom Cookie-Button */
.cookie-link {
    background: transparent;
    cursor: pointer;
}