.content {
  background: #fff;
  border-radius: 10px;
  padding: 30px 25px 40px;
  margin: 20px 10px 0;
  min-height: 300px;
  position: relative;
}
.content:before {
  content: '';
  width: 35px;
  height: 25px;
  background-image: var(--background-image-testimonial-content);
  background-size: contain;
  background-position: center;
  position: absolute;
  top: -10px;
  left: 20px;
  background-repeat: no-repeat;
}

.testimonials .item .content p {
  font-size: 15px;
  line-height: 140%;
  font-family: 'Helvetica', sans-serif;
}

.testimonial-picture {
  max-width: 70px;
  max-height: 70px;
  overflow: hidden;
  width: 70px;
  height: 70px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin: -35px auto 17px;
  border-radius: 50%;
  border: 5px solid #f6faf9;
  text-align: center;
  align-items: center;
  display: flex;
  justify-content: center;
  background-color: #000;
}
.testimonial-name {
  margin: 42px auto 0;
  display: table;
  width: auto;
  padding: 9px 35px;
  text-align: center;
  color: var(--main-middle-color2);
  font-size: 13px;
  text-transform: uppercase;
  line-height: 140%;
  font-weight: 800;
}
.testimonial-position {
  display: table;
  width: auto;
  padding: 8px 35px;
  text-align: center;
  color: var(--main-color);
  font-size: 11px;
  line-height: 140%;
  font-weight: 500;
  margin: 0 auto;
}
#customers-testimonials {
  max-width: 1330px;
  margin: 0 auto;
  position: relative;
}
#customers-testimonials .item {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  font-family: 'Helvetica', sans-serif;
}
.owl-carousel .owl-item img {
  transform-style: preserve-3d;
  width: auto;
  height: 70px;
  text-align: center;
  margin: 0 auto;
}

#customers-testimonials.owl-carousel .owl-stage-outer {
  left: 10px;
}

#customers-testimonials.owl-carousel .owl-nav {
  display: flex;
  position: absolute;
  top: 25%;
  justify-content: space-between;
  width: 100%;
  z-index: 999999;
}

#customers-testimonials.owl-carousel .owl-nav button {
  min-width: 48px;
  height: 48px;
  background-color: none;
  border-radius: 50%;
}

#customers-testimonials.owl-carousel .owl-nav button:first-child {
  left: -24px;
}

#customers-testimonials.owl-carousel .owl-nav button:last-child {
  right: -24px;
}

#customers-testimonials.owl-carousel .owl-nav button span {
  font-size: 42px;
  color: var(--main-middle-color2);
  font-weight: 300;
  position: relative;
  top: -8px;
}

#customers-testimonials.owl-carousel .owl-dots .owl-dot.active span,
#customers-testimonials.owl-carousel .owl-dots .owl-dot:hover span {
  background: var(--main-middle-color2);
}
#customers-testimonials.owl-carousel .owl-dots {
  display: inline-block;
  width: 100%;
  text-align: center;
}
#customers-testimonials.owl-carousel .owl-dots .owl-dot {
  display: inline-block;
}
#customers-testimonials.owl-carousel .owl-dots .owl-dot span {
  background: #bdbdbd;
  display: inline-block;
  height: 4px;
  border-radius: 2px;
  margin: 0 2px 5px;
  transition: all 250ms ease-out 0s;
  width: 20px;
}


@media screen and (max-width: 1024px) {
  #customers-testimonials.owl-carousel .owl-nav button {
    background-color: rgba(255, 255, 255, 0.7);
  }

  #customers-testimonials.owl-carousel .owl-stage-outer {
    left: 0;
  }
}

@media screen and (max-width: 768px) {
  #customers-testimonials .item {
    margin-bottom: 20px;
  }
  
  #customers-testimonials.owl-carousel .owl-nav button:first-child {
    left: -40px;
  }
  
  #customers-testimonials.owl-carousel .owl-nav button:last-child {
    right: -40px;
  }
  
  #customers-testimonials.owl-carousel .owl-nav button span {
    font-size: 52px;
    font-weight: 700;
  }

  #customers-testimonials.owl-carousel .owl-stage-outer {
    left: 0;
  }
}

@media screen and (min-width: 440px) and (max-width: 768px) {
  .content {
    min-height: 0;
    max-width: 2000px;
  }
}

@media screen and (min-width: 1170px) {
  .content {
    max-width: 400px;
  }
}
