.section-video {
    overflow: hidden;
    position: relative;
    height: 100vh;
    width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.video-preview {
    width: 33.3%;
    height: 50%;
    /* overflow: hidden; */
    position: relative;
    z-index: 1;
    padding: 28px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}
.video-preview:before {
    content: '';
/*    opacity: 0.2;*/
    position: absolute;
    height: 100%;
    bottom: 0;
    left: 0;
    right: 0;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.4)));
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 100%);
    background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 100%);
    background: -o-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 100%);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 100%);
    transition: .5s;
}
.video-mask.active:before,
.video-preview:after {
    content: '';
    position: absolute;
    height: 100%;
    bottom: 0;
    left: 0;
    right: 0;
    transition: .5s;
    background: rgba(255, 239, 183, 0.20);
    background-blend-mode: overlay;
    z-index: 1;
    display: none;
}
.video-preview:after {z-index: 0;}
.video-mask.active:after {
    content: '';
    position: absolute;
    height: 100%;
    bottom: 0;
    left: 0;
    right: 0;
    transition: .5s;
    background: rgba(0, 0, 0, 0.4);
    background-blend-mode: plus-darker;
    z-index: 1;
}
.video-mask.active ~ .video-preview:after {
    display: none;
}
.video-preview__title {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.3em;
    color: #fff;
    margin-top: auto;
    position: relative;
    z-index: 1;
    width: 100%;
    transition: .5s;
}

.video-preview__title span {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -moz-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    transition: .5s;
    font-weight: 400;
}

.video-preview__btn {
    margin-left: auto;
    width: 22px;
    height: 22px;
    background-position: center;
    background-repeat: no-repeat;
    -moz-background-size: 100%;
    background-size: 100%;
    background-image: url(img/plus-light.svg);
    cursor: pointer;
    pointer-events: auto;
    transition: .5s;
}

.video-line {
    position: absolute;
    pointer-events: none;
    background: #fff;
    z-index: 3;
    -webkit-transition: .3s;
    -o-transition: .3s;
    -moz-transition: .3s;
    transition: .3s;
}

.video-line__1 {
    left: 0;
    right: 0;
    height: 1px;
    margin-top: -0.5px;
    top: 50%;
}

.video-line__2 {
    left: 33.3%;
    width: 1px;
    top: 0;
    bottom: 0;
    margin-left: -0.5px;
}

.video-line__3 {
    left: 66.6%;
    width: 1px;
    top: 0;
    bottom: 0;
    margin-left: -0.5px;
}


.video-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    /* z-index: 1; */
    pointer-events: none;
}

.video-mask__player {
    z-index: 1;
    -o-object-fit: cover;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    /* width: 100vw; */
    width: 100%;
    height: 100vh;
    display: block;
    -webkit-transition: .1s;
    -o-transition: .1s;
    -moz-transition: .1s;
    transition: .1s;
}

.video-mask__title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    text-transform: uppercase;
    white-space: nowrap;
    color: rgba(255, 255, 255, .3);
    letter-spacing: 0.3em;
    opacity: 0;
    text-align: center;
    line-height: 0.8;
    transition: .5s;
}

.video-preview__country {
    transition: .5s;
}


.video-mask:nth-child(1) .video-mask__player {
    -webkit-clip-path: inset(0 66.67% 50% 0);
    clip-path: inset(0 66.67% 50% 0);
}

.video-mask:nth-child(2) .video-mask__player {
    -webkit-clip-path: inset(0 33.33% 50% 33.33%);
    clip-path: inset(0 33.33% 50% 33.33%);
}

.video-mask:nth-child(3) .video-mask__player {
    -webkit-clip-path: inset(0 0 50% 66.67%);
    clip-path: inset(0 0 50% 66.67%);
}

.video-mask:nth-child(4) .video-mask__player {
    -webkit-clip-path: inset(50% 66.67% 0 0);
    clip-path: inset(50% 66.67% 0 0);
}

.video-mask:nth-child(5) .video-mask__player {
    -webkit-clip-path: inset(50% 33.33% 0 33.33%);
    clip-path: inset(50% 33.33% 0 33.33%);
}

.video-mask:nth-child(6) .video-mask__player {
    -webkit-clip-path: inset(50% 0 0 66.67%);
    clip-path: inset(50% 0 0 66.67%);
}




/* .windows-os .video-mask:nth-child(1) .video-mask__player {
    clip-path: inset(0 67% 50% 0);
}

.windows-os .video-mask:nth-child(2) .video-mask__player {
    clip-path: inset(0 33% 50% 33%);
}

.windows-os .video-mask:nth-child(3) .video-mask__player {
    clip-path: inset(0 0 50% 66%);
}

.windows-os .video-mask:nth-child(4) .video-mask__player {
    clip-path: inset(50% 67% 0 0);
}

.windows-os .video-mask:nth-child(5) .video-mask__player {
    clip-path: inset(50% 33% 0 33%);
}

.windows-os .video-mask:nth-child(6) .video-mask__player {
    clip-path: inset(50% 0 0 66%);
} */





.video-preview__top {
    position: absolute;
    letter-spacing: 0.32em;
    font-size: 9px;
    text-transform: uppercase;
    color: #fff;
    padding: 10px;
    border: 1px solid #fff;
    right: 20px;
    top: 20px;
    z-index: 2;
    /*
    min-width: 168px;
    max-width: 60%;
*/
    width: 235px;
    max-width: 90%;
    opacity: 0;
    pointer-events: none;
    transition: .5s;
}

.video-preview__down {
    position: absolute;
    bottom: 28px;
    left: 20px;
    right: 20px;
    opacity: 0;
    pointer-events: none;
    color: #fff;
    transition: .5s;
}

.video-preview__country {
    text-transform: uppercase;
    font-size: 24px;
    letter-spacing: 0.3em;
    margin-bottom: 12px;
    transition: .5s;
}

.video-preview__country span {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -moz-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    transition: .5s;
}

.video-preview__country img {
    width: 32px;
    height: 32px;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
    -o-object-fit: cover;
    object-fit: cover;

}

.video-preview__info {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    transition: .5s;
}

.video-preview__data {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-size: 12px;
    color: #fff;
    margin-right: 12px;
    text-transform: uppercase;
    transition: .5s;
}
[dir=rtl] .video-preview__data {
    margin-right: 0;
    margin-left: 12px;
}
.video-preview__data:last-child {
    margin-right: 0;
}
[dir=rtl] .video-preview__data:last-child {
    margin-right: 0;
    margin-left: 12px;
}
.video-preview__data img {
    width: 20px;
    margin-right: 4px;
    /* opacity: 0.4; */
}
[dir=rtl] .video-preview__data img {
    margin-right: 0;
    margin-left: 4px;
}

.video-mask.active {
    z-index: 2;
}

.video-mask.active .video-mask__player,
.windows-os .video-mask.active .video-mask__player {
    -webkit-clip-path: inset(0 0 0 0);
    clip-path: inset(0 0 0 0);
    z-index: 0;
}

.video-mask.active .video-mask__title {
    opacity: 1;
    z-index: 1;
}

.video-preview.active {
    z-index: 2;
}

.video-preview.active:before {
    opacity: 0;
}

.video-preview.active .video-preview__btn {
    background-image: url(img/minus-light.svg);
}

.video-preview.active .video-preview__top {
    opacity: 1;
}

.video-preview.active .video-preview__down {
    opacity: 1;
}

.video-preview.active .video-preview__title span {
    opacity: 0;
    pointer-events: none;
}


@media only screen and (max-width: 1199px) and (orientation: portrait) {
    .video-line__1 {
        top: 33.3%;
    }

    .video-line__2 {
        left: 50%;
        margin-left: -0.5px;
    }

    .video-line__3 {
        left: 0;
        width: auto;
        right: 0;
        height: 1px;
        top: 66.6%;
        bottom: auto;
        margin-left: 0;
        margin-top: -0.5px;
    }

    .video-preview {
        width: 50%;
        height: 33.3%;
        padding: 10px;
    }

    .video-mask:nth-child(1) .video-mask__player {
        -webkit-clip-path: inset(0 50% 66.6% 0);
        clip-path: inset(0 50% 66.6% 0);
    }

    .video-mask:nth-child(2) .video-mask__player {
        -webkit-clip-path: inset(0 0% 66.6% 50%);
        clip-path: inset(0 0% 66.6% 50%);
    }

    .video-mask:nth-child(3) .video-mask__player {
        -webkit-clip-path: inset(33.3% 50% 33.3% 0%);
        clip-path: inset(33.3% 50% 33.3% 0%);
    }

    .video-mask:nth-child(4) .video-mask__player {
        -webkit-clip-path: inset(33.3% 0% 33.3% 50%);
        clip-path: inset(33.3% 0% 33.3% 50%);
    }

    .video-mask:nth-child(5) .video-mask__player {
        -webkit-clip-path: inset(66% 50% 0 0%);
        clip-path: inset(66% 50% 0 0%);
    }

    .video-mask:nth-child(6) .video-mask__player {
        -webkit-clip-path: inset(66.6% 0 0 50%);
        clip-path: inset(66.6% 0 0 50%);
    }


    .video-preview.active {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .video-preview.active:before {opacity: 1;}
    .video-mask.active .video-mask__player {
        -webkit-clip-path: inset(0 0 0 0);
        clip-path: inset(0 0 0 0);
        z-index: 0;
    }

    .video-preview__top {
        top: 44px;
        min-width: 38%;
    }

    .video-preview__down {
        bottom: 74px;
    }



    .video-preview.active~.video-line {
        display: none;
    }

}


@media (max-width: 1199px) {
    .video-preview__btn::after {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1;
        content: "";
    }

    .video-preview__title {
        position: static;
    }
}



.block-home-video.section .section-video.parallax {
    z-index: -1;
}

.video-preview {
    position: relative;
}
.video-preview__toggle {
    width: 20px;
    height: 20px;
    border: none;
    background-color: transparent;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
    cursor: pointer;
    z-index: 3;
    margin-right: 15px;
}

.video-preview__toggle.icon-pause {
    background-image: url(img/pause-white.svg);
}

.video-preview__toggle.icon-play {
    background-image: url(img/play-white.svg);
}

@media (max-width: 767px) {
    .video-preview__toggle {
        margin-right: 0px;
        margin-bottom: 10px;
    }
}