/**
 * @tableofcontents
 *
 * 1. Video Testimonial
 * 2. Slider Video Testimonial
 */

/* @section 1. Video Testimonial */


/* Video Testimonial CSS*/

.newTstml_video_mainSec {
    padding: 60px 0 80px;
}

.newTstml_video_mainSec .container {
    position: relative;
}

.newTstml_video_ttlBox {
    text-align: center;
    margin-bottom: 60px;
}

.newTstml_video_quoteBox {
    margin-top: 80px;
}

.newTstml_video_ttlBox h2 {
    color: #0A1E43;
    font-size: 36px;
    font-weight: 700;
}

.newTstml_video_quoteBox i.fa {
    color: #2F39BF;
    font-size: 32px;
}

.newTstml_video_quoteBox>p {
    color: #42526E;
    font-size: 26px;
    line-height: 36px;
    font-weight: 300;
    font-style: italic;
    margin: 20px 0;
}

.newTstml_video_infoBox h4 {
    color: #2F39BF;
    font-size: 18px;
    font-weight: 700;
}

.newTstml_video_infoBox p {
    color: #5A6880;
    font-size: 14px;
    font-weight: 300;
}

.newTstml_video_imgBox {
    position: relative;
    text-align: center;
}

.newTstml_video_imgBox {
    display: inline-block;
}

.newTstml_video_btnBox {
    position: absolute;
    left: 20px;
    top: 25px;
    padding: 2px 6px 3px 12px;
    background-color: #fff;
    color: #5A6880;
    font-size: 16px;
    font-weight: 300;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
}

.newTstml_video_btnBox i {
    color: #5A6880;
    font-size: 14px;
    margin-left: 3px;
    display: none;
}

.newTstml_video_btnBox svg {
    height: 30px;
    width: 30px;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    left: -3px;
}

.newTstml_video_btnBox .play_btn {
    stroke: #5A6880;
    stroke-dasharray: 240;
    animation: nudge 1.5s ease-in-out infinite;
}

body.modal-open {
    padding: 0 !important;
}

@keyframes nudge {
    0% {
        stroke-dashoffset: 480;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

.newTstml_video_playBox .modal {
    text-align: center;
    padding: 0!important;
}

.newTstml_video_playBox .modal:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.newTstml_video_playBox .modal-dialog {
    display: inline-block;
    vertical-align: middle;
}

.newTstml_video_playBox .modal-backdrop.in {
    background-color: rgba(0, 0, 0, 0.9);
}

.newTstml_video_playBox .modal-dialog {
    width: 800px;
    height: auto;
}

.newTstml_video_playBox .modal-body {
    padding: 0;
}

.newTstml_video_playBox .modal-content {
    background-color: #000;
}

.modal-content {
    box-shadow: none !important;
    border: 0 !important;
}

.opacity-animate3 {
    animation: opt-animation3 1s;
    -moz-animation-fill-mode: forwards;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}

@-webkit-keyframes opt-animation3 {
    0% {
        opacity: 0;
        transform: scale(0.75);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@-moz-keyframes opt-animation3 {
    0% {
        opacity: 0;
        transform: scale(0.75);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@-o-keyframes opt-animation3 {
    0% {
        opacity: 0;
        transform: scale(0.75);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes opt-animation3 {
    0% {
        opacity: 0;
        transform: scale(0.75);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* @section 2. Slider Video Testimonial */

/*Video Testimonials Styling || STARTS*/

.videoTstmlSliderWrap .carousel-indicators{
    left: 30px;
}
.videoTstmlSliderWrap .carousel-indicators li{
    border: none;
    box-shadow: none;
    background: rgba(47, 57, 191, 0.13);
    width: 14px;
    height: 14px;
    margin: 0;
}
.videoTstmlSliderWrap .carousel-indicators .active{
    border: none;
    box-shadow: none;
    background: #2F39BF;
    width: 14px;
    height: 14px;
    margin: 0;
}

.newTstml_video_imgBox img{
    -webkit-animation: animateOpc 1s linear forwards;
    animation: animateOpc 1s linear forwards;
}

@keyframes animateOpc {
    0% {
    opacity: 0;
    }
    100% {
    opacity: 1;
    }
}
.newTstml_video_quoteBox>p, .newTstml_video_quoteBox>p, .newTstml_video_quoteBox>p, .newTstml_video_quoteBox>i{
    -webkit-animation: animateTop 1s linear forwards;
    animation: animateTop 1s linear forwards;
}

@keyframes animateTop {
    0% {
    opacity: 0;
    -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
    }
    100% {
    -webkit-transform: translateY(0);
        transform: translateY(0);
    opacity: 1;
    }
}

.newTstml_video_infoBox h4, .newTstml_video_infoBox p{
    -webkit-animation: animateBot 1s linear forwards;
    animation: animateBot 1s linear forwards;
}

@keyframes animateBot {
    0% {
    opacity: 0;
    -webkit-transform: translateY(50%);
        transform: translateY(50%);
    }
    100% {
    -webkit-transform: translateY(0);
        transform: translateY(0);
    opacity: 1;
    }
}

/*Video Testimonials Styling || ENDS*/

@media (max-width: 1200px) {
    /* Video Testimonial CSS*/
    .newTstml_video_quoteBox {
        margin-top: 30px;
    }
}

@media (max-width: 992px) {
    /* Video Testimonial CSS*/
    .newTstml_video_mainSec {
        padding: 40px 0 60px;
    }
    .newTstml_video_ttlBox {
        margin-bottom: 40px;
    }
    .newTstml_video_ttlBox h2 {
        font-size: 28px;
    }
    .newTstml_video_quoteBox {
        margin-top: 30px;
    }
    .newTstml_video_quoteBox>p {
        font-size: 20px;
        line-height: 30px;
        margin: 15px 0;
    }
    .newTstml_video_quoteBox i.fa {
        font-size: 26px;
    }
    .newTstml_video_infoBox h4 {
        margin-bottom: 5px;
    }

    /* @section 2. Slider Video Testimonial */

    .videoTstmlSliderWrap .carousel-indicators{
        left: 30px;
        bottom: -30px;
    }
}

@media (max-width: 800px) {
    /* Video Testimonial CSS */
    .newTstml_video_playBox .modal-dialog {
        width: 90%;
        height: auto;
        margin: 0 auto;
    }
}

@media (max-width: 767px) {
    /* Video Testimonial CSS*/
    .newTstml_video_mainSec {
        padding: 20px 0 40px;
        text-align: center;
    }
    .newTstml_video_ttlBox {
        margin-bottom: 0px;
    }
    .newTstml_video_quoteBox {
        margin: 30px 0;
    }

    /* @section 2. Slider Video Testimonial */

    .videoTstmlSliderWrap{
        margin-bottom: 40px;
    }
    .videoTstmlSliderWrap .carousel-indicators{
        left: 50%;
        bottom: -50px;
    }
}