


.testimonial-item__top {
    background: var(--light);
    padding: 24px 32px;
    border-radius: 24px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.05);
}

.bg-light .testimonial-item__top {
    background: var(--white);
}

.bg-medium .testimonial-item__top {
    background: var(--dark);
}

.bg-dark .testimonial-item__top {
    background: var(--medium);
}


.testimonial-slider .slick-slide {
    vertical-align: top;
    margin: 0 22px;
}

.testimonial-review-star {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    margin-bottom: 12px;
}

.testimonial-review-star i {
    font-size: 20px;
    color: var(--secondary-color);
}

.testimonial-item__top p {
    line-height: 1.7em;
}

.testimonial-read-more,
.testimonial-read-less {
    display: inline-block;
}

.testimonial-read-more:after {
    content: "\e921";
    right: -28px;
}

.testimonial-read-less:after {
    content: "\e91d";
}

.testimonial-avatar-image {
    width: 50px;
    height: 50px;
    overflow: hidden;
    border-radius: var(--circle-border-radius);
    background: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}



.testimonial-item__bottom {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 24px;
    position: relative;
    margin-top: 24px;
}

.testimonial-arrow{
    position: absolute;
    display: block;
    margin: auto;
    top: -26px;
    left: 55px;

}
.bg-white .testimonial-arrow path {
    fill: var(--light);
}
.bg-light .testimonial-arrow path {
    fill: var(--white);
}
.bg-dark .testimonial-arrow path {
    fill: var(--medium);
}
.bg-medium .testimonial-arrow path {
    fill: var(--dark);
}

.testimonial-avatar-info {
    width: calc(100% - 50px);
    padding-left: 16px;
}

.testimonial-avatar-info h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--heading-text-color);
    margin: 0;
}

.testimonial-avatar-info p {
    line-height: 1.2em;
    margin: 0;
}

.testimonials__heading {
    margin: 0 0 32px;
}

.testimonial-slider {
    padding-bottom: 90px;
    margin: 0 -22px;
}

.google-review {
    padding: 12px 16px 18px 24px;
    background: var(--light);
    position: relative;
    width: 184px;
    margin: 0 auto;
    border-radius: 8px;
    right: -22px;
}

.google-review__image {
    position: absolute;
    width: 59px;
    height: 59px;
    border-radius: 8px;
    background-color: var(--light-accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    left: -43px;
    top: 50%;
    transform: translate(0, -50%) !important;
}

.google-review__content h3 {
    font-size: 18px;
    margin: 0 0 6px;
}

.google-review__content__stars {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}

.google-review__content__stars p {
    margin: 0;
    line-height: 1em;
    font-size: 15px;
}

.google-review__content__stars i {
    font-size: 15px;
    color: var(--secondary-color);
}


.testimonial__bottom {
    margin: 24px 0 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    justify-content: center;
}

.testimonial__bottom a.btn-tertiary {
    width: max-content;
}

.testimonial-item__top p {
    margin-bottom: 12px;
}

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

.testimonial-cta-btn {
    position: relative;
}

.testimonial-cta-btn:after {
    content: "\e921";
    position: absolute;
    right: -24px;
    bottom: 2px;
    font-size: 16px;
    color: var(--primary-color);
    font-family: 'rmfx-theme-05';
    line-height: 1em;
}


.bg-medium .testimonial-cta-btn,
.bg-medium .testimonial-avatar-info h3,
.bg-dark .testimonial-cta-btn,
.bg-dark .testimonial-avatar-info h3  {
    color: var(--white);
}

.bg-medium .testimonial-item__bottom:after {
    border-left: 17.5px solid transparent;
    border-right: 17.5px solid transparent;
    border-top: 20px solid var(--dark);
}

.bg-dark .testimonial-item__bottom:after {
    border-left: 17.5px solid transparent;
    border-right: 17.5px solid transparent;
    border-top: 20px solid var(--medium);
}

.bg-light .testimonial-item__bottom:after {
    border-left: 17.5px solid transparent;
    border-right: 17.5px solid transparent;
    border-top: 20px solid var(--white);
}

.bg-light .google-review {
    background: var(--light-accent-color);
}

.bg-dark .google-review {
    background: var(--medium);
}

.bg-medium .google-review {
    background: var(--dark);
}

.bg-light .google-review__image {
    background-color: var(--white);
}

.bg-dark .google-review__image,
.bg-medium .google-review__image {
    background-color: var(--dark-accent-color);
}

.testimonials__heading .google-review {
    margin-bottom: 25px;
}

.testimonial-list {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
}

.testimonial-list .testimonial-item{
    width: 100%;
}

.testimonial-slider .slick-arrow{
    z-index: 999;
}

@media(min-width: 768px) {
    .testimonial-item__top {
        padding: 32px 48px;
    }

    .testimonial-slider .slick-slide {
        margin: 0 52px;
    }

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

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

    .testimonial-slider .slick-prev {
        left: 52px;
    }

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

    .testimonial__bottom {
        margin: -66px 0 0;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
    }

    .testimonial__bottom .google-review {
        margin: 0;
        right: 0;
    }

    .testimonial-item__bottom {
        padding-left: 48px;
    }
        
    .testimonial-item__bottom:after {
        left: 56px;
    }

    .testimonial-avatar-info h3 {
        font-size: 20px;
        margin: 0 0 5px;
    }

    .testimonials__heading {
        max-width: 832px;
        margin: 0 auto 32px;
    }
}

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

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

    .testimonial-slider {
        margin: 0 -16px;
        padding-bottom: 95px;
    }

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

    .testimonial-slide {
        height: 100%;
    }

    .testimonial-item {
        height: 100%;
    }

    .testimonial-slide .testimonial-item__top {
        min-height: calc(100% - 82px);
    }

    .testimonial-avatar-info p {
        font-size: 16px;
    }

    .testimonial-slider .slick-prev {
        left: 16px;
    }

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

    .testimonials__heading .google-review {
        margin-bottom: 25px;
    }

    .testimonial-list .testimonial-item {
        width: calc(50% - 16px);
        height: auto;
    }

    .testimonial-list .testimonial-item__top {
        min-height: calc(100% - 74px);
    }
}

.testimonial-listing__pagination .load-more__btn{
    background: var(--primary-color);
    color: var(--primary-text-color);
    cursor: pointer;
    text-transform: capitalize;

}
.testimonial-listing__pagination .load-more__btn::after{
    content: "\e921";
   
}
.testimonial-listing__pagination .load-more__btn:hover{
    background: var(--primary-hover);
}
.load-more__progress::-webkit-progress-bar,
.load-more__progressprogress::-webkit-progress-value,
.load-more__progress::-moz-progress-bar {
	height: 10px;
	border: 0;
	border-radius: 600px;
}

.load-more__progress::-webkit-progress-bar {
	background-color: var(--light);
	border-radius: 600px;
}
.bg-light .load-more__progress::-webkit-progress-bar {
    background-color: var(--light-accent-color);
}

.load-more__progress::-webkit-progress-value {
	background-color: var(--secondary-color);
	border-radius: 600px;
}