/* Text Image CSS */

.text-video .box{
    padding: 40px;
}
.text-video .image-wrapper{
    border-radius: 20px;
    position: relative;
    min-height: 400px;
    margin-bottom: 0;
}
.text-video .image-wrapper .for-lg{
    position: absolute;
    left: 0;
    top: 0;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
    border-radius: 20px;
}
.text-video .image-wrapper img{
    width: 100%;
    border-radius: 20px;
}
.text-video .content-wrapper{
    position: relative;
    display: flex;
    align-items: center;
}
.text-video .content-wrapper .inner{
    padding: 20px 30px;
}
.text-video .content-wrapper .txt-btn{
    position: absolute;
    left: 30px;
    bottom: 45px;
}
.text-video .content-wrapper blockquote{
    font-style: normal;
    font-family: var(--heading);
}
.text-video .play-btn{
    font-size: 0;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
}
.text-video .play-btn:before{
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 91px;
    height: 91px;
    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%;
}
.text-video .image-wrapper:hover .play-btn:before{
    width: 101px;
    height: 101px;
    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;
}
@media (max-height: 800px) and (min-width: 769px) {
    .video-iframe-modal .modal-dialog{
        max-width: 900px;
    }
    .video-iframe-modal.modal .modal-content{
        padding: 70px 40px 40px;
    }
}

@media (max-height: 700px) and (min-width: 769px) {
    .video-iframe-modal .modal-dialog{
        max-width: 800px;
    }
}

@media (max-height: 600px) and (min-width: 769px) {
    .video-iframe-modal .modal-dialog{
        max-width: 650px;
    }
}

@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;
    }
}

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

@media screen and (max-width: 991px){
    .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;
    }
    .text-video .play-btn:before{
        width: 60px;
        height: 60px;
    }
    .text-video .box{
        padding: 20px;
    }
    .text-video .content-wrapper:not(.none) .inner{
        padding: 20px 0 0;
    }
}

@media screen and (max-width: 600px){
    .text-video .play-btn:before{
        width: 40px;
        height: 40px;
    }
}