:root {
  --testimonialpaddingTop: 50px;
  --testimonialpaddingBottom: 139px;
  --testimonialheadingTitle: 30px;
  --testimonialdescTitle: 22px;
}
.testimonials {
  background: #2a163e;
  height: auto;
  width: 100%;
  position: relative;
  font-family: var(--pnr);
  padding-top: var(--testimonialpaddingTop) !important;
  padding-bottom: var(--testimonialpaddingBottom) !important;
}

.testimonials .testimonial {
  background: #fff;
  /* mix-blend-mode: multiply; */
  border-radius: 41px;
  display: flex;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.testimonials .testimonial:not(:last-of-type) {
  margin-bottom: 44px;
}

.testimonials .testimonial .imageContainer {
  width: 40%;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.testimonials .testimonial .imageContainer > img {
  float: left;
  height: auto;
  width: 100%;
}

.testimonials .testimonial .imageContainer:after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0px;
  border-top-right-radius: 50%;
  border-bottom-right-radius: 50%;
  width: 100%;
  height: 180%;
  transform: translate(9%, -50%);
  border-right: 50px solid #fff;
}

.testimonials .testimonial .playVideobutton {
  position: absolute;
  top: 50%;
  left: calc(40% - 35px);
  width: 70px;
  height: 70px;
  z-index: 2;
  transform: translateY(-50%);
}

.testimonials .testimonial .playVideobutton img {
  width: fit-content;
  width: -moz-fit-content;
  max-width: 100%;
  cursor: pointer;
}

.testimonials .testimonial .textContainer {
  width: 60%;
  padding: 30px 40px 30px 65px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.testimonials .testimonial .textContainer > * {
  font-family: var(--pnm);
  font-size: 1.125rem;
  line-height: 1.5;
  color: #18191f;
}

.testimonials .testimonial .textContainer > .quote {
  position: relative;
}

.testimonials .testimonial .textContainer > .quote > span:first-child {
  content: "";
  width: 20px;
  height: 20px;
  position: absolute;
  top: -10px;
  left: -25px;
  background: url("../../content/dam/nexus/staticsites/sustainability/assets/images/testimonials/opening-quote.svg")
    no-repeat 0 0;
  background-size: contain;
}

.testimonials .testimonial .textContainer > .quote > strong {
  font-family: var(--pnb);
}

.testimonials .testimonial .textContainer > .name {
  font-family: var(--pnb);
  font-size: 0.9375rem;
  line-height: 1.5;
  margin-top: 11px;
}

.testimonials .testimonial .textContainer > .post {
  font-size: 0.875rem;
  line-height: 1.5;
  color: #474a57;
}

@media only screen and (max-width: 2560px) {
  /*resolution Height: 1440*/
}

@media only screen and (max-width: 2048px) {
  /*resolution Height: 1280*/
}

@media only screen and (max-width: 1920px) {
  /*resolution Height: 1080*/
}

@media only screen and (max-width: 1792px) {
  /*resolution Height: 1120*/
  .testimonials {
    margin: -1px 0 0;
  }
}

@media only screen and (max-width: 1680px) {
  /*resolution Height: 1050*/
}

@media only screen and (max-width: 1600px) {
  /*resolution Height: 900*/
}

@media only screen and (max-width: 1536px) {
  /*resolution Height: 960*/
}

@media only screen and (max-width: 1440px) {
  /*resolution Height: 900*/
}

@media only screen and (max-width: 1366px) {

  /*resolution Height: 768*/
}

@media only screen and (max-width: 1344px) {
  /*resolution Height: 840*/
}

@media only screen and (max-width: 1280px) {
  /*resolution Height: 800*/
}

@media only screen and (max-width: 1280px) {
  /*resolution Height: 720*/
}

@media only screen and (max-width: 1152px) {
  /*resolution Height: 720*/
}

@media only screen and (max-width: 800px) {
  .testimonials .testimonial {
    border: 1px solid rgba(0, 0, 0, 0.2);
  }

  .testimonials .testimonial {
    margin: 0 auto 44px !important;
  }
  .testimonials {
    padding-top: calc(var(--testimonialpaddingTop)/2) !important;
    padding-bottom: calc(var(--testimonialpaddingBottom)/2) !important;
  }
}

@media only screen and (max-width: 768px) and (max-height: 1024px) and (orientation: portrait) {
  .testimonials .testimonial {
    width: 60%;
    margin: 0 auto;
  }

  .testimonials .testimonial .imageContainer {
    width: 100%;
  }

  .testimonials .testimonial .imageContainer:after {
    transform: translate(-50%, -50%) rotate(90deg);
    top: -29%;
    width: 200%;
    left: 50%;
    height: 400%;
  }

  .testimonials .testimonial .playVideobutton {
    top: unset;
    left: 50%;
    transform: translate(-50%, -50%);
    position: relative;
  }

  .testimonials .testimonial .textContainer {
    padding: 25px;
    width: 90%;
    margin: 0 auto;
  }

  .testimonials {
    padding-bottom: 70px;
  }
}

@media only screen and (max-width: 1024px) and (orientation: portrait) {
  .testimonials .testimonial {
    width: 60%;
    margin: 0 auto;
  }

  .testimonials .testimonial .imageContainer {
    width: 100%;
  }

  .testimonials .testimonial .imageContainer:after {
    transform: translate(-50%, -50%) rotate(90deg);
    top: -29%;
    width: 200%;
    left: 50%;
    height: 400%;
  }

  .testimonials .testimonial .playVideobutton {
    top: unset;
    left: 50%;
    transform: translate(-50%, -50%);
    position: relative;
  }

  .testimonials .testimonial .textContainer {
    padding: 25px;
    width: 90%;
    margin: 0 auto;
  }
}

@media only screen and (max-width: 962px) and (max-height: 601px) {
  .testimonials .testimonial {
    width: 50%;
    margin: 0 auto;
  }

  .testimonials .testimonial .imageContainer {
    width: 100%;
  }

  .testimonials .testimonial .imageContainer:after {
    transform: translate(-50%, -50%) rotate(90deg);
    top: -29%;
    width: 200%;
    left: 50%;
    height: 400%;
  }

  .testimonials .testimonial .playVideobutton {
    top: unset;
    left: 50%;
    transform: translate(-50%, -50%);
    position: relative;
  }

  .testimonials .testimonial .textContainer {
    padding: 25px;
    width: 90%;
    margin: 0 auto;
  }
}

@media only screen and (max-width: 767px) {
  .sustainability .testimonials {
    padding-bottom: 0;
  }

  .testimonials .testimonial {
    width: 90%;
  }

  .testimonials .testimonial .playVideobutton {
    transform: translate(-50%, 0);
    margin: -35px 0 0;
  }
}

@media only screen and (max-width: 414px) {
  .testimonials .testimonial .imageContainer:after {
    top: -51px;
  }
  .testimonials{
    padding-top: calc(var(--testimonialpaddingTop)/3) !important;
    padding-bottom: calc(var(--testimonialpaddingBottom)/3) !important;
  }
}

@media only screen and (max-width: 375px) {
  .testimonials .testimonial .imageContainer:after {
    top: -42px;
  }
}

/* CSS anchor variant */
.testimonials.fullwidth {
  background: none; 
  padding: 0;
}

.testimonials.fullwidth .cust_container {
  max-width: unset;
}

.testimonials.fullwidth .cust_container .testimonial {
  border-radius: unset;
  margin: 0 auto !important;
  width: 100%;
}
/* .testimonials.fullwidth .cust_container {
    max-width: unset;
}

.testimonials.fullwidth .cust_container .testimonial {
    border-radius: unset;
} */

.testimonials.fullwidth .testimonial .imageContainer::after {
  transform: translate(6%, -50%);
  width: 100%;
  height: 210%;
  top: 50%;
}
@media only screen and (max-width: 2560px) {
  /*resolution Height: 1440*/
}

@media only screen and (max-width: 2048px) {
  /*resolution Height: 1280*/
}

@media only screen and (max-width: 1920px) {
  /*resolution Height: 1080*/
}

@media only screen and (max-width: 1792px) {
  /*resolution Height: 1120*/
}

@media only screen and (max-width: 1680px) {
  /*resolution Height: 1050*/
}

@media only screen and (max-width: 1600px) {
  /*resolution Height: 900*/
}

@media only screen and (max-width: 1536px) {
  /*resolution Height: 960*/
}

@media only screen and (max-width: 1440px) {
  /*resolution Height: 900*/
}

@media only screen and (max-width: 1366px) {
  /*resolution Height: 768*/
  .testimonials.fullwidth .testimonial .textContainer > .quote {
    font-size: 1.125rem;
    line-height: 1.5;
  }

  .testimonials.fullwidth .testimonial .textContainer > .quote > strong {
    font-size: 1.5625rem;
  }
}

@media only screen and (max-width: 1344px) {
  /*resolution Height: 840*/
}

@media only screen and (max-width: 1280px) {
  /*resolution Height: 800*/
}

@media only screen and (max-width: 1280px) {
  /*resolution Height: 720*/
  .testimonials.fullwidth .testimonial .textContainer > .quote {
    line-height: 1.5;
  }
}

@media only screen and (max-width: 1152px) {
  /*resolution Height: 720*/
  .testimonials.fullwidth .testimonial .textContainer > .quote {
    font-size: 1rem;
  }

  .testimonials.fullwidth .testimonial .textContainer > .quote > strong {
    font-size: 1.3125rem;
    line-height: 1.5;
  }

  .testimonials .testimonial .textContainer > .name {
    font-size: 1rem;
  }

  .testimonials .testimonial .textContainer > .post {
    font-size: 0.75rem;
    line-height: 1.5;
  }
}
@media only screen and (max-width: 834px) and (max-height: 1194px) {
  .testimonials.fullwidth .testimonial .textContainer > .quote br {
    display: none;
  }

  .textComponent.fullwidth.circularAnimation .circle-container {
    right: -3%;
  }

  .testimonials.fullwidth .testimonial .textContainer {
    padding: 20px 40px 20px 65px;
  }
}
@media only screen and (max-width: 800px) {
}

@media only screen and (max-width: 1024px) and (max-height: 1366px) and (orientation: portrait) {
  .testimonials.fullwidth .testimonial .textContainer > .quote {
    font-size: 0.875rem;
    line-height: 1.5;
  }

  .testimonials.fullwidth .testimonial .textContainer > .quote br {
    display: none;
  }

  .testimonials.fullwidth .testimonial .textContainer > .quote > strong {
    display: block;
    margin: 5px 0 0;
  }

  .testimonials.fullwidth .testimonial .textContainer > .quote > strong {
    font-size: 1.125rem;
  }

  .testimonials.fullwidth .testimonial .textContainer {
    padding: 10px 40px 10px 65px;
  }
}

@media only screen and (max-width: 1024px) and (max-height: 768px) {
  .testimonials.fullwidth .testimonial .textContainer > .quote br {
    display: none;
  }

  .testimonials.fullwidth .testimonial .textContainer > .quote {
    line-height: 1.5;
  }

  .testimonials.fullwidth .testimonial .textContainer > .quote > strong {
    display: block;
    font-size: 1.125rem;
  }

  .testimonials.fullwidth .testimonial .textContainer > .name {
    line-height: 1.5;
  }

  .testimonials.fullwidth .testimonial .textContainer {
    padding: 20px 40px 20px 65px;
  }
}
@media only screen and (max-width: 1024px) and (orientation: portrait) {
  .testimonials .testimonial .playVideobutton {
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    position: relative;
    margin: -35px 0 0;
  }
}

@media only screen and (max-width: 800px) and (max-height: 1280px) {
  .testimonials.fullwidth .testimonial .imageContainer {
    margin: 0 0 40px;
  }
}

@media only screen and (max-width: 801px) and (orientation: portrait) {
  .testimonials.fullwidth .cust_container .testimonial {
    border: none;
    width: 100%;
  }

  .testimonials.fullwidth .testimonial .imageContainer .imgMask {
    border-radius: 0 0 50% 50%;
    width: 150%;
    height: 100%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .testimonials.fullwidth .testimonial .imageContainer .imgMask img {
    width: auto;
    height: 100%;
  }

  .testimonials.fullwidth .testimonial .textContainer > .quote {
    font-size: 1.125rem;
    line-height: 1.5;
  }

  .testimonials.fullwidth .testimonial .textContainer > .quote br {
    display: none;
  }

  .testimonials.fullwidth .testimonial .textContainer > .quote > strong {
    display: block;
    margin: 10px 0 0;
    font-size: 1.1875rem;
    line-height: 1.5;
  }

  .testimonials.fullwidth .testimonial .textContainer > .name {
    font-size: 1rem;
    line-height: 1.5;
  }

  .testimonials.fullwidth .testimonial .textContainer > .post {
    font-size: 0.75rem;
    line-height: 1.5;
  }
  .testimonials.fullwidth .testimonial .textContainer {
    padding: 0 0 0 40px;
    margin: 0 5% 5%;
  }

  .testimonials.fullwidth .testimonial .imageContainer:after {
    transform: translate(-50%, -50%) rotate(90deg);
    top: -27%;
    width: 200%;
    left: 50%;
    height: 400%;
  }
}

@media only screen and (max-width: 962px) and (max-height: 601px) {
}
@media only screen and (max-width: 768px) and (max-height: 1024px) and (orientation: portrait) {
  .testimonials.fullwidth .testimonial .imageContainer {
    margin: 0 0 40px;
  }
  .testimonials.fullwidth .testimonial .imageContainer .imgMask img {
    height: 140%;
  }
}
@media only screen and (max-width: 767px) {
  .bounce_back section.fullwidth.textComponent .desc {
    max-width: 440px;
  }

  .bounce_back section.fullwidth.textComponent .desc br {
    display: none;
  }

  .testimonials.fullwidth .testimonial .imageContainer {
    margin: 0 0 40px;
  }
  .testimonials.fullwidth .cust_container .testimonial {
    max-width: unset;
  }

  .testimonials.fullwidth .testimonial .imageContainer .imgMask {
    width: 170%;
    border-radius: 0 0 50% 50%;
  }

  .testimonials.fullwidth .testimonial .imageContainer .imgMask img {
    width: 60%;
    height: auto;
  }
}

@media only screen and (max-width: 414px) {
}

@media only screen and (max-width: 375px) {
}

/* CSS for testimonial style 2 variant */
.testimonials .testimonials_style2.testimonial {
  margin-top: 22px;
  margin-bottom: 44px;
}
.testimonials a:last-child .testimonials_style2.testimonial {
  margin-top: 22px;
  margin-bottom: 0 !important;
}

.testimonials .testimonials_style2.testimonial .textContainer .title {
  font-family: var(--pnb);
  font-size: var(--testimonialheadingTitle) !important;
  line-height: 1.5;
  margin-bottom: 10px;
}

.testimonials .testimonials_style2.testimonial .textContainer .desc {
  font-size: var(--testimonialdescTitle) !important;
  line-height: 1.5;
  /*margin-bottom: 30px;*/
}

.testimonials .testimonials_style2.testimonial .imageContainer::after {
  display: none;
}

.testimonials .testimonials_style2.testimonial .playVideobutton {
  display: none;
}
.testimonials .testimonial:not(:last-of-type) {
  margin-bottom: 44px;
}

@media only screen and (max-width: 1366px) {
  /*resolution Height: 768*/

  .testimonials .testimonials_style2.testimonial .textContainer .title {
    font-size: calc(var(--testimonialheadingTitle) - 5px) !important;
  }

  .testimonials .testimonials_style2.testimonial .textContainer .desc {
    font-size: calc(var(--testimonialdescTitle) - 6px) !important;
  }
}

@media only screen and (max-width: 414px) {
  .testimonials .testimonials_style2.testimonial .textContainer .title {
    font-size: calc(var(--testimonialheadingTitle) - 7px) !important;
    line-height: 1.5;
  }

  .testimonials .testimonials_style2.testimonial .textContainer .desc {
    font-size: calc(var(--testimonialdescTitle) - 6px) !important;
    margin: 0 0 30px;
  }
}
@media only screen and (max-width: 1024px) {
  .testimonials{
    padding-top: calc(var(--testimonialpaddingTop)/2) !important;
    padding-bottom: calc(var(--testimonialpaddingBottom)/2) !important;
  }
}
@media only screen and (min-width: 1170px) and (orientation: portrait) {
  .testimonials{
    padding-top: calc(var(--testimonialpaddingTop)/3) !important;
    padding-bottom: calc(var(--testimonialpaddingBottom)/3) !important;
  }
  .testimonials .testimonials_style2.testimonial .textContainer .title {
    font-size: calc(var(--testimonialheadingTitle) - 7px) !important;
    line-height: 1.5;
  }

  .testimonials .testimonials_style2.testimonial .textContainer .desc {
    font-size: calc(var(--testimonialdescTitle) - 6px) !important;
  }
}

#toggle-caption-testimonial {
  padding: 8px 12px;
  z-index: 99995;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  pointer-events: all;
  position: relative;
}