.testimonials {
    position: relative;
}

.testimonials-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

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

.testimonials__wrap h2 {
    max-width: 300px;
    margin: 0 auto;
}

.testimonials__wrap h2,
.testimonials__wrap .sub-heading,
.testimonials__top-content {
    color: var(--color-white);
}

.testimonials__top-content {
    margin-bottom: 25px;
}

.testimonials__top-content > :last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

.testimonials__wrap .sub-heading::before,
.testimonials__wrap .sub-heading::after {
    background: var(--color-white);
}

.testimonials-column {
    position: relative;
    padding: 0;
    color: var(--color-gray-dark);
    text-align: center;
    margin-top: 28px;
}

.author-image {
    background-color: var(--color-white);
    box-shadow: 0 0 20px rgba(20, 93, 147, 0.3);
    padding: 14px;
    border-radius: 50%;
    width: 113px;
    height: 113px;
    margin: 0 auto 0;
    position: relative;
    z-index: 2;
}

.author-image img {
    border-radius: 50%;
    display: block;
}

.testimonials__content-wrap {
    background: var(--color-white);
    border-radius: 20px;
    padding: 75px 29px 30px 28px;
    margin-top: -55px;
}

.testimonials-item.placeholder-block {
    margin-top: 28px;
}

.testimonials-item .placeholder-block__inner {
    margin-bottom: 0;
}

.testimonials__text {
    padding-bottom: 35px;
}

.author-name {
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--color-navy-blue-dark);
    padding-bottom: 13px;
    line-height: 1em;
}

.rating-stars {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.rating-stars i {
    font-size: 23px;
    font-weight: normal;
    color: var(--color-yellow);
    margin: 0 2px;
}

.rating-from img {
    margin: 0 auto 35px;
}

.quote {
    font-size: 58px;
    font-weight: normal;
    color: var(--color-navy-blue-dark);
    line-height: 1em;
}

.js-testimonials-slider,
.js-testimonials-slider-inner {
    padding-bottom: 130px;
    text-align: center;
    margin: 0 -12px;
}

.js-testimonials-slider .fx-slide,
.js-testimonials-slider-inner .fx-slide {
    padding: 0 12px;
}

.js-testimonials-slider.slick-initialized .slick-slide,
.js-testimonials-slider-inner.slick-initialized .slick-slide {
    vertical-align: top;
}

.js-testimonials-slider .slick-dots li button,
.js-testimonials-slider-inner .slick-dots li button {
    background: var(--color-white);
}

.js-testimonials-slider .slick-dots,
.js-testimonials-slider-inner .slick-dots {
    bottom: 79px;
    text-align: center;
}

.scroll-left {
    position: absolute;
    left: -40px;
    top: 51%;
    max-width: 150px;
}

.scroll-right {
    position: absolute;
    right: -85px;
    top: 51%;
    max-width: 144px;
}

.testimonials--inner .scroll-left {
    left: 0px;
    max-width: 256px;
}

.testimonials--inner .scroll-right {
    right: 0px;
    max-width: 260px;
}

/* Graphics */
.testimonials--archive {
    position: relative;
    z-index: 1;
}

.testimonials-left-graphic,
.testimonials-right-graphic {
    position: absolute;
    top: 50%;
    -webkit-transform: translate(0, -50%);
            transform: translate(0, -50%);
}

.testimonials-left-graphic {
    left: 76px;
}

.testimonials-right-graphic {
    right: 52px;
}

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

    .testimonials__wrap h2 {
        max-width: 100%;
        margin: 0 auto;
    }

    .testimonials-column {
        margin-top: 30px;
        text-align: left;
    }

    .testimonials-item.placeholder-block {
        margin-top: 30px;
    }

    .testimonials__content-wrap {
        padding: 88px 26px 42px 26px;
        margin-top: -55px;
    }

    .testimonials--inner .testimonials__content-wrap {
        display: flex;
        align-items: center;
    }

    .testimonials__text {
        padding-bottom: 35px;
        text-align: left;
    }

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

    .author-name {
        padding-bottom: 0;
    }

    .rating-stars {
        margin-bottom: 0;
        padding: 0 20px;
    }

    .rating-stars i {
        margin: 0 2px;
    }

    .rating-from img {
        margin: 0 auto 0;
    }

    .quote {
        position: absolute;
        right: 26px;
        bottom: 26px;
    }

    .js-testimonials-slider,
    .js-testimonials-slider-inner {
        padding-bottom: 130px;
        text-align: center;
        margin: 0;
    }

    .js-testimonials-slider .slick-dots li button,
    .js-testimonials-slider-inner .slick-dots li button {
        background: var(--color-white);
    }

    .js-testimonials-slider .slick-dots,
    .js-testimonials-slider-inner .slick-dots {
        bottom: 79px;
        text-align: center;
    }

    .testimonials--inner .testimonials__text,
    .testimonials--inner .testimonials-column {
        text-align: center;
    }

    .testimonials--inner .quote {
        position: relative;
        right: 0;
        bottom: 0;
    }

    .testimonials--inner .testimonials__info {
        display: block;
    }

    .testimonials--inner .author-name {
        padding-bottom: 11px;
    }

    .testimonials--inner .rating-stars {
        margin-bottom: 10px;
        padding: 0 0;
    }

    .testimonials--inner .rating-from img {
        margin: 0 auto 35px;
    }

    .testimonials--inner .slick-initialized .slick-slide {
        height: auto;
    }

    .testimonials--inner .testimonials__content {
        max-width: 100%;
    }

    .testimonials--inner .slick-track {
        display: flex;
    }

    .testimonials--inner .slick-initialized .slick-slide div,
    .testimonials--inner .slick-initialized .slick-slide .testimonials-column {
        height: 100%;
    }

    .testimonials--inner .slick-initialized .slick-slide .testimonials-column div {
        height: auto;
    }

    .testimonials--inner .testimonials__content-wrap {
        height: calc(100% - 110px) !important;
        padding: 88px 21px 230px 21px;
    }

    .testimonials__bottom {
        position: absolute;
        left: 0;
        bottom: 65px;
        width: 100%;
    }

}

@media (min-width: 1200px) {
    .testimonials__content {
        max-width: 1072px;
        margin: 0 auto;
    }

    .testimonials__content-wrap {
        padding: 65px 64px 65px 105px;
        margin-top: 0;
        margin-left: 73px;
    }

    .testimonials-column {
        margin-top: 80px;
        text-align: left;
    }

    .testimonials-item.placeholder-block {
        margin-top: 80px;
        margin-left: 73px;
    }

    .testimonials .slick-arrow {
        bottom: auto;
        top: 50%;
        margin-top: -23px;
    }
    
    .testimonials .slick-next {
        right: -62px;
        margin-right: 0px;
    }
    
    .testimonials .slick-prev {
        left: 0;
        margin-left: 0px;
    }

    .js-testimonials-slider .slick-dots,
    .js-testimonials-slider-inner .slick-dots {
        bottom: 0;
    }

    .js-testimonials-slider,
    .js-testimonials-slider-inner {
        padding-bottom: 70px;
        text-align: center;
    }

    .testimonials__wrap {
        padding: 90px 0 100px;
    }

    .author-image {
        width: 100px;
        height: 100px;
        position: absolute;
        left: 0;
        top: -50px;
    }

    .author-image--large {
        width: 150px;
        height: 150px;
    }

    .testimonials--inner .testimonials__content-wrap {
        height: calc(100% - 110px) !important;
        padding: 65px 27px 180px 27px;
        margin-left: 30px;
        position: relative;
    }

    .testimonials--inner .testimonials__content {
        max-width: initial;
    }

    .testimonials--inner .testimonials__text p {
        font-size: 14px;
    }

    .testimonials--inner .testimonials__bottom {
        bottom: 30px;
        display: flex;
        flex-direction: column-reverse;
        flex-wrap: wrap;
    }

    .testimonials--inner .quote {
        font-size: 40px;
        padding-bottom: 18px;
    }

    .testimonials--inner .testimonials__info {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }

    .testimonials--inner .author-name {
        width: 100%;
        padding-bottom: 20px;
    }

    .testimonials--inner .rating-stars {
        margin-bottom: 0;
        padding: 0 0;
    }

    .testimonials--inner .rating-from img {
        margin: 0 0 0 5px;
    }

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

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

    .js-testimonials-slider-inner {
        padding-bottom: 65px;
    }

    .testimonials--inner .slick-arrow {
        bottom: 0;
        top: auto;
        margin-top: -23px;
    }

    .testimonials__wrap h2 {
        padding-bottom: 30px;
        font-size: 40px;
    }

}

@media (min-width: 1366px) {
    .testimonials .slick-next {
        right: -80px;
    }
    
    .testimonials .slick-prev {
        left: -20px;
    }

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

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

@media (min-width: 1800px) {
    .scroll-left {
        left: -40px;
        top: 43%;
        max-width: 100%;
    }
    
    .scroll-right {
        right: -85px;
        top: 43%;
        max-width: 370px;
    }
}