.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-style2 .inner-box {
  position: relative;
  padding: 0 32px;
  background-color: #faf8f7;
  margin-top: 50px;
}
.tm-sc-testimonials .testimonial-block-style2 .inner-box .bg-pattern-5 {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 370px;
  height: 133px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-image: url(../../../images/current-theme/pattern-5.png);
}
@media (max-width: 1199.98px) {
  .tm-sc-testimonials .testimonial-block-style2 .inner-box {
    padding: 0 20px;
  }
}
@media (max-width: 575.98px) {
  .tm-sc-testimonials .testimonial-block-style2 .inner-box {
    padding: 0 15px;
  }
}
.tm-sc-testimonials .testimonial-block-style2 .inner-box:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  left: 30px;
  width: 100px;
  height: 143px;
  opacity: 0;
  border-radius: 100px;
  background-color: var(--theme-color1);
  transition: all 300ms ease;
}
.tm-sc-testimonials .testimonial-block-style2 .inner-box:hover:before {
  width: 100%;
  height: 100%;
  opacity: 1;
  left: 0;
  border-radius: 0;
  transition-delay: 100ms;
}
.tm-sc-testimonials .testimonial-block-style2 .inner-box:hover .author-box .image-box:before {
  height: 100%;
}
.tm-sc-testimonials .testimonial-block-style2 .inner-box:hover .author-box .author-info .testimonial-name,
.tm-sc-testimonials .testimonial-block-style2 .inner-box:hover .author-box .author-info .testimonial-position {
  color: #fff;
}
.tm-sc-testimonials .testimonial-block-style2 .inner-box:hover .author-box .author-info .rating .star-rating span:before {
  color: #fff;
}
.tm-sc-testimonials .testimonial-block-style2 .inner-box:hover .content .author-text {
  color: #fff;
}
.tm-sc-testimonials .testimonial-block-style2 .inner-box:hover .content .author-text:before, .tm-sc-testimonials .testimonial-block-style2 .inner-box:hover .content .author-text:after {
  background-image: url(../../../images/current-theme/icon-quote-3.png);
}
.tm-sc-testimonials .testimonial-block-style2 .inner-box .icon-quote {
  position: relative;
  margin-bottom: 35px;
}
.tm-sc-testimonials .testimonial-block-style2 .inner-box .author-box {
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 30px;
  padding-left: 127px;
}
@media (max-width: 575.98px) {
  .tm-sc-testimonials .testimonial-block-style2 .inner-box .author-box {
    padding-left: 108px;
  }
}
.tm-sc-testimonials .testimonial-block-style2 .inner-box .author-box .image-box {
  position: absolute;
  top: -50px;
  left: 0;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 10px 10px 38px;
  overflow: hidden;
  border-radius: 100px;
  background-color: var(--theme-color1);
}
.tm-sc-testimonials .testimonial-block-style2 .inner-box .author-box .image-box:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  height: 0;
  border-radius: 100px;
  background-color: var(--theme-color1-darker);
  transition: all 300ms ease;
}
.tm-sc-testimonials .testimonial-block-style2 .inner-box .author-box .image-box .author-image {
  position: relative;
  display: block;
  margin-bottom: 20px;
}
.tm-sc-testimonials .testimonial-block-style2 .inner-box .author-box .image-box .author-image img {
  max-width: 80px;
  border-radius: 50%;
}
.tm-sc-testimonials .testimonial-block-style2 .inner-box .author-box .image-box .icon-quote-2 {
  position: relative;
  z-index: 3;
  width: 53px;
  height: 41px;
  background-image: url(../../../images/current-theme/icon-quote-2.png);
}
.tm-sc-testimonials .testimonial-block-style2 .inner-box .author-box .author-info .testimonial-name {
  position: relative;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.36px;
  margin-top: 0;
  margin-bottom: 0;
  transition: all 300ms ease;
}
.tm-sc-testimonials .testimonial-block-style2 .inner-box .author-box .author-info .testimonial-position {
  position: relative;
  margin-bottom: 0;
  transition: all 300ms ease;
}
.tm-sc-testimonials .testimonial-block-style2 .inner-box .author-box .author-info .rating {
  position: relative;
  display: flex;
  align-items: center;
  transition: all 300ms ease;
}
.tm-sc-testimonials .testimonial-block-style2 .inner-box .author-box .author-info .rating .star-rating span:before {
  color: var(--theme-color1);
  font-weight: 600;
}
.tm-sc-testimonials .testimonial-block-style2 .inner-box .author-box .author-info .rating li {
  position: relative;
  font-size: 14px;
  margin-right: 10px;
  color: var(--theme-color1);
  transition: all 300ms ease;
}
.tm-sc-testimonials .testimonial-block-style2 .inner-box .content {
  position: relative;
  padding: 60px 0 40px 10px;
}
@media (max-width: 1199.98px) {
  .tm-sc-testimonials .testimonial-block-style2 .inner-box .content {
    padding-top: 30px;
  }
}
.tm-sc-testimonials .testimonial-block-style2 .inner-box .author-text {
  position: relative;
  display: inline-block;
  font-size: 20px;
  line-height: 35px;
  transition: all 300ms ease;
}
.tm-sc-testimonials .testimonial-block-style2 .inner-box .author-text::first-letter {
  margin-left: 20px;
}
@media (max-width: 1199.98px) {
  .tm-sc-testimonials .testimonial-block-style2 .inner-box .author-text {
    font-size: 18px;
    line-height: 32px;
  }
}
@media (max-width: 575.98px) {
  .tm-sc-testimonials .testimonial-block-style2 .inner-box .author-text {
    font-size: 16px;
    line-height: 30px;
  }
}
.tm-sc-testimonials .testimonial-block-style2 .inner-box .author-text:before {
  content: "";
  position: absolute;
  top: 5px;
  left: -8px;
  width: 16px;
  height: 12px;
  background-image: url(../../../images/current-theme/icon-quote-4.png);
  transition: all 300ms ease;
}
.tm-sc-testimonials .testimonial-block-style2 .inner-box .author-text:after {
  content: "";
  position: absolute;
  bottom: 0px;
  right: -8px;
  width: 16px;
  height: 12px;
  background-image: url(../../../images/current-theme/icon-quote-4.png);
  transition: all 300ms ease;
}