.reviews-block {
    margin :20px 0;
    padding-top: 28px;
    border-top: 1px solid #e2e2e2;
    border-top: 1px solid var(--base-color-grey-border)
}
.reviews-block__title {
    font-weight: 700;
    font-size: 24px
}
.reviews-block-container {
    margin-top: 25px;
}
table.reviews-post-table {
    width: auto;
    padding: 0;
    line-height: 1.2;
    border: none;
}
table.reviews-post-table td.answers table.reviews-post-table {
    margin: 35px 0 0 50px;
    width: calc(100% - 50px);
    overflow: hidden;
}
table.reviews-post-table:not(:first-child) {
    margin-top: 35px
}
table.reviews-post-hidden {
    opacity: .5;
    background: none !important;
}
table.reviews-post-table thead td .review-avatar {
    overflow: hidden;
    width: 30px;
    height: 30px;
    margin: 0 12px 0 8px;
    background: none;
    border: none;
    border-radius: 50%;
}
table.reviews-post-table thead td .review-avatar img {
    width: 100%;
}
table.reviews-post-table thead td {
    padding: 0;
    font-size: 18px;
    line-height: 1.2;
    color: #222222;
    color: var(--base-color)
}
table.reviews-post-table thead td b {
    font-weight: 600;
}
table.reviews-post-table thead td .message-post-date {
    margin-left: 4px;
    font-size: 13px;
    color: #989898
}
table.reviews-post-table tbody td div.reviews-text {
    margin: 10px 0 0 50px;
    padding-top: 0;
    font-size: 16px;
    line-height: 1.5;
    color: #222222;
    color: var(--base-color);
    background: none !important
}
.review-author-date {
    margin-left: 50px;
    padding-top: 5px;
}
table.reviews-post-table tbody td div.reviews-text a:not(.blog-p-user-name) {
    padding-bottom: 1px;
    text-decoration: none;
    color: #00AEFF;
    color: var(--base-color-blue);
    border-bottom: 1px solid rgba(67, 173, 231, .2)
}
table.reviews-post-table tbody td div.reviews-text a:not(.blog-p-user-name):hover {
    border-color: transparent;
}
div.reviews-post-reply-buttons {
    height: auto;
    margin-top: 14px
}
table.reviews-post-table div.reviews-post-reply-buttons {
    height: auto;
    margin: 14px 0 0 50px;
}
div.reviews-post-reply-buttons a {
    font-size: 16px;
    text-decoration: none;
    color: #989898;
    border-bottom: 1px solid #e1e1e1;
    -webkit-transition: border .1s ease-in-out;
    -o-transition: border .1s ease-in-out;
    transition: border .1s ease-in-out
}
div.reviews-post-reply-buttons a:hover {
    text-decoration: none;
    border-bottom: 1px solid transparent;
}
div.reviews-post-reply-buttons span.separator {
    width: auto;
    height: auto;
    margin: 0 4px;
    font-size: 16px;
    line-height: normal;
    color: #f2f2f2;
    background: none;
}
div.reviews-post-reply-buttons span.separator:before {
    content: '/';
}
div.reviews-text table.forum-quote {
    position: relative;
    margin-bottom: 12px;
    background: #FEFFE4;
    border: none;
    border-radius: 5px;
}
div.reviews-text .entry-quote:first-child table.forum-quote:before {
    content: '';
    top: 15px;
    right: 0;
    left: 0;
    position: absolute;
    height: 24px;
}
div.reviews-text table.forum-quote:after {
    content: '“';
    top: 10px;
    left: 5px;
    position: absolute;
    font-size: 60px;
    line-height: 46px;
    font-style: italic;
    color: #e0be85;
    color: var(--base-color-gold);
}
div.reviews-text table.forum-quote td {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    padding: 35px 35px 25px;
    font-style: italic;
    color: #000000;
}
div.reviews-text .entry-quote:first-child table.forum-quote td {
    padding-top: 15px;
}
div.reviews-text table.forum-quote .blog-p-user-name {
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
    margin-top: 10px;
    font-weight: 600;
    font-style: normal;
    text-decoration: none;
    color: inherit;
}
div.reviews-text table.forum-quote .blog-p-user-name:hover {
    text-decoration: underline;
}
div.reviews-link-box {
    margin-top: 20px;
    margin-bottom: 0;
    padding: 0 0 0 62px;
}
div.reviews-link-box a {
    display: inline-block;
    padding-bottom: 4px;
    font-size: 16px;
    text-decoration: none;
    color: #00AEFF;
    color: var(--base-color-blue);
    border-bottom: 1px solid rgba(67, 173, 231, 0.2)
}
div.reviews-link-box a:hover {
    border-color: transparent;
}
div.reviews-note-box {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    min-height: 70px;
    margin-top: 45px;
    padding: 20px 20px 20px 62px;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.5;
    color: #222222;
    color: var(--base-color);
    background-image: url('/local/templates/doctorhead/theme/build/images/icons/checkbox.svg');
    background-repeat: no-repeat;
    background-position: 20px 50%;
    background-size: 24px auto;
    background-color: #fafafa;
    border: 1px solid #f2f2f2;
    border-radius: 5px
}
div.reviews-note-box p {
    margin: 0;
}
div.reviews-note-box .notetext {
    color: inherit;
}
div.reviews-reply-form {
    margin: 30px 0 0;
    padding: 20px 0 0;
    background: none;
    border: none;
    border-top: 1px solid #efefef;
}
div.reviews-reply-form:before {
    font-weight: 700;
    font-size: 22px;
    line-height: 1.2;
    color: #222222;
    color: var(--base-color);
}
div.reviews-reply-form-ru:before {
    content: 'Оставить комментарий';
}
div.reviews-reply-form-en:before {
    content: 'Leave a comment';
}
div.reviews-reply-form:before {
    font-size: 22px;
}
form.reviews-form {
    padding: 0;
    background: none;
}
div.reviews-reply-fields {
    padding: 0;
}
div.reviews-reply-field {
    margin-top: 25px;
    padding-bottom: 0
}
div.reviews-reply-field-author, div.reviews-reply-field-email {
    width: 300px
}
div.reviews-reply-field label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}
div.reviews-reply-field input:not([type="checkbox"]) {
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    resize: none;
    position: relative;
    z-index: 1;
    width: 100%;
    height: 44px;
    padding: 0 16px;
    font-family: inherit;
    font-size: 14px;
    line-height: normal;
    color: #222222;
    color: var(--base-color);
    background-color: transparent;
    border: 1px solid #e2e2e2;
    border: 1px solid var(--base-color-grey-border);
    border-radius: 6px;
    -webkit-box-shadow: inset 0px 3px 0px 0px rgba(0, 0, 0, 0.02);
    box-shadow: inset 0px 3px 0px 0px rgba(0, 0, 0, 0.02)
}
div.reviews-reply-field input:not([type="checkbox"])::-webkit-input-placeholder {
    opacity: 1;
    color: #a6a6a6;
}
div.reviews-reply-field input:not([type="checkbox"])::-moz-placeholder {
    opacity: 1;
    color: #a6a6a6;
}
div.reviews-reply-field input:not([type="checkbox"]):-ms-input-placeholder {
    opacity: 1;
    color: #a6a6a6;
}
div.reviews-reply-field input:not([type="checkbox"])::-ms-input-placeholder {
    opacity: 1;
    color: #a6a6a6;
}
div.reviews-reply-field input:not([type="checkbox"])::placeholder {
    opacity: 1;
    color: #a6a6a6;
}
div.reviews-reply-field input[type="checkbox"] {
    display: none;
}
div.reviews-reply-field input[type="checkbox"] + label {
    cursor: pointer;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin: 0;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: normal;
    text-transform: none
}
div.reviews-reply-field input[type="checkbox"] + label:before {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    background-color: #fff;
    border: 1px solid #e2e2e2;
    border: 1px solid var(--base-color-grey-border);
    border-radius: 4px;
    -webkit-transition: .1s ease-in-out;
    -o-transition: .1s ease-in-out;
    transition: .1s ease-in-out;
    -webkit-transition-property: background-color, border-color;
    -o-transition-property: background-color, border-color;
    transition-property: background-color, border-color;
}
div.reviews-reply-field input[type="checkbox"]:checked + label:before {
    background-color: #00AEFF;
    background-color: var(--base-color-blue);
    background-image: url('/local/templates/doctorhead/theme/build/images/icons/checkbox-w.svg');
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: auto 8px;
    border-color: #47a5d8;
}
div.reviews-reply-header {
    margin-top: 25px;
    margin-bottom: 10px;
    padding: 0;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: none;
}
div.reviews-reply-header + div.reviews-reply-field {
    margin-top: 0;
}
.reviews-required-field {
    color: #c46060;
    color: var(--base-color-red);
}
.feed-add-post-form {
    margin: 0;
    background: none;
}
.feed-add-post-text {
    padding: 10px;
    font-size: 16px;
    line-height: 1.5;
    color: #222222;
    color: var(--base-color);
    border: 1px solid #e2e2e2;
    border: 1px solid var(--base-color-grey-border);
    border-radius: 6px
}
.reviews-reply-field-captcha {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
}
.reviews-reply-field-captcha-label {
    width: 210px;
    margin-right: 5px;
}
.reviews-reply-field-captcha-image img {
    height: 44px;
}
div.reviews-reply-buttons {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin: 28px 0 0
}
div.reviews-reply-buttons input {
    outline: none;
    cursor: pointer;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 205px;
    height: 50px;
    margin-right: 10px;
    padding: 0 25px;
    font-family: inherit;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    background: #00AEFF;
    background: var(--base-color-blue);
    border: none;
    border-radius: 5px;
    -webkit-transition: .1s ease-in-out;
    -o-transition: .1s ease-in-out;
    transition: .1s ease-in-out;
    -webkit-transition-property: color, background-color, border-color;
    -o-transition-property: color, background-color, border-color;
    transition-property: color, background-color, border-color
}
div.reviews-reply-buttons input:hover {
    background-color: #43ade7;
}
div.reviews-reply-buttons input[name="view_button"] {
    color: #222222;
    color: var(--base-color);
    background: #fff;
    border: 1px solid #00AEFF;
    border: 1px solid var(--base-color-blue)
}
div.reviews-reply-buttons input[name="view_button"]:hover {
    color: #fff;
    background-color: #00AEFF;
    background-color: var(--base-color-blue);
}
.reviews-preview {
    margin-top: 25px;
}
div.reviews-header-box {
    margin-bottom: 10px;
    padding: 0;
    font-weight: 600;
    font-size: 18px;
    color: #222222;
    color: var(--base-color);
    background: none;
    border: none;
}
div.reviews-info-box {
    margin: 0;
    padding: 0;
    line-height: normal;
    background: none;
    border: none;
}
div.reviews-post-entry {
    height: auto;
    padding: 0;
    font-size: 16px;
    line-height: 1.5;
}
div.reviews-info-box div.reviews-post-text {
    padding: 0;
}

.forum-notify-bar {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: auto;
    min-height: 70px;
    margin-top: 25px;
    padding: 20px 30px 20px 20px;
    background: #fafafa !important;
    border: 1px solid #f2f2f2;
    border-radius: 5px;
}
.forum-notify-text {
    padding: 0 !important;
    font-size: 16px;
    text-align: left !important;
    color: #222 !important;
}
.forum-notify-close {
    margin: 6px 4px 0 0 !important;
}
.forum-notify-text a.postFormAutorestore {
    margin: 0;
    color: #c46060;
    color: var(--base-color-red);
}
.forum-notify-text a.postFormAutorestore:hover {
    text-decoration: none;
}
div.reviews-navigation-box {
    margin: 20px 0;
    padding: 0;
    border: none
}
div.reviews-navigation-box .pagination-list__item {
    border-color: #e2e2e2
}
div.reviews-navigation-box .pagination-list__item:hover {
    border-color: #00AEFF;
    border-color: var(--base-color-blue);
}
div.reviews-navigation-box .pagination-list__item.is-active {
    border-color: #00AEFF;
    border-color: var(--base-color-blue);
}

.product-review-headline {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start
}
.product-review__rating {
    --rating-color: var(--base-color-blue);

    -ms-flex-negative: 0;

    flex-shrink: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-top: 4px;
    margin-left: auto
}
.product-review__rating .val {
    width: 20px;
    margin-left: 8px;
    font-size: 14px;
}
.product-review-author {
    padding-right: 20px;
    font-size: 18px
}
.product-review-author .link {
    font-weight: 600;
    text-decoration: underline;
    color: #999
}

.product-review-author span svg, .review-author-date svg {
    margin-left: 8px;
    margin-right: 8px;
    margin-bottom: -1px;
}

.review-avatar-initials {
    position: absolute;
    width: 30px;
    height: 30px;
    display: flex;
    top: -5px;
    left: 8px;
    justify-content: center;
    background: #9533C4;
    align-items: center;
    border-radius: 100%;
    font-size: 12px;
    line-height: 14px;
    color: #FFFFFF;
}

.review-avatar-initials--agent {
    border: 1px solid #00afff;
}

.reviews-post-table__author {
    position: relative;
}
.reviews-post-table__author .review-avatar-initials {
    top: 0;
}

.product-review-author .link:hover {
    text-decoration: none;
}
.product-review-author .date {
    margin-left: 10px;
    font-size: 13px;
    color: #999
}
.product-review-text {
    font-size: 16px;
    line-height: 1.5
}
.product-review-text:not(:empty) {
    margin-top: 10px;
}
.product-review-text__inner {
    overflow: hidden;
    max-height: 9em
}
.product-review-text__inner.is-open {
    max-height: none
}
.product-review-text__inner.is-open ~ .show-more {
    display: none;
}
.product-review-text__inner.is-open ~ .show-more_hide {
    display: inline-block !important;
}
.product-review-text .show-more {
    opacity: 0;
    display: inline-block;
    margin-top: 10px;
    margin-right: 15px;
    font-weight: 600;
    font-size: 16px;
    color: #00AEFF;
    color: var(--base-color-blue)
}
.product-review-text .show-more:hover {
    text-decoration: underline;
}
.product-review-text .show-more_hide {
    opacity: 1;
    display: none;
}
.product-review .product-reviews-carousel-wr {
    margin-top: 25px
}
.product-reviews + .review-btn {
    display: none
}
.product-reviews__title {
    margin-bottom: 32px;
    font-weight: 700;
    font-size: 30px
}
.product-reviews-carousel-wr {
    position: relative;
    padding: 0 40px
}
.product-reviews-carousel-wr .swiper-button-prev,
.product-reviews-carousel-wr .swiper-button-next {
    outline: none;
    z-index: 1;
    width: 13px;
    height: 24px;
    margin-top: -12px;
    font-size: 24px;
    color: #b2b2b2;
    background: none
}
.product-reviews-carousel-wr .swiper-button-prev .icon, .product-reviews-carousel-wr .swiper-button-next .icon {
    pointer-events: none;
}
.product-reviews-carousel-wr .swiper-button-prev:hover, .product-reviews-carousel-wr .swiper-button-next:hover {
    color: rgba(0, 0, 0, 0.5);
}
.product-reviews-carousel-wr .swiper-button-prev {
    left: 0;
}
.product-reviews-carousel-wr .swiper-button-next {
    left: auto;
    right: 0;
    -webkit-transform: scale(-1, 1);
    -ms-transform: scale(-1, 1);
    transform: scale(-1, 1);
}
.product-reviews-carousel__item {
    cursor: pointer;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    height: 70px
}

.product-reviews-carousel__item.swiper-slide { 
    width: 100%;
    max-width: 180px;
    height: 160px;
}

.product-reviews-carousel__item.swiper-slide img { 
    object-fit: cover;
    width: 180px;
    height: 160px;
    border-radius: 15px;
}


.modal-wr .product-reviews-carousel__item img {
    max-height: 100%;
    margin: 0
}

.modal-wr .quick-view-preview-gallery-wr .product-reviews-carousel__item.swiper-slide {
    height: 540px;
}

.modal-wr[data-modal="reviewsCarousel"] .quick-view-preview-gallery-wr .swiper-container-thumbs {
    width: 0;
    height: 0;
    visibility: hidden;
    opacity: 0;
}

.modal-wr .modal.modal_popd .quick-view-preview-gallery-wr .swiper-button-next,
.modal-wr .modal.modal_popd .quick-view-preview-gallery-wr .swiper-button-prev {
    width: 40px;
    height: 40px;
    background: none;
}


.modal-wr .modal.modal_popd .quick-view-preview-gallery-wr .swiper-button-next {
    transform: rotate(180deg);
}

.modal-wr .quick-view-preview-gallery-wr .swiper-button-next {
    /* transform: rotate(180deg); */
    right: 0;
}
   

.modal-wr .quick-view-preview-gallery-wr .swiper-button-prev {
    left: 0;
}

.modal-wr .quick-view-preview-gallery-wr .swiper-button-next .icon-arrow,
.modal-wr .quick-view-preview-gallery-wr .swiper-button-prev .icon-arrow {
    width: 40px;
    height: 40px;
}



.product-reviews-images {
    border-bottom: 1px solid #F0F0F0;
    padding: 0 0 25px;
    margin: 0 0 30px;
}

.product-reviews-list__item:not(:first-child) {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #f0f0f0
}
.product-reviews .pagination {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 100%;
    margin-top: 40px;
}
.product-reviews .pagination .pagination-list__item {
    border-color: #e2e2e2
}
.product-reviews .pagination .pagination-list__item:hover {
    border-color: #00AEFF;
    border-color: var(--base-color-blue);
}
.product-reviews .pagination .pagination-list__item.is-active {
    border-color: #00AEFF;
    border-color: var(--base-color-blue);
}

.modal-wr .product-reviews-carousel__item.swiper-slide {
    max-width: 100%;
}

.modal-wr .product-reviews-carousel__item.swiper-slide img {
    object-fit: none;
    width: 100%;
    height: auto;
    border-radius: 0;
}

@media (max-width: 1024px) {
    .product-review__rating {
        margin-top: 2px
    }

    .product-review-author {
        font-size: 16px
    }
    .product-review-author .date {
        display: block;
        margin-top: 10px;
        margin-left: 0
    }

    .product-reviews__title {
        font-size: 24px
    }
    .product-reviews-carousel-wr {
        padding: 0 28px
    }
}

@media (max-width: 767px) {
    .reviews-block {
        padding-top: 20px
    }

    .reviews-block__title {
        font-size: 22px
    }
    table.reviews-post-table {
        margin-right: 0
    }
    table.reviews-post-table:not(:first-child) {
        margin-top: 30px
    }
    table.reviews-post-table thead td {
        padding-top: 4px;
        font-size: 16px
    }
    table.reviews-post-table thead td .message-post-date {
        display: block;
        margin-top: 6px;
        margin-left: 0;
    }
    table.reviews-post-table tbody td div.reviews-text {
        /*margin-left: -62px;*/
        font-size: 14px
    }
    div.reviews-post-reply-buttons {
        margin-top: 10px;
        margin-left: -62px
    }
    div.reviews-post-reply-buttons a {
        font-size: 14px
    }
    div.reviews-note-box {
        min-height: 52px;
        margin-top: 25px;
        padding-left: 52px;
        font-size: 14px;
        background-size: 22px auto
    }
    div.reviews-reply-form:before {
    }
    div.reviews-reply-field {
        margin-top: 10px
    }
    div.reviews-reply-field-author, div.reviews-reply-field-email {
        width: 100%
    }
    .feed-add-post-text {
        padding: 0
    }
    div.reviews-reply-buttons {
        margin-top: 18px
    }
    div.reviews-reply-buttons input {
        width: calc(50% - 5px);
        height: 44px
    }

    div.reviews-reply-buttons input:last-child {
        margin-right: 0;
    }
    div.reviews-navigation-box {
        margin: 15px 0
    }
    .bxhtmled-area-cnt {
        width: 100% !important
    }
    .product-review-headline {
        display: block
    }
    .product-review__rating {
        margin-top: 10px
    }

    .product-review-author {
        padding-right: 0;
        font-size: 14px
    }

    .product-review-text {
        font-size: 14px
    }

    .product-review .product-reviews-carousel-wr {
        margin-top: 15px
    }
    .product-reviews {
        overflow-y: scroll;
        margin-bottom: 20px
    }
    .product-reviews + .review-btn {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        width: 100%;
        margin: 20px 0
    }

    .product-reviews__title {
        margin-bottom: 10px;
        font-size: 16px
    }
    .product-reviews-carousel-wr {
        padding: 0
    }

    .product-reviews-carousel-wr .swiper-button-prev,
    .product-reviews-carousel-wr .swiper-button-next {
        display: none
    }

    .product-reviews-carousel__item {
        width: 104px
    }

    .product-reviews-carousel__item.swiper-slide { 
        max-width: 120px;
        height: 120px;
    }
    
    .product-reviews-carousel__item.swiper-slide img { 
        width: 120px;
        height: 120px;
        border-radius: 8px;
    }

    .product-reviews-carousel__item img {
        margin: 0
    }

    .product-reviews-images {
        padding: 0 0 10px;
        margin: 0 0 10px;
    }
    .product-reviews-list__item:not(:first-child) {
        margin-top: 15px;
        padding-top: 15px
    }
}