.testimonials {
  position: relative;
  color: #2b3139;
}

.testimonials--homepage {
  margin: 64px 0;
}

.testimonials__image {
  width: 100%;
  height: 134px;
}

.testimonials__image img {
  object-position: bottom;
}

.testimonials__listings {
  margin-top: 25px;
}

.testimonials__listings__top-content {
  padding: 0 22px 10px;
}

.testimonials__listings__top-content .sub-heading {
  position: relative;
  padding-left: 28px;
}

.testimonials__listings__top-content .sub-heading img {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate(0, -50%);
  max-width: 21px;
}

.testimonials__listings__top-content .sub-heading:before {
  content:"";
  background: url("/wp-content/themes/ingstrup/assets/img/google-logo.png");
  width: 21px;
  height: 21px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate(0, -50%);
}

.testimonials__listings__top-content h2 {
  padding-bottom: 4px;
  margin-top: -5px;
}

.testimonial-slider-wrap {
  padding-bottom: 40px;
}

.testimonial {
  background: #ffffff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.16);
  padding: 24px 16px 27px 24px;
  border-radius: 4px;
  color: #0d052f;
  position: relative;
}

.testimonials__listings__headings p {
  margin: 0;
}

.stars {
  margin-bottom: 3px;
}

.testimonial__text {
  height: 205px;
  width: 100%;
  overflow: hidden;
  padding: 0 40px 0 0;
}

.testimonial__text p {
  color: #2b3139;
}

.testimonial__text::-webkit-scrollbar {
  width: 6px;
}

.testimonial__text::-webkit-scrollbar-track {
  background-color: #f4f4f5;
}

.testimonial__text::-webkit-scrollbar-thumb {
  background-color: #5f2167;
}

.swiper.testimonial-slider-wrap {
  padding: 22px 22px 64px 22px;
}

.testimonial__author h5 {
  margin: 0;
  padding: 16px 0 0;
  line-height: 1.23em;
  font-weight: 700;
  font-size: 18px;
  color: #5f2167;
  display: block;
  text-transform: uppercase;
}


.testimonials--employee .testimonial__author h5{
  color: #5f2167;
}

.testimonial__quote{
  position: absolute;
  right: 37px;
  bottom: 32px;
}

.stars i{
  color: #ffa300;
  font-size: 21px;
}

.testimonial__quote span{
  color: #84329B;
  font-size: 50px;
}

.swiper-horizontal > .swiper-scrollbar1,
.swiper-scrollbar1.swiper-scrollbar-horizontal {
  bottom: 20px;
  left: 156px;
  width: calc(100% - 177px);
  height: 8px;
  background: #f4f4f5;
  border-radius: 0;
  position: absolute;
}

.swiper-scrollbar-drag {
  background: #5f2167;
  border-radius: 0;
}

.testimonial-slider-wrap .swiper-button-next1,
.testimonial-slider-wrap .swiper-button-prev1 {
  top: unset;
  right: unset;
  bottom: 0;
  left: 22px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid #84329b;
  margin-top: 0;
  position: absolute;
  z-index: 1;
  transition: all ease 0.3s;
}

.testimonial-slider-wrap .swiper-button-next1:hover,
.testimonial-slider-wrap .swiper-button-next1:focus,
.testimonial-slider-wrap .swiper-button-prev1:hover,
.testimonial-slider-wrap .swiper-button-prev1:focus {
  background-color: #84329b;
}

.testimonial-slider-wrap .swiper-button-next1:before {
  content: "\e90b";
  font-family: "ingstrup-icon";
  font-size: 24px;
  font-weight: normal;
  color: #84329b;
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-slider-wrap .swiper-button-prev1:before {
  content: "\e906";
  font-family: "ingstrup-icon";
  font-size: 24px;
  font-weight: normal;
  color: #84329b;
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-slider-wrap .swiper-button-next1:hover:before,
.testimonial-slider-wrap .swiper-button-next1:focus:before,
.testimonial-slider-wrap .swiper-button-prev1:hover:before,
.testimonial-slider-wrap .swiper-button-prev1:focus:before {
  color: #fff;
}

.testimonial-slider-wrap .swiper-button-next1 {
  left: 76px;
}

.swiper-button-prev1.swiper-button-disabled {
  opacity: 1;
}

.testimonial-slider-wrap .swiper-button-next1::after,
.testimonial-slider-wrap .swiper-button-prev1::after {
  display: none;
}

@media (min-width: 768px) {
  .testimonials__wrap {
    display: flex;
  }

  .testimonials__image {
    width: 252px;
    height: auto;
  }

  .testimonials__listings {
    margin-top: 10px;
    width: calc(100% - 252px);
  }

  .testimonials--employee .testimonials__listings {
    margin-top: 10px;
    width: 100%;
  }

  .swiper.testimonial-slider-wrap {
    padding: 22px 22px 64px 32px;
  }

  .testimonials__listings__top-content {
    padding: 0 51px 10px 32px;
  }

  .testimonials--employee .testimonials__listings__top-content {
    padding: 0 32px 0 32px;
    margin: 0 auto;
  }

  .testimonial {
    padding: 32px 36px 37px 32px;
  }

  .testimonial-slider-wrap .swiper-slide {
    width: 360px;
  }

  .swiper-horizontal > .swiper-scrollbar1,
  .swiper-scrollbar1.swiper-scrollbar-horizontal {
    width: calc(100% - 197px);
    left: 198px;
  }


  .testimonials--employee .swiper-wrapper{
    justify-content: center;
  }

  .testimonial__text {
    height: 175px;
    padding: 0 33px 0 0;
    margin: 0 0 8px;
    margin-bottom: 30px;
  }

  .testimonial-slider-wrap .swiper-button-prev1 {
    left: 64px;
  }

  .testimonial-slider-wrap .swiper-button-next1 {
    left: 118px;
  }

  .stars {
    margin-bottom: 14px;
  }

  .testimonial:after {
    right: 32px;
    bottom: 30px;
  }
}

@media (min-width: 1200px) {
  .testimonials--homepage {
    margin: 98px 0 126px;
  }

  .testimonials__image {
    width: 480px;
  }

  .testimonials__listings {
    margin-top: 0;
    width: calc(100% - 480px);
  }

  .testimonials--employee .testimonials__listings {
    margin-top: 0;
    width: 100%;
  }

  .testimonial-slider-wrap .swiper-slide {
    width: 508px;
  }

  .testimonial {
    padding: 32px 37px 32px 32px;
  }

  .testimonial__text {
    height: 190px;
    padding: 0 33px 0 0;
    margin: 0;
    margin-bottom: 30px;
  }

  .testimonial__author h5 {
    padding: 12px 0 0;
  }

  .testimonials__listings__top-content {
    padding: 0 290px 0 32px;
    max-width: 1112px;
    position: relative;
  }

  .testimonials__listings__btn {
    position: absolute;
    right: 63px;
    bottom: 12px;
  }

  .testimonials__listings__top-content .sub-heading img {
    max-width: 32px;
  }

  .testimonials__listings__top-content .sub-heading:before  {
    width:32px;
    height: 32px;
  }

  .testimonials__listings__top-content .sub-heading {
    padding-left: 38px;
  }
}

@media (min-width: 1600px) {
  .testimonials__listings__btn {
    right: 0;
  }

  .swiper.testimonial-slider-wrap {
    padding: 22px 22px 64px 64px;
  }

  .testimonials__listings__top-content {
    padding: 0 290px 0 64px;
  }


  .testimonials--employee .testimonials__listings__top-content {
    padding: 0 64px 0 64px;
  }

  .testimonial-slider-wrap .swiper-button-prev1 {
    left: 64px;
  }

  .testimonial-slider-wrap .swiper-button-next1 {
    left: 118px;
  }

  .swiper-horizontal > .swiper-scrollbar1,
  .swiper-scrollbar1.swiper-scrollbar-horizontal {
    width: calc(100% - 195px);
    left: 198px;
  }
}

.testimonial-item {
  margin-bottom: 16px;
}

.testimonial-item .testimonial__text {
  height: auto;
}

.testimonial {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  height: 100%;
}

.testimonial__top {
  padding-bottom: 4px;
}

.testimonialBox {
  display: none;
}

@media (min-width: 768px) {
  .testimonial-item {
    margin-bottom: 30px;
  }
}


@media (min-width: 1920px) {
  .testimonials__listings__top-content {
    max-width: 1366px;
  }
}

.testimonial__text .scrollbar-track-y {
  opacity: 1;
  background-color: #f4f4f5;

  .scrollbar-thumb {
    background-color: #5f2167;
    border-radius: 0;
  }
}