/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 1 version
*/

.testimonial {
    background: #F5F5F5;
    border-radius: 5px;
    padding: 30px 20px 20px;
}

.review-star {
    margin: 0 0 13px;
}

.testimonial p {
    font-size: 20px;
    color: #2F2F2F;
}

.testimonial-slider .slick-slide {
    vertical-align: top;
}

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

.testimonials__bottom-content {
    margin: 25px 0 0;
    text-align: center;
}

.testimonial-top {
    margin: 0 0 10px;
}

.testimonials__heading {
    margin: 0 0 25px;
}

.testimonial-bottom p strong {
    color: #030B12;
}

.bg-blue .testimonial {
    background: #fff;
}

.bg-blue .testimonial-slider .slick-arrow {
    background: #fff;
    border: 2px solid #02B4D7;
}

.bg-blue .testimonial-slider .slick-arrow:before {
    color: #02B4D7;
}

.bg-blue .testimonial-slider .slick-arrow:hover {
    background: #02B4D7;
    border: 2px solid #02B4D7;
}

.bg-blue .testimonial-slider .slick-arrow:hover:before {
    color: #fff;
}


.testimonial-list{
    display: -ms-grid;
    display: grid;    
    -ms-grid-columns: auto;    
    grid-template-columns: auto;
    gap: 30px;
    width: 100%;
}


.testimonial-item{
    display: block;
    width: 100%;
    max-width: 400px;
}


.bg-grey .testimonial{
    background-color: #fff;
}

@media(min-width: 768px) {
    .testimonial-slider .slick-slide {
        width: 316px;
        margin: 0 16px;
        height: auto;
    }

    .testimonial-slider .slick-slide>*,
    .testimonial-slide {
        height: 100%;
    }

    .testimonial-top {
        margin: 0 0 15px;
    }

    .testimonial {
        height: 100%;
        display: flex;
        justify-content: space-between;
        flex-direction: column;
    }

    .testimonial-slider {
        padding: 0 0 82px;
        margin: 0 -52px 0 0;
    }

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

    .testimonial-slider .slick-arrow {
        -webkit-transform: unset;
                transform: unset;
        margin: 0;
        left: 0;
    }

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

    .testimonials__bottom-content {
        margin: -50px 0 0;
        text-align: right;
    }

    .testimonials__heading {
        margin: 0 0 40px;
    }

    .testimonial-list{        
        -ms-grid-columns: 50% 50% ;        
        grid-template-columns: 50% 50% ;       
    }
}


@media(min-width: 1200px) {
    .testimonial-slider {
        padding: 0;
        margin: 0 -16px;
    }

    .testimonials__bottom-content {
        margin: 40px 0 0;
        text-align: center;
    }

    .testimonial-slider .slick-arrow {
        left: unset;
        right: 16px;
        bottom: unset;
        top: -110px;
    }

    .testimonial-slider .slick-next {
        margin-left: 0;
    }

    .testimonial-slider .slick-prev {
        margin-right: 82px;
    }

    .testimonials__heading {
        margin: 0 0 55px;
        padding: 0 230px 0 0;
    }

    .testimonial {
        padding: 40px 40px 40px;
    }

    .review-star {
        margin: 0 0 20px;
    }

    .testimonial-top p {
        margin: 0 0 12px;
    }

    .testimonial-top p:last-child {
        margin: 0;
    }

    .testimonial-top {
        margin: 0 0 25px;
    }

    .testimonial-list{        
        -ms-grid-columns: auto auto auto;        
        grid-template-columns: auto auto auto;       
    }
}