.testimonials {
  position: relative;
  background: #eff2f5;
  z-index: 1;
}

.testimonials__bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 325px;
  -webkit-clip-path: polygon(100% 0, 100% 100%, 75% 90%, 0 100%, 0 0);
  clip-path: polygon(100% 0, 100% 100%, 75% 90%, 0 100%, 0 0);
}

.testimonials__bg::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0) 100%
  );
}

.testimonials__content {
  position: relative;
  z-index: 2;
  padding: 60px 0;
}

.testimonials__top-content {
  padding-bottom: 10px;
}

.testimonials__top-content .sub-heading {
  color: #e1e1e1;
}

.testimonials__top-content h2 {
  color: #fff;
}

.testimonials__col {
  position: relative;
  background: #fff;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  border-radius: 3px;
  padding: 20px 25px 44px;
  color: #454545;
}

.author {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
}

.author__pic,
.author__pic img {
  width: 50px;
  height: 50px;
  display: block;
  border-radius: 50%;
}

.author__info {
  width: calc(100% - 50px);
  padding-left: 10px;
}

.author__info h4 {
  margin: 0;
  padding: 0;
  font-size: 17px;
  color: #13307F;
  font-weight: 600;
  text-transform: none;
}

.author__info p {
  margin: 0;
  padding: 0;
  font-size: 13px;
  color: #454545;
  font-weight: 400;
  text-transform: none;
}

.rattings {
  padding: 15px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-size: 21px;
  color: #ea7500;
  font-weight: normal;
}

.rattings i {
  padding: 0 4px 0 0;
}

.testimonials__description {
  position: relative;
  padding-right: 24px;
  height: 220px;
  overflow-y: scroll;
  margin-left: auto;
  margin-right: auto;
}

.testimonials .slick-initialized .slick-slide {
  margin: 15px;
}

.testimonials .js-testimonials-slider {
  margin: 0 -15px;
}

.testimonials .slick-arrow {
  bottom: 0;
  margin-bottom: -6px;
}

.testimonials .slick-next {
  right: 50%;
  margin-right: -50px;
}

.testimonials .slick-prev {
  left: 50%;
  margin-left: -50px;
}

.testimonials__btn {
  margin-top: 30px;
}

.testimonials-skew1 {
  position: absolute;
  left: 0;
  bottom: 195px;
  width: 218px;
  height: 118px;
  z-index: -1;
}

.testimonials-skew2 {
  position: absolute;
  left: -17px;
  bottom: 106px;
  width: 160px;
  height: 77px;
  z-index: -1;
}

.testimonial-list {
  padding-top: var(--section-margins);
}

.testimonial-list .team-testimonials__col {
  margin-bottom: 70px;
}

.js-team-testimonials-slider .video {
  height: 165px;
}

.js-team-testimonials-slider .video-image {
  width: 100%;
  height: 100%;
  position: relative;
  display: block;
  background: transparent;
}

.js-team-testimonials-slider .video-image img {
  display: block;
  border-radius: 3px;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -29px 0 0 -29px;
  width: 58px;
  height: 58px;
  font-size: 21px;
  font-weight: normal;
  text-transform: uppercase;
  text-align: center;
  line-height: 1em;
  color: #13307F;
  border: none;
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
  animation: pulse 1.5s infinite;
  -webkit-animation: pulse 1.5s infinite;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.31);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.play-btn i {
  margin-left: 3px;
}

.testimonials  .rpi-card_block .rpi-card-inner {
   background: #052f69; 
   border-radius: 6px;
}

.testimonials  .rpi-card_block .rpi-name a,
.testimonials  .rpi-card_block .rpi-scale {
  color: #fff !important;   
}

@media (max-width: 768px) {
  /* rp-reply {
    background: #66a48d;
    color: #fff;
    border-radius: 0 0 0 9px;
  } */

  r-p rp-slider rp-review-text {
    background-color: #fafafa;
    color: #000;
    border-radius: 10px;
  }

  .rplg-scroll:not(:empty) {
    padding: 7px;
    border: 1px solid #ededed;
  }

  rp-btn-prev,
  rp-btn-next {
    height: 50px !important;
    width: 50px !important;
  }
}

.pulse-button:hover {
  -webkit-animation: none;
}

@-webkit-keyframes pulse {
  0% {
    -moz-transform: scale(0.9);
    -ms-transform: scale(0.9);
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
  }
  70% {
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -webkit-transform: scale(1);
    transform: scale(1);
    box-shadow: 0 0 0 50px rgba(90, 153, 212, 0);
  }
  100% {
    -moz-transform: scale(0.9);
    -ms-transform: scale(0.9);
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(90, 153, 212, 0);
  }
}

.js-team-testimonials-slider .video-text__video {
  height: 175px;
}

.js-team-testimonials-slider .video-text__video img {
  display: block;
  border-radius: 3px;
}

.js-team-testimonials-slider .video-text__text {
  padding-top: 30px;
  color: #454545;
}

.js-team-testimonials-slider .video-image::after {
  content: "";
  background: #1a1818;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  opacity: 40%;
}

.js-team-testimonials-slider .play-btn {
  z-index: 3;
}

@media (min-width: 768px) {
  .js-team-testimonials-slider .video-text__video {
    height: 350px;
  }

  .js-team-testimonials-slider .video-text__text {
    padding-top: 40px;
  }

  .js-team-testimonials-slider .video {
    height: 334px;
  }
}

@media (min-width: 768px) {
  .testimonials .slick-arrow {
    bottom: 50%;
    margin-bottom: -22px;
  }

  .testimonials .slick-next {
    right: -10px;
    margin-right: 0px;
  }

  .testimonials .slick-prev {
    left: -10px;
    margin-left: 0px;
  }

  .testimonials__content {
    padding: 70px 0;
  }

  .testimonials__col {
    padding: 20px 25px 30px;
  }

  .testimonials__description {
    padding-right: 25px;
    height: 220px;
  }

  .testimonials__description p {
    font-size: 15px;
  }

  .testimonials__top-content {
    padding-bottom: 15px;
  }

  .testimonials__btn {
    margin-top: 10px;
  }

  .testimonials-skew1 {
    left: -10px;
    bottom: 87px;
    width: 218px;
    height: 161px;
  }

  .testimonials-skew2 {
    left: -30px;
    bottom: 35px;
    width: 160px;
    height: 77px;
    z-index: -1;
  }
}

@media (min-width: 1200px) {
  .testimonials .slick-arrow {
    bottom: 50%;
    margin-bottom: -25px;
  }

  .testimonials__content {
    padding: 100px 0;
  }

  .testimonials__col {
    padding: 35px 40px 45px;
  }

  .testimonials__description {
    padding-right: 25px;
    height: 240px;
  }

  .testimonials__description p {
    font-size: 16px;
  }

  .testimonials__top-content {
    padding-bottom: 10px;
  }

  .testimonials__bg {
    height: 468px;
    -webkit-clip-path: polygon(100% 0, 100% 86%, 75% 54%, 0 96%, 0 0);
    clip-path: polygon(100% 0, 100% 86%, 75% 54%, 0 96%, 0 0);
  }

  .author__pic,
  .author__pic img {
    width: 60px;
    height: 60px;
  }

  .author__info {
    width: calc(100% - 60px);
    padding-left: 20px;
  }

  .author__info h4 {
    padding: 0 0 2px;
    font-size: 20px;
    color: #13307F;
    font-weight: 600;
    text-transform: none;
  }

  .author__info p {
    font-size: 15px;
  }

  .rattings {
    padding: 20px 0;
    font-size: 23px;
  }

  .rattings i {
    padding: 0 5px 0 0;
  }

  .testimonials-skew1 {
    left: -24px;
    bottom: -102px;
    width: 547px;
    height: 403px;
  }

  .testimonials-skew2 {
    left: -66px;
    bottom: -215px;
    width: 400px;
    height: 194px;
  }
}

/* team-testimonials */

.team-testimonials {
  position: relative;
}

.team-testimonials__bg {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
}

.team-testimonials__wrap {
  position: relative;
  z-index: 1;
  background: rgba(0, 47, 105, 0.9);
  padding: 60px 0;
}

.team-testimonials-inner .team-testimonials__wrap {
  background: rgba(255, 255, 255, 0.9);
}

.team-testimonials__text {
  padding: 0 22px;
}

.team-testimonials__text_top .sub-heading {
  color: #e1e1e1;
}

.team-testimonials-inner .team-testimonials__text_top .sub-heading {
  color: #13307F;
}

.team-testimonials__text_top h2 {
  color: #ffffff;
}

.team-testimonials-inner .team-testimonials__text_top h2 {
  color: #1a1818;
}

.team-testimonials__col {
  background: #ffffff;
  padding: 30px 25px;
  color: #454545;
  border-radius: 3px;
  position: relative;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.quote {
  position: absolute;
  top: -38px;
  left: 25px;
  font-size: 46px;
  color: #ea7500;
}

.team-author {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
}

.team-author__pic,
.team-author__pic img {
  width: 60px;
  height: 60px;
  display: block;
  border-radius: 50%;
}

.team-author__pic {
  padding-right: 10px;
}

.team-author__info {
  width: calc(100% - 60px);
}

.team-author__info h4 {
  margin: 0;
  padding: 0;
  font-size: 18px;
  color: #13307F;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.team-testimonials__col p {
  font-size: 16px;
  padding-bottom: 12px;
}

.team-author__info p {
  margin: 0;
  padding: 2px 0 0;
  font-size: 14px;
  color: #454545;
  font-weight: 400;
  text-transform: none;
}

.team-testimonials .slick-initialized .slick-slide {
  margin: 30px 15px 15px;
}

.team-testimonials .js-team-testimonials-slider {
  margin: 0;
  padding-bottom: 60px;
}

.team-testimonials .js-team-testimonials-slider.slick-initialized {
  margin: 0 -15px;
}

.team-testimonials .slick-arrow {
  bottom: 0;
  color: #13307F;
  background: #ffffff;
  border-radius: 0;
  margin-bottom: 0;
}

.team-testimonials .slick-arrow:hover,
.team-testimonials .slick-arrow:focus {
  background: #ea7500;
  color: #fff;
  border-color: #ea7500;
}

.team-testimonials .slick-next {
  right: 15px;
  border-radius: 0 3px 3px 0;
}

.team-testimonials .slick-prev {
  left: auto;
  right: 59px;
  border-radius: 3px 0 0 3px;
  border-right: 1px solid #dddddd;
}

.team-testimonials-btn {
  margin-top: -44px;
}

.team-testimonials__text_top {
  text-align: center;
}

@media (min-width: 768px) {
  .team-testimonials__wrap {
    padding: 70px 0;
  }

  .team-testimonials__text {
    padding: 0 52px;
  }

  .team-testimonials__col {
    padding: 40px 50px;
  }

  .quote {
    left: 50px;
  }

  .team-testimonials__col p {
    font-size: 17px;
    padding-bottom: 14px;
  }

  .team-author__pic,
  .team-author__pic img {
    width: 70px;
    height: 70px;
  }

  .team-author__info {
    width: calc(100% - 70px);
    padding-left: 22px;
  }

  .team-author__info h4 {
    font-size: 20px;
  }

  .team-author__info p {
    font-size: 15px;
    padding-bottom: 0;
  }

  .team-testimonials .js-team-testimonials-slider {
    padding-bottom: 70px;
  }
}

@media (min-width: 1200px) {
  .team-testimonials {
    background: #464646;
  }

  .team-testimonials-inner .team-testimonials__wrap {
    background: transparent;
  }

  .team-testimonials-inner {
    background: #eff2f5;
  }

  .team-testimonials__wrap {
    padding: 0 0;
    background: transparent;
    position: relative;
    display: flex;
    flex-wrap: wrap;
  }

  .team-testimonials__text {
    padding: 0 0;
  }

  .team-testimonials-image,
  .team-testimonials__text {
    position: relative;
    width: 50%;
  }

  .team-testimonials__text__wrap {
    max-width: 662px;
    padding: 100px 15px 100px 0;
  }

  .team-testimonials-image__col-top {
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - 96px);
    height: calc(50% - 8px);
  }

  .team-testimonials-image__col-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: calc(100% - 96px);
    height: calc(50% - 7px);
    display: flex;
    flex-wrap: wrap;
  }

  .team-testimonials-image__col-bottom__image-left {
    width: calc(50% - 8px);
    height: 100%;
    margin-right: 8px;
  }

  .team-testimonials-image__col-bottom__image-right {
    width: calc(50% - 7px);
    height: 100%;
    margin-left: 7px;
  }

  .team-testimonials__text_top {
    text-align: left;
    padding-bottom: 15px;
  }

  .team-testimonials__col p {
    font-size: 18px;
    padding-bottom: 20px;
  }

  .team-author__pic,
  .team-author__pic img {
    width: 70px;
    height: 70px;
  }

  .team-author__info {
    width: calc(100% - 70px);
    padding-left: 20px;
  }

  .team-author__info h4 {
    font-size: 20px;
  }

  .team-author__info p {
    padding: 2px 0 0;
    font-size: 15px;
  }

  .team-testimonials__col {
    padding: 40px 50px 45px;
  }

  .team-testimonials .slick-prev {
    right: 65px;
  }
}

@media (min-width: 1400px) {
  .team-testimonials__text__wrap {
    padding: 100px 0;
  }
}

.video-image img {
  position: absolute;
  z-index: 2;
}

.video-image .fluid-width-video-wrapper,
.video-image iframe {
  position: relative;
  z-index: 1;
}

.video-image.active::after,
.video-image.active img,
.video-image.active .play-btn {
  display: none !important;
}
/*  */
