

/* Start:/local/templates/main/components/bitrix/news.list/video/style.css?17520771242795*/
body .mfp-bg, body .mfp-wrap {
    position: fixed !important;
    height: 100vh !important;
    top: 0 !important;
    overflow-y: auto;
}
body .mfp-close {
    /*top: -40px!important;*/
    width: auto!important;
    padding: 5px 10px!important;
    margin: 0!important;
    line-height: 1!important;
    height: auto!important;
    right: 0!important;
}
body .mfp-video-container{
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 50px;
    width: max-content;
    margin: auto;
}
body .mfp-video-container video{
    object-fit: contain;
    width: auto!important;
    max-height: calc(100vh - 70px)!important;
    max-width: 100%;
}
body .mfp-s-ready .mfp-preloader {
    z-index: 1050;
}
.video-gallery{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 30px;
    margin-bottom: 80px;
}
.video-gallery-item_video{
    aspect-ratio: 1.78;
    position: relative;
    display: block;
    border: 1px solid rgba(226,226,226,.85);
}
.video-gallery-item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.video-gallery-item_icon{
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid #fff;
    background-color: rgba(43, 51, 63, 0.7);
    border-radius: .3em;
    -webkit-transition: all .4s;
    -moz-transition: all .4s;
    -o-transition: all .4s;
    transition: all .4s;
    cursor: pointer;
    font-size: 3em;
    line-height: 1.5em;
    height: 1.5em;
    width: 3em;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 88px;
    max-height: 43px;
    box-sizing: border-box;
}
.video-gallery-item_icon:before{
    content: url("/local/templates/main/images/video-btn.svg");
    display: block;
}
.video-gallery-item_title{
    font-size: 20px;
    font-weight: 400;
    color: #000;
    font-style: italic;
    font-family: 'Montserrat-Regular', sans-serif;
    margin-top: 20px;
}
body button.mfp-arrow{
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (min-width: 900px) {
    body .mfp-video-container video{
        min-width: 900px;
    }
}
@media (max-width: 1024px) {
    .video-gallery-item_title{
        font-size: 16px;
        margin-top: 15px;
    }
}
@media (max-width: 900px) {
    body button.mfp-arrow {
        margin-top: -41.25px;
    }
    body .mfp-video-container video{
        min-width: 100%;
    }
    body .mfp-video-container{
        width: auto;
    }
}
@media only screen and (max-device-width: 540px){
    .video-gallery{
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 50px;
    }
}
@media only screen and (max-device-width: 375px){
    .video-gallery-item_title{
        font-size: 14px;
    }
}
/* End */
/* /local/templates/main/components/bitrix/news.list/video/style.css?17520771242795 */
