
/* style default */

.tf-testimonial-carousel.left .item-testimonial {
    text-align: left;
}

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

.tf-testimonial-carousel.right .item-testimonial {
    text-align: right;
}

.tf-testimonial-carousel.left .group-author,
.tf-testimonial-carousel.left .rating {
    justify-content: left;
}

.tf-testimonial-carousel.center .group-author,
.tf-testimonial-carousel.center .rating {
    justify-content: center;
}

.tf-testimonial-carousel.right .group-author,
.tf-testimonial-carousel.right .rating {
    justify-content: right;
}

.tf-testimonial-carousel.style1 .item-testimonial {
    text-align: center;
}

.tf-testimonial-carousel.style1 .item-testimonial {
    border: 1px solid #ECECEC;
    padding: 24px 24px 21px 24px;
    border-radius: 20px;
    background: #fff;
}

.tf-testimonial-carousel.style1 .thumb {
    margin-bottom: 15px;
}

.tf-testimonial-carousel.style1 .rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    margin-bottom: 23px;
}

.tf-testimonial-carousel.style1 .rating i {
    color: #f2b138;
}

.tf-testimonial-carousel.style1 .description {
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    margin-bottom: 23px;
}

.tf-testimonial-carousel.style1 .group-author {
    text-align: center;
    display: inline-block;
}

.tf-testimonial-carousel.style1 .thumb img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin: 0 auto;
    object-fit: cover;
}

.tf-testimonial-carousel.style1 .group-author h6 {
    font-size: 18px;
    font-weight: 600;
    line-height: 25.2px;
    margin-bottom: 3px;
}

.tf-testimonial-carousel.style1 .group-author p {
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    color: #5C6368;
}

.tf-testimonial-carousel.style1 .group-author .thumb {
    margin-bottom: 22px;
}

.owl-carousel.has-overlay .owl-item.active_overlay {
    opacity: 0.3;
}

.owl-carousel.has-overlay .owl-item {
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

/* style mansory */

.tf-testimonial-carousel.grid .grid-testimonial {
    column-count: 3;
    display: block;
    column-gap: 40px;
}

.tf-testimonial-carousel.grid .grid-testimonial .item {
    break-inside: avoid;
}

.tf-testimonial-carousel.grid .item-testimonial {
    border: 1px solid #ECECEC;
    padding: 22px 24px 24px 24px;
    border-radius: 20px;
    margin-bottom: 40px;
    background: #fff;
}

.tf-testimonial-carousel.grid .item-testimonial .rating {
    display: flex;
    align-items: center;
    gap: 2px;
    color: #FFA800;
    margin-bottom: 15px;
}

.tf-testimonial-carousel.grid .item-testimonial .description {
font-size: 16px;
font-weight: 400;
line-height: 22px;
color: #5C5E61;
margin-bottom: 23px;
}

.tf-testimonial-carousel.grid .item-testimonial .group-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tf-testimonial-carousel.grid .item-testimonial .thumb img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.tf-testimonial-carousel.grid .item-testimonial .thumb {
    flex-shrink: 0;
}

.tf-testimonial-carousel.grid .item-testimonial h6 {
font-size: 18px;
font-weight: 600;
line-height: 25.2px;
margin-bottom: 3px;
}

.tf-testimonial-carousel.grid .item-testimonial .content p {
font-size: 12px;
font-weight: 400;
line-height: 16px;
color: #5C6368;
}

/*carousel optiont*/

.owl-nav .owl-prev.disabled, 
.owl-nav .owl-next.disabled {
    cursor: not-allowed;
}

.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;
    -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-arrow .owl-nav .disabled {
    opacity: .35;
    cursor: auto;
    pointer-events: none;
}

.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 7.5px;
    width: 8px;
    height: 8px;
    line-height: 8px;
    border-radius: 50%;
    position: relative;
    display: inline-block;
    overflow: unset;
    background: #E4E4E4;
    flex-shrink: 0;
}

.tf-testimonial-carousel .owl-carousel .owl-dots .owl-dot::after {
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    content: "";
    width: 14px;
    height: 14px;
    overflow: visible;
    border: 1px solid var(--theme-primary-color);
    opacity: 0;
}

.tf-testimonial-carousel .owl-carousel .owl-dots .owl-dot.active {
    opacity: 1;
    background: var(--theme-primary-color);
}

.tf-testimonial-carousel .owl-carousel .owl-dots .owl-dot.active::after {
    opacity: 1;
}

.tf-testimonial-carousel.style1 .owl-dots {
    bottom: -82px;
}

/* Custom Cursor
-------------------------------------------------------------- */

.tfmouseCursor {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    border-radius: 50%;
    transform: translateZ(0);
    visibility: hidden;
    text-align: center;
  }
  
  .cursor-inner {
    margin-left: -40px;
    margin-top: -40px;
    width: 80px;
    height: 80px;
    color: #fff;
    cursor: grab;
    font-weight: 500;
    background: var(--theme-primary-color);
    box-sizing: border-box;
    z-index: 10000000;
    opacity: 0;
    transition: all 0.1s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    gap: 7px;
  }
  
  .cursor-inner::after {
    content: '\e915';
    font-family: 'proty';
    color: #fff;
  }
  
  .cursor-inner::before {
    content: '\e91d';
    font-family: 'proty';
    color: #fff;
  }

  .tf-testimonial-carousel:hover .cursor-inner {
    opacity: 1;
  }
  
  .tfmouseCursor.cursor-hover {
    opacity: 0 !important;
  }

  .tf-testimonial-carousel.has-custom-cusor .owl-stage-outer {
    cursor: grab;
    -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 button {
    width: 58px;
    height: 58px;
    border: 1px solid #ECECEC !important;
    border-radius: 50%;
    color: #5C5E61 !important;
    display: flex;
    align-items: center;
    justify-content: center;  
    position: absolute;
    bottom: -106px;
    font-size: 25px !important;
  }

  .tf-testimonial-carousel .owl-nav button.owl-next {
    right: 40.5%;
  }

  .tf-testimonial-carousel .owl-nav button.owl-prev {
    left: 40%;
  }

  .tf-testimonial-carousel .owl-nav button:hover {
    background: var(--theme-primary-color) !important;
    border-color: var(--theme-primary-color) !important;
    color: #fff !important;
  }

  .tf-testimonial-carousel .item-testimonial {
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
  }

  .tf-testimonial-carousel .owl-item.center .item-testimonial {
    box-shadow: 0px 15px 30px 0px #00000012;
  }


  @media (max-width: 1200px) {
    .tfmouseCursor {
        display: none;
    }
  }

@media (max-width: 991px) {
    .tf-testimonial-carousel.grid .grid-testimonial {
        column-count: 2;
    }
    .tf-testimonial-carousel .owl-nav button.owl-next {
        right: 34.5%;
    }
    .tf-testimonial-carousel .owl-nav button.owl-prev {
        left: 35%;
    }
}

@media (max-width: 767px) { 
    .tf-testimonial-carousel.grid .grid-testimonial {
        column-count: 1;
    }
    .tf-testimonial-carousel .owl-nav {
        display: none;
    }
}


