/* Testimonial Slider 2
-------------------------------------------------- */

.ts-di.testimonial-slider-owl-carousel {
    position: relative;
    max-width: 100%;
}

.ts-di .testimonial {
    max-width: 100%;
    overflow: hidden;
    position: relative;
}

.ts-di .testimonial .testimonial-content {
    background: #fff;
    font-style: italic;
    color: #444;
    margin: 0;
    position: absolute;
    min-height: 382px;
    left: 500px;
    top: 50%;
    transform: translate(0, -50%);
    -webkit-transform: translate(0, -50%);
    float: right;
    padding: 100px 106px 76px 90px;
    border: 1px solid #e4e4e4;
    border-left: 0;
    border-radius: 0;
    text-align: left;
}

.ts-di .testimonial .testimonial-content h4 {
    padding: 0;
    margin: 0;
}

.ts-di .testimonial .testimonial-content h4 q {
    font-size: 35px;
    color: #4e4e4e;
    font-weight: 400;
}

.ts-di .testimonial .testimonial-content h4 q:before {
    position: absolute;
    left: 108px;
    top: 20px;
    content: '\201C';
    font-size: 80px;
    color: #437df9;
    font-weight: bold;
    font-family: Georgia, Times, serif;
    opacity: 1;
}

.ts-di .testimonial .testimonial-brand {
    float: left;
    margin-left: 0;
    width: 500px;
    position: relative;
}

.ts-di .testimonial .testimonial-brand .social-testimonial {
    position: absolute;
    top: 5px;
    left: 5px;
    opacity: 0;
    transition: opacity .3s ease;
    -webkit-transition: opacity .3s ease;
}

.ts-di .testimonial:hover .testimonial-brand .social-testimonial {
    opacity: 1;
}

#wrap .ts-di .testimonial .testimonial-brand .social-testimonial ul li i {
    width: 36px;
    height: 36px;
    color: #333;
    padding-top: 10px;
    margin-bottom: 5px;
    background: #eee;
    transition: all .3s ease;
    -webkit-transition: all .3s ease;
}

#wrap .ts-di .testimonial .testimonial-brand .social-testimonial ul li i:hover {
    color: #eee;
    background: #333;
}

.ts-di .testimonial .testimonial-brand .social-testimonial ul li {
    display: inline-block;
}

.ts-di .testimonial .testimonial-brand img {
    border-radius: 0;
    border: none;
    left: auto;
    transform: translate(0);
    -webkit-transform: translate(0);
}

.ts-di .testimonial .testimonial-brand h5 {
    position: absolute;
    bottom: 20px;
    left: 170px;
    min-width: 376px;
    background: #437df9;
    color: #fff;
    margin: 0;
    text-align: left;
    padding: 15px 24px;
    font-size: 22px;
}

.ts-di .testimonial .testimonial-brand h5 em {
    color: #fff;
    font-size: 15px;
    display: inline-block;
    padding-bottom: 5px;
}

.ts-di.testimonial-slider-owl-carousel .owl-pagination {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 80px;
}

.ts-di.testimonial-slider-owl-carousel .owl-pagination span {
    position: absolute;
    background: none;
    border-radius: 0;
    border: none;
    padding: 0;
    top: 50%;
    margin-top: -180px;
    right: 1px;
    width: auto;
    height: auto;
}

.testimonial-slider-owl-carousel.ts-di .owl-pagination span:hover {
    background: none;
}

#wrap .ts-di.testimonial-slider-owl-carousel .owl-pagination span i {
    background: #fff;
    color: #6f6f6f;
    font-size: 30px;
    display: inline-block;
    text-align: center;
    border: 1px solid #e4e4e4;
    width: 80px;
    height: 160px;
    line-height: 160px;
    padding: 0;
    transition: all .3s ease;
}

.ts-di.testimonial-slider-owl-carousel .owl-pagination span i:hover {
    background: #f9f9f9;
    color: #437df9;
}

.ts-di.testimonial-slider-owl-carousel .owl-pagination span i:hover:before {
    color: #437df9;
}

.ts-di.testimonial-slider-owl-carousel .owl-pagination span.owl-prev {
    margin-top: 0;
    right: -1px;
}

.ts-di.testimonial-slider-owl-carousel .testimonial-content h4 q {
    font-size: 29px;
    font-style: italic;
}

.ts-di .testimonial .testimonial-content {
    background: #fff;
    font-style: italic;
    color: #444;
    margin: 0;
    position: absolute;
    min-height: 380px;
    left: 460px;
    top: 50%;
}

.testimonial-slider-owl-carousel.ts-di {
    position: relative;
}

.testimonial-slider-owl-carousel.ts-di .owl-controls .owl-buttons div {
    font-family: simple-line-icons;
    background: #fff;
    opacity: 1;
}

#wrap .testimonial-slider-owl-carousel.ts-di .owl-prev,
#wrap .testimonial-slider-owl-carousel.ts-di .owl-next {
    margin: 0;
    position: absolute;
    border-radius: 0;
    opacity: 0.8;
    background: #fff;
    color: #6f6f6f;
    font-size: 30px;
    display: inline-block;
    text-align: center;
    border: 1px solid #e4e4e4;
    width: 80px;
    height: 150px;
    line-height: 150px;
    padding: 0;
    transition: all .3s ease;
    right: 0;
}

#wrap .testimonial-slider-owl-carousel.ts-di .owl-prev {
    top: 250px;
}

#wrap .testimonial-slider-owl-carousel.ts-di .owl-next {
    top: 75px;
}

#wrap .testimonial-slider-owl-carousel.ts-di .owl-prev:hover,
#wrap .testimonial-slider-owl-carousel.ts-di .owl-next:hover {
    opacity: 1;
    color: #437df9;
}

.ts-di .testimonial .testimonial-brand h5 {
    bottom: 40px;
}

#wrap .testimonial-slider-owl-carousel.ts-di .owl-prev:before,
#wrap .testimonial-slider-owl-carousel.ts-di .owl-next:before {
    font-family: simple-line-icons;
}

#wrap .testimonial-slider-owl-carousel.ts-di .owl-prev:before {
    content: "\e605";
}

#wrap .testimonial-slider-owl-carousel.ts-di .owl-next:before {
    content: "\e606";
}

@media (min-width:1281px) and (max-width:1440px) {
    .ts-di .testimonial .testimonial-brand {
        width: 460px;
    }

    .ts-di .testimonial .testimonial-content h4 q {
        font-size: 26px;
    }

    .ts-di .testimonial .testimonial-content {
        left: 460px;
        padding: 100px 80px 78px 95px;
    }
}

@media (min-width:1201px) and (max-width:1280px) {
    .ts-di .testimonial .testimonial-brand {
        width: 440px;
    }

    .ts-di .testimonial .testimonial-content {
        left: 440px;
        padding: 80px 80px 78px 75px;
    }

    .ts-di .testimonial .testimonial-content h4 q {
        font-size: 25px;
    }

    .ts-di .testimonial .testimonial-content h4 q:before {
        left: 98px;
        top: 10px;
    }

    .ts-di .testimonial .testimonial-brand h5 {
        left: 160px;
        font-size: 20px;
        min-width: 322px;
    }
}

@media (min-width: 992px) and (max-width:1200px) {
    .ts-di .testimonial .testimonial-brand {
        width: 340px;
    }

    .ts-di .testimonial .testimonial-content {
        left: 340px;
        padding: 60px 60px 58px 45px;
    }

    .ts-di .testimonial .testimonial-content h4 {
        padding-right: 70px;
    }

    .ts-di .testimonial .testimonial-content h4 q {
        font-size: 25px;
    }

    .ts-di .testimonial .testimonial-content h4 q:before {
        left: 65px;
        top: 0px;
    }

    .ts-di .testimonial .testimonial-brand h5 {
        left: 63px;
        min-width: 300px;
        font-size: 16px;
        padding: 13px 16px;
    }

    #wrap .testimonial-slider-owl-carousel.ts-di .owl-prev {
        top: 180px;
    }

    #wrap .testimonial-slider-owl-carousel.ts-di .owl-next {
        top: 20px;
    }
}

@media (max-width: 991px) {
    .ts-di .testimonial .testimonial-brand {
        width: 100%;
        float: right;
    }

    .ts-di .testimonial .testimonial-content {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        width: 100%;
        border-left: 1px solid #e4e4e4;
        float: left;
    }

    .ts-di .testimonial .testimonial-brand h5 {
        left: 0;
        margin-bottom: 26px;
    }

    .ts-di.testimonial-slider-owl-carousel .owl-pagination {
        width: 100%;
    }

    .ts-di.testimonial-slider-owl-carousel .owl-pagination {
        left: auto;
        right: 0;
        top: auto;
        bottom: 26%;
    }

    .ts-di.testimonial-slider-owl-carousel .owl-pagination .owl-prev {
        left: 45px;
        right: auto;
        top: auto;
        bottom: 26%;
    }

    #wrap .testimonial-slider-owl-carousel.ts-di .owl-prev,
    #wrap .testimonial-slider-owl-carousel.ts-di .owl-next {
        top: auto;
        bottom: 26%;
        width: 60px;
    }

    #wrap .testimonial-slider-owl-carousel.ts-di .owl-prev {
        left: 0;
    }

    #wrap .testimonial-slider-owl-carousel.ts-di .owl-next {
        right: 0;
    }
}

@media (max-width:767px) {

    #wrap .testimonial-slider-owl-carousel.ts-di .owl-prev,
    #wrap .testimonial-slider-owl-carousel.ts-di .owl-next {
        top: auto;
        bottom: 26%;
        right: 0;
        width: 60px;
    }

    .ts-di .testimonial .testimonial-content {
        min-height: 250px;
    }

    #wrap .testimonial-slider-owl-carousel.ts-di .owl-prev,
    #wrap .testimonial-slider-owl-carousel.ts-di .owl-next {
        height: 140px;
    }

    .ts-di .testimonial .testimonial-content {
        padding: 30px;
    }

    .ts-di .testimonial .testimonial-content h4 q {
        font-size: 20px;
    }

    .ts-di .testimonial .testimonial-content h4 q:before {
        font-size: 40px;
        top: 0px;
        left: 50px;
    }

    .ts-di .testimonial .testimonial-brand h5 {
        padding: 10px 14px;
        bottom: 0;
        font-size: 17px;
    }
}

@media (max-width:479px) {
    #wrap .ts-di.testimonial-slider-owl-carousel .owl-pagination a i {
        font-size: 20px;
        width: 50px;
        height: 100px;
        line-height: 100px;
    }

    .ts-di.testimonial-slider-owl-carousel .owl-pagination a {
        bottom: 120px;
    }

    .ts-di.testimonial-slider-owl-carousel .owl-pagination a.owl-prev {
        bottom: 120px;
    }

    #wrap .testimonial-slider-owl-carousel.ts-di .owl-prev,
    #wrap .testimonial-slider-owl-carousel.ts-di .owl-next {
        bottom: 16%;
    }
}