:root{
    --swiper-navigation-sides-offset: 50px;
    --grid-gap: 30px;
    --grid-1-width: 100%;
    --grid-2-width: 100%;
    --grid-1-height: 850px;
    --grid-2-height: 410px;
    --grid-1-less-height: 550px;
    --beon-slider-padding-left-desktop : calc((100% - 1200px) / 2);
}


.beon-childpages-slider.swiper {
    padding-top: 45px;
    z-index: 0;
}
.gallery .swiper-container {
    margin-top: 20px;
    margin-bottom: 20px;
    overflow: hidden;
}

.gallery .swiper-slide {
    background: #ffffff00;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 240px;
}

.swiper-layout-1 {
    padding: 0;
    width: var(--grid-1-width);
}
.swiper-layout-1 .item1{
    width: var(--grid-1-width);
    height: var(--grid-1-height);
}
.swiper-layout-1.swiper-less-height .item1{
    height: var(--grid-1-less-height);
}
.gallery-container, .gallery-container .gallery-front, .gallery-text {
    height: 100%;
    width: 100%;
}
.gallery-front {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: end;
}
.gallery-container {
    position: relative;
}
.gallery-text {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: end;
    text-align: left;
    padding: 30px;
    transition: all 0.5s;
    backdrop-filter: brightness(80%);
    -webkit-backdrop-filter: brightness(80%);
}
.gallery-text p {
    color: white;
    font-size: 16px;
    line-height: 30px;
}
.gallery-text h3.gallery-title {
    font: 600 20px var(--beon-font-family-highlight);
    color: white;
    margin-top: 0;
    margin-bottom: 0;
    line-height: 36px;
}
.gallery-text:hover {
    backdrop-filter: brightness(70%) blur(2px);
    -webkit-backdrop-filter: brightness(70%) blur(2px);
}

.swiper-layout-2 {
    padding: 0;
    width: var(--grid-2-width);
    display: grid;
    column-gap: var(--grid-gap);
    row-gap: var(--grid-gap);
}
.swiper-layout-2 .item1 {
    height: var(--grid-2-height);
    width: var(--grid-2-width);
}
.swiper-layout-2 .item2 {
    height: var(--grid-2-height);
    width: var(--grid-2-width);
}
.item1, .item2 {
    border-radius: var(--beon-border-radius-small);
    overflow: hidden;
}
.gallery .swiper-slide.swiper-layout-2 {
    flex-wrap: wrap;
}
.galleryslider {
    width: 100%;
    overflow: visible;
}
.gallery .gallery-swiper-button-prev {
    background-color: var(--beon-swiper-icon-bg-color);
    font-family: var(--beon-font-family);
    color: var(--beon-swiper-icon-color);
    border-radius: 50%;
    padding: 12px;
    width: 36px;
    background-image: none;
    height: 36px;
    z-index: 1;
    position: absolute;
    top: 0px;
    left: auto;
    right: 65px;
    cursor: pointer;
}
.gallery .gallery-swiper-button-next {
    background-color: var(--beon-swiper-icon-bg-color);
    font-family: var(--beon-font-family);
    color: var(--beon-swiper-icon-color);
    border-radius: 50%;
    padding: 12px;
    width: 36px;
    background-image: none;
    height: 36px;
    z-index: 1;
    position: absolute;
    top: 0px;
    left: auto;
    right: 5px; 
    cursor: pointer;
}
.gallery .gallery-swiper-button-prev::after, .gallery .gallery-swiper-button-next::after {
    line-height: 12px;
    font-size: 11px;
    font-weight: 300;
    filter: var(--beon-swiper-icon-filter);
    height: 12px;
    width: 12px;
    display: block;
}
.gallery .gallery-swiper-button-prev::after {
    content: url(/wp-content/themes/sylt-er-theme/assets/images/arrow_left.svg);
}
.gallery .gallery-swiper-button-next::after {
    content: url(/wp-content/themes/sylt-er-theme/assets/images/arrow_right.svg);
}
.gallery .gallery-swiper-button-next.swiper-button-disabled, .gallery .gallery-swiper-button-prev.swiper-button-disabled
{
    opacity:.35;
    cursor:auto;
    pointer-events:none
}
.mobile-gallery {
    display: none;
}
@media only screen and (max-width: 1200px) {
}
@media only screen and (max-width: 767px){
    .desktop-gallery {
        display: none;
    }
    .mobile-gallery {
        display: block;
    }
    .galleryslider.swiper {
        padding-top: 45px;
    }
    .mobile-gallery .gallery-swiper-button-prev {
        width: 35px;
        height: 35px;
        right: 55px;
    }
    .mobile-gallery .gallery-swiper-button-next {
        width: 35px;
        height: 35px;
    }
    .swiper-layout-1 .item1 {
        width: 100%;
        height: 50vh;
    }
    .gallery-back
    {
        opacity: 1;
        width: 100%;
    }
    .gallery .swiper-slide {
        font-size: 15px;
    }
}
