.gallery-wrapper{
    width: 100%;
}
.gallery-wrapper .swiper-control-button svg{
    fill: #49454F;
}
.gallery-wrapper .swiper-control-button {
    padding: 8px;
    border: 1px solid #79747E;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.gallery-wrapper .swiper-control-button:hover{
    background: #D2DFFF;
}
.gallery-slider *{
    user-select: none;
}
.gallery-slider{
    align-items: center;
    justify-content: center;
    padding: 24px 0;
    display: none;
}
.gallery-slider.selected{
    display: flex;
}
.gallery-slider .swiper-slide img{
    width: 100%;
}
.gallery-slider .swiper-slide{
    border-radius: 30px;
    overflow: hidden;
    max-width: 274px;
}
.gallery-slider .swiper-wrapper{
    width: 1174px;
}
.gallery-wrapper .gallery-sliders{
    width: 100%;
}

.gallery-wrapper .gallery-controls{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 0;
}

.gallery-wrapper .gallery-controls a{
    padding: 10px 35px;
    position: relative;
    text-decoration: none;
    transition: all .3s ease-in-out;
}
.gallery-wrapper .gallery-controls a span{
    color: #1D1B20;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px; /* 142.857% */
    letter-spacing: 0.1px;
    text-decoration: none;
    position: relative;
    transition: all .1s ease-in-out;
}
.gallery-wrapper .gallery-controls a:first-child{
    border-radius: 100px 0 0 100px;
    border-top: 1px solid #79747E;
    border-bottom: 1px solid #79747E;
    border-left: 1px solid #79747E;
}
.gallery-wrapper .gallery-controls a:last-child{
    border-radius: 0 100px 100px 0;
    border-top: 1px solid #79747E;
    border-bottom: 1px solid #79747E;
    border-right: 1px solid #79747E;
    border-left: 1px solid #79747E;
}
.gallery-wrapper .gallery-controls a:hover, .gallery-wrapper .gallery-controls a.selected{
    background: #D2DFFF;
}
.gallery-wrapper .gallery-controls a.selected span{
    padding-left: 26px;
}
.gallery-wrapper .gallery-controls a span:before{
    content: '';
    position: absolute;
    left: 0;
    width: 18px;
    height: 18px;
    background: transparent;
    transition: all .1s ease-in-out;
}
.gallery-wrapper .gallery-controls a.selected span:before{
    content: '';
    position: absolute;
    left: 0;
    width: 18px;
    height: 18px;
    background: url('/images/icons/check.svg');
}

.gallery-wrapper .swiper-button-disabled.swiper-control-button, .gallery-wrapper .swiper-button-disabled.swiper-control-button:hover{
    background: transparent;
    opacity: .5;
    cursor: not-allowed;
}

.gallery-wrapper.fullscreen .gallery-controls{
    justify-content: flex-start;
    padding: 4px 0 16px 0;
}

.gallery-wrapper.fullscreen .gallery-sliders{
    border-radius: 40px;
    border: 1px solid #79747E;
    padding: 60px 170px;
}

.gallery-wrapper.fullscreen .gallery-slider .swiper-wrapper{
    width: 834px;
}

.gallery-wrapper.fullscreen .gallery-slider .gallery-slider-wrapper{
    display: flex;
    align-items: center;
    gap: 10px;
}
.gallery-wrapper.fullscreen .gallery-slider{
    flex-direction: column;
}
.gallery-slider .oversize  .swiper-slide{
    max-width: 834px;
}
.gallery-slider .oversize{
    margin-top: 24px;
}
.gallery-wrapper.fullscreen{
    margin-bottom: 48px;
}
.gallery-slider .oversize .swiper-slide > a{
    position: relative;
    display: flex;
}
.gallery-slider .oversize .swiper-slide > a:after{
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: url('/images/widgets/gallery/play-arrow.png') no-repeat center center;
}
.gallery-slider .oversize .swiper-slide > a:before{
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(0,0,0,0.25);
}
.gallery-slider .oversize .swiper-slide > a:hover:before{
    background: rgba(0,0,0,0.45);
}
@media (max-width: 1319px) {
    .gallery-wrapper.fullscreen .gallery-slider .swiper-wrapper{
        width: 625px;
    }
}

@media (max-width: 1199px) {
    .gallery-slider .swiper-wrapper{
        width: 870px;
    }
}
@media (max-width: 991px){
    .gallery-slider .swiper-slide{
        max-width: 100%;
    }
    .gallery-slider .swiper-wrapper{
        width: 100%;
    }
    .gallery-slider{
        flex-wrap: wrap;
        gap: 16px;
    }
    .gallery-slider .swiper{
        order: 1;
        max-width: 100%;
    }
    .gallery-slider .swiper-control-button{
        order: 2;
    }
    .gallery-wrapper.fullscreen .gallery-sliders{
        padding: 12px;
        border: none;
    }
    .gallery-wrapper.fullscreen .gallery-slider .gallery-slider-wrapper{
        flex-wrap: wrap;
        justify-content: center;
        max-width: 100%;
    }
    .gallery-wrapper.fullscreen .gallery-slider{
        gap: 0;
    }
    .gallery-wrapper.fullscreen .gallery-slider .swiper-wrapper{
        width: 718px;
    }
}
@media (max-width: 767px) {
    .gallery-slider .swiper-slide{
        width: 274px;
    }
    .gallery-wrapper .gallery-controls{
        padding: 24px 0 0 0;
    }
    .gallery-wrapper.fullscreen{
        width: 100%;
    }
    .gallery-wrapper.fullscreen .gallery-sliders{
        width: 100%;
    }
    .gallery-wrapper.fullscreen .gallery-controls{
        justify-content: center;
    }
    .gallery-wrapper.fullscreen .oversize{
        display: none;
    }
}