.flex-content.testimonials .main-title {
    margin: 0;
}

.flex-content.testimonials .text {
    line-height: 30px;
    margin: 17px 0 0;
}

.flex-content.testimonials .testimonials-container {
    padding: 0 40px 0 70px;
    position: relative;
}

.flex-content.testimonials .testimonials-container .dots {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    margin: 0;
    padding: 0;
    list-style: none;
}

.flex-content.testimonials .testimonials-container .dots li {
    display: block;
    width: 19px;
    height: 19px;
    border: 1px solid var(--Yellow);
    -webkit-transition: all 350ms ease-in-out;
    -moz-transition: all 350ms ease-in-out;
    -ms-transition: all 350ms ease-in-out;
    -o-transition: all 350ms ease-in-out;
    transition: all 350ms ease-in-out;
    margin: 0 0 20px;
    border-radius: 50%;
    cursor: pointer;
}

.flex-content.testimonials .testimonials-container .dots li.active {
    background: var(--Yellow);
    pointer-events: none;
}

.flex-content.testimonials .testimonials-container .dots li:last-of-type {
    margin: 0;
}

.flex-content.testimonials .testimonials-section {
    position: relative;
    box-shadow: 0px 0px 54px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    -webkit-transition: all 350ms ease-in-out;
    -moz-transition: all 350ms ease-in-out;
    -ms-transition: all 350ms ease-in-out;
    -o-transition: all 350ms ease-in-out;
    transition: all 350ms ease-in-out;
}

.flex-content.testimonials .testimonials-section .testimonial {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    padding: 53px 74px 53px 144px;
    opacity: 0;
    pointer-events: none;
    -webkit-transition: opacity 350ms ease-in-out;
    -moz-transition: opacity 350ms ease-in-out;
    -ms-transition: opacity 350ms ease-in-out;
    -o-transition: opacity 350ms ease-in-out;
    transition: opacity 350ms ease-in-out;
}

.flex-content.testimonials .testimonials-section .testimonial.active {
    opacity: 1;
    pointer-events: all;
}

.flex-content.testimonials .testimonials-section .testimonial img {
    position: absolute;
    top: 50%;
    left: calc(-135px / 2);
    transform: translateY(-50%);
    width: 135px;
    height: 135px;
    object-fit: cover;
    border-radius: 12px;
}

.flex-content.testimonials .testimonials-section .testimonial .testimonial-text {
    font-family: 'Crimson Text';
    font-weight: 700;
    font-size: 1.2em;
    line-height: 29px;
    margin: 0;
}

.flex-content.testimonials .testimonials-section .testimonial .name {
    font-weight: 700;
    line-height: 30px;
    margin: 28px 0 0;
}

.flex-content.testimonials .testimonials-section .testimonial .position {
    font-size: 0.8em;
    line-height: 24px;
    margin: 0;
}


@media only screen and (max-width: 991px) {
    .flex-content.testimonials .testimonials-container {
        padding: 112px 0 48px;
    }

    .flex-content.testimonials .testimonials-section .testimonial {
        padding: 67px 30px 53px;
    }

    .flex-content.testimonials .testimonials-section .testimonial img {
        width: 117px;
        height: 117px;
        top: -84px;
        left: 50%;
        transform: translateX(-50%);
    }

    .flex-content.testimonials .testimonials-container .dots {
        top: 100%;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        flex-direction: revert;
    }

    .flex-content.testimonials .testimonials-container .dots li {
        margin: 0 20px 0 0;
    }

}

@media only screen and (max-width: 767px) {
    .flex-content.testimonials {
        padding: 40px 0 80px !important;
    }

    .flex-content.testimonials .text {
        line-height: 24px;
        margin: 10px 0 0;
    }

    .flex-content.testimonials .testimonials-section .testimonial .testimonial-text {
        font-size: 1.25em;
        line-height: 27px;
    }

    .flex-content.testimonials .testimonials-section .testimonial .name {
        font-size: 1.25em;
    }

    .flex-content.testimonials .testimonials-section .testimonial .position {
        font-size: 1em;
    }

}