

/* Start:/local/templates/avakazan/css/gallery.css?178661472213239*/
/*галерея*/
.blockGallery_header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 9;
}
.blockGallery_headerTitle{
    font-size: 40px;
    font-weight: 900;
    line-height: 47px;
    display: flex;
    align-items: center;
    letter-spacing: 0.02em;
    margin: 8px 0 0 0;
}
.blockGallery_paginationContainer{
    margin-left: 0;
    margin-top: 0;
    position: relative;
}
.sliderPagination{
    margin-top: 0;
}
.sliderPagination.smart:after{
    width: 0;
}
.blockGallery_container{
    margin: auto;
}
.blockGallery_paginationContainer{
    margin-left: 32px;
    margin-top: 32px;
}

.blockGallery_slider .slick-list.draggable {
    z-index: 1;
    margin: 0 -16px
}
.blockGallery_title{
    font-weight: bold;
    font-size: 40px;
    line-height: 47px;
    margin-bottom: 32px;
}
.blockGallery_slider{
    position: relative;
    z-index: 9;
}
.blockGallery_slide .blockGallery_item{
    position: relative;
}
.blockGallery_title{
    font-weight: bold;
    font-size: 40px;
    line-height: 47px;
    margin-bottom: 32px;
}
.blockGallery_itemInfo{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.blockGallery_itemVideo,
.blockGallery_itemPhoto {
    width: 100%;
    height: 240px;
    margin-bottom: 16px;
    cursor: pointer;
    position: relative;
}

.blockGallery_itemVideo img,
.blockGallery_itemPhoto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    border-radius: 10px;
}
.blockGallery_videoPlaceholder{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 240px;
    border: none;
    border-radius: 10px;
}

.blockGallery_video{
    position: absolute;
    top: 50%;
    left:50%;
    width: 68px;
    height: 48px;
    border:none;
    transform: translate(-50%, -50%);
    cursor: pointer;
    background-color: transparent;
    padding: 0;
}
.blockGallery_videoIcon{
    outline: none;
    width: 68px;
    height: 48px;
}
.videoButton_shape{
    fill: #212121;
    fill-opacity: 0.8;

}
.videoButton_icon{
    fill: #ffffff;
}
.blockGallery_itemVideo:hover .videoButton_shape,
.blockGallery_video:focus .videoButton_shape {
    fill: #ff0000;
    fill-opacity: 1;
}

.blockGallery_itemName {
    margin-bottom: 4px;
    font-size: 15px;
    line-height: 24px;
    color: #7D8694;
}
.blockGallery_slideInner{
    height: calc(100% - 32px);
    overflow: hidden;
    border-radius: 10px;
    transition: all 0.3s;
    padding: 16px;
    /*margin: 8px;*/
}

.js_commentOpen .blockGallery_slideInner{
    box-shadow: 0 4px 15px rgba(120, 160, 190, 0.3);;
    transition: all 0.3s;
    background: #FFFFFF;
    margin-bottom: 16px;
}
/*Скрытие и раскрытие текста*/
.js_isToggle .blockGallery_toggle{
    max-height: 78px;
    overflow: hidden;
    transition: max-height 300ms;
}
.js_commentOpen .blockGallery_toggle{
    max-height: 100vh;
    transition: max-height 400ms;
}

.js_isToggle .blockGallery_toggleGradient{
    position: absolute;
    background: linear-gradient(360deg, #FFFFFF 39.02%, rgba(255, 255, 255, 0) 100%);
    bottom: 0;
    height: 90px;
    width: 100%;
    opacity: 1;
    transition: opacity 400ms;
}
.js_commentOpen .blockGallery_toggleGradient{
    opacity: 0;
}
.js_slideToggleText {
    font-weight: 500;
    font-size: 13px;
    line-height: 18px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.blockGallery_toggleSvg{
    width: 24px;
    height: 24px;
    fill: #5EB92D;
}
.js_commentOpen .blockGallery_toggleSvg{
    transform: rotate(180deg);
}
.blockGallery_toggleBtn{
    display: none;
    align-items: center;
    color: #5EB92D;
    margin-top: 8px;
    cursor: pointer;
    position: relative;
}
.js_isToggle .blockGallery_toggleBtn{
    display: flex;
}

.blockGallery_slider.onlyMobile .blockGallery_arrow {
    display: none;
}


/*======single========*/
.blockGallery_typeMobile .blockGallery_inner,
.blockGallery_typeStatic .blockGallery_inner{
    display: flex;
    padding: 16px;
    justify-content: space-between;
}
.blockGallery_typeMobile .blockGallery_slide,
.blockGallery_typeStatic .blockGallery_slide{
    width: 411px;
    height: max-content;
}
.blockGallery_typeMobile .blockGallery_arrow ,
.blockGallery_typeStatic .blockGallery_arrow {
    display: none;
}
.blockGallery_typeMobile .blockGallery_slider .sliderPagination_dots li:last-child{
    /*display: none;*/
}
/*======end single========*/

@media (max-width: 1279px){
    .blockGallery_paginationContainer{
        display: block;
    }
    .blockGallery_container{
        margin: 0;
    }
    .blockGallery  .blockGallery_slider .blockGallery_fake2{
        /*display: none;*/
    }
    .blockGallery_slider .blockGallery_arrow{
        display: none;
    }
    /*======single========*/
    .blockGallery_typeMobile .blockGallery_slide,
    .blockGallery_typeStatic .blockGallery_slide{
        flex-grow: 1;
    }
    .blockGallery_typeStatic .blockGallery_fake2{
        /*display: none;*/
    }
    .blockGallery_typeMobile .blockGallery_inner{
        display: flex;
    }
    /*======end single========*/

}
@media (max-width: 767px){
    .blockGallery_container{
        margin-left: -16px;
        margin-right: 0;
    }
    .blockGallery_inner .blockGallery_slide{
        width: 100vw ;
    }
    .blockGallery  .blockGallery_slider .blockGallery_fake2{
        /*display: none;*/
    }
    .blockGallery_slider .blockGallery_arrow{
        display: none;
    }
    .blockGallery_fake{
        display: none;
    }
    .blockGallery_header {
        margin: 0 16px -16px 32px;
    }
    .blockGallery_headerTitle{
        font-size: 24px;
        line-height: 28px;
    }
    .blockGallery_typeStatic .blockGallery_slide {
        min-width: 100vw;
    }
}

.blockGallery_arrow {
    position: absolute;
    top: calc(50% - 28px);
}
.blockGallery_arrow.left {
    left: -53px;
}
.blockGallery_arrow.right {
    right: -53px;
}


/*=================Gallery modal==========================*/
.blockGallery .galleryModal_block{
    width: 848px;
    position: relative;
    padding: 16px 24px;
    border: 1px solid #F0F0F0;
    border-radius: 10px;
    background: #FFFFFF;
    box-shadow: 0 4px 15px rgb(120 160 190 / 30%);
}
.galleryModal_header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 9;
    margin-bottom: 16px;
}
.galleryModal_headerTitle{
    font-weight: 900;
    font-size: 21px;
    line-height: 29px;
}
.galleryModal_header .galleryModal_paginationContainer{
    margin-left: 0;
    margin-top: 0;
    position: relative;
    display: none;
}
.galleryModal_header .sliderPagination{
    margin-top: 0;
    max-width: 80px;
    /*display: flex;*/
}
.galleryModal_header .sliderPagination.smart:after{
    width: 0;
}

.blockGallery_container .blockGallery_slider .blockGallery_arrow {
    z-index: 50;
    background: #fff;
}
.blockModal_slider{
    height: auto;
}
.blockModal_slide{
    background: #FFFFFF;
    overflow: hidden;
    height: unset!important;
}
.blockModal_item{
    min-width: fit-content;
    position: relative;
}

.blockGallery_typeStatic .blockModal_controls {
    display: none;
}
.blockModal_controls{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/*=====MEDIA=========*/
.blockModal_itemMedia{
    height: 480px;
    margin-bottom: 16px;
}
.blockModal_itemMedia img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    border-radius: 10px;
}

.blockModal_itemMedia img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    border-radius: 10px;
}
/*======VIDEO=======*/
.videoPreview{
    cursor: pointer;
    position: relative;
}
.videoPreview_placeholder{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    object-fit: cover;
    object-position: top;
    border-radius: 10px;
}
.videoPreview_btn{
    position: absolute;
    top: 50%;
    left:50%;
    width: 68px;
    height: 48px;
    border:none;
    transform: translate(-50%, -50%);
    cursor: pointer;
    background-color: transparent;
    padding: 0;
}
.blockGallery_videoIcon{
    outline: none;
    width: 68px;
    height: 48px;
}
.videoButton_shape{
    fill: #212121;
    fill-opacity: 0.8;

}
.videoButton_icon{
    fill: #ffffff;
}
.videoPreview_btn:hover .videoButton_shape,
.videoPreview_btn:focus .videoButton_shape {
    fill: #ff0000;
    fill-opacity: 1;
}
.videoPreview_frame{
    height: 480px;
    position: absolute;
    z-index: 9;
    top: 0;
    left: 0;
    width: 100%;
    border: none;
    border-radius: 10px;
    outline: none;
}
/*======VIDEO=======*/
/*=============END MEDIA==================*/

.blockModal_itemInfo{
    margin-bottom: 4px;
    margin-top: 16px;
}
.blockModal_itemName{
    font-size: 15px;
    line-height: 24px;
    color: #7D8694;
}
@media (max-width: 1279px){
    .blockGallery .galleryModal_block{
        width: 736px;
        box-sizing: border-box;
    }
    .blockModal_controls .blockModal_arrow{
        display: none;
    }
    .galleryModal_header .galleryModal_paginationContainer{
        display: block;
    }
}
@media (max-width: 767px){
    .blockGallery .galleryModal_block{
        width: 100%;
    }
    .blockModal_itemPhoto img{
        border-radius: 0;
    }
    .blockModal_itemInfo{
        padding: 0 16px;
        box-sizing: border-box;
    }
    .galleryModal_blockTitle,
    .blockGallery_paginationContainer{
        margin-left: 16px;
    }
    .blockGallery_paginationContainer {
        display: flex;
        justify-content: center;
        margin-top: 8px;
    }
    .blockModal_itemPhoto {
        height: 193px;
    }
    .blockModal_itemMedia{
        height: 240px;
    }
    .blockModal_itemMedia img,
    .videoPreview_placeholder,
    .videoPreview_frame{
        border-radius: 0;
        max-height: 240px;
    }
    .galleryModal_header{
        margin-left: 16px;
        margin-right: 16px;
    }
    .blockGallery .galleryModal_block{
        width: 100%;
        padding: 16px 0;
        border-radius: 0;
    }
    .blockGallery_typeStatic .galleryModal_block{
        padding: 16px 0;
        border-radius: 0;
    }
    .galleryModal_block  .sliderPagination.smart{
        max-width: 200px;
    }

    .blockGallery_itemVideo, .blockGallery_itemPhoto {
        margin-bottom: 0;
    }

    .blockGallery_paginationContainer .sliderPagination {
        margin-top: 0;
    }
}

.btn.modal{
    width: 36px;
    height: 36px;
    box-shadow: 0 4px 15px rgba(120, 160, 190, 0.15);
    padding: 0;
    border-radius: 50%;
    background: none;
}
.btn.modal svg {
    fill: #5EB92D;
    width: 15px;
    height: 15px;
    transition: all 0.3s;
}
.btn.modal:hover,
.btn.modal:focus,
.btn.modal:active {
    background: #fff;
    box-shadow:0px 4px 15px rgba(120, 160, 190, 0.3);
}

.blockGallery_inner {
    overflow: hidden;
}

.blockGallery_container .blockGallery_slider .blockGallery_arrow {
    z-index: 50;
    background: #fff;
}

.btn.control {
    width: 56px;
    height: 56px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid #c1e498;
    background: none;
}

.btn.control:hover, .btn.control:focus, .btn.control:active {
    background: #EFF9E3;
    box-shadow: none;
}

.btn.control svg {
    fill: #5EB92D;
    width: 24px;
    height: 24px;
    transition: all 0.3s;
}

.btn.control,
.btn.modal {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.blockGallery_paginationContainer .sliderPagination_dots {
    display: flex;
    justify-content: center;
}

.blockGallery_paginationContainer .sliderPagination_dots li {
    list-style: none;
    margin: 0 4px;
}

.blockGallery_paginationContainer .sliderPagination_dots li button {
    color: transparent;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid #7D8694;
    padding: 0;
    line-height: unset;
}

.blockGallery_paginationContainer .sliderPagination_dots li.slick-active button {
    background: #5EB92D;
    border: 1px solid #5EB92D;
}

.blockGallery .reveal .blockModal_slider {
    overflow: hidden;
}

.galleryModal_paginationContainer .sliderPagination_dots {
    margin: 0;
    line-height: 0;
    text-align: center;
    padding: 0;
    display: flex;
    gap: 5px;
}

.galleryModal_paginationContainer .sliderPagination_dots li {
    display: inline-block;
    margin: 0;
    letter-spacing: normal;
    width: 10px;
    height: 10px;
}

.galleryModal_paginationContainer .sliderPagination_dots li button {
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
    width: 10px;
    height: 10px;
    padding: 0;
    border: 1px solid #7D8694;
    border-radius: 50%;
    font-size: 0;
    line-height: 0;
    outline: none;
    color: transparent;
    opacity: 0.5;
    background: none;
    transition: background-color 0.5s, opacity 0.5s;
    cursor: pointer;
}

.galleryModal_paginationContainer .sliderPagination_dots li.slick-active button {
    background: #79CE4B;
    opacity: 1;
    border: 0;
}
/* End */
/* /local/templates/avakazan/css/gallery.css?178661472213239 */
