.tf-testimonial-carousel .item {
    display: flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    align-items: center;
    position: relative;
}

.tf-testimonial-carousel .item .avatar {
    width: 130px;
    height: auto;
    overflow: hidden;
    border-radius: 50%;
    margin-right: -53px;
    margin-top: -43px;
    z-index: 1;
    flex-shrink: 0;
}

.tf-testimonial-carousel .item .item-testimonial {
    border-radius: 5px;
    position: relative;
    background-color: #fff;
    padding: 51px 40px 50px 92px;
}

.tf-testimonial-carousel .item .item-testimonial .description {
    margin-bottom: 24px;
}

.tf-testimonial-carousel .item .item-testimonial .name {
    margin-bottom: 5px;
    letter-spacing: -1px;
}

.tf-testimonial-carousel .item .item-testimonial .icon-quote {
    position: absolute;
    right: 80px;
    bottom: 53px;
    color: #000;
}

.tf-testimonial-carousel .owl-carousel .owl-dots {
    left: -23%;
    bottom: -3px;
}


.tf-testimonial-carousel.style-1 .owl-carousel .owl-stage-outer {
    padding: 30px;
    margin: -30px;
}
/* style 2 */
.tf-testimonial-carousel.style-2 .item .item-testimonial {
    padding: 35px 28px 40px 40px;
}

.tf-testimonial-carousel.style-2 .item .content-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.tf-testimonial-carousel.style-2 .item .avatar {
    width: 85px;
    height: auto;
    overflow: hidden;
    border-radius: 50%;
    margin-right:0px;
    margin-top: 0;
    z-index: 1;
    flex-shrink: 0;
}

.tf-testimonial-carousel.style-2 .item .item-testimonial .description {
    padding-bottom: 28px;
    margin-bottom: 40px;
    border-bottom: 1px solid #D9D9D9;
}

.tf-testimonial-carousel.style-2 .item .item-testimonial .icon-quote {
    all:unset;
    position: relative;
}

.tf-testimonial-carousel.style-2 .rating .text {
    font-family: 'Roboto Slab';
    font-weight: 500;
    font-size: 20px;
    line-height: 30px;
    color: #000000;
    margin-right: 15px;
}

.tf-testimonial-carousel.style-2 .testimonial-star-rating {
    overflow: hidden;
    position: relative;
    height: 15px;
    line-height: 1;
    font-size: 15px;
    font-family: star;
    letter-spacing: 6px;
}

.tf-testimonial-carousel.style-2 .testimonial-star-rating span {
    overflow: hidden;
    top: 0;
    left: 0;
    position: absolute;
    width: 100%;
}

.tf-testimonial-carousel.style-2 .testimonial-star-rating::before {
    content: "\73\73\73\73\73";
    background-color: transparent;
    background-image: linear-gradient(270deg, #FFAF00 -2.01%, #F57236 100%);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tf-testimonial-carousel.style-2 .testimonial-star-rating span::before {
    content: "\53\53\53\53\53";
    background-color: transparent;
    background-image: linear-gradient(270deg, #FFAF00 -2.01%, #F57236 100%);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/*carousel optiont*/
.tf-testimonial-carousel .owl-nav .owl-prev,
.tf-testimonial-carousel .owl-nav .owl-next {
    padding: 0;
    width: 50px;
    height: 50px;
    display: inline-block;
    position: absolute;
    top: 50%;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    color: #fff;
    text-align: center;
    line-height: 50px;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.tf-testimonial-carousel .owl-nav .owl-prev::after,
.tf-testimonial-carousel .owl-nav .owl-next::after,
.tf-testimonial-carousel .owl-dots .owl-dot::after,
.tf-testimonial-carousel .owl-nav .owl-prev:before,
.tf-testimonial-carousel .owl-nav .owl-next:before,
.tf-testimonial-carousel .owl-dots .owl-dot:before {
    display: none;
}

.tf-testimonial-carousel.no-arrow .owl-nav .owl-prev,
.tf-testimonial-carousel.no-arrow .owl-nav .owl-next {
    display: none;
}

.tf-testimonial-carousel.has-arrow .owl-nav .owl-prev,
.tf-testimonial-carousel.has-arrow .owl-nav .owl-next {
    display: block;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tf-testimonial-carousel .owl-dots {
    display: inline-block;
    position: absolute;
}

.tf-testimonial-carousel.has-carousel.no-bullets .owl-dots,
.tf-testimonial-carousel.no-bullets .owl-dots {
    display: none;
}

.tf-testimonial-carousel.has-carousel.has-bullets .owl-dots {
    display: block;
}

@media only screen and (max-width: 991px) {
    .tf-testimonial-carousel .item .item-testimonial {
        padding: 51px 40px 50px 60px !important;
    }
    .tf-testimonial-carousel .item .item-testimonial .icon-quote {
        right: 20px !important;
    }

    .tf-testimonial-carousel.style-2 .item .item-testimonial {
        padding: 35px 20px 39px 20px  !important;
    }

    .tf-testimonial-carousel.style-2 .item .item-testimonial .content-top {
        flex-wrap: wrap;
    }
}
