
/* style default */

.tf-testimonial-carousel .avatar {
    max-width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
}

.tf-testimonial-carousel .avatar {
    margin-right: 17px;
}

.tf-testimonial-carousel .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tf-testimonial-carousel .description {
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    color: #1C1C1E;
    margin-bottom: 16px;
}

.tf-testimonial-carousel .description h6 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4em;
    text-transform: capitalize;
}

.tf-testimonial-carousel .group-author {
    display: flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    align-items: center;
}

.tf-testimonial-carousel .name {
    font-size: 16px;
    font-weight: 700;
    line-height: 26px;
    text-transform: capitalize;
    color: #1C1C1E;
    margin-bottom: 4px;
}

.tf-testimonial-carousel .position {
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
}

.tf-testimonial-carousel .rating {
    margin-bottom: 12px;
}

/* style 1 */

.tf-testimonial-carousel.style-1 .item-testimonial {
    background: var(--theme-primary-color);
    padding: 80px 30px 30px 30px;
    border-radius: 10px 10px 10px 10px;
    text-align: center;
    margin-top: 50px;
}

.tf-testimonial-carousel .item-testimonial .description,
.tf-testimonial-carousel .item-testimonial .name {
    font-size: 16px;
    font-weight: 500;
    line-height: 150%;
}

.tf-testimonial-carousel.style-1 .item-testimonial .description,
.tf-testimonial-carousel.style-1 .item-testimonial .name,
.tf-testimonial-carousel.style-1 .item-testimonial .position {
    color: #FFF;
}

.tf-testimonial-carousel .item-testimonial .position {
    font-size: 14px;
    font-weight: 400;
    line-height: 150%;
}

.tf-testimonial-carousel.style-1 .item-testimonial .avatar {
    border-radius: 50%;
    border: 6px solid var(--theme-primary-rgba);
    box-shadow: 0px 20px 30px 0px rgba(0, 0, 0, 0.24);
    max-width: 100px;
    height: 100px;
    position: absolute;
    left: 50%;
    top: 1%;
    transform: translateX(-50%);
}

.tf-testimonial-carousel.style-1 .item-testimonial .avatar img {
    height: 100%;
    object-fit: cover;
}

.tf-testimonial-carousel.style-1 .item-testimonial .icon-quote {
    color: #fff;
    font-size: 30px;
}

.tf-testimonial-carousel .item-testimonial .name {
    font-weight: 600;
    margin-bottom: -1px;
}


/* style 2 */

.tf-testimonial-carousel.style-2 .item-testimonial {
    text-align: center;
}

.tf-testimonial-carousel.style-2 .icon-quote {
    color: var(--theme-primary-color);
    font-size: 30px;
}

.tf-testimonial-carousel.style-2 .group-content {
    position: relative;
    border-radius: 10px;
    background: #FFF;
    box-shadow: 0px 4px 26px 0px rgba(66, 71, 76, 0.08);
    padding: 30px;
    text-align: center;
    margin-bottom: 31px;
}

.tf-testimonial-carousel.style-2 .group-content::after {
    content: '';
    width: 30px;
    height: 30px;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    clip-path: polygon(50% 100%, 0 60%, 100% 60%);
}

.tf-testimonial-carousel.style-2 .avatar {
    margin: 0 auto;
    max-width: 65px;
    height: 65px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 14px;
}

.tf-testimonial-carousel.style-2 .description,
.tf-testimonial-carousel.style-3 .description {
    font-family: 'Mulish';
    font-size: 16px;
    font-style: italic;
    font-weight: 500;
    line-height: 150%; 
    margin: 0;
}

/* style 3 */

.tf-testimonial-carousel.style-3 .icon-quote {
    color: var(--theme-primary-rgba);
    font-size: 30px;
}

.tf-testimonial-carousel.style-3 .description::after {
    content: '';
    width: 12px;
    height: 12px;
    background: var(--theme-primary-color);
    position: absolute;
    left: 25px;
    bottom: -12px;
    clip-path: polygon(50% 100%, 0 25%, 100% 25%);
}

.tf-testimonial-carousel.style-3 .description {
    font-size: 20px;
    font-weight: 500;
    padding-bottom: 21px;
    border-bottom: 4px solid var(--theme-primary-color);
    position: relative;
    margin-bottom: 26px;
}

.tf-testimonial-carousel.style-3 .avatar {
    max-width: 65px;
    height: 65px;   
}

.tf-testimonial-carousel.style-1 .owl-nav .owl-prev {
    background: var(--theme-primary-color) !important;
    color: #fff !important;
}

.tf-testimonial-carousel.style-1 .owl-nav .owl-next {
    top: 123% !important;
}

.tf-testimonial-carousel.style-1 .owl-nav .owl-prev {
    right: 0 !important;
    top: 106% !important;
    left: unset !important;
}

/*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;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    justify-content: center;
    align-items: center;
}

.tf-testimonial-carousel .owl-dots {
    display: inline-block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    bottom: -40px;
}

.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;
}

.tf-testimonial-carousel .owl-carousel .owl-dots .owl-dot {
    margin: 0 2.5px;
    width: 50px;
    height: 4px;
    line-height: 4px;
    border-radius: 0;
    position: relative;
    display: inline-block;
    overflow: unset;
    background: var(--theme-primary-color);
    opacity: 0.2;
    flex-shrink: 0;
}

.tf-testimonial-carousel .owl-carousel .owl-dots .owl-dot.active {
    opacity: 1;
}

@media (max-width: 1050px) {
    .style-test4 .tf-testimonial-carousel .owl-nav .owl-prev,
    .style-test4 .tf-testimonial-carousel .owl-nav .owl-next {
        display: none;
    }
}


