.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
  min-height: 210px;
}
.slideshow-container .mySlides {
  display: none;
}
.slideshow-container .mySlides .text {
  color: #000;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  left: 0;
  right: 0;
  text-align: center;
}
.slideshow-container img {
  vertical-align: middle;
}

.testimonials .hearticon {
  margin-bottom: 1rem;
}

.test-img {
  width: 3rem;
  border-radius: 4rem;
}

.credit {
  width: 60%;
  margin: 2rem auto 0 auto;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-align-content: center;
  -ms-flex-line-pack: center;
  align-content: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}
.credit p {
  text-align: left;
  opacity: 1;
}
.credit .credittext {
  -webkit-flex: 0 1 50%;
  -ms-flex: 0 1 50%;
  flex: 0 1 50%;
  -webkit-align-self: auto;
  -ms-flex-item-align: auto;
  align-self: auto;
}
.credit .creditimg {
  margin-right: 1.5rem;
  margin-left: 5rem;
  text-align: right;
  -webkit-flex: 0 1 20%;
  -ms-flex: 0 1 20%;
  flex: 0 1 20%;
  -webkit-align-self: auto;
  -ms-flex-item-align: auto;
  align-self: auto;
}

p.quote {
  margin: 1rem auto 1rem;
  width: auto;
  font-size: 22px;
  line-height: 1.3;
  max-width: 750px;
}
p.quote::before {
  content: " ";
  display: block;
  position: absolute;
  left: 8%;
  top: -5%;
  width: 1.5rem;
  height: 1.5rem;
  background-image: url("/img/new-homepage/qt-ic.png");
  background-size: contain;
  background-repeat: no-repeat;
}
p .creditname {
  font-weight: 700;
}

.dot {
  display: none;
}

.active {
  background-color: transparent;
}

.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}
@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}
@media only screen and (max-width: 300px) {
  .mySlides.text {
    font-size: 11px;
  }
}
@media screen and (max-width: 768px) {
  p.quote {
    text-align: center;
    width: 100%;
    margin: 0 auto;
    font-size: 1.2rem;
  }
  p.quote::before {
    left: 1%;
  }

  .credit {
    width: 100%;
    text-align: center;
  }
  .credit .credittext {
    -webkit-flex: 0 1 100%;
    -ms-flex: 0 1 100%;
    flex: 0 1 100%;
    -webkit-align-self: auto;
    -ms-flex-item-align: auto;
    align-self: auto;
  }
  .credit .credittext p {
    text-align: center;
  }
  .credit .creditimg {
    margin-right: 0;
    margin-left: 0;
    text-align: center;
    -webkit-flex: 0 1 100%;
    -ms-flex: 0 1 100%;
    flex: 0 1 100%;
    -webkit-align-self: auto;
    -ms-flex-item-align: auto;
    align-self: auto;
  }

  .slideshow-container .mySlides .text {
    color: #000;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    width: auto;
    text-align: center;
  }
}