

/* Start:/bitrix/templates/mmb_2k18/components/bitrix/news.list/otzyvy/style.css?16680845167782*/
.container.p-1 {
    padding: 0 !important;
    margin-left: unset !important;
    margin-right: unset !important;
    max-width: 100% !important;
}

.reviews {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
}

.reviews__wrapper {
    width: calc(100% - 300px);
    padding-right: 30px;
}

.reviews__aside {
    width: 300px;
}

.reviews__list {
    width: 100%;
    list-style: none;
    padding: 0;

    display: flex;
    flex-direction: column;
}

.reviews__item {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 10px;
    margin-top: 20px;

    border: 1px solid #dee2e6;
    border-radius: 4px;
}

.reviews__item:first-child {
    margin-top: 0;
}

.reviews__title {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    margin-top: -10px;
    margin-bottom: 10px;
}

.reviews__name {
    margin: 0;

    font-size: 16px;
    line-height: 1.2;
    font-weight: 700;
}

.reviews__date {
    margin: 0 0 0 14px;

    font-size: 14px;
    line-height: 1.2;
    font-weight: 500;
    color: #888
}

.reviews__estimate {
    margin: 0 0 0 10px;
    font-size: 14px;
    line-height: 1.2;

    display: flex;
}

.reviews__estimate-rating {
    font: inherit;
    color: gold;
}

.reviews__estimate-rating.disabled {
    color: lightgrey;
}

.reviews__estimate .svg-icon {
    width: 20px;
    height: 20px;
    color: #eaeae7;
}
.reviews__estimate .svg-icon.good {
    color: #2ecc71;
}
.reviews__estimate .svg-icon.bad {
    color: #e74c3c;
    transform: rotate(180deg);
}

.reviews__title > * {
    margin-top: 10px;
}

.reviews__body {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.reviews__text {
    margin: 0;

    font-size: 16px;
    line-height: 21px;
}

.reviews__gallery {
    margin: 5px -5px 0;
    list-style: none;
    padding: 0;

    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.reviews__gallery li {
    margin: 10px 5px 0;
    display: flex;
    width: 80px;
    height: 80px;
}

.reviews__gallery-link {
    display: flex;
    width: 100%;
    height: 100%;

}

.reviews__image {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}

.reviews__form {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.reviews__form-title {
    margin: 0;

    font-size: 24px;
    line-height: 1.2;
    font-weight: 700;

    color: #000;
}

.reviews__field {
    margin: 0 -10px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}


.reviews__field:first-child {
    margin-top: -20px;
}

.reviews__field label {
    display: flex;
    margin: 20px 10px 0;
    flex-grow: 1;
    width: calc(50% - 20px);
}

.reviews__field input:not([type="radio"]) {
    height: auto;
    padding: 10px 12px;
}

.reviews__rating {
    width: 100%;
    padding: 20px 10px 0;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: flex-end;
}

.reviews__field.reviews__rating label {
    margin: 0;
    display: block;

}

.reviews__rating:not(:checked)>input {
    display: none;
}

.reviews__rating:not(:checked)>label {
    width: 40px;
    cursor: pointer;
    font-size: 40px;
    color: lightgrey;
    text-align: center;
    line-height: 1;
}

.reviews__rating:not(:checked)>label:before {
    content: '★';
}

.reviews__rating>input:checked~label {
    color: gold;
}

.reviews__rating:not(:checked)>label:hover,
.reviews__rating:not(:checked)>label:hover~label {
    color: gold;
}

.reviews__rating>input:checked+label:hover,
.reviews__rating>input:checked+label:hover~label,
.reviews__rating>input:checked~label:hover,
.reviews__rating>input:checked~label:hover~label,
.reviews__rating>label:hover~input:checked~label {
    color: gold;
}

.reviews__field textarea {
    width: 100%;
    height: auto;
    min-height: 156px;
    max-height: 450px;
    padding: 10px 12px;

    font-size: 14px;
    line-height: 1.2;

    resize: vertical;
}

.reviews__field textarea:focus,
.reviews__field input:focus {
    outline: none;
}

.reviews__form-footer {
    margin-top: 10px;
}
.reviews__privacy {
    margin: 0 0 20px;

    font-size: 14px;
    line-height: 1.2;
    font-weight: 500;
    color: #000;
}

.reviews__form label.reviews__radio {
    width: auto;
    flex-grow: 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    cursor: pointer;
}

.reviews__radio-text {
    width: 30px;
    height: 30px;

    color: #eaeae7;
}

.reviews__radio-text .svg-icon {
    color: inherit;
    width: 30px;
    height: 30px;
}

.reviews__radio-text.bad .svg-icon {
    transform: rotate(180deg);
}

.reviews__radio > input[type="radio"] {
    position: absolute;
    opacity: 0;
    z-index: -1;
}
.reviews__radio input[type="radio"]:checked ~ .reviews__radio-text.good{
    color: #2ecc71;
}

.reviews__radio input[type="radio"]:checked ~ .reviews__radio-text.bad {
    color: #e74c3c;
}

.reviews__radio input[type="radio"]:focus {
    outline: none;
}

.reviews__privacy a {
    color: #000;
    text-decoration: underline;
}
.reviews__privacy a:hover {
    text-decoration: none;
}

.reviews__files {
    width: 100%;
    margin: 20px 10px 0;

    position: relative;
    text-align: center;
}

.reviews__files input[type="file"] {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
}

.reviews__files label.reviews__files-wrapper {
    width: 100%;
    margin: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.reviews__files-fake {
    height: 40px;
    width: calc(100% - 100px);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 0 15px;
    border: 1px solid #c7c7c7;
    border-radius: 3px 0 0 3px;
    border-right: none;
}

.reviews__files-button {
    flex-shrink: 0;
    width: 100px;
    height: 40px;
    background: #9dce3c;
    color: #fff;
    font-size: 14px;
    font-weight: 700;

    display: flex;

    align-items: center;
    justify-content: center;
    border-radius: 0 3px 3px 0;
    cursor: pointer;
}


@media all and (max-width: 768px) {
    .reviews {
        display: flex;
        flex-wrap: wrap;
        margin-top: 20px;
    }

    .reviews__wrapper {
        width: 100%;
        padding-right: 0;
    }

    .reviews__aside {
        width: 100%;
    }
}
@media all and (max-width: 550px) {
    .reviews__gallery li {
        width: 50px;
        height: 50px;
    }
}


.text-more {
    display: inline-block;
    margin-right: 5px;
    font: inherit;
    color: inherit;

    max-height: 105px;
    height: auto;
    text-overflow: ellipsis;
    overflow: hidden;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;

    transition: max-height 300ms linear;
}

.reviews .reviews__text > .text-more__button {
    display: inline-block;
    padding: 0;
    border: 0;
    background: none !important;
    width: auto;
    height: auto;
    box-shadow: none;
    text-shadow: none;

    font: inherit;
    color: inherit !important;

    border-bottom: 1px dashed currentColor;
}

.reviews .reviews__text > .text-more__button:focus {
    outline: none;
}

.reviews .reviews__text > .text-more__button:hover {
    display: inline-block;
    outline: none;
    padding: 0;
    border: 0;
    width: auto;
    height: auto;
    box-shadow: none;
    text-shadow: none;

    font: inherit;
    color: inherit;

    border-bottom: 1px dashed transparent;

}

/* End */
/* /bitrix/templates/mmb_2k18/components/bitrix/news.list/otzyvy/style.css?16680845167782 */
