/* Testimonial section */

.testimonials {
  margin: 20px 0;
}

@media screen and (max-width: 767px) {
  .testimonials {
    padding: 0;
  }
}

.testimonial__module {
  background-color: #fff;
  border-top: 3px solid #ff5e14;
  box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  padding: 0 20px 20px;
  position: relative;
}

.testimonial__module__text {
  border-bottom: 2px solid #d3d3d3;
  font-weight: 300;
  margin-bottom: 35px;
  padding: 0 35px;
  padding-bottom: 10px;
}

.testimonial__module__text blockquote {
  font-weight: 400;
}

.testimonial__module__text:before {
  background-color: #ff5e14;
  color: #fff;
  content: '"';
  display: block;
  font-family: cursive;
  font-size: 60px;
  height: 40px;
  left: 0;
  padding-left: 5px;
  position: absolute;
  top: 0;
  width: 40px;
}

.testimonial__module__author {
  align-items: center;
  display: flex;
}

.testimonial__module__author__text {
  margin-left: 15px;
}

@media screen and (max-width: 767px) {
  .testimonial__module {
    padding: 20px;
    width: auto;
  }
}

.testimonial__module__author__image {
  height: 90px;
  overflow: hidden;
  width: 90px;
}

.testimonial__module__author__image img {
  height: 120%;
  width: auto;
}

@media screen and (max-width: 767px) {
  .testimonial__module__image {
    margin: 0 auto;
    padding: 0;
  }
}

/* Carousel (tiny slider) */

.tns-outer .testimonials {
  padding: 0 !important;
}

.tns-outer .testimonials [hidden] {
  display: none !important;
}

.tns-outer .testimonials [aria-controls],
.tns-outer .testimonials [data-action] {
  cursor: pointer;
}

.testimonials.tns-slider {
  transition: all 0s;
}

.testimonials.tns-slider > .tns-item {
  box-sizing: border-box;
}

.testimonials .tns-horizontal.tns-subpixel {
  white-space: nowrap;
}

.testimonials.tns-gallery > .tns-item {
  left: -100%;
  position: absolute;
  transition: transform 0s, opacity 0s;
}

.testimonials.tns-horizontal.tns-subpixel > .tns-item {
  display: inline-block;
  vertical-align: top;
  white-space: normal;
}

.testimonials.tns-horizontal.tns-no-subpixel:after {
  clear: both;
  content: '';
  display: table;
}

.testimonials.tns-horizontal.tns-no-subpixel > .tns-item {
  float: left;
  margin-right: -100%;
}

.testimonials.tns-no-calc {
  left: 0;
  position: relative;
}

.testimonials.tns-gallery {
  left: 0;
  position: relative;
}

.tns-lazy-img {
  opacity: 0.6;
  transition: opacity 0.6s;
}

.tns-lazy-img.loaded {
  opacity: 1;
}

.tns-ah {
  transition: height 0s;
}

.tns-ovh {
  overflow: hidden;
}

.tns-hdx {
  overflow-x: hidden;
}

.tns-hdy {
  overflow-y: hidden;
}

.tns-visually-hidden {
  left: -10000em;
  position: absolute;
}

.tns-transparent {
  opacity: 0;
  visibility: hidden;
}

.tns-fadeIn {
  filter: alpha(opacity=100);
  opacity: 1;
  z-index: 0;
}

.tns-normal,
.tns-fadeOut {
  filter: alpha(opacity=0);
  opacity: 0;
  z-index: -1;
}

.tns-nav {
  margin: 20px 0;
  text-align: center;
}

.tns-nav > [aria-controls] {
  background-color: #ddd;
  border: 0;
  border-radius: 50%;
  height: 12px;
  margin: 0 5px;
  padding: 0;
  width: 12px;
}

.tns-nav .tns-nav-active {
  background-color: #ff5e14;
}
