.tm-sc-testimonials .star-rating {
  float: right;
  overflow: hidden;
  position: relative;
  height: 1.1em;
  line-height: 1.2;
  font-size: 0.9em;
  width: 5.6em;
}
.tm-sc-testimonials .star-rating::before {
  content: "\f005\f005\f005\f005\f005";
  color: #d3ced2;
  font-family: "Font Awesome 5 Free";
  font-weight: 500;
  float: left;
  top: 0;
  left: 0;
  position: absolute;
}
.tm-sc-testimonials .star-rating span {
  overflow: hidden;
  float: left;
  top: 0;
  left: 0;
  position: absolute;
  padding-top: 1.5em;
}
.tm-sc-testimonials .star-rating span::before {
  content: "\f005\f005\f005\f005\f005";
  font-family: "Font Awesome 5 Free";
  font-weight: 500;
  color: #f1c40f;
  top: 0;
  position: absolute;
  left: 0;
}
.tm-sc-testimonials .star-rating {
  float: none;
  margin-top: 5px;
  margin-bottom: 20px;
  overflow: visible;
}
.tm-sc-testimonials .star-rating span:before {
  color: var(--theme-color2);
}
.tm-sc-testimonials .author-text,
.tm-sc-testimonials .name,
.tm-sc-testimonials .job-position {
  transition: all 0.3s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
  .tm-sc-testimonials .author-text,
.tm-sc-testimonials .name,
.tm-sc-testimonials .job-position {
    transition: none;
  }
}
.tm-sc-testimonials .star-rating span:before {
  transition: all 0.3s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
  .tm-sc-testimonials .star-rating span:before {
    transition: none;
  }
}

.owl-carousel .type-testimonials {
  box-shadow: none;
}

.testimonial-block {
  position: relative;
  padding-top: 205px;
  margin-bottom: 30px;
}
@media (max-width: 1024px) {
  .testimonial-block {
    text-align: center;
    padding-top: 0;
  }
}
.testimonial-block .icon-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-right: 10px;
}
@media (max-width: 1024px) {
  .testimonial-block .icon-box {
    justify-content: center;
    margin-bottom: 0;
  }
}
.testimonial-block .icon-box .icon-quote {
  width: 64px;
  height: 46px;
  background-image: url(../../../../assets/images/current-theme/quote-icon2.png);
}
@media (max-width: 1024px) {
  .testimonial-block .icon-box .icon-quote {
    display: none;
  }
}
.testimonial-block .icon-box .star-rating {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-size: 14px;
  line-height: 20px;
  color: var(--theme-color1);
}
.testimonial-block .icon-box .star-rating span:before {
  color: var(--theme-color1);
}
.testimonial-block .icon-box .star-rating i {
  margin-left: 2px;
}
.testimonial-block .text {
  position: relative;
  font-size: 20px;
  line-height: 36px;
  color: #808287;
  margin-bottom: 25px;
}
.testimonial-block .name {
  margin-bottom: 2px;
}
.testimonial-block .designation {
  position: relative;
  display: block;
  font-size: 12px;
  line-height: 24px;
  color: #808287;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
@media (max-width: 1024px) {
  .testimonial-block .content-column {
    order: 2;
  }
}
.testimonial-block .image-column {
  position: relative;
  text-align: right;
}
@media (max-width: 1024px) {
  .testimonial-block .image-column {
    text-align: center;
  }
}
.testimonial-block .image-column .image {
  position: relative;
  display: inline-block;
  margin-top: -165px !important;
  height: 450px;
  width: 450px;
  background-color: #ffffff;
  padding: 35px 35px;
  border-radius: 50%;
  box-shadow: 0 10px 60px rgba(0, 0, 0, 0.05);
  transform: translateX(50px);
  opacity: 0;
}
@media (max-width: 1024px) {
  .testimonial-block .image-column .image {
    margin-top: 0 !important;
    max-width: 315px;
    height: auto;
    padding: 20px;
    margin-bottom: 30px !important;
  }
}

.swiper-container.testimonial-thumbs {
  position: absolute;
  right: 300px;
  top: 62px;
}

.testimonial-thumbs {
  height: 400px;
  min-width: 185px;
}
@media (max-width: 1024px) {
  .testimonial-thumbs {
    display: none;
  }
}
.testimonial-thumbs .testimonial-thumb {
  position: relative;
  cursor: pointer;
  z-index: 9;
}
.testimonial-thumbs .testimonial-thumb .image {
  position: relative;
  height: 132px;
  width: 132px;
  transition: all 300ms ease;
  border-radius: 50%;
  overflow: hidden;
  padding: 11px;
  border: 6px solid transparent;
}
.testimonial-thumbs .testimonial-thumb .image img {
  height: 100%;
  width: 100%;
  border-radius: 50%;
}
.testimonial-thumbs .testimonial-thumb.swiper-slide-thumb-active .image {
  background-color: #ffffff;
  padding: 6px;
  border: 6px solid var(--theme-color1);
}
.testimonial-thumbs .testimonial-thumb:nth-child(odd) {
  transform: translateX(50px);
}

.testimonial-content .swiper-slide:not(.swiper-slide-active) {
  opacity: 0 !important;
}

.testimonial-content .testimonial-block.swiper-slide-active .image-column .image {
  transform: translate(0);
  opacity: 1;
  transition: all 1000ms ease;
}

.testimonials .testimonial-pagination {
  position: absolute;
  left: 0;
  bottom: 65px;
  max-width: 560px;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  z-index: 9;
}
@media (max-width: 1024px) {
  .testimonials .testimonial-pagination {
    max-width: 100%;
    justify-content: center;
    bottom: 0;
  }
}

.testimonials .testimonial-pagination .swiper-pagination-bullet {
  position: relative;
  height: 3px;
  width: 36px;
  display: block;
  background: #cacbcf;
  margin-left: 10px;
  opacity: 1;
  display: block;
  -webkit-transition: all 300ms ease;
  transition: all 300ms ease;
}

.testimonials .testimonial-pagination .swiper-pagination-bullet-active {
  background-color: var(--theme-color1);
}

.testimonial-content .swiper-slide:not(.swiper-slide-active) {
  opacity: 0 !important;
}

.testimonial-content .testimonial-block.swiper-slide-active .image-column .image {
  -webkit-transform: translate(0);
  transform: translate(0);
  opacity: 1;
  -webkit-transition: all 1000ms ease;
  transition: all 1000ms ease;
}