/* Text Image CSS */

.text-video.pos-full_width_top .box{
    background: transparent!important;
    padding: 0;
}
.text-video .image-wrapper{
    border-radius: 20px;
    position: relative;
    margin-bottom: 0;
}
.text-video .image-wrapper img{
    width: 100%;
    border-radius: 20px;
}
.text-video .content-wrapper{
    position: relative;
    display: flex;
    align-items: center;
    padding: 50px 45px;
}
.text-video.pos-full_width_top .content-wrapper{
    padding: 10px 0;
}
.text-video.pos-full_width_top .content-wrapper .inner{
    padding: 20px 0;
    max-width: 85%;
}
.text-video .content-wrapper .txt-btn{
    position: absolute;
    left: 30px;
    bottom: 45px;
}
.text-video .content-wrapper blockquote{
    font-style: normal;
    font-family: var(--heading);
}
.play-btn{
    font-size: 0;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 99;
}
.play-btn:before{
    position: absolute;
    right: 30px;
    bottom: 30px;
    margin: 0 auto;
    width: 60px;
    height: 60px;
    content: '';
    display: block;
    background: url('/wp-content/plugins/ff-block-suite/assets/images/play.svg');
    background-size: contain;
    transition: all 0.2s ease-in-out;
    border-radius: 50%;
}
.image-wrapper:hover .play-btn:before{
    width: 80px;
    height: 80px;
    right: 20px;
    bottom: 20px;
    box-shadow: 1px 1px 25px 0px rgba(0,0,0,0.75);
    -webkit-box-shadow: 1px 1px 25px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 1px 1px 25px 0px rgba(0,0,0,0.75);
}
.text-video .image-wrapper:after{
    content: '';
    display: block;
    opacity: 0;
    visibility: hidden;
    background: #00000050;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    transition: all 0.2s ease-in-out;
    border-radius: 20px;
}
.text-video .image-wrapper:hover:after{
    opacity: 1;
    visibility: visible;
}
.video-iframe-modal .modal-dialog{
    max-width: 1200px;
}

.text-video.pos-right .flex{
    flex-direction: row-reverse;
    justify-content: flex-end;
}
.text-video:not(.pos-full_width_top) .image-wrapper{
    width: 33.33%;
    position: absolute;
    height: 100%;
}
.text-video:not(.pos-full_width_top) .content-wrapper{
    width: 66.66%;
    min-height: 458px;
}
.text-video:not(.pos-full_width_top) .image-wrapper .wp-image{
    background-size: cover;
    position: absolute;
    width: 100%;
    height: 100%;
    background-position: center;
}
.text-video.pos-right .image-wrapper{
    right: 20px;
}

@media screen and (max-width: 1480px){
    .text-video .image-wrapper{
        min-height: 350px;
    }
}

@media screen and (max-width: 1349px){
    .text-video .image-wrapper{
        min-height: 300px;
    }
    .video-iframe-modal .modal-dialog{
        max-width: 1000px;
    }
}

@media screen and (max-width: 1199px){
    .text-video .image-wrapper{
        min-height: 250px;
    }
    .text-video .content-wrapper .inner{
        padding: 0;
    }
    .play-btn:before{
        width: 40px;
        height: 40px;
    }
}

@media screen and (max-width: 991px){
    .text-video:not(.pos-full_width_top) .image-wrapper .wp-image{
        position: relative;
    }
    .text-video:not(.pos-full_width_top) .image-wrapper{
        width: 100%;
        position: relative;
    }
    .text-video.pos-right .image-wrapper{
        right: 0;
    }
    .text-video:not(.pos-full_width_top) .content-wrapper{
        width: 100%;
        min-height: 0;
        padding: 30px 20px;
        display: block;
    }
    .text-video:not(.pos-full_width_top) .content-wrapper .inner{
        padding: 0!important;
    }
    .text-video .content-wrapper, .text-video .image-wrapper{
        height: auto!important;
    }
    .text-video .image-wrapper{
        min-height: 0!important;
        margin-bottom: 0!important;
        height: auto!important;
    }
    .text-video .has-box-bg .image-wrapper img{
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }
    .text-video .content-wrapper{
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }
    .text-video .content-wrapper:not(.none) .inner{
        padding: 30px;
    }
    .text-video .content-wrapper.none .inner{
        padding: 25px 0;
    }
    .text-video .content-wrapper .txt-btn{
        position: relative;
        left: 0;
        bottom: 0;
    }
    .image-wrapper:hover .play-btn:before{
        width: 40px;
        height: 40px;
        right: 20px;
        bottom: 20px;
    }
    .play-btn:before{
        right: 20px;
        bottom: 20px;
    }
    .text-video.pos-full_width_top .content-wrapper .inner{
        max-width: 100%;
        padding: 0;
    }
}
