.reviews-wrapper .heading-outer {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding-bottom: 50px;
}

.reviews-wrapper .heading-wrapper {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 15px;
}

.reviews-wrapper .heading-wrapper>h1 {
    width: auto;
    padding-bottom: 0;
}

.reviews-fltr-outer {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding-bottom: 50px;
}

.reviews-fltr {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 20px
}

.reviews-fltr .custom-select_wrapper {
    width: 180px;
}

.reviews-fltr .fltr-btnReset_wrapper {
    padding: 0;
}

.reviews-wrapper .last-view_pagination {
    margin: 0;
}

.review-items {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    gap: 30px;
}

.review-item {
    border-radius: 15px;
    background: #FFF;
    padding: 20px;
    gap: 15px;
    /* Shadow */
    -webkit-box-shadow: 0px 2px 20px 0px #E5E7EE;
    box-shadow: 0px 2px 20px 0px #E5E7EE;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    width: 100%;
}

.review-item_top {
    width: 100%;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    gap: 20px;
}

.review-item_author {
    gap: 10px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    font-size: 18px;
    min-width: 0;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.review-item_author>.img-wrapper {
    width: 25px;
}

.review-item_author .semibold {
    white-space: nowrap;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.review-item_author img {
    display: block;
    width: 100%;
}

.review-item_dRate {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    gap: 20px;
    min-width: 0;

}

.review-item_date {
    font-size: 14px;
    line-height: 17px;
}

.review-item_rate {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 5px;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}

.review-item_rate .star-active path {
    fill: #F2C94C;
}

.review-item_tags {
    /*   margin-top: 15px; */
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 10px
}

.review-item_tag {
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid #0049B7;
    font-size: 14px;
    color: #0049B7;
}

.review-text_more {
    color: #48494D;
    position: relative;
    padding-right: 35px;
    margin-top: 15px;
}

.review-text>span {
    display: block;
    /*   max-height: 68px; */
    overflow: hidden;
    -webkit-transition: all .2s ease;
    -o-transition: all .2s ease;
    transition: all .2s ease;
}

.review-text.not-over>span {
    max-height: 68px;
}

/* .review-text.not-over.open>span {
    max-height: 100px;
} */

.review-text_more:after {
    content: '';
    position: absolute;
    right: 0;
    width: 25px;
    height: 25px;
    background-image: url(../media/icons/arrow-down.svg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    top: 0;
    /* transform: translateY(-50%); */
    -webkit-transition: all .2s ease;
    -o-transition: all .2s ease;
    transition: all .2s ease;
}

.review-text.open .review-text_more:after {
    -webkit-transform: rotate(-180deg);
    -ms-transform: rotate(-180deg);
    transform: rotate(-180deg);
    /* translateY(50%) */
    ;
}

.review-lightgallery {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 10px;
}

.review-lightgallery_item {
    width: 80px;
    border-radius: 5px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 60px;
}

.review-pagination-outer {
    margin-top: 50px;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

@media screen and (min-width: 1200px) {
    .reviews-fltr_checkbox {
        display: none;
    }

    .reviews-fltr {
        display: -webkit-box !important;
        display: -ms-flexbox !important;
        display: flex !important;
    }
}

@media screen and (max-width: 1199px) {
    .reviews-fltr_checkbox:not(.open)+.reviews-fltr {
        display: none;
    }

    .reviews-fltr-outer {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    .reviews-wrapper .heading-outer {
        padding-bottom: 40px;
    }

    .reviews-fltr,
    .reviews-fltr .custom-select_wrapper {
        width: 100%;
    }

    .reviews-fltr {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        margin-top: 20px;
    }

    .reviews-fltr.flex-important {
        display: -webkit-box !important;
        display: -ms-flexbox !important;
        display: flex !important;
    }


    .reviews-fltr .fltr-btnReset_wrapper {
        text-align: center;
    }

    .reviews-wrapper .last-view_pagination {
        margin: 0 auto;

    }

    .reviews-fltr-outer .last-view_pagination {
        margin-top: 40px;
    }

    .reviews-wrapper .last-view_pagination-arrows .arrow_noellipse {
        border-radius: 50%;
        -webkit-transition: all .2s ease;
        -o-transition: all .2s ease;
        transition: all .2s ease;
        background-size: 8px 13px;
        opacity: 1;
        width: 40px;
        height: 40px;
        margin: 0 6px;

    }

    .reviews-wrapper .last-view_pagination-arrows {
        margin-left: 25px;
    }

    .reviews-wrapper .last-view_pagination-arrows .arrow_noellipse:not(.disabled) {
        -webkit-box-shadow: 0px 2px 20px #E5E7EE;
        box-shadow: 0px 2px 20px #E5E7EE;
        background-color: #ffffff;
    }

    .review-text.not-over>span {
        max-height: 96px;
    }
}

@media screen and (max-width: 767px) {
    .reviews-wrapper .heading-outer {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
        gap: 30px;
        padding-bottom: 30px;
    }


    .reviews-wrapper .heading-outer .btn {
        width: 100% !important;
    }

    .reviews-fltr-outer {
        padding-bottom: 30px;
    }

    .reviews-fltr-outer .last-view_pagination {
        margin-top: 30px;
    }

    .reviews-fltr {
        gap: 15px;
    }

    .review-item_top {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
        gap: 15px;
    }

    .review-lightgallery {
        gap: 5px;
    }

    .review-lightgallery_item {
        width: 50px;
        height: 40px;
    }

    .review-pagination-outer {
        margin-top: 30px;
    }
}

/* Review Modal CSS */
.modal.modal-review .modal-wrapper {
    padding: 70px 60px;
    padding-bottom: 30px;
    background: #ffffff;
    border-radius: 15px;
    width: 680px;
}

.modal.modal-review a.close-modal {
    width: 25px;
    height: 25px;
    top: 30px;
    right: 60px;
    background-image: url(../media/icons/big-closeonhover.svg);
    opacity: .7;
    -webkit-transition: opacity .2s ease;
    -o-transition: opacity .2s ease;
    transition: opacity .2s ease;
}

.modal.modal-review a.close-modal:hover,
.modal.modal-review a.close-modal:active {
    opacity: 1;
}

.modal-review_rate-wrapper {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    gap: 10px;
}

.modal-review_rate {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    /*  gap: 10px; */
}

.modal-review_rate-label {
    padding: 0 5px;
    cursor: pointer;
}

.modal-review_rate-label svg {
    display: block;
}

.modal-review_rate-label path {
    -webkit-transition: all .2s ease;
    -o-transition: all .2s ease;
    transition: all .2s ease;
}

.modal-review_rate-radio:not(:checked):not(:disabled)~.modal-review_rate-label:hover path,
.modal-review_rate-radio:not(:checked):not(:disabled)~.modal-review_rate-label:hover~.modal-review_rate-label path,
.modal-review_rate-radio:checked~.modal-review_rate-label path {
    fill: #F2C94C;
}

.modal-review_fields-wrapper {
    margin-top: 20px;
    gap: 20px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.modal-review_fields-wrapper .textarea_wrapper {
    width: 100%;
}

.modal-review_form .conf-wrapper {
    margin-top: 20px;
    font-size: 12px;
    line-height: 150%;
    color: rgba(72, 73, 77, 0.50);
}

.modal-review_form .conf-wrapper>a {
    color: #48494D;
    border-bottom: 1px solid #48494D;
    -webkit-transition: border-color .2s ease;
    -o-transition: border-color .2s ease;
    transition: border-color .2s ease;
}

.modal-review_form .conf-wrapper>a:hover,
.modal-review_form .conf-wrapper>a:active {
    border-color: transparent;
}

.modal-review_form .btn-wrapper {
    margin-top: 30px;
}

.modal-review_rate.invalid {
    position: relative;
}

.modal-review_rate.invalid .invalid-text {
    position: absolute;
    display: block;
    font-size: 12px;
    line-height: 15px;
    color: #D90008;
    top: -12px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
}

.modal-review_send:not(.show) {
    display: none;
}

.modal-review_send .h1 {
    padding-bottom: 15px;
}

.modal-review_form-bad .modal-review_fields-wrapper {
    margin-top: 30px;
    gap: 20px;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.modal-review_bad-success:not(.show) {
    display: none;
}

.modal-review_send .btn-wrapper {
    margin-top: 30px;
}

@media screen and (max-width: 1199px) {
    .modal-review .btn.btn_blue {
        height: 50px !important;
        line-height: 50px !important;
        padding: 0 20px !important;
    }
}

@media screen and (max-width: 767px) {
    .modal.modal-review {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        height: 100vh;
        background: #ffffff;
        overflow: auto;
    }

    .modal-review_form {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    .modal.modal-review .modal-wrapper {
        width: auto;
        padding: 70px 16px;
        max-width: 320px;
        margin: 0 auto;
    }

    .modal.modal-review a.close-modal {
        top: 20px;
        right: 16px;
    }

    .modal-review .h1 {
        font-size: 20px;
        padding-bottom: 10px;
        line-height: 150%;
    }

    .modal-review_form>.h1 {
        padding-bottom: 20px;
    }

    .modal-review .default-input_wrapper,
    .modal-review .custom-select_wrapper {
        width: 100%;
    }

    .modal-review_form .btn-wrapper {
        margin-top: 20px;
    }

    .modal-review .btn.btn_blue {
        width: 100% !important;
    }

    .modal-review_form .conf-wrapper {
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1;
    }
}
.reviews-empty {
    padding-top: 50px;
    max-width: 680px;
    margin: 0 auto;
}
/* End Review Modal CSS */

/* Start Reviews Slider Wrapper CSS  новое 31.10.2023*/
.review-slide {
    border-radius: 5px;
    background: #ffffff;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    padding: 20px 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.review-slide_author {
    gap: 10px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    padding: 0 20px;
}

.review-slide_author img {
    display: block;
}

.review-slide_author>.img-wrapper {
    width: 40px;
}

.review-slide_author>div:last-child {
    position: relative;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    display: inline;
    white-space: nowrap;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.review-slide_author>div[data-date]:after {
    content: attr(data-date);
    position: relative;
    display: block;
    color: rgba(72, 73, 77, 0.50);
    overflow: hidden;
    white-space: nowrap;
    font-size: 12px;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    /* line-height: 150%; */
}

.review-slide_text {
    height: 216px;
    /* overflow: hidden; */
    overflow: auto;

}

.review-slide_text.scroll-wrapper {
    margin-top: 15px;
    /* padding: 0 20px; */
}

.review-slide_text.scroll-content {
    padding: 0 20px;
}

.review-slide_rateCity {
    margin-top: 10px;
    gap: 10px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    padding: 0 20px;
}

.review-slide_rateCity .review-item_rate {
    gap: 3px;
}

.review-slide_rateCity>span {
    font-size: 12px;
    line-height: 100%;
    padding-top: 4px;
    display: inline;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    color: rgba(72, 73, 77, 0.50);
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.reviews-slider_wrapper {
    position: relative;
}

.reviews-slider_wrapper .swiper-control {
    position: absolute;
    bottom: 100%;
    right: 0;
    margin-bottom: 30px;
    gap: 25px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.reviews-slider_wrapper .swiper-control>* {
    position: relative;
    width: auto;
    bottom: auto;
    left: auto;
    right: auto;
    top: auto;
    z-index: 0;
}

.reviews-slider_wrapper .swiper-control>.swiper-pagination {
    min-width: 70px;
}

.reviews-slider_wrapper .swiper-control>.swiper-navigation {
    gap: 12px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.reviews-slider_wrapper .arrow_noellipse {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

/* .reviews-slider_wrapper .arrow_noellipse.disabled {
    display: none;
} */

@media screen and (max-width: 1199px) {
    .reviews-wrapper>h2.heading_black {
        text-align: center;
    }

    .reviews-slider_wrapper {
        width: 590px;
        margin: 0 auto;
    }

    .reviews-slider_wrapper .swiper-control {
        position: relative;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        margin-top: 30px;
    }

    /* .review-slide_text {
        margin-top: 15px;
        padding: 0 20px;
        -webkit-appearance: initial;
    } */
}

@media screen and (max-width: 767px) {
    .reviews-slider_wrapper {
        width: 100%;
    }

    .review-slider_container {
        margin: 0 -16px;
        padding: 0 16px;
    }

    .reviews-slider_wrapper .swiper-control>.swiper-pagination {
        min-width: 45px;
    }
}

/* End Reviews Slider Wrapper CSS конец новое 31.10.2023*/