/**
 * @version     1.0.0
 * @package     Testimonial Carousel
 *
 * @copyright   Copyright (C) 2017. Zolly Solutions. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 * @author      Asfaque Ali Ansari <info@zollysolutions.com> - http://www.zollysolutions.com
 */

.testimonial-carousel {
    padding: 0 60px;
    position: relative;
}

.testimonial-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-carousel .owl-dots {
    position: absolute;
    bottom: -30px;
    width: 100%;
    text-align: center;
}
.testimonial-carousel .owl-dots .owl-dot {
    width: 12px;
    height: 12px;
    background: rgba(54,54,54,0.6);
    border-radius: 100%;
    display: inline-block;
    margin: 0 4px;
    cursor: pointer;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    background: rgba(54,54,54,1);
}


.testimonial-carousel .owl-prev, 
.testimonial-carousel .owl-next {
    position: absolute;
    top: calc(50% - 27px);
    height: 70px;
    width: 54px;
    color: #d5dee6;
    font-size: 70px;
    text-align: center;
    line-height: 70px;
    cursor: pointer;
}

.testimonial-carousel .owl-prev{
    left: -60px;
}
.testimonial-carousel .owl-next {
    right: -60px;
}

.testimonial {
    background: #fff;
    max-width: 650px;
    margin: 60px auto 30px;
    box-shadow: 0 2px 30px 0 #e0e5f0;
    padding: 50px 0 0;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
}

.testimonial .img-wrapper {
    width: 120px;
    height: 120px;
    margin: -90px auto 0;
    position: relative;
    z-index: 9999;
    border-radius: 100%;
    -moz-border-radius: 100%;
    -webkit-border-radius: 100%;
    -ms-border-radius: 100%;
    -o-border-radius: 100%;
    overflow: hidden;
    border: 6px solid #fff;
    box-shadow: 0 2px 30px 0 #e0e5f0;
}

.testimonial .img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.testimonial-content .content-block {
    font-size: 16px;
    line-height: 22px;
    margin: 20px 0;
}

.testimonial .content-author {
    color: #555;
    position: relative;
}

.testimonial .content-author:before {
    content: '\f10d';
    font-family: FontAwesome;
    position: absolute;
    font-size: 100px;
    text-align: center;
    color: #edf1f5;
    left: 20px;
    top: -80px;
    line-height: 1;
}

.testimonial .content-author h3 {
    font-size: 18px;
    line-height: 1.4;
    margin: 0;
    letter-spacing: 1px;
}

.testimonial .content-author .author-info {
    color: #1b70a7;
    font-weight: 600;
    font-size: 14px;
}

.testimonial-content {
    padding: 20px 15px 30px;
    text-align: center;
}

.testimonial-action a {
    box-shadow: none;
    font-size: 10px;
    letter-spacing: 2px;
    line-height: 36px;
}

@media (max-width: 991px) {
    .testimonial {
        max-width: 560px;
    }

}

@media (max-width: 767px) {
    .testimonial-carousel {
        padding: 0 20px;
    }
    .testimonial {
        max-width: 100%;
        box-shadow: none;
        background: #f2f4f9;
        margin: 0;
        padding: 20px 0 0;
    }
    .testimonial .img-wrapper {
        margin: 0 auto;
    }
    .testimonial-carousel .owl-prev,
    .testimonial-carousel .owl-next {
        width: 30px;
        height: 30px;
        line-height: 30px;
        font-size: 30px;
        top: calc(50% - 15px);
    }
    
    .testimonial-carousel .owl-prev {
        left: -30px;
    }
    .testimonial-carousel .owl-next {
        right: -30px;
    }
    .testimonial .testi-content {
        text-align: center;
    }
}