.testimonials {
  padding: 64px 0;
  overflow: hidden;
}

.testimonials--beige {
  background-color: #fffaf0;
}

.testimonials--blue {
  background-color: #27add9;
}

.testimonials--blue .testimonials__text, .testimonials--blue .testimonials__info {
  color: #fff;
}

.testimonials--blue .carousel__button svg > path {
  stroke: #fff;
}

.testimonials--blue .carousel__bullets input:before {
  background-color: #88e1f5 !important;
}

.testimonials--blue .carousel__bullets input:checked:before {
  background-color: #fff !important;
}

.testimonials--blue .btn {
  background-color: #13335f !important;
}

.testimonials--dark-blue {
  background-color: #13335f;
}

.testimonials--dark-blue h2 {
  color: #fff !important;
}

.testimonials--dark-blue .testimonials__text, .testimonials--dark-blue .testimonials__info {
  color: #fff;
}

.testimonials--dark-blue .carousel__button svg > path {
  stroke: #fff;
}

.testimonials--dark-blue .carousel__bullets input:before {
  background-color: #061c39 !important;
}

.testimonials--dark-blue .carousel__bullets input:checked:before {
  background-color: #88e1f5 !important;
}

.testimonials h2 {
  text-align: center;
  font-size: 24px;
}

.testimonials .btn {
  padding: 15px 20px;
}

.testimonials__photo {
  text-align: center;
  width: 176px;
  height: 176px;
  -webkit-box-flex: 0;
      -ms-flex: none;
          flex: none;
  background-color: #888;
  margin: auto;
  margin-bottom: 16px;
}

.testimonials__photo > img {
  width: 176px;
  height: 176px;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}

.testimonials__text {
  font-family: "GoodSans";
  font-size: 18px;
  margin-bottom: 16px;
  color: #13335f;
}

.testimonials__info {
  font-size: 14px;
  color: #888;
  margin-bottom: 16px;
}

.testimonials__logo {
  width: 130px;
}

.testimonials__content {
  padding: 0 16px;
}

.testimonials .carousel {
  margin: 64px 0 0 0;
  position: relative;
}

.testimonials .carousel__controls {
  position: absolute;
  width: 100%;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  left: 0;
  padding: 0 16px;
  top: 80px;!important;
  /*margin-top: 80px;*/
}

.testimonials .carousel__button {
  background: none;
  border: none;
  cursor: pointer;
  -webkit-transform: scale(1);
          transform: scale(1);
  -webkit-transition: 0.3s ease;
  transition: 0.3s ease;
}

.testimonials .carousel__button:hover {
  -webkit-transform: scale(1.2);
          transform: scale(1.2);
}

.testimonials .carousel__bullets {
  width: 100%;
  text-align: center;
  padding: 40px 0 0 0;
}

.testimonials .carousel__bullets input {
  margin: 6px;
  position: relative;
  width: 12px;
  height: 12px;
}

.testimonials .carousel__bullets input:before {
  content: "";
  width: 100%;
  height: 100%;
  background-color: #c4c4c4;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 8px;
  -webkit-transition: 0.3s ease;
  transition: 0.3s ease;
  cursor: pointer;
}

.testimonials .carousel__bullets input:checked:before {
  background-color: #13335f;
}

.testimonials .btn {
  margin: auto;
  margin-top: 16px;
  width: 100%;
}

@media (min-width: 48em) {
  .testimonials__photo {
    margin: 0;
    margin-right: 16px;
  }
  .testimonials__info {
    font-size: 15px;
  }
  .testimonials .carousel {
    position: relative;
  }
  .testimonials .carousel__item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  .testimonials .carousel__controls {
    width: calc(100% + 128px);
    left: -64px;
    padding: 0;
  }
  .testimonials .carousel__bullets input {
    margin: 8px;
    position: relative;
    width: 16px;
    height: 16px;
  }
}

@media (min-width: 80em) {
  .testimonials h2 {
    font-size: 32px;
  }
  .testimonials .carousel__controls {
    width: calc(100% + 80px);
    left: -40px;
    padding: 0;
    top: 70px!important;
    /*margin-top: 0;*/
  }
  .testimonials .btn {
    max-width: 370px;
    margin: auto;
    margin-top: 16px;
    width: fit-content;
    padding: 15px 45px;
  }
}
