.testimonials {
    /*background: linear-gradient(180deg, #2A163E 7.81%, rgba(255, 255, 255, 1) 83.45%);*/
    padding: 50px 0 139px;
    height: auto;
    width: 100%;
    position: relative;
}

.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 .imgMask {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0 50% 50% 0;
    height: 187.14%;
    overflow: hidden;
    top: 50%;
    position: relative;
    transform: translate(0, -50%);
}

.testimonials .testimonial .imageContainer .imgMask img {
    width: 100%;
}

.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(--pnr);
    font-size: 18px;
    line-height: 25px;
    color: #18191F;
}

.testimonials .testimonial .textContainer>.quote {
    position: relative;
    font-size: 21px;
    line-height: 35px;
}

.testimonials .testimonial .textContainer>.quote>span:first-child {
    content: '';
    width: 25px;
    height: 25px;
    position: absolute;
    top: -10px;
    left: -40px;
    background: url('../../images/testimonials/opening-quote.svg') no-repeat 0 0;
    background-size: contain;
}

.testimonials .testimonial .textContainer>.quote>strong {
    font-family: var(--pnsb);
    font-size: 28px;
    line-height: 34px;
}

.testimonials .testimonial .textContainer>.name {
    font-family: var(--pnb);
    font-size: 18px;
    line-height: 28px;
    margin-top: 11px;
}

.testimonials .testimonial .textContainer>.post {
    font-size: 14px;
    line-height: 24px;
    color: #474A57;
}

.testimonials .testimonial .textContainer .title {
    font-family: var(--pnb);
    font-size: 30px;
    line-height: 1.2;
    margin-bottom: 10px;
}

.testimonials .testimonial .textContainer .desc {
    font-size: 22px;
    line-height: 1.3;
    margin-bottom: 30px;
}

.testimonials.fullwidth {
    padding: 0;
}

.testimonials.fullwidth .custom_container {
    max-width: unset;
}

.testimonials.fullwidth .custom_container .testimonial {
    border-radius: unset;
}

@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*/
    .testimonials.fullwidth .testimonial .textContainer>.quote {
        font-size: 18px;
        line-height: 1.8;
    }

    .testimonials.fullwidth .testimonial .textContainer>.quote>strong {
        font-size: 25px;
    }
}

@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.7;
    }
}

@media only screen and (max-width: 1152px) {

    /*resolution Height: 720*/
    .testimonials.fullwidth .testimonial .textContainer>.quote {
        font-size: 16px;
    }

    .testimonials.fullwidth .testimonial .textContainer>.quote>strong {
        font-size: 21px;
        line-height: 1.2;
    }

    .testimonials .testimonial .textContainer>.name {
        font-size: 16px;
    }

    .testimonials .testimonial .textContainer>.post {
        font-size: 12px;
        line-height: 1;
    }
}
@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;
    }

    .testimonials .testimonial .imageContainer .imgMask img {
        width: 140%;
    }
}
@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;
    }
}

@media only screen and (max-width: 1024px) and (max-height: 1366px) and (orientation: portrait) {
    .testimonials.fullwidth .testimonial .textContainer>.quote {
        font-size: 14px;
        line-height: 1.4;
    }

    .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: 18px;
    }

    .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.2;
    }

    .testimonials.fullwidth .testimonial .textContainer>.quote>strong {
        display: block;
        font-size: 18px;
    }

    .testimonials.fullwidth .testimonial .textContainer>.name {
        line-height: 1.2;
    }

    .testimonials.fullwidth .testimonial .textContainer {
        padding: 20px 40px 20px 65px;
    }
}
@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 .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.fullwidth .custom_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: 18px;
        line-height: 1.2;
    }

    .testimonials.fullwidth .testimonial .textContainer>.quote br {
        display: none;
    }

    .testimonials.fullwidth .testimonial .textContainer>.quote>strong {
        display: block;
        margin: 10px 0 0;
        font-size: 19px;
        line-height: 1.2;
    }

    .testimonials.fullwidth .testimonial .textContainer>.name {
        font-size: 16px;
        line-height: 1;
    }

    .testimonials.fullwidth .testimonial .textContainer>.post {
        font-size: 12px;
        line-height: 1.2;
    }
    .testimonials.fullwidth .testimonial .textContainer {
        padding: 0 0 0 40px;
    }
}

@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: 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;
    }
     .testimonials.fullwidth .testimonial .imageContainer {
        margin: 0 0 40px;
    }
    .testimonials.fullwidth .testimonial .imageContainer .imgMask img {
        height: 140%;
    }

    .banner_style2 .textSection .overlay, .banner_style2 .textSection .overlay:after {
        width: 200vw;
        height: 200vw;
        top: -20%;
        transform: translate(-50%, 0);
    }
    .banner_style2 .textSection .overlay:after {
        top: 0;
    }
}
@media only screen and (max-width: 767px) {
    .bounce_back .testimonials {
        padding-bottom: 0;
    }

    .testimonials .testimonial {
        max-width: 440px;
        width: 90%;
    }

    .testimonials .testimonial .playVideobutton {
        transform: translate(-50%, 0);
        margin: -35px 0 0;
    }

    .bounce_back section.fullwidth.textComponent .desc {
        max-width: 440px;
    }

    .bounce_back section.fullwidth.textComponent .desc br {
        display: none;
    }

    .testimonials .testimonial .imageContainer:after {
        top: -21%;
    }
    .testimonials.fullwidth .testimonial .imageContainer {
        margin: 0 0 40px;
    }
    .testimonials.fullwidth .custom_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) {
    .testimonials .testimonial .imageContainer:after {
        top: -51px;
    }

    .testimonials .testimonial .textContainer .title {
        font-size: 23px;
        line-height: 1;
    }

    .testimonials .testimonial .textContainer .desc {
        font-size: 16px;
        margin: 0 0 30px;
    }
}

@media only screen and (max-width: 375px) {
    .testimonials .testimonial .imageContainer:after {
        top: -42px;
    }
}
