

/* Start:/local/templates/truck/components/bitrix/news.list/about_gallery/style.css?17757949208708*/
.about-main-slider{
    border-radius: 0;
}
.about-thumbs-slider .swiper-wrapper {
    display: flex;
}

.about-thumbs-slider .swiper-slide {
    width: auto;
}
.about-gallery-wrap {
    overflow: hidden;
}

.about-gallery-layout {
    align-items: flex-start;
}

.about-gallery-main {
    position: relative;
    display: flex;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
    background: #fff;
}

.about-gallery-main-image {
    width: 100%;
    transition: opacity .8s ease, transform .8s ease, filter .8s ease;
    will-change: opacity, transform, filter;
}

.about-gallery-main-image.is-entering {
    z-index: 2;
    animation: about-gallery-enter .8s cubic-bezier(.22, .61, .36, 1) forwards;
}

.about-gallery-main-image.is-entering.dir-next {
    --about-gallery-shift: 28px;
}

.about-gallery-main-image.is-entering.dir-prev {
    --about-gallery-shift: -28px;
}

.about-gallery-main-image--ghost {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    animation: about-gallery-leave .8s cubic-bezier(.22, .61, .36, 1) forwards;
}

.animation-img img{
    object-fit: cover;
}

.about-gallery-main-image--ghost.dir-next {
    --about-gallery-shift: -34px;
}

.about-gallery-main-image--ghost.dir-prev {
    --about-gallery-shift: 34px;
}

@keyframes about-gallery-enter {
    from {
        opacity: 0;
        transform: translateX(var(--about-gallery-shift, 0)) scale(1.09);
        filter: saturate(.9);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
        filter: saturate(1);
    }
}

@keyframes about-gallery-leave {
    from {
        opacity: 1;
        transform: translateX(0) scale(1);
        filter: saturate(1);
    }
    to {
        opacity: 0;
        transform: translateX(var(--about-gallery-shift, 0)) scale(.93);
        filter: saturate(.88);
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-gallery-main-image,
    .about-gallery-main-image.is-entering,
    .about-gallery-main-image--ghost {
        animation: none !important;
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
        filter: none !important;
    }
}

.gallery-about-block .js-about-thumb {
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    transition: transform .3s ease, box-shadow .3s ease, opacity .25s ease;
}

.gallery-about-block .block-4col__col {
    transition: transform .8s cubic-bezier(.2, .7, .2, 1);
    will-change: transform;
}

.gallery-about-block__arrows {
    display: flex;
    gap: 12px;
    margin-top: 18px;
    justify-content: end;
}

.gallery-about-block__arrow {
    cursor: pointer;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #edf3f8;
    color: #0f56a6;
    transition: transform .2s ease, box-shadow .25s ease, filter .25s ease, opacity .25s ease;
}

.gallery-about-block__arrow svg {
    width: 20px;
    height: 20px;
    color: #0f56a6;
}

.gallery-about-block__arrow:hover {
    background: #0f56a6;
}

.gallery-about-block__arrow:hover svg {
    color: white;
}

.gallery-about-block__arrow[disabled] {
    opacity: .45;
    cursor: not-allowed;
    box-shadow: none;
}

.about-gallery-main{
    width: 100%;
    height: 100%;
}

.about-main-slider:after{
    position: absolute;
    content: "";
    height: 100%;
    right: -1px;
    top: -2px;
    width: 100px;
    background: linear-gradient(270deg, #FFF 0%, rgba(255, 255, 255, 0.00) 100%);
    z-index: 10;
}



@media (max-width: 1640px) {
    .services-all__gallery3 .gallery-about-block .js-about-thumb {
        max-height: 172px;
    }
    .swiper-wrapper .swiper-slide-active.main-gallery-slide {
        width: 47% !important;
    }
}

@media (max-width: 1200px) {
    .about-main-slider:after{
        content: none;
    }
    .services-all__gallery3 .gallery-about-block .js-about-thumb {
        max-height: 116px;
    }

    .about-custom{
        position: relative;
    }
    .about-custom:after{
        position: absolute;
        content: "";
        height: 100%;
        right: -4px;
        top: -2px;
        width: 100px;
        background: linear-gradient(270deg, #FFF 0%, rgba(255, 255, 255, 0.00) 100%);
        z-index: 10;
    }
    .about-gallery-main{
        width: 100%;
        height: 100%;
    }
    .about-custom{
        margin: 0;
    }
    .about-custom .sm__flex-line {
        width: 100%;
        margin: 0;
        padding: 0;
        gap: 30px;
        flex-wrap: wrap;
    }
    .about-gallery-layout {
        display: block;
    }

    .about-gallery-layout > .block-2col__col {
        width: 100%;
    }

    .about-gallery-layout > .block-2col__col:first-child {
        margin-bottom: 20px;
    }

    .gallery-about-block {
        gap: 14px;
        /*overflow-x: auto;*/
        /*overflow-y: hidden;*/
        cursor: grab;
    }

    .gallery-about-block .block-4col__col {
        width: min(380px, calc(72% - 7px));
    }

    .gallery-about-block__arrows {
        margin-top: 14px;
        /*position: absolute;*/
        right: 0;
        z-index: 11;
    }

    .about__gallery3 .block-2col__col  {
        /*width: 350px;*/
        width: 100%;
    }

    .main-gallery-slide{
        height: 215px!important;
    }
    .swiper-slide-active.main-gallery-slide{
        height: 400px!important;
    }
}

@media (max-width: 720px) {
    .about-main-slider .swiper-slide-active.main-gallery-slide {
        width: 37% !important;
        height: 100% !important;
    }
    .main-gallery-slide {
        height: 140px!important;
    }
    .about-custom .sm__flex-line{
        gap: 20px;
    }
    .about-gallery-main {
        border-radius: 14px;
    }

    /*.about__gallery3 .block-2col__col.about-main-slider{*/
    /*    width: 247px;*/
    /*}*/

    .gallery-about-block {
        gap: 10px;
    }

    .gallery-about-block .block-4col__col {
        width: min(300px, calc(82% - 5px));
    }

    .gallery-about-block .js-about-thumb {
        border-radius: 10px;
    }

    .gallery-about-block__arrows {
        justify-content: flex-start;
        margin-top: 12px;
        position: static;
    }

    .gallery-about-block__arrow {
        width: 40px;
        height: 40px;
    }

    .services-all__gallery3 .block-2col__col img{
        width: 100%;
    }

    .about__gallery3 .block-2col__col, .about__gallery3 .block-2col__col img{
        /*width: 270px;*/
        max-width: auto;
    }

    .about-main-slider .swiper-wrapper {
        height: 190px!important;
    }
}

@media (max-width: 540px) {

    .main-gallery-slide {
        height: 110px !important;
        border-radius: 10px;
    }
    .about-main-slider .swiper-slide-active.main-gallery-slide {
        width: 60% !important;
        height: 190px !important;
    }
    .services-all__gallery3 .block-2col__col {
        width: 100%;
    }
    .about-custom .sm__flex-line{
        flex-direction: column;
    }

    .about__gallery3 .block-2col__col.about-main-slider, .services-all__gallery3 .block-2col__col.about-main-slider{
        width: 100%;
    }

    .gallery-about-block__arrows {
        /*justify-content: flex-end;*/
        position: relative;
    }

    .about__gallery3 .block-2col__col .about-gallery-main .about-gallery-main-image, .services-all__gallery3 .block-2col__col .about-gallery-main .about-gallery-main-image{
        width: 100%;
        height: 265px;
    }

    .about-custom:after {
        height: 58%;
        top: 0;
        bottom: 9px;
    }
}

.about-main-slider {
    width: 100%;
    overflow: hidden;
}

.main-gallery-slide {
    width: 25%;
    min-width: 25% !important;
    height: 300px;
    flex-shrink: 0;
    transition: width 0.4s ease, height 0.4s ease;
    box-sizing: border-box;
    border-radius: 18px;
}


.about-custom .swiper-slide-active.main-gallery-slide {
    width: 48% !important;
    height: 400px;
}

.about-gallery-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: height 0.4s ease;
}

.about-custom .swiper-wrapper{
    height: 400px;
}

/*.services-all__gallery3 .swiper-slide-active.main-gallery-slide {*/
/*    width: 71% !important;*/
/*}*/
/* End */
/* /local/templates/truck/components/bitrix/news.list/about_gallery/style.css?17757949208708 */
