/* VIDEO & MODAL */
.videoFallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--color-black);
    z-index: 0;
}
.video {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--color-black);
    object-fit: cover;
}
.btn-modal {
    /* position: absolute;
    bottom: 15px;
    right: 15px; */
    width: 32px;
    height: 23px;
    height: auto;
    display: inline-block;
    margin: 0;
    padding: 0;
    border: none !important;
    box-shadow: none !important;
    background: transparent;
}
.btn-modal #screen {
    transform-origin: center center;
    transition: transform .4s ease-in;
}
.btn-modal:hover #screen {
    transform: scale(1.3);
}
@media(min-width: 1200px) {
    .btn-modal {
        bottom: 30px;
        right: 30px;
    }
}
.video-caption {
    position: absolute;
    top: 0;
    left: 0;
    max-width: 480px;
    z-index: 2;
}
.video_wrapper .featured-logo {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
}
.video_wrapper .featured-logo img {
    width: 174px;
    height: 100px;
    object-fit: contain;
    object-position: top right;
}
.video-container:has(.customControls) .overlay {
    pointer-events: none;
    transform: translateY(10%);
    opacity: 0;
    transition: transform .3s ease-in-out, opacity .3s ease-in-out;
}
.video-container:has(.customControls.active) .overlay, .video_wrapper.paused .overlay {
    transform: translateY(0);
    opacity: 1;
}
/* CUSTOM VIDEO CONTROLS */
.customControls {
    position: absolute;
    bottom: 0;
    left: calc(var(--vs-gutter-x)* .5);
    width: calc(100% - var(--vs-gutter-x));
    height: auto;
    cursor: pointer;
    -webkit-transform: translateY(20vh);
        -ms-transform: translateY(20vh);
            transform: translateY(20vh);
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity .7s, visibility .7s, -webkit-transform .7s;
    transition: opacity .7s, visibility .7s, -webkit-transform .7s;
    -o-transition: opacity .7s, visibility .7s, transform .7s;
    transition: opacity .7s, visibility .7s, transform .7s;
    transition: opacity .7s, visibility .7s, transform .7s, -webkit-transform .7s;
    -webkit-transition-timing-function: ease-in-out;
         -o-transition-timing-function: ease-in-out;
            transition-timing-function: ease-in-out;
}
.expanded .customControls.active, .paused .customControls {
    -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
    visibility: visible;
    z-index: 1;
}
/* .is-safari .expanded .customControls.active {
    -webkit-transform: translateY(-150%);
        -ms-transform: translateY(-150%);
            transform: translateY(-150%);
} */
/* @media (min-width: 744px) {
    .video-container {
        max-height: 1010px;
    }
} */
@media(min-width: 1200px) {
    .expanded .customControls {
        -webkit-transform: translateY(20vh);
            -ms-transform: translateY(20vh);
                transform: translateY(20vh);
        opacity: 0;
        visibility: hidden;
    }
    .expanded .customControls.active, .paused .customControls {
        -webkit-transform: translateY(0);
            -ms-transform: translateY(0);
                transform: translateY(0);
        opacity: 1;
        visibility: visible;
        -webkit-transition: opacity 1s, visibility 1s, -webkit-transform 1s;
        transition: opacity 1s, visibility 1s, -webkit-transform 1s;
        -o-transition: opacity 1s, visibility 1s, transform 1s;
        transition: opacity 1s, visibility 1s, transform 1s;
        transition: opacity 1s, visibility 1s, transform 1s, -webkit-transform 1s;
        -webkit-transition-timing-function: ease-in-out;
             -o-transition-timing-function: ease-in-out;
                transition-timing-function: ease-in-out;
    }
}
/* video seeker */
.customControls .video-track {
    position: relative;
    width: 100%;
    height: 21px;
}
.customControls .video-track-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-white);
    /* -webkit-transition: width 0.5s linear;
    -o-transition: width 0.5s linear;
    transition: width 0.5s linear; */
}
.customControls .video-seeker {
    position: absolute;
    top: 10px;
    background: var(--color-white-20);
    width: 100%;
    height: 1px;
}
.customControls .play_head {
    position: absolute;
    width: 15px;
    height: 7px;
    background: var(--color-white);
    border-radius: 2px;
    top: -3px;
    left: 100%;
}
/* .customControls .play_time {
    position: absolute;
    top: 0;
    left: 50%;
    width: auto;
    font-size: 20px;
    color: var(--color-white);
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
    -webkit-transform: translate(-50%, -100%);
        -ms-transform: translate(-50%, -100%);
            transform: translate(-50%, -100%);
} */
/* video seeker */
/* video buttons */
.video-container .customControls .btn-play {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    width: auto;
    height: auto;
    padding: 0;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}
.video-container .customControls .btn-play.playing::before {
    position: relative;
    display: inline-block;
    content: 'PAUSE';
    font-size: inherit;
    font-family: inherit;
}
.video-container .customControls .btn-play.paused::before {
    position: relative;
    display: inline-block;
    content: 'PLAY';
    font-size: inherit;
    font-family: inherit;
}
.video-container .customControls .btn-play::after {
    content: '';
    position: relative;
    display: inline-block;
    width: 15px;
    height: 19px;
    padding: 0;
    border: none !important;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 47'%3E%3Crect width='4' height='47' style='fill:%23ffffff;'/%3E%3Crect x='12' width='4' height='47' style='fill:%23ffffff;'/%3E%3C/svg%3E") no-repeat center / 100%;
    background-size: contain;
    outline: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}
.video-container .btn-play.paused::after {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 25'%3E%3Cdefs%3E%3CclipPath id='clippath'%3E%3Crect width='20' height='25' style='fill:none;'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg style='clip-path:url(%23clippath);'%3E%3Cpath d='M1.43,2.6l15.54,9.9L1.43,22.4V2.6ZM0,0V25L19.64,12.5,0,0Z' style='fill:%23fff;'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / 100%;
    background-size: contain;
}
.video-container .btn-mute {
    width: 25px;
    height: 28px;
    /* height: auto; */
    -webkit-transform: translateY(0vh);
    -ms-transform: translateY(0vh);
    transform: translateY(0vh);
    opacity: 1;
    padding: 0;
    visibility: visible;
    background: transparent;
    border: none !important;
    border-radius: 0;
    /* background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none"%3E%3Cpath fill-rule="evenodd" clip-rule="evenodd" d="M17.5648 1.02072L16.7629 0.21875L11.9662 5.01543V1.01092L6.31863 5.51233H2.02722L2.02448 9.11471L2.02707 9.1173V12.517H4.46463L0 16.9816L0.802821 17.7844L6.06943 12.5178H6.08804L7.0025 11.6023L6.99249 11.5939L10.8338 7.75258V7.77112L11.9679 6.63708V6.61853L17.5648 1.02072ZM6.71728 6.64637L10.8338 3.3642V5.71266L10.8345 6.14876L5.59951 11.3838H3.16279V6.64637H6.71728Z" fill="white"/%3E%3Cpath d="M12.6449 17.8729L12.6459 7.52691L11.4686 8.70282V12.2355L11.4677 13.0127V15.4533L7.68619 12.4853L6.84713 13.3244L12.6449 17.8729Z" fill="white"/%3E%3C/svg%3E') no-repeat center;
    background-size: contain; */
    transition: backdrop-filter 0.3s ease-in-out;
}
/* .video-container .btn-mute.active {
    background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="11" height="17" viewBox="0 0 11 17" fill="none"%3E%3Cpath fill-rule="evenodd" clip-rule="evenodd" d="M9.96614 3.99164V0.0117188L4.31857 4.51313H0.0271575L0.0244141 8.11552L0.0270054 8.11811V11.5178H2.43999L3.57318 10.3846H1.16273V5.64717H4.71722L8.83378 2.36499V4.71346L8.83445 5.12333L9.96614 3.99164ZM10.6458 6.52771L10.6448 16.8737L4.84707 12.3252L5.68613 11.4861L9.46766 14.4541V12.0135L9.46855 11.2363V7.70362L10.6458 6.52771Z" fill="white"/%3E%3C/svg%3E') no-repeat center;
    background-size: contain;
} */
.video-container .btn-mute:hover {
    backdrop-filter: blur(4px);
}
.video-container .customControls .inner-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
}
@media (min-width: 744px) {
    .video-container .customControls .btn-play::after {
        width: 20px;
        height: 25px;
    }
    .video-container .btn-mute {
        width: 25px;
        height: 28px;
    }
}
@media(min-width: 1200px) {
    .video-container .customControls .btn-play::after {
        width: 27px;
        height: 35px;
    }
    .video-container .btn-mute {
        width: 27px;
        height: 30px;
    }
}
.customControls .inner-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
}
.videoButtons {
    -webkit-transition: opacity .3s ease-in-out, visibility .3s ease-in-out;
    -o-transition: opacity .3s ease-in-out, visibility .3s ease-in-out;
    transition: opacity .3s ease-in-out, visibility .3s ease-in-out;
}
.expanded .videoButtons {
    opacity: 0;
    visibility: hidden;
}
.video_wrapper {
    width: 100%;
    height: 100%;
}
/* VIMEO VIDEO */
.video iframe {
    position: absolute;
    width: 100vw !important;
    min-height: 100% !important;
    min-width: 100% !important;
    height: auto !important;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    margin: 0 !important;
    padding: 0 !important;
    display: block;
    pointer-events: none;
}
.video iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
    aspect-ratio: 426 / 240;
}
/* .video-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
    aspect-ratio: 1676 / 943;
} */
.video.vimeo_player {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
}
.vimeo_player.portrait iframe {
    height: 100% !important;
    width: auto !important;
}
.vimeo_player.landscape iframe {
    width: 100% !important;
    height: auto !important;
}
.vimeo_overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
}
/* END VIDEO PLAYER */
.video_wrapper .videoClose {
    position: absolute;
    top: 20px;
    right: 20px;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity .5s, visibility .5s;
    -o-transition: opacity .5s, visibility .5s;
    transition: opacity .5s, visibility .5s;
    -webkit-transition-timing-function: cubic-bezier(0,.5,.5,1);
         -o-transition-timing-function: cubic-bezier(0,.5,.5,1);
            transition-timing-function: cubic-bezier(0,.5,.5,1);
}
@media(max-width: 1199px) {
    .video_wrapper.expanded .videoClose {
        opacity: 1;
        visibility: visible;
    }
}