/* Testimonial Section */

.testimonials {
  justify-content: center;
  position: relative;
}

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

@media screen and (max-width: 1200px) {
  .testimonials {
    
    background-size: 50%;
  }
}

.testimonial-module {
  background-color: #fff;
  border: 1px solid #cbe8f8;
  border-radius: 15px;
  box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.12);
  display: flex;
  padding: 50px 100px;
}

.testimonial-module:nth-child(n + 2) {
  display: none;
}

.testimonial-module__text {
  max-width: 700px;
}

.testimonial-module__text--author {
  font-weight: 300;
  text-transform: uppercase;
}

.testimonial-module__text--subtitle {
  font-weight: 300;
  padding-top: 10px;
}

@media screen and (max-width: 980px) {
  .testimonial-module {
    flex-direction: column;
    padding: 20px;
    width: auto;
  }
}

.testimonial-module__image-wrapper {
  flex-shrink: 0;
  height: 300px;
  margin-left: -150px;
  margin-right: 50px;
  max-width: 100%;
  padding-top: -20px;
  width: 300px;
  z-index: 2;
}

.testimonial-module__image {
  border-radius: 15px;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  .testimonial-module__image-wrapper,
  .testimonial-module__image {
    display: block;
    height: auto;
  }
}

@media screen and (max-width: 980px) {
  .testimonial-module__image-wrapper {
    margin: 0 auto 1.5rem;
    max-width: 100%;
    padding: 0;
    width: 500px;
  }
}

.blockquote-icon {
  fill: #263C7A;
}

/* Carousel (Tiny Slider) */

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

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

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

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

.tns-item {
  padding: 35px 75px;
}

@media screen and (max-width: 980px) {
  .tns-item {
    padding: 35px 0;
  }
}

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

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

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

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

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

.tns-horizontal.tns-no-subpixel > .tns-item {
  float: left;
}

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

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

.tns-gallery {
  left: 0;
  min-height: 1px;
  position: relative;
}

.tns-gallery > .tns-slide-active {
  left: auto !important;
  position: relative;
}

.tns-gallery > .tns-moving {
  transition: all 0.25s;
}

.tns-autowidth {
  display: inline-block;
}

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

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

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

.tns-ovh {
  overflow: 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-vpfix {
  white-space: nowrap;
}

.tns-vpfix > div,
.tns-vpfix > li {
  display: inline-block;
}

.tns-t-subp2 {
  height: 10px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  width: 310px;
}

.tns-t-ct {
  position: absolute;
  right: 0;
  width: 2333.3333333%;
  width: calc(100% * 70 / 3);
}

.tns-t-ct:after {
  clear: both;
  content: '';
  display: table;
}

.tns-t-ct > div {
  float: left;
  height: 10px;
  width: 1.4285714%;
  width: calc(100% / 70);
}

.tns-controls {
  display: block;
  height: 65px;
  position: absolute;
  top: 50%;
  width: 100%;
}

.tns-controls button {
  background-color: #fff;
  border-color: transparent;
  border-radius: 100%;
  color: black;
  cursor: pointer;
  display: block;
  line-height: 1;
  opacity: 1;
  padding: 15px 15px 15px 20px;
  position: absolute;
  text-transform: uppercase;
  transform: translateY(-50%);
  z-index: 2;
}

.tns-controls button:focus {
  outline: none;
}

.tns-controls button:before {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3e%3cpath fill='%23eb4e54' d='M34.52 239.03L228.87 44.69c9.37-9.37 24.57-9.37 33.94 0l22.67 22.67c9.36 9.36 9.37 24.52.04 33.9L131.49 256l154.02 154.75c9.34 9.38 9.32 24.54-.04 33.9l-22.67 22.67c-9.37 9.37-24.57 9.37-33.94 0L34.52 272.97c-9.37-9.37-9.37-24.57 0-33.94z'/%3e%3c/svg%3e");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 18px 24px;
  content: '';
  display: block;
  height: 1.5rem;
  position: relative;
  width: 1.15rem;
}

.tns-controls button:first-of-type {
  left: 0;
  padding: 15px 20px 15px 15px;
}

.tns-controls button:last-of-type {
  right: 0;
}

.tns-controls button:last-of-type:before {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3e%3cpath fill='%23eb4e54' d='M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z'/%3e%3c/svg%3e");
}

.tns-nav {
  bottom: 50%;
  position: absolute;
  right: 75px;
  text-align: center;
  transform: rotate(90deg);
  z-index: 5;
}

@media screen and (max-width: 980px) {
  .tns-nav {
    margin-top: 1rem;
    position: static;
    transform: rotate(0);
  }
}

.tns-nav button {
  background-color: #999999;
  border: 2px solid transparent;
  border-radius: 50%;
  cursor: pointer;
  height: 12px;
  line-height: 0;
  margin: 0 0.25em;
  padding: 0;
  transition: all 300ms ease-in-out;
  width: 12px;
}

.tns-nav button.tns-nav-active {
  background-color: #263C7A;
}

.tns-nav button:hover,
.tns-nav button:focus {
  border: 2px solid transparent;
}
