.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;
}
.tm-sc-testimonials .star-rating span:before {
  transition: all 0.3s ease-in-out;
}

.tm-sc-testimonials .testimonial-block-style1 {
  position: relative;
  margin-bottom: 40px;
}
.tm-sc-testimonials .testimonial-block-style1 .inner-box {
  position: relative;
  margin-top: 15px;
  padding: 0 45px 40px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.06);
  background-color: #fff;
  transition: all 300ms ease;
  border-top: 3px solid var(--theme-color1);
  text-align: center;
}
@media (max-width: 575.98px) {
  .tm-sc-testimonials .testimonial-block-style1 .inner-box {
    padding: 0 20px 40px;
  }
}
.tm-sc-testimonials .testimonial-block-style1 .inner-box:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  height: 0;
  pointer-events: none;
  background-color: var(--theme-color1);
  transition: all 300ms ease;
}
.tm-sc-testimonials .testimonial-block-style1 .inner-box:hover {
  border-top: 3px solid var(--theme-color2);
}
.tm-sc-testimonials .testimonial-block-style1 .inner-box:hover:before {
  height: 100%;
}
.tm-sc-testimonials .testimonial-block-style1 .inner-box:hover .icon-box:before, .tm-sc-testimonials .testimonial-block-style1 .inner-box:hover .icon-box:after {
  background-color: var(--theme-color2);
}
.tm-sc-testimonials .testimonial-block-style1 .inner-box:hover .thumb img {
  transform: scale(1.1);
}
.tm-sc-testimonials .testimonial-block-style1 .inner-box:hover .author-text,
.tm-sc-testimonials .testimonial-block-style1 .inner-box:hover .testimonial-position,
.tm-sc-testimonials .testimonial-block-style1 .inner-box:hover .testimonial-name {
  color: #fff;
}
.tm-sc-testimonials .testimonial-block-style1 .icon-bulb {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 180px;
  height: 175px;
  background-image: url(../../../images/current-theme/icon-bulb.png);
}
.tm-sc-testimonials .testimonial-block-style1 .icon-box {
  position: relative;
  bottom: 15px;
  width: 121px;
  height: 83px;
  margin: 0 auto 5px;
  transition: all 300ms ease;
}
.tm-sc-testimonials .testimonial-block-style1 .icon-box:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: var(--theme-color1);
  transition: all 300ms ease;
  clip-path: polygon(0 0%, 100% 0, 90% 100%, 10% 100%);
}
.tm-sc-testimonials .testimonial-block-style1 .icon-box:before {
  position: absolute;
  left: -7px;
  right: -7px;
  top: 0;
  height: 14px;
  content: "";
  clip-path: polygon(5% 0, 95% 0, 100% 100%, 0 100%);
  background-color: var(--theme-color1);
  transition: all 300ms ease;
}
.tm-sc-testimonials .testimonial-block-style1 .icon-box .icon {
  position: relative;
  display: inline-block;
  z-index: 2;
  font-size: 30px;
  color: #fff;
  line-height: 2.7;
}
.tm-sc-testimonials .testimonial-block-style1 .thumb {
  position: relative;
  overflow: hidden;
  display: inline-block;
  border-radius: 50%;
  margin-bottom: 0px;
  text-align: center;
}
.tm-sc-testimonials .testimonial-block-style1 .thumb img {
  height: 100%;
  object-fit: cover;
  transition: all 300ms ease;
}
.tm-sc-testimonials .testimonial-block-style1 .author-text {
  position: relative;
  font-size: 18px;
  margin-top: 10px;
  margin-bottom: 20px;
  color: #393939;
  transition: all 300ms ease;
}
.tm-sc-testimonials .testimonial-block-style1 .testimonial-name {
  position: relative;
  color: #333;
  margin-bottom: 3px;
  letter-spacing: -0.01em;
  transition: all 300ms ease;
}
.tm-sc-testimonials .testimonial-block-style1 .testimonial-position {
  position: relative;
  display: block;
  font-size: 14px;
  line-height: 1em;
  margin-bottom: 0;
  color: var(--theme-color1);
  transition: all 300ms ease;
}

.tm-testimonial-carousel .testimonial-block-style1 .inner-box {
  box-shadow: none;
  border: 1px solid rgba(235, 235, 235, 0.88);
  border-top: 3px solid var(--theme-color1);
}
.tm-testimonial-carousel .testimonial-block-style1 .inner-box:hover {
  border-top: 3px solid var(--theme-color2);
}