/* ===== Testimonials ===== */

.testi-item {
    padding: 50px 30px;
}

.testi-item .inner {
    background-color: #fff;
    position: relative;
    padding: 30px;
    box-shadow: 0px 14px 20px -10px rgba(0, 0, 0, .1);
    z-index: 1;
    padding-left: 160px;
}

.testi-item .testi-thumb {
    width: 100px!important;
    height: 100px;
    border-radius: 50%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    position: absolute;
    left: 30px;
    top: 30px;
}

.testi-item.style-2 .inner {
    padding: 30px;
}

.testi-item.style-2 .inner .testi-thumb {
    position: inherit;
    left: inherit;
    top: inherit;
    margin-bottom: 20px;
}

.testi-item .testi-content h3 {
    display: block;
    font-size: 17px;
    line-height: 1.4;
    color: #333;
    letter-spacing: -0.04em;
}

.testi-item .testi-content h3 span {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
}

.testi-item .quote-icon {
    position: absolute;
    right: 30px;
    bottom: 25px;
    font-size: 50px;
    color: #2158eb;
    opacity: 0.5;
    z-index: -1;
}

/* Style 3 */

.testi-item-3 {}

.testi-item-3 .testi-content {
    background-color: #fff;
    text-align: center;
    position: relative;
    padding: 30px;
    margin: 20px 20px 0;
    border-radius: 5px;
    -webkit-box-shadow: 0 3px 15px 2px rgba(0, 0, 0, .06);
    box-shadow: 0 3px 15px 2px rgba(0, 0, 0, .06);
}

.testi-item-3 .testi-thumb img {
    width: 50px!important;
    height: 50px;
    border-radius: 50%;
    margin: 0 auto;
    margin-bottom: 10px;
}

.testi-thumb {
    text-align: center;
    margin-top: -25px;
    position: relative;
    z-index: 1;
}

.testi-item-4 .testi-thumb h3, .testi-item-3 .testi-thumb h3 {
    font-size: 18px;
    display: inline-block;
    font-weight: 600;
    margin: 0;
    margin-bottom: -5px;
}

.testi-item-4 .testi-thumb li span, .testi-item-3 .testi-thumb span {
    display: block;
    font-size: 12px;
    font-family: "Work Sans", sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: -0.5px;
}

/* Style 4 */

.testi-item-4 {
    padding: 50px 30px;
}

.testi-item-4 .inner {
    -webkit-box-shadow: 0 3px 15px 2px rgba(0, 0, 0, .06);
    box-shadow: 0 3px 15px 2px rgba(0, 0, 0, .06);
    background-color: #fff;
    padding: 50px 40px;
    border-radius: 5px;
}

.testi-item-4 i {
    font-size: 40px;
    margin-bottom: 20px;
}

.testi-item-4 .testi-thumb {
    text-align: left;
    margin: auto;
    display: inline-block;
    display: flex;
    align-items: center;
    motion: 0;
    padding: 0;
    margin-top: 30px;
}

.testi-item-4 .testi-thumb img {
    width: 50px!important;
    height: 50px!important;
    border-radius: 50%;
    margin: 0;
    margin-right: 20px;
}

.testi-item-4 .testi-thumb li {
    display: inline-block;
}

/* RTL Style */

.owl-rtl .testi-item .testi-content {
    text-align: right;
    direction: rtl;
}

.owl-rtl .testi-item .testi-thumb {
    left: auto;
    right: 30px;
}

.owl-rtl .testi-item .quote-icon {
    right: auto;
    left: 30px;
}

.owl-rtl .testi-item.style-2 .inner .testi-thumb {
    right: inherit;
    left: inherit;
}

.owl-rtl .testi-item-4 .testi-thumb li img {
    margin-right: 0;
    margin-left: 20px;
}

.owl-rtl .testi-item-4 .inner, .owl-rtl .testi-item-4 .testi-thumb li {
    text-align: right;
}

/* Ratings */

.ratings {
    display: block;
    margin: -5px 3px 0!important;
    padding: 0;
}

.ratings li {
    display: inline-block;
    color: #999;
    font-size: 12px;
}

.ratings.star-5 li {
    color: #FED701;
}

.ratings.star-4 li:nth-child(-n+4) {
    color: #FED701;
}

.ratings.star-3 li:nth-child(-n+3) {
    color: #FED701;
}

.ratings.star-2 li:nth-child(-n+2) {
    color: #FED701;
}

.ratings.star-1 li:nth-child(-n+1) {
    color: #FED701;
}

@media (max-width: 992px) {
    .testimonial-carousel .testimonial-item p br {
        display: none;
    }
}

@media (max-width: 767px) {
    .testi-item.style-1 .inner {
        padding: 30px!important;
    }
    .testi-item.style-1 .inner .testi-thumb {
        position: inherit;
        left: inherit;
        top: inherit;
        margin-bottom: 20px;
    }
    .testi-item .testi-content p br {
        display: none;
    }
}