@font-face {
    font-family: "star";
    src: url("../../fonts/star.eot");
    src: url("../../fonts/star.eot?#iefix") format("embedded-opentype"),
        url("../../fonts/star.woff") format("woff"),
        url("../../fonts/star.ttf") format("truetype"),
        url("../../fonts/star.svg#star") format("svg");
    font-weight: normal;
    font-style: normal;
}

.tf-testimonial-carousel .item img {
    max-width: 100%;
    width: auto;
}

.tf-testimonial-carousel .item .wrap-author {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.tf-testimonial-carousel .item .avatar img {
    border-radius: 50%;
}

.tf-testimonial-carousel .item .description p {
    margin: 0;
}

.tf-testimonial-carousel .item .icon-quote,
.tf-testimonial-carousel .item .icon-quote-2 {
    position: absolute;
}

.tf-testimonial-carousel .item .description {
    position: relative;
}

.tf-testimonial-carousel .testimonial-star-rating {
    overflow: hidden;
    position: relative;
    line-height: 1;
    font-size: 10px;
    font-family: star;
    margin-right: 8px;
    color: #fcc65d;
    letter-spacing: 4px;
}
.tf-testimonial-carousel .testimonial-star-rating::before {
    content: "\73\73\73\73\73";
}
.tf-testimonial-carousel .testimonial-star-rating span {
    overflow: hidden;
    top: 0;
    left: 0;
    position: absolute;
    width: 100%;
}
.tf-testimonial-carousel .testimonial-star-rating span::before {
    content: "\53\53\53\53\53";
}
/*style 2*/

.tf-testimonial-carousel.style-2 .item .avatar {
    max-width: 55px;
    margin-top: 8px;
    margin-right: 30px;
    border-radius: 50%;
}

.tf-testimonial-carousel.style-2 .item .wrap-author {
    justify-content: left;
}

.tf-testimonial-carousel.tes-2 .item .wrap-author {
    justify-content: unset;
}

.tf-testimonial-carousel.tes-2 .item .icon-quote {
    position: unset;
}

.tf-testimonial-carousel.tes-2  .owl-carousel .owl-dot {
    position: relative;
    overflow: unset;
}

.tf-testimonial-carousel.tes-2  .owl-dots .owl-dot {
    margin: 0 10px;
}

.tf-testimonial-carousel.tes-2  .owl-dots .owl-dot::after {
    content: "";
    width: 22px;
    height: 22px;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
}

.tf-testimonial-carousel.tes-2 .owl-dots .owl-dot.active::after {
    border: 1px solid var(--theme-secondary-color);
}

@keyframes routate {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }

    100% {
        -webkit-transform: rotate( 360deg);
        transform: rotate( 360deg);
    }
}


/*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%;
    left: 0;
    transform: translateY(-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-next {
    left: unset;
    right: 0;
}

.tf-testimonial-carousel-type-group .owl-dots .owl-dot:before,
.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;
    left: 50%;
    transform: translateX(-50%);
}

.tf-testimonial-carousel .owl-dots .owl-dot {
    padding: 0;
    width: 10px;
    height: 10px;
    background: #ff4040;
    display: inline-block;
    margin: 0 5px;
    -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.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 (max-width: 1024px) {
    .tf-testimonial-carousel.style-2 .item .bg-quote,
    .tf-testimonial-carousel.style-2 .item .bg-quote:before {
        display: none;
    }

    .tf-testimonial-carousel.style-2 .item .wrap-content {
        padding: 37px 50px 48px 200px;
    }
}
@media (max-width: 991px) {
    .tf-testimonial-carousel .icon-quote.icon-2 {
        top: 76% !important;
        left: 93% !important;
    }
    .tf-testimonial-carousel .item-testimonial {
        padding: 30px 15px !important;
    }

    .tf-testimonial-carousel.tes-2 .item .description,
    .tf-testimonial-carousel.test-2 .item-testimonial {
        padding: 0 !important;
    }

}
@media (max-width: 767px) {

    .tf-testimonial-carousel .item .avatar {
        max-width: 100%;
        display: inline-block;
    }

    .tf-testimonial-carousel .item .name {
        margin-left: 0px;
    }

    .tf-testimonial-carousel.style-2 .item .wrap-content {
        padding: 60px 30px 60px 30px;
    }

    .tf-testimonial-carousel.style-2 .item .image-quote {
        position: relative;
        top: auto;
        left: auto;
        transform: translateY(0);
        margin-bottom: 20px;
    }

    .owl-carousel .owl-dots {
        width: 100%;
        text-align: center;
    }
    .tf-testimonial-carousel.style-3 .owl-carousel {
        padding: 0 0px;
    }
    .tf-testimonial-carousel.tes-2 .item-testimonial {
        padding: 0 !important;
    }
}

/* Testimonial Type Group 
=========================================================*/
.tf-testimonial-carousel-type-group .description,
.tf-testimonial-carousel-type-group {
    position: relative;
}

.tf-testimonial-carousel-type-group .icon-quote {
    position: absolute;
}
.tf-testimonial-carousel-type-group .wrap-heading {
    position: relative;
}
/* Style 1 */
.tf-testimonial-carousel-type-group.style-1 .wrap-testimonial {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    align-items: center;
}
.tf-testimonial-carousel-type-group.style-1 .inner-testimonial {
    width: 60.8%;
    position: relative;
    z-index: 5;
}

.tf-testimonial-carousel-type-group.style-1 .inner-testimonial::after,
.tf-testimonial-carousel-type-group.style-1 .inner-testimonial::before {
    content: "";
    position: absolute;
    width: 95%;
    height: 73%;
    background: rgba(255, 64, 64, 0.1);
    border-radius: 5px;
    left: 20px;
    bottom: 40px;
    z-index: -1;
}

.tf-testimonial-carousel-type-group.style-1 .inner-testimonial::after {
    bottom: 60px;
    width: calc(95% + 20px);
}

.tf-testimonial-carousel-type-group.style-1 .inner-testimonial .image-thumbs img {
    border-radius: 5px;
}
.tf-testimonial-carousel-type-group .inner-testimonial .owl-item {
    padding: 40px;
}

.tf-testimonial-carousel-type-group .item-testimonial {
    box-shadow: 4px 4px 14px 4px rgba(0, 0, 0, 0.04);
    border-radius: 5px;
    position: relative;
    margin-left: -36px;
}

.tf-testimonial-carousel-type-group .item {
    margin-top: 82px;
}

.tf-testimonial-carousel-type-group .owl-dots {
    left: 0.5%;
    bottom: -6.5%;
    position: absolute;
}

.tf-testimonial-carousel-type-group.style-1 .owl-carousel.thumbs {
    width: 57%;
    margin-left: -208px;
    position: relative;
    z-index: 1;
}

.tf-testimonial-carousel-type-group.style-1 .wrap-heading {
    margin-bottom: 59px;
}

.tf-testimonial-carousel-type-group .avatar img {
    width: unset;
}

.tf-testimonial-carousel-type-group .testimonial .owl-nav {
    display: flex;
    position: absolute;
    bottom: -160px;
    right: 0;
}
.tf-testimonial-carousel-type-group .owl-nav .owl-prev:before,
.tf-testimonial-carousel-type-group .owl-nav .owl-next:before {
    display: none;
}

.tf-testimonial-carousel-type-group.style-1 .testimonial-star-rating {
    overflow: hidden;
    position: relative;
    line-height: 1;
    font-size: 10px;
    font-family: star;
    margin-bottom: 10px;
    color: #fcc65d;
    letter-spacing: 4px;
    margin-right: 8px;
}
.tf-testimonial-carousel-type-group.style-1 .testimonial-star-rating::before {
    content: "\73\73\73\73\73";
}
.tf-testimonial-carousel-type-group.style-1 .testimonial-star-rating span {
    overflow: hidden;
    top: 0;
    left: 0;
    position: absolute;
    width: 100%;
}
.tf-testimonial-carousel-type-group.style-1
    .testimonial-star-rating
    span::before {
    content: "\53\53\53\53\53";
}

.tf-testimonial-carousel-type-group.style-1 .wrap-testimonial {
    overflow: hidden;
}

@media (max-width: 991px) {
    .tf-testimonial-carousel-type-group .item {
        margin-top: 0px !important;
    }
    .tf-testimonial-carousel-type-group .item-testimonial {
        padding: 40px 50px 40px 50px !important;
    }
    .tf-testimonial-carousel-type-group .description {
        padding: 27px 0px 0 40px !important;
    }
    .tf-testimonial-carousel-type-group .icon-quote.icon-2 {
        left: 98% !important;
        top: 80% !important;
    }
    .tf-testimonial-carousel-type-group.style-1 .inner-testimonial::after,
    .tf-testimonial-carousel-type-group.style-1 .inner-testimonial::before {
        display: none;
    }
}
@media (max-width: 767px) {
    .tf-testimonial-carousel-type-group.style-1 .wrap-testimonial {
        flex-direction: column !important;
    }
    .tf-testimonial-carousel-type-group.style-1 .inner-testimonial, .tf-testimonial-carousel-type-group.style-1 .owl-carousel.thumbs {
        width: 100%;
    }
    .tf-testimonial-carousel-type-group.style-1 .owl-carousel.thumbs {
        margin: 0;
    }
    .tf-testimonial-carousel-type-group .inner-testimonial .owl-item {
        padding: 0px;
    }
    .tf-testimonial-carousel-type-group .item-testimonial {
        margin-left: 0px;
    }
    .tf-testimonial-carousel-type-group .item-testimonial {
        padding:  0 0 30px !important;
    }
}
@media (max-width: 600px) {
    .tf-testimonial-carousel-type-group .item-testimonial {
        padding: 0 0 30px !important;
    }

    .tf-testimonial-carousel .item .description {
        padding: 25px 30px 25px 40px !important;
    }
}

@media (max-width: 450px) {
    .tf-testimonial-carousel-type-group .item-testimonial {
        padding:0 0 20px 0px !important;
    }
    .tf-testimonial-carousel-type-group .description {
        padding: 27px 20px 0 40px !important;
    }
    .tf-testimonial-carousel-type-group .icon-quote.icon-2 {
        left: 87% !important;
        top: 80% !important;
    }
}