.elementor-container {
    max-width: var(--content-width);
}

.testimonial-item .feed-rating {
    position: relative;
    line-height: 1em;
    display: inline-block;
    letter-spacing: 5px;
    font-size: 20px;
}

.testimonial-item .feed-rating .star {
    color: #FDA800;
    white-space: nowrap;
}

.feed-rating .star:before {
    content: "\f005 \f005 \f005 \f005 \f005";
    font-family: 'Font Awesome';
    font-weight: 700;
}

.feed-rating .star.front {
    opacity: 0.2;
}

.feed-rating .star.back {
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
}

.testimonial-item {
    position: relative;
}

.testimonial-header {
    overflow: hidden;
}

.style1 .testimonial-item .description {
    position: relative;
    padding: 38px 0;
}

.style1 .testimonial-item .feed-rating {
    position: absolute;
    right: 0;
    bottom: 0;
}

.style3 .testimonial-item .description {
    font-size: 24px;
    margin-bottom: 24px;
    line-height: 1.5em;
    border-bottom: 1px solid #ededed;
    padding-bottom: 24px;
}

.style6 .testimonial-item:before,
.style1 .testimonial-item .description:before,
.style1 .testimonial-item .description:after {
    content: url('../../images/quote.png');
    display: block;
}

.style1 .testimonial-item .description:before,
.style1 .testimonial-item .description:after {
    position: absolute;
    left: 0;
    top: -6px;
}


.style1 .testimonial-item .description:before {
    left: auto;
    right: 0;
    top: auto;
    bottom: 0;
    transform: rotate(180deg);
}

.style3 .testimonial-item,
.style1 .testimonial-item {
    display: flex;
    flex-direction: column;
}

.style3 .testimonial-item .testimonial-header,
.style1 .testimonial-item .testimonial-header {
    order: 1;
}

.testimonial-item .testimonial-header .title {
    font-size: 24px;
    margin: 0 0 4px 0;
    padding-top: 3px;
}

.testimonial-item .testimonial-header .position {
    font-size: 16px;
    font-weight: 500;
}

.testimonial-item .testimonial-header .thumbnail {
    width: 70px;
    height: 70px;
    border-radius: 100px;
    overflow: hidden;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
    float: left;
    margin-right: 16px;
}

.style3 .swiper-pagination {
    position: absolute;
    right: 0;
    bottom: 19px;
    justify-content: flex-end;
}

.style2 .testimonial-item .testimonial-header {
    margin-bottom: 24px;
}

.style2 .testimonial-item .feed-rating {
    margin-top: 24px;
}

.style3 .testimonial-item .feed-rating {
    margin-bottom: 24px;
}

/* Testimonial-Style-4 */
.style4 .testimonial-item {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    display: flex;
    flex-direction: column-reverse;
    box-shadow: 0 8px 24px 0 rgba(0, 0, 0, 0.1);
}

.style4 .testimonial-item .feed-rating {
    margin-bottom: 24px;
}

.style4 .testimonial-item .testimonial-header {
    margin-top: 24px;
}

.style4 .testimonial-item .description {
    font-weight: 500;
}

.style4 .testimonial-item .description:after,
.style4 .testimonial-item .description:before {
    content: '"';
}


/* Testimonial-Style-5 */
.style5 .testimonial-item {
    background-color: white;
    padding: 50px 40px;
    border-radius: 8px;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    border: 1px solid rgba(var(--primary-color), 0.2);
    text-align: center;
}

.style5 .testimonial-item .feed-rating {
    margin-bottom: 32px;
}

.style5 .testimonial-item .testimonial-header {
    margin-top: 32px;
}

.style5 .testimonial-item .description {
    font-weight: 300;
    font-size: 24px;
    line-height: 1.6em;
}

.style5 .testimonial-item .testimonial-header .title {
    position: relative;
    padding-top: 24px;
    font-size: 20px;
}

.style5 .testimonial-item .testimonial-header .position {
    font-weight: 300;
}

.style5 .testimonial-item .testimonial-header .title:before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background-color: rgb(var(--primary-color));
}

.style5 .testimonial-item .description:after,
.style5 .testimonial-item .description:before {
    content: '"';
}

.testimonial_slider_1 .single-image img {
    width: 100%;
}

.testimonial_slider_1 .single-image {
    border-radius: 6px;
    overflow: hidden;
}

.testimonial_slider_1 .section-title .title {
    font-size: 48px;
    margin-bottom: 32px;
}

.testimonial_slider_1 .testimonial-header {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.testimonial_slider_1 .testimonial-header .quote {
    line-height: 1em;
}

.testimonial_slider_1 .testimonial-header .quote::before {
    content: url('../../images/quote-right.png');
}

.testimonial_slider_1 .feed-rating .star {
    color: #FF6B31;
}

.testimonial_slider_1 .testimonial-box .description {
    font-size: 18px;
    margin-bottom: 32px;
}

.testimonial_slider_1 .testimonial-box .description:before,
.testimonial_slider_1 .testimonial-box .description:after {
    content: '"';
}

.testimonial_slider_1 .control {
    position: absolute;
    right: -13px;
    bottom: 65px;
    z-index: 2;
    width: 50px;
    height: 50px;
    border: none;
    background: rgb(var(--dark-color));
    color: rgb(var(--white-color));
    border-radius: 100px;
    font-size: 18px;
    padding: 0;
}

.testimonial_slider_1 .control:hover {
    background-color: #FF6B31;
}

.testimonial_slider_1 .control.next {
    bottom: 135px;
}

.testimonial_slider_2 .testimonial-navigate-slide .thumbnail,
.testimonial_slider_1 .testimonial-navigate-slide .thumbnail {
    border-radius: 5px;
    overflow: hidden;
    line-height: 0;
    position: relative;
}

.testimonial_slider_1 .testimonial-navigate-slide .thumbnail {
    margin-bottom: 8px;
}


.testimonial_slider_2 .testimonial-navigate-slide .thumbnail img,
.testimonial_slider_1 .testimonial-navigate-slide .thumbnail img {
    width: 100%;
}


.testimonial_slider_2 .testimonial-navigate-slide .thumbnail:before,
.testimonial_slider_1 .testimonial-navigate-slide .thumbnail:before {
    content: "";
    position: absolute;
    left: 10px;
    top: 10px;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    display: block;
    border: 10px solid white;
    opacity: 0;
    transition: 0.3s;
    z-index: 2;
}

.testimonial_slider_2 .testimonial-navigate-slide .thumbnail:before {
    left: 8px;
    top: 8px;
    width: calc(100% - 16px);
    height: calc(100% - 16px);
    border: 8px solid white;
}

.testimonial_slider_2 .testimonial-navigate-slide .swiper-slide-thumb-active .thumbnail:before,
.testimonial_slider_1 .testimonial-navigate-slide .swiper-slide-thumb-active .thumbnail:before {
    opacity: 0.5;
}

.testimonial_slider_1 .testimonial-navigate-slide .testimonial-info .title {
    font-size: 22px;
    margin-bottom: 4px;
    line-height: 1.4em;
}

.testimonial_slider_1 .testimonial-navigate-slide .testimonial-info .position {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4em;
}

.testimonial_slider_2 .single-image .thumbnail {
    position: relative;
    z-index: 1;
    text-align: center;
}

.testimonial_slider_2 .testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 12px;
}

.testimonial_slider_2 .single-image .thumbnail .bg {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 90%;
    background-color: #ededed;
    border-radius: 999px 999px 3px 3px;
    z-index: -1;
    opacity: .3;
}

.testimonial_slider_2 .quote {
    width: 100px;
}

.testimonial_slider_2 .feed-rating {
    margin-bottom: 12px;
}

.testimonial_slider_2 .testimonial-body .description {
    margin-bottom: 24px;
}

.testimonial_slider_2 .testimonial-body .title {
    margin-bottom: 4px;
    font-size: 24px;
}

.testimonial_slider_2 .control {
    width: 50px;
    height: 50px;
    border: none;
    background-color: rgb(var(--dark-color));
    color: white;
    border-radius: 999px;
    font-size: 21px;
    margin: 5px;
}

.testimonial_slider_2 .control:hover {
    background-color: #FF6B31;
}

.testimonial_slider_2 .slider-controls {
    margin: -5px;
    padding-top: 24px;
}

.testimonial_slider_2 .section-title {
    margin-bottom: 56px;
}

.testimonial_slider_2 .section-title .title {
    font-size: 46px;
}

.testimonial_slider_2 .single-image .thumbnail img {
    margin: 0 -15px;
    max-width: calc(100% + 30px);
}

.style6 .testimonial-item:before {
    transform: rotate(180deg);
    display: inline-block;
}

.style6 .testimonial-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    padding: 32px;
    background-color: white;
    border-left: 6px solid #FF6B31;
    border-radius: 12px;
    box-shadow: 0 25px 55px 0 rgba(0, 0, 0, 0.05);
}

.style6 .testimonial-item .testimonial-header {
    order: 1;
}

.style6 .testimonial-item .description {
    margin-bottom: 24px;
    width: 100%;
}

.style6 .testimonial-item .title {
    font-weight: 400;
    color: #FF6B31;
    margin: 0;
    padding: 0;
    font-size: 20px;
    line-height: 1.4em;
}

.style6 .testimonial-item .feed-rating {
    order: 2;
    margin-bottom: 8px;
}

@media only screen and (max-width: 992px) {
    .testimonial_slider_1 .section-title .title {
        font-size: 40px;
    }

    .testimonial_slider_1 .testimonial-navigate-slide .testimonial-info .title {
        font-size: 20px;
    }
}

@media only screen and (max-width: 768px) {
    .testimonial_slider_1 .section-title .title {
        font-size: 32px;
    }

    .testimonial_slider_1 .testimonial-navigate-slide .testimonial-info .title {
        font-size: 18px;
    }
}