.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: 25px;
}
.tm-sc-testimonials .testimonial-block-style1 .inner-box {
  position: relative;
  margin-top: 21px;
  padding: 67px 50px 39px 47px;
}
.tm-sc-testimonials .testimonial-block-style1 .inner-box:before {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: calc(100% - 17px);
  border: 1px solid var(--theme-color1);
  content: "";
  z-index: -1;
}
body.tm-dark-layout .tm-sc-testimonials .testimonial-block-style1 .inner-box:before {
  border-color: #333;
}
.tm-sc-testimonials .testimonial-block-style1 .inner-box:after {
  border: 1px solid var(--theme-color1);
  content: "";
  height: 100%;
  left: 15px;
  position: absolute;
  top: 13px;
  width: calc(100% - 15px);
  z-index: -1;
}
body.tm-dark-layout .tm-sc-testimonials .testimonial-block-style1 .inner-box:after {
  border-color: #333;
}
.tm-sc-testimonials .testimonial-block-style1 .inner-box:hover .thumb img {
  transform: scale(1.1);
}
.tm-sc-testimonials .testimonial-block-style1 .inner-box:hover .info-box .testimonial-name {
  color: var(--theme-color1);
}
.tm-sc-testimonials .testimonial-block-style1 .inner-box .author-text {
  position: relative;
  margin-bottom: 20px;
}
.tm-sc-testimonials .testimonial-block-style1 .inner-box .info-box {
  align-items: center;
  display: flex;
}
.tm-sc-testimonials .testimonial-block-style1 .inner-box .info-box .thumb {
  position: relative;
  overflow: hidden;
  display: inline-block;
  border-radius: 50%;
  margin-bottom: 0;
  text-align: center;
}
.tm-sc-testimonials .testimonial-block-style1 .inner-box .info-box .thumb img {
  object-fit: cover;
  transition: all 300ms ease;
}
.tm-sc-testimonials .testimonial-block-style1 .inner-box .info-box .info-box-content {
  margin-left: 14px;
}
.tm-sc-testimonials .testimonial-block-style1 .inner-box .info-box .testimonial-name {
  font-family: var(--body-font-family);
  margin-top: 0;
  margin-bottom: 8px;
  transition: all 300ms ease;
}
.tm-sc-testimonials .testimonial-block-style1 .inner-box .info-box .testimonial-position {
  display: block;
  font-size: 12px;
  line-height: 1em;
  color: #7a7a7a;
  margin-bottom: 0;
  transition: all 300ms ease;
}
.tm-sc-testimonials .testimonial-block-style1 .inner-box .icon-quote {
  position: absolute;
  top: -18px;
  left: 45px;
  width: 92px;
  height: 66px;
  background-image: url(../../../../assets/images/current-theme/icon-quote.png);
}
body.tm-dark-layout .tm-sc-testimonials .testimonial-block-style1 .inner-box .icon-quote {
  filter: brightness(0.3);
}
.tm-sc-testimonials .testimonial-block-style1 .inner-box .icon-quote i {
  font-size: 64px;
  color: #dbdbdb;
}