@font-face {
    font-family: 'star';
    src: url('../../font/star.eot');
    src: url('../../font/star.eot?#iefix') format('embedded-opentype'),
        url('../../font/star.woff') format('woff'),
        url('../../font/star.ttf') format('truetype'),
        url('../../font/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 .icon-quote {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    position: relative;
    z-index: 1;
}

.tf-testimonial-carousel.style-1 .item .wrap-author,
.tf-testimonial-carousel.style-3 .item .wrap-author {
    display: flex;
    align-items: center;
    width: 100%;
}

.tf-testimonial-carousel.style-1 .wrap-avatar,
.tf-testimonial-carousel.style-3 .wrap-avatar {
    display: flex;
    align-items: center;
}

.tf-testimonial-carousel.style-1 .bottom-testimonial,
.tf-testimonial-carousel.style-3 .bottom-testimonial {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tf-testimonial-carousel.style-1 .item .avatar,
.tf-testimonial-carousel.style-3 .item .avatar {
    border-radius: 50%;
    width: 60px;
    height: 60px;
    object-fit: cover;
    flex-shrink: 0;
    overflow: hidden;
}

.tf-testimonial-carousel.style-1 .item .avatar,
.tf-testimonial-carousel.style-3 .item .avatar {
    margin: 0px 18px 0px 0px;
}

.tf-testimonial-carousel.style-1 .item .name,
.tf-testimonial-carousel.style-3 .item .name {
    margin: 0px 0px 2px 0px;
}

.tf-testimonial-carousel.style-1 .item-testimonial {
    box-shadow: 0px 0px 59px 11px rgb(222 227 237 / 57%);
    padding: 55px 65px 59px 65px;
}

.tf-testimonial-carousel .item .description p {
    margin: 0;
}

/*style 2*/
.tf-testimonial-carousel.style-2 .item .avatar {
    width: 144px;
    height: 144px;
    border-radius: 50%;
    overflow: hidden;
    object-fit: cover;
}

.tf-testimonial-carousel.style-2 {
    text-align: center;
}

.tf-testimonial-carousel.style-2 .wrap-avatar {
    display: inline-block;
    position: relative;
}

.tf-testimonial-carousel.style-2 .icon-quote {    
    position: absolute;
    top: 15px;
    right: -17px;
    border: 3px solid #FD4A36;
}

.tf-testimonial-carousel.style-2 .item-testimonial {
    box-shadow: 0px 7px 12px #77737347;
    overflow: hidden;
    background-color: #fff;
    border-radius: 6px;
}

/* style 3 */
.tf-testimonial-carousel.style-3 .item .icon-quote {
    justify-content: start;
    margin-bottom: 14px;
}

.tf-testimonial-carousel.style-3 .item .avatar {
    margin: 0px 31px 0px 0px;
}

.tf-testimonial-carousel.style-3 .item .icon-quote i {
    font-size: 65px;
    color: var(--theme-secondary-color);
}

.tf-testimonial-carousel.style-3 .owl-dots .owl-dot.active::after {
    display: none;
}

/* style 4 */

.tf-testimonial-carousel.style-4 .item-testimonial {
    position: relative;
}

.tf-testimonial-carousel.style-4 .item-testimonial .wrap-avatar {
    display: flex;
    margin-bottom: 31px;
}

.tf-testimonial-carousel.style-4 .item-testimonial .wrap-avatar .content-avt {
    margin-top: 4px;
    margin-left: 30px;
}

.tf-testimonial-carousel.style-4 .item-testimonial .wrap-avatar .avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 30px;
    flex-shrink: 0;
}

.tf-testimonial-carousel.style-4 .item-testimonial .rating .title-rating {
    font-family: 'Barlow';
font-weight: 700;
font-size: 18px;
line-height: 28px;
color: #020417;
margin-right: 13px;
}

.tf-testimonial-carousel.style-4 .item .icon-quote {
    position: absolute;
    top: 159px;
    right: 60px;
}

.tf-testimonial-carousel.style-4 .item .icon-quote i {
    font-size: 222px;
    color: var(--theme-secondary-color);
    opacity: 0.1;
}

.tf-testimonial-carousel .owl-dots .owl-dot {
    overflow: unset;
}

.tf-testimonial-carousel .owl-dots .owl-dot::before,
.tf-testimonial-carousel .owl-dots .owl-dot::after {
    content: '';
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
    display: inline-flex;
    width: 20px;
    height: 20px;
    align-items: center;
    justify-content: center;
}

.tf-testimonial-carousel.style-4 .owl-dot.active::after {
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    content: "";
    width: 23px;
    height: 23px;
    border: 2px solid var(--theme-secondary-color);
    overflow: visible;
}

.tf-testimonial-carousel.style-4 .owl-dots {
    cursor: default;
}



/*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 .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: #0080f0;
    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: 767px) {
    .tf-testimonial-carousel .item .wrap-author {
        display: block;
    }

    .tf-testimonial-carousel .item .avatar {
        width: 100%;
        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;
    }
}


/* Testimonial Type Group 
=========================================================*/
.tf-testimonial-carousel-type-group {
    position: relative;
}
.tf-testimonial-carousel-type-group .icon-quote {
    position: absolute;
    left: 53px;
    top: 43px;
}
.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;
    width: 100%;
}
.tf-testimonial-carousel-type-group.style-1 .inner-testimonial {
    width: 55%;
    padding: 130px 0px 130px 100px;
    position: relative;
}
.tf-testimonial-carousel-type-group.style-1 .owl-carousel.thumbs {
    width: 45%;
    margin-top: 100px;
}
.tf-testimonial-carousel-type-group.style-1 .bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 970px;
    height: 100%;
}
.tf-testimonial-carousel-type-group.style-1 .item-testimonial {
    max-width: 485px;
}
.tf-testimonial-carousel-type-group.style-1 .wrap-heading {
    margin-bottom: 59px;
}
.tf-testimonial-carousel-type-group.style-1 .wrap-avatar {
    display: flex;
    align-items: center;
    margin-top: 29px;
}
.tf-testimonial-carousel-type-group .avatar img {
    width: unset;
}
.tf-testimonial-carousel-type-group.style-1 .avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-right: 15px;
}
.tf-testimonial-carousel-type-group.style-1 .avatar,
.tf-testimonial-carousel-type-group.style-1 .avatar img {
    border-radius: 50%;
}
.tf-testimonial-carousel-type-group .before-title {
    display: inline-block;
    padding: 9px 15px 8px 15px;
    border-radius: 5px;
}
.tf-testimonial-carousel-type-group .heading {
    margin-top: 30px;
    max-width: 430px;
}
.tf-testimonial-carousel-type-group .heading p {
    margin: 0;
}
.tf-testimonial-carousel-type-group .sub-heading {
    margin-top: 20px;
}
.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;
}
/* Style 2 */
.tf-testimonial-carousel-type-group.style-2 {
    padding-top: 130px;
    padding-bottom: 130px;
}
.tf-testimonial-carousel-type-group.style-2 .wrap-testimonial {
    display: flex;
    position: relative;
}
.tf-testimonial-carousel-type-group.style-2 .wrap-heading {
    width: 34.2%;
    padding: 34px 40px 34px 0px;
}
.tf-testimonial-carousel-type-group.style-2 .owl-carousel {
    width: 65.8%;
    position: static;
}
.tf-testimonial-carousel-type-group.style-2 .owl-nav {
    position: absolute;
    left: 0;
    bottom: 33px;
}
.tf-testimonial-carousel-type-group.style-2 .icon-quote {
    top: -63px;
    left: -86px;
}
.tf-testimonial-carousel-type-group.style-2 .wrap-avatar {
    display: flex;
}
.tf-testimonial-carousel-type-group.style-2 .avatar {
    width: 100px;
    height: 100px;
    display: flex;
}
.tf-testimonial-carousel-type-group.style-2 .wrap-avatar .info {
    padding-left: 25px;
    background: #f8f8f8;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: calc(100% - 100px);
}
.tf-testimonial-carousel-type-group.style-2 .item-testimonial {
    background: #ffffff;
}
.tf-testimonial-carousel-type-group.style-2 .content {
    padding: 34px 30px 33px 45px;
}
.tf-testimonial-carousel-type-group.style-2 .rating {
    margin-top: 13px;
}
.tf-testimonial-carousel-type-group.style-2 .rating .text {
    font-family: "Teko";
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0.7px;
    margin-right: 4px;
}
.tf-testimonial-carousel-type-group.style-2 .testimonial-star-rating,
.tf-testimonial-carousel .item .testimonial-star-rating {
    overflow: hidden;
    position: relative;
    height: 15px;
    line-height: 1;
    font-size: 16px;
    font-family: star;
    margin-bottom: 10px;
    color: #FD4A36;
    letter-spacing: 8.2px;
}
.tf-testimonial-carousel.style-4 .testimonial-star-rating {
    color: var(--theme-secondary-color);
    letter-spacing: 0.2px;
}
.tf-testimonial-carousel-type-group.style-2 .testimonial-star-rating::before,
.tf-testimonial-carousel .item .testimonial-star-rating::before {
    content: "\73\73\73\73\73";
}
.tf-testimonial-carousel-type-group.style-2 .testimonial-star-rating span,
.tf-testimonial-carousel .item .testimonial-star-rating span {
    overflow: hidden;
    top: 0;
    left: 0;
    position: absolute;
    width: 100%;
}
.tf-testimonial-carousel-type-group.style-2 .testimonial-star-rating span::before,
.tf-testimonial-carousel .item .testimonial-star-rating span:before {
    content: "\53\53\53\53\53";
}


@media (max-width: 1025px) {
    .tf-testimonial-carousel-type-group.style-1 .inner-testimonial {
        padding: 130px 0px 130px 50px;
    }
    .tf-testimonial-carousel-type-group.style-1 .bg-overlay {
        width: 100%;
    }
    .tf-services-wrap.style1 .services-post .content {
        padding: 10px;
    }
    .tf-testimonial-carousel .owl-dots {
        display: none;
    }
}

@media (max-width: 767px) {
    /* Style 1 */
    .tf-testimonial-carousel-type-group.style-1 .wrap-testimonial {
        flex-direction: column;
    }
    .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 .inner-testimonial {
        padding: 90px 15px 90px 15px;
    }
    .tf-testimonial-carousel-type-group.style-1 .item-testimonial {
        max-width: 100%;
    }
    .tf-testimonial-carousel-type-group.style-1 .owl-carousel.thumbs {
        margin: 0;
    }
    .tf-testimonial-carousel-type-group .testimonial .owl-nav {
        bottom: -75px;
    }
    .tf-testimonial-carousel-type-group .name {
        white-space: nowrap;
    }
    .tf-testimonial-carousel.style-1 .item .info {
        flex-shrink: 0;
    }
    /* Style 2 */
    .tf-testimonial-carousel-type-group.style-2 .wrap-testimonial {
        flex-direction: column;
    }
    .tf-testimonial-carousel-type-group.style-2 .wrap-heading,
    .tf-testimonial-carousel-type-group.style-2 .owl-carousel {
        width: 100%;
    }
    .tf-testimonial-carousel-type-group.style-2 .owl-carousel {
        position: relative;
    }
    .tf-testimonial-carousel-type-group.style-2 .owl-nav {
        bottom: -75px;
    }
    .tf-testimonial-carousel-type-group.style-2 .wrap-heading {
        padding: 0px 0px 50px 0px;
    }
    .tf-testimonial-carousel-type-group.style-2 {
        padding-top: 90px;
        padding-bottom: 170px;
    }
}