.testimonials {
    margin-top: -50px;
}

.testimonials-image {
    width: 100%;
    height: 267px;
}

.testimonials-info {
    padding: 66px 23px 69px;
}

.testimonials-item {
    padding: 35px 20px;
    background-color: #fff;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.10);
    position: relative;
}

.testimonials-slider-image {
    width: 97px;
    height: 97px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 0 6px rgba(181, 233, 255, 0.57), 0 0 0 12px rgba(181, 233, 255, 0.30);
    position: absolute;
    top: -84px;
    left: 50%;
    transform: translate(-58% , 0);
    background-color: rgba(181, 233, 255, 0.57);
    display: flex;
    align-items: center;
    justify-content: center;
}


.testimonials-slider-content .sub-heading {
    margin: 0 0 25px auto;
    display: table;
}

.testimonials-slider-content ul li,
.testimonials-slider-content ul {
    margin: 0 0;
    padding: 0 0;
}

.testimonials-slider-content ul li::before {
    display: none;
}

.testimonials-slider-content ul {
    display: flex;
    justify-content: end;
}

.testimonials-slider-content ul li i {
    font-size: 29px;
    color: #242765;
    margin-left: 5px;
}

.testimonials-heading h2 {
    padding-bottom: 10px;
}

.testimonials-slider .slick-arrow {
    position: absolute;
    bottom: 0;
    font-size: 0;
    width: 98px;
    height: 51px;
    background-color: #24AAE1;
    outline: none;
    border: none;
    box-shadow: 0 5px 10px rgba(36, 36, 36, 0.20);
    border-radius: 40px;
    z-index: 11;
}

.testimonials-slider .slick-prev {
    z-index: 98;
}

.testimonials-slider .slick-next {
    left: 110px;
}

.testimonials-slider .slick-prev::before {
    content: '\e919';
    position: absolute;
    font-family: 'icomoon';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50% , -50%);
    font-size: 38px;
    color: #FFFFFF;
}

.testimonials-slider .slick-next::before {
    content: '\e918';
    position: absolute;
    font-family: 'icomoon';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50% , -50%);
    font-size: 38px;
    color: #FFFFFF;
}

.testimonials-slider .slick-list {
    padding-top: 98px;
    padding-bottom: 81px;
    width: calc(100% + 30px);
    margin-left: -15px;
}

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

.testimonials-logo {
    margin: -45px 0 0 230px;
    display: table;
}

.testimonials-logo ul ,
.testimonials-logo ul li {
    margin: 0 0;
    padding: 0 0;
}

.testimonials-logo ul {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.testimonials-logo ul li {
    margin-right: 25px;
}

.testimonials-logo ul li img {
    height: 42px;
    width: auto;
}

.testimonials-logo ul li:last-child {
    margin-right: 0;
}

.testimonials-logo ul li::before {
    display: none;
}

.testimonials--inner {
    padding: 68px 0;
    background: rgb(235,235,235);
    background: linear-gradient(0deg, rgba(235,235,235,1) 0%, rgba(255,255,255,1) 62%); 
    margin: 0;
}

.testimonials--inner .testimonials-info {
    padding: 0 0;
}

.testimonials--inner .testimonials-item {
    padding: 35px 22px 35px 20px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.10);
}

.testimonials--inner .testimonials-slider::before {
    display: none;
}

.testimonials--map {
    padding: 0 0 80px;
}

.testimonials-slider-bottom .sub-heading {
    font-weight: 900;
}

.testimonials--inner.last-block {
    padding: 100px 0 150px 0
}

.leave-a-review {
    text-align: center;
    margin-top: 40px;
}

@media(min-width: 768px) {
    .testimonials-image {
        height: 548px;
    }

    .testimonials-info {
        padding: 73px 52px 99px;
        padding-right: 0;
    }

    .testimonials-item {
        width: 439px !important;
        padding: 50px 37px 50px 39px;
    }

    .testimonials-slider .slick-list {
        width: calc(100% + 52px);
        padding-left: 16px;
        margin-left: -16px;
        padding-top: 111px;
    }

    .testimonials-slider-content ul li i {
        font-size: 40px;
    }

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

    .testimonials-slider .slick-slide {
        margin: 0 16px;
    }

    .testimonials-slider-content p {
        padding-right: 10px;
    }

    .testimonials-slider-content .sub-heading {
        margin: 0 14px 25px auto;
    }

    .testimonials-slider {
        position: relative;
    }

    .testimonials-slider::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 50%;
        height: 100%;
        background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.75) 50%, rgba(255,255,255,1) 100%); 
        z-index: 1;
    }

    .testimonials--inner {
        padding: 98px 0;
    }

    .testimonials--inner.last-block {
        padding: 100px 0 200px 0
    }

    .testimonials--inner .testimonials-heading {
        text-align: center;
    }

    .testimonials--inner .testimonials-heading .sub-heading {
        width: max-content;
        margin: 0 auto;
    }

    .testimonials--inner .testimonials-heading .sub-heading::before {
        left: 50%;
        transform: translate(-50% , 0%);
    }

    .testimonials--inner .testimonials-item {
        width: 100% !important;
        padding: 66px 22px 121px 39px;
        height: 100%;
        position: relative;
    }

    .testimonials--inner .testimonials-slider-content ul li i {
        font-size: 28px;
    }

    .testimonials--inner .testimonials-slider-content .sub-heading {
        margin: 0 0 15px auto;
    }

    .testimonials--inner .testimonials-slider-content p {
        font-size: 16px;
        padding-bottom: 0;
    }

    .testimonials--inner .testimonials-slider .slick-list {
        width: calc(100% + 32px);
        padding-left: 0;
        padding-top: 107px;
        display: flex;
    }

    .testimonials--inner .testimonials-slider-image {
        top: -67px;
    }

    .testimonials--inner .testimonials-heading h2 {
        padding-bottom: 0px;
        max-width: 550px;
        margin: 0 auto;
    }

    .testimonials--inner .testimonials-slider .slick-slide > div {
        height: 100%;
    }

    .testimonials-slider-bottom {
        position: absolute;
        bottom: 39px;
        right: 22px;
    }

    .js-testimonials-inner .slick-prev {
        right: 52%;
        margin-left: -101px;
    }

    .js-testimonials-inner .slick-next {
        left: 52%;
        margin-right: -101px;
    }

    .testimonials--map {
        padding: 0 0 80px;
    }
}

@media(min-width: 1025px) {
    .testimonials--inner.last-block {
        padding: 100px 0 180px 0
    }
}

@media(min-width: 1200px) {
    .testimonials-image {
        width: 500px;
        height: auto;
    }

    .testimonials--inner .testimonials-slider-content ul li i {
        font-size: 40px;
    }

    .testimonials--inner .testimonials-heading h2 {
        padding-bottom: 0px;
        max-width: 100%;
        margin: 0 auto;
    }

    .testimonials-wrapper {
        display: flex;
    }

    .testimonials-info {
        width: calc(100% - 500px);
        padding: 397px 0 117px 113px;
    }

    .testimonials-item {
        width: 442px !important;
        padding: 75px 37px 75px 39px;
    }

    .testimonials-slider-content p {
        padding-right: 13px;
    }

    .testimonials-slider-content .sub-heading {
        margin: 0 14px 30px auto;
      }

    .testimonials-slider .slick-slide {
        margin: 0 0;
        padding: 0 10px;
    }

    .testimonials-slider .slick-list {
        width: calc(100% - 10px);
        padding-left: 5px;
        margin-left: -5px;
    }

    .testimonials-item {
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.10);
    }

    .testimonials--inner .testimonials-slider .slick-list {
        width: calc(100% + 32px);
        margin-left: -16px;
        padding-top: 80px;
        padding-bottom: 0;
    }

    .testimonials--inner .testimonials-info {
        width: calc(100%);
        margin: 0;
    }

    .testimonials--inner .testimonials-item {
        padding: 75px 27px 189px 39px;
    }

    .testimonials-slider-bottom {
        bottom: 75px;
        right: 37px;
    }

    .testimonials--inner .testimonials-slider .slick-slide {
        margin: 0 16px;
        padding: 0 0px;
    }

    .js-testimonials-inner .slick-next {
        left: unset;
        right: 0%;
        top: 50%;
        margin-right: -15px;
    }

    .js-testimonials-inner .slick-prev {
        left: 0;
        top: 50%;
        right: unset;
        margin-left: -15px;
    }

    .testimonials--inner .testimonials-heading {
        padding-bottom: 50px;
    }

    .testimonials--inner {
        padding: 100px 0;
    }

    .testimonials--inner.last-block {
        padding: 100px 0 250px 0
    }

    .page-id-1679 .wysiwyg + .testimonials--inner {
        padding-top: 60px;
    }

    .testimonials--inner .testimonials-slider-content p {
        line-height: 1.875em;
    }

    .testimonials--inner .testimonials-slider-image {
        top: -62px;
        left: 52%;
    }

    .testimonials--map {
        padding: 0 0 100px;
    }

    .js-testimonials-inner {
        padding-left: 100px;
        padding-right: 100px;
    }
}

@media (min-width: 1300px) {
    .testimonials-info {
        position: relative;
    }

    .leave-a-review.homepage {
        position: absolute;
        bottom: 117px;
        right: 15px;
    }
}

@media(min-width: 1600px) {
    .js-testimonials-inner {
        padding-left: 0;
        padding-right: 0;
    }
    
}

@media(min-width: 1677px) {
    .leave-a-review.homepage {
        right: auto;
        left: 820px;
    }
}

@media(min-width: 1900px) {
    .testimonials-image {
        width: 750px;
    }

    .testimonials-info {
        width: calc(100% - 750px);
    }

    .testimonials-slider::before {
        width: 110px;
    }

    .js-testimonials-inner .slick-next {
        margin-right: -130px;
    }

    .js-testimonials-inner .slick-prev {
        margin-left: -130px;
    }

    .js-testimonials-inner .slick-prev,
    .js-testimonials-inner .slick-next {
        top: 46%;
    }

    .testimonials--map {
        padding: 0 0 100px;
    }
}