/***************************/
/* Video / Large Container */
/***************************/
body:not(.fl-builder-edit) .large-video-row{
    padding-top: 44px;
    padding-bottom: 26px;
    padding-left: 72px;
    padding-right: 72px;
    background-color: var(--fresh-blue);
}
body:not(.fl-builder-edit) .large-video-row.soft-white{
    background-color: var(--soft-white);
}
body:not(.fl-builder-edit) .large-video-row.sky-blue{
    background-color: var(--sky-blue);
}
body:not(.fl-builder-edit) .large-video-row.fresh-blue{
    background-color: var(--fresh-blue);
}
body:not(.fl-builder-edit) .large-video-row.deep-blue{
    background-color: var(--deep-blue);
}
body:not(.fl-builder-edit) .large-video-row > .fl-row-content-wrap{
    border-radius: 20px;
    overflow: hidden;
    max-width: 1222px;
    margin:0 auto;
}
.fl-builder-content .large-video-caption-row .fl-accordion-button{
    gap: 44px;
}
.fl-builder-content .large-video-caption-row .fl-accordion-item{
    border-radius: 0!important;
    box-shadow: none!important;
}
.fl-builder-content .fl-accordion-button .fl-accordion-button-icon.ua-icon-chevron-thin-up::before,
.fl-builder-content .fl-accordion-button .fl-accordion-button-icon.ua-icon-chevron-thin-down::before{
    background-image:url(/wp-content/uploads/Expand-Arrow.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    transition: all 0.2s ease;
}
.fl-builder-content .fl-accordion-button .fl-accordion-button-icon.ua-icon-chevron-thin-up::before{
    transform: rotate(180deg);
}


/********************/
/* Hero play button */
/********************/

/* body:not(.fl-builder-edit) .youtube_pause_box {    margin-top: -24px;} */

button#yt-play-button:before {
    transform: translate(0px,4px);
    content: "";
    width: 20px;
    height: 20px;
    background: url(/wp-content/uploads/button-play.svg) center center / contain no-repeat;
    margin-right: 5px;
    display: inline-block;
}
button#yt-pause-button:before {
    transform: translate(0px,4px);
    content: "";
    width: 20px;
    height: 20px;
    background: url(/wp-content/uploads/button-pause.svg) center center / contain no-repeat;
    margin-right: 5px;
    display: inline-block;
}
button#yt-play-button,
button#yt-pause-button {
background: transparent;
    border: 0;
    color: white;
    cursor: pointer;
    visibility: hidden;
    transform: scale(0);
    transition: all .2s ease;
    padding: 0px;
    position: absolute;
    width: 80px;
    bottom: 0;
    left: 0;
}

button#yt-play-button.active,
button#yt-pause-button.active {
    visibility:visible;
    transform:scale(1);
}
.youtube_controls{
    position: absolute;
    z-index: 2;
    bottom: 20px;
    left: 40px;
    margin-left: 0;
    width: unset;
    width: 100%;
    height: 24px;
    left: unset;
    display: flex;
    margin: auto;
    flex-direction: column;
    align-items: flex-end;
    bottom: 0px;
    position: relative;
}
button#yt-play-button, 
button#yt-pause-button{
    left:unset;
}



.video_pause .fl-bg-video-player {
    opacity:0;
    transition:all 1s ease;
}

.video_pause.fl-bg-video-player iframe {
    opacity:1;
}



/************************/
/* Background video row */
/************************/

.fl-row-bg-video .fl-bg-video iframe{
    min-height: 140vh;
    min-width: 220vh;
    top: 50%;
}

/* Background video modal */
.column_videobg .fl-col-content {
    position:relative;
    border-radius:16px;
}
body:not(.fl-builder-edit) .column_videobg .fl-col-content {
    overflow:hidden;
}
.video_window_wrapper {
    width:100%;
    /* min-height:75vh; */
    height:590px;
    overflow:hidden;
    position:relative;
    border-radius: 16px;
}
.video_window_wrapper:after {
    content:"";
    width:100%;
    height:100%;
    position:absolute;
    background:rgba(0,0,0,0.5);
}
.video_window {
    border:0;
    width:100%;
    pointer-events: none;
}
.video_window_wrapper_inner {
    position:absolute;
    /* top:-150px; */
    top:0;
}
body:not(.fl-builder-edit) .video_modal {
    position:absolute;
    z-index:2;
    bottom: 0;
}
.column_videobg {height:590px;}
.column_videobg .fl-module-html{
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    overflow: hidden;
}
.column_videobg .popup-img-bg {
    height:initial;
    width:100%;
    max-width: initial;
}
/*
.column_videobg .popup-img-bg:before {
    content: '';
    height: 150%;
    width: 100%;
    position: absolute;
    top: -50%;
    left: 0;
    border-radius: 6px;
    background: linear-gradient(transparent,rgba(0,0,0,0.3) 30%, black 60%,black);
}
*/
    
.video_modal .uabb-modal-icon-wrap {
    display: inline-flex;
    font-family: var(--font-content);
    font-size: 19px;
    font-size: 1.19rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    padding: 20px 40px;
    border-radius: 100px;
    border: transparent;
    transition: all .15s ease;
    background:var(--sky-blue);
}    
.video_modal .uabb-modal-icon-wrap .fi-play:before {
    font-family: 'Font Awesome 5 Pro';
    content: "\f04b";
    font-weight: 900;
    position: relative;
    top: 3px;
    transition: all .25s ease;
    display: inline-block;
    color: var(--black);
    margin-right: 10px;
    font-size: 18px;
}
.uabb-modal-parent-wrapper .uabb-close-icon {color:var(--white) !important;}
.video_modal .uabb-modal-icon-wrap .uabb-modal-icon {
    line-height: 0;
}

.video_modal .uabb-modal-action {transition:all .25s ease;}
.video_modal .uabb-modal-action:hover {transform:scale(1.12)}

.uabb-modal .uabb-modal-iframe.uabb-video-player {    max-height: 70vh;}
.uabb-modal .uabb-content {max-height: 70vh;}


.video_window_wrapper_inner {
    width: 175%;
    height: 200%;
    transform: translate(-50%, -50%) scale(1.5);
    top: 50%;
    left: 50%;
}



/***************/
/* Video Popup */
/***************/
.popup-title{
    color:var(--white);
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.4);
}
.popup-img-bg{
    height:700px;
    display:flex;
    flex-direction: column;
    gap:26px;
    justify-content: flex-end;
    padding: 26px;
    border-radius:6px;
    background-repeat:no-repeat;
    max-width: 512px;
    float: right;
    position:relative;
    align-items: flex-start;
}
.right_icon .popup-img-bg{
    float: left;
}
.left_icon .popup-img-bg{
    float: right;
}
/*
.popup-img-bg:before{
    content: '';
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 6px;
    background: linear-gradient(transparent,rgba(0,0,0,0.3) 50%, black 80%,black);
}
*/
.uabb-modal-action-wrap{
    position: relative;
}
body:not(.fl-builder-edit) .left_icon{
    width:339.78px;
    height:161.95px;
    background-size:contain;
    background-repeat: no-repeat;
    display: inline-block;
    position: absolute;
    top:184.4px;
    left:-133.4px;
    transform: rotate(69deg);
    z-index: 99;
    pointer-events: none;
}
body:not(.fl-builder-edit) .right_icon{
    width:339.78px;
    height:161.95px;
    background-size:contain;
    background-repeat: no-repeat;
    display: inline-block;
    position: absolute;
    top:215px;
    right:-100px;
    transform: rotate(-15deg);
    z-index: 99;
    pointer-events: none;
}
.popup-img-bg>p, .popup-img-bg>div{
    position: relative;
}
.uabb-close-custom-popup-top-left{
    top: 0;
    right: 0;
    transform: translate(100%, -50%);
}



@media screen and (max-width: 1366px) {
    body:not(.fl-builder-edit) .large-video-row{
        padding-top: 44px;
        padding-bottom: 44px;
        padding-left: 60px;
        padding-right: 60px;
    }

    body:not(.fl-builder-edit) .hero-row .fl-row-content{
        grid-template-columns: calc(70% - 285.6px) calc(30% - 122.4px) 408px
    }
    body:not(.fl-builder-edit) .hero-row.right .fl-row-content{
        grid-template-columns: 408px calc(70% - 285.6px) calc(30% - 122.4px)
    }
    
    /* VIMEO ==> Overflow */
    .fl-row-bg-video .fl-bg-video iframe, 
    .fl-row-bg-embed .fl-bg-embed-code iframe {
        transform: translate(-50%, -50%) scale(1.5);
    }
}
@media only screen and (max-width: 992px) {
    body:not(.fl-builder-edit) .large-video-row{
        padding-top: 44px;
        padding-bottom: 26px;
        padding-left: 36px;
        padding-right: 36px;
    }

    /*
    .column_videobg,
    .video_window_wrapper {
        height: 450px;
        min-height: initial;
        border-radius:16px;
        overflow:hidden;
    }
    */
    .video_window_wrapper_inner {
        /* Unconmment this line if you want to disable the BG video in MOBILE */
        /* Also in the .js fi */
         display: none; 
    }

    .video_window_wrapper {height:500px;}
    .column_videobg {height:500px;}
    


}
@media only screen and (max-width: 768px) {
    body:not(.fl-builder-edit) .large-video-row{
        padding-top: 26px;
        padding-bottom: 16px;
        padding-left: 18px;
        padding-right: 18px;
    }
    body:not(.fl-builder-edit) .fl-bg-video{
        border-radius: 16px;
    }
    .fl-builder-content .large-video-caption-row .fl-accordion-button{
        gap: 16px;
    }
    .popup-img-bg {
        padding: 26px;
    }

    .video_window_wrapper {height:464px;}
    .column_videobg {height:464px;}
}

