.testimonial-logo-section {
    padding: 50px 0;
    background-color: #F7F7F7;
}

.testimonial-content .btn {
    font-size: 16px;
}

.logo-carousel-slide-img img {
    -o-object-fit: contain;
    object-fit: contain;
    height: auto;
    max-height: 150px;
}

.testimonial-content {
    padding-bottom: 35px;
    position: relative;
    z-index: 1;
}

.testimonial-content h2 {
    position: relative;
    z-index: 1;
}

.testimonial-content:before {
    content: "\e91a";
    position: absolute;
    font-family: 'king-door';
    font-size: 330px;
    color: #EBEBE8;
    bottom: -82px;
    line-height: 1em;
    left: 0;
    z-index: -1;
}

.testimonial-item {
    background-color: #fff;
    padding: 35px;
    position: relative;
    box-shadow: 0 5px 20px rgba(50,56,62,0.1);
}

.testimonial-item p,
.testimonial-item a {
    color: #5F7080;
    background: transparent;
    font-weight: 100;
}

.testimonial-item:after {
    content: "\e923";
    position: absolute;
    font-family: 'king-door';
    font-size: 62px;
    color: #519AD3;
    top: -33px;
    right: 20px;
}

.testimonial-list {
    position: relative;
    z-index: 1;
}

.testimonial-list .testimonial-item:last-child {
    display: none;
}

.testimonial-item h3 {
    font-size: 18px;
    color: #065AA3;
    font-weight: 700;
    font-family: "Open Sans", sans-serif;
    margin: 0;
}

.testimonial-item p,
.testimonial-item a {
    margin: 0 0 12px;
}

.testimonial {
    margin-bottom: 35px;
}

.testimonial-image-slide {
    background: #fff !important;
    padding: 35px 25px 25px;
    position: relative;
    box-shadow: 0 5px 20px rgba(50, 56, 62, 0.1);
}

.testimonial-image-slide:after {
    content: "\e923";
    position: absolute;
    font-family: 'king-door';
    font-size: 62px;
    color: #519AD3;
    top: -34px;
    right: 20px;
}

.testimonial-slide-image img {
    object-position: top center;
    -o-object-fit: contain;
    object-fit: contain;
}

.testimonial-slide-image {
    aspect-ratio: 2 / 0.735;
    position: relative;
}

.testimonial-slider {
    padding: 50px 0;
}

.testimonial-slide-image .btn {
    position: absolute;
    left: 15px;
    bottom: 7px;
    z-index: 1;
    font-size: 16px;
    color: #fff;
}

.testimonial-slide-image:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgb(0,31,59);
    background: linear-gradient(0deg, rgba(0,31,59,1) 0%, rgba(6,90,163,0.7455357142857143) 12%, rgba(6,90,163,0.28335084033613445) 24%, rgba(6,90,163,0) 35%, rgba(16,56,90,0) 100%);
}

.testimonial-slider .testimonial-content {
    text-align: center;
}

.testimonial-slider .sub-heading::before {
    left: 50%;
    transform: translate(-50%, 0);
    top: -30px;
}

.testimonial-slider .testimonial-content:before {
    display: none;
}

.js-testimonial-slider .slick-slide {
    padding: 20px 20px 20px;
}

.js-testimonial-slider {
    margin: -20px -20px 0;
    padding-bottom: 44px;
}

.js-testimonial-slider .slick-arrow {
    bottom: 0;
    top: unset;
    transform: unset;
    left: 50%;
    transform: translate(-50%, 0);
}

.js-testimonial-slider .slick-prev {
    margin-left: -97px;
}

.js-testimonial-slider .slick-next {
    margin-left: 97px;
}

.testimonial-slider .testimonial-item {
    max-width: unset;
}

.testimonial-item .testimonial-item__excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 10px;
}

.testimonial-slider .testimonial-item .btn {
    margin-top: 20px;
    font-size: 16px;
}

.testimonial-logo-section .testimonial-content .sub-heading::before {
    left: -23px;
    top: -33px;
    transform: none;
}

.testimonials--listing .testimonial-heading {
    margin-bottom: 50px;
}

.testimonials--listing .testimonial-content {
    max-width: unset;
    position: relative;
}

.testimonials--listing .testimonial-list::before {
    bottom: -200px;
    right: -200px;
    left: auto;
}

.testimonials--listing .testimonial-item {
    position: relative;
    max-width: 100%!important;
    margin: 0 0 50px 0!important;
}

.testimonial-content .load-more__btn {
    margin: 0 auto;
}

@media(min-width: 768px) {
    .testimonial-item {
        max-width: 374px;
        margin-left: auto;
    }

    .testimonial-item + .testimonial-item {
        margin-top: 30px;
        max-width: 490px;
    }

    .testimonial-wrapper {
        position: relative;
    }

    .testimonial-content {
        padding-bottom: 0;
        position: absolute;
        max-width: calc(100% - 406px);
        z-index: 2;
    }

    .testimonial-logo-section {
        padding: 75px 0;
    }

    .testimonial-content:before {
        display: none;
    }

    .testimonial {
        margin-bottom: 50px;
    }

    .testimonial-item p,
    .testimonial-item a {
        font-size: 18px;
    }

    .testimonial-list .testimonial-item:last-child {
        display: block;
    }

    .testimonial-list:before {
        content: "\e91a";
        position: absolute;
        font-family: 'king-door';
        color: #EBEBEB;
        line-height: 1em;
        left: 0;
        z-index: -1;
        font-size: 477px;
        bottom: -118px;
    }

    .testimonial-content .btn {
        font-size: 18px;
    }

    .testimonial-slider .testimonial-content {
        width: 100%;
        max-width: unset;
        position: relative;
        height: auto;
        padding-bottom: 40px;
    }

    .testimonial-image-slide {
        padding: 35px;
    }

    .testimonial-slider .testimonial-list:before {
        display: none;
    }

    .js-testimonial-slider {
        padding-bottom: 54px;
    }

    .js-testimonial-slider .slick-prev {
        margin-left: -123px;
    }

    .js-testimonial-slider .slick-next {
        margin-left: 123px;
    }

    .testimonial-slide-image .btn {
        left: 25px;
        bottom: 5px;
    }

    .testimonial-slider {
        padding: 75px 0;
    }

    .testimonial-logo-section .testimonial-content .sub-heading::before {
        left: -31px;
        top: -30px;
        transform: none;
    }
}

@media(min-width: 1200px) {
    .testimonial-content {
        max-width: 560px;
        top: -5px;
    }

    .testimonial-item {
        max-width: 508px;
    }

    .testimonial-item + .testimonial-item {
        margin-top: 32px;
        max-width: 724px;
        margin-right: 108px;
    }

    .testimonial-list:before {
        font-size: 449px;
        bottom: -113px;
    }

    .testimonial-logo-section {
        padding: 135px 0 125px;
    }

    .testimonial-slider .testimonial-wrapper {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
    }

    .testimonial-slider .testimonial-content {
        width: 432px;
        padding-right: 32px;
        text-align: left;
    }

    .testimonial-slider .testimonial-list {
        width: calc(100% - 432px);
    }

    .js-testimonial-slider {
        padding-bottom: 72px;
    }

    .testimonial-slider {
        padding: 125px 0;
    }

    .testimonial-slider .testimonial-content:before {
        display: block;
        font-size: 400px;
        transform: scaleX(-1);
        bottom: -220px;
    }

    .testimonial-slider.bg-light-blue .testimonial-content:before {
        color: #DFECF5;
    }

    .testimonial-slider .sub-heading::before {
        left: -28px;
        transform: unset;
    }
}

@media(min-width: 1367px) {
    .testimonial-content {
        max-width: 616px;
    }
}

/* Logo Carousel */

.logo-carousel-slide-img {
    margin: 0 auto;
    position: relative;
    display: table;
    max-width: 160px;
    background: transparent;
}

.logo-carousel--full-width {
    padding: 25px 0;
}

.logo-carousel-heading {
    text-align: center;
    margin-bottom: 35px;
}

.logo-carousel-heading .sub-heading::before {
    left: 50%;
    top: -37px;
    transform: translate(-50%, 0);
}

.logo-carousel-heading h2 {
    margin-bottom: 6px;
    position: relative;
    z-index: 1;
}

.js-logo-carousel-slider {
    padding: 0 50px;
}

.js-logo-carousel-slider .slick-prev {
    left: 0;
}

@media(min-width: 768px) {
    .js-logo-carousel-slider {
        padding: 0 50px;
    }

    .js-logo-carousel-slider .slick-prev {
        left: 0;
    }

    .logo-carousel-heading {
        text-align: left;
        position: relative;
        margin-bottom: 38px;
    }

    .logo-carousel-heading .sub-heading::before {
        left: -28px;
        transform: unset;
    }

    .logo-carousel-heading a {
        position: absolute;
        right: 0;
        bottom: 6px;
    }

    .logo-carousel--full-width {
        padding: 50px 0;
    }
}

@media(min-width: 1200px) {
    .logo-carousel-slide-img {
        background: transparent;
        max-width: unset;
    }

    .logo-carousel-slide-img:hover {
        background: transparent
    }

    .logo-carousel-slide-img:hover:after {
        opacity: 0;
    }

    .js-logo-carousel-slider {
        padding: 0 90px;
    }

    .logo-carousel--full-width {
        padding: 75px 0;
    }

    .logo-carousel-heading {
        padding: 0 110px;
    }

    .logo-carousel-heading a {
        right: 110px;
    }

    .logo-carousel-heading .btn-tertiary {
        padding-right: 32px;

    }

    .logo-carousel-heading .btn-tertiary::before {
        right: 5px;
    }

    .logo-carousel-heading .btn-tertiary:hover::before {
        right: 0;
    }
}
