.review-form input,
.review-form select,
.review-form textarea,
.review-form span.wpcf7-form-control-wrap {
    width: 100%
}

.review-form.container > .row {
    margin-bottom: 40px;
}

.review-wrapper {
    background: #F0F3F9;
    padding: 75px 0 91px 0;
}

.reviews_item-head {
    display: flex;
    justify-content: space-between;
}

.reviews_item-head .reviews_item-info,
.reviews_item-info > div {
    display: flex;
}

.reviews_item-info {
    
}

.container .review-button,
.review-form_submit {
    padding: 8px 36px;
    background: #00D180;
    border-radius: 87px;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 600;
    line-height: 28px;
    text-transform: uppercase;
}

.container .review-button {
    margin-top: 38px;
    margin-bottom: 43px;
}

.reviews {
    margin-bottom: 47px;
    border: 1px solid #E6E6E6;
}

.reviews_item-credentials {
    margin-left: 22px;
}

.reviews_item-head {
    padding: 40px 30px 0;
}

.reviews_item-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 11px;
    line-height: normal;
}

.reviews_item-date {
    font-size: 12px;
    font-weight: 500;
    line-height: 21px;
}

.reviews_item-doctor {
    margin-left: 10px;
}

.reviews_item-doctor-name {
    padding: 2px 14px;
    color: #ffffff;
    background: #14BADF;
    font-size: 12px;
    font-weight: 500;
    line-height: 21px;
    border-radius: 63px;
    white-space: nowrap;
}

.reviews_item-body {
    padding: 28px 100px 40px 30px;
}

.reviews_item:not(:last-child) {
    border-bottom: 1px solid #E6E6E6;
}

.reviews_item p {
    margin-bottom: 0;
}

.reviews_item-body-text {
    font-size: 17px;
    font-weight: 500;
    line-height: 30px;
    padding-left: 70px;
}

.reviews_item-response {
    display: flex;
    margin-top: 28px;
    padding: 26px 0 10px 11px;
    border-top: 1px solid #E0E1E5;
}

.reviews_item-response-img {
    margin: 6px 16px 0 70px;
}

.reviews_item-response-img img {
    max-width: 44px;
    max-height: 40px;
}

.reviews_item-response-text {
    color: #656565;
    font-size: 17px;
    font-style: italic;
    font-weight: 500;
    line-height: 30px;
}

.reviews_item-response-date {
    margin-top: 9px;
    color: #14BADF;
    font-size: 12px;
    font-weight: 500;
    line-height: 21px;
}

.reviews_pagination {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 47px;
}

.reviews_pagination > * {
    margin-right: 15px;
}

.reviews_pagination > span {
    color: #00D180;
}

.reviews_pagination > a,
.reviews_pagination > a:hover {
    color: #000000;
    text-decoration: none;
}

.review-form_doctors,
.review-form_rating-text {
    vertical-align: middle;
}

.review-form_title {
    color: #000000;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 43px;
}

.review-form_rating-text,
.review-form_doctors-text {
    font-size: 17px;
    font-weight: 500;
    line-height: 30px;
}

.review-form_doctors {
    padding: 12px 30px;
    font-size: 17px;
    font-weight: 500;
    line-height: 30px;
    border: 1px solid #FFFFFF;
    background: #FFFFFF;
}

.review-form input.review-form_name,
.review-form input.review-form_phone,
.review-form input.review-form_mail,
.review-form textarea {
    background: #FFFFFF;
    border: 1px solid #FFFFFF;
    font-weight: 500;
    font-size: 17px;
    line-height: 30px;
    padding: 15px 30px;

}

.review-form_submit {
    border: none;
}

.review-form_submit {
    padding: 8px 45px;
    background: #00D180;
    border-radius: 87px;
    color: #FFF;
    font-size: 16px;
    font-weight: 600;
    line-height: 28px;
    text-transform: uppercase;
}

.review-form_photo {
    padding: 15px 8px;
    min-width: 365px;
    border: 1px solid #98A3A9;
    display: inline-block;
    font-size: 17px;
    font-weight: 500;
    line-height: 30px;
    margin-bottom: 70px;
}

.review-form_photo img {
    max-width: 32px;
    max-height: 32px;
    margin-right: 15px;
}

.review-form_photo:hover {
    cursor: pointer;
}

.file-upload-wrapper p {
    margin-bottom: 0;
}

.review-form_photo.drag {
    background: #98A3A9;
}

.filename {
    display: inline;
}

.review-form_upload-info {
    text-align: right;
    margin-right: 75px;
    font-size: 12px;
    font-weight: 500;
    line-height: 21px;
}

.review-form input::placeholder,
.review-form textarea::placeholder,
.review-form input::placeholder {
    font-size: 17px;
    font-weight: 500;
    line-height: 30px;
    color: #000000;
}

.review-form textarea {
    height: 255px;
}

.fields-row {
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    gap: 9px;
}

.reviews_item-photo {
    max-width: 48px;
    max-height: 48px;
}

.reviews_item-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reviews_item-body,
.reviews_item-credentials,
.reviews_item-rating,
.review-wrapper { 
    text-align: left;
}

.reviews_item-rating img {
    max-height: 20px;
}

.custom-stars img {
    max-height: 29px;
}

@media (max-width: 1200px) {
    .custom-stars img {
        max-height: 20px;
    }
}

@media (max-width: 991px){
    
    .reviews_item-info,
    .reviews_item-head,
    .fields-row {
        flex-direction: column;
    }
    
    .reviews_item-doctor{
        margin-left: 0;
        margin-top: 28px;
    }
    
    .reviews_item-rating {
        margin-top: 10px;
    }

    .reviews_item-head {
        padding: 20px 15px 0; 
    }
    
    .reviews_item-body {
        padding: 28px 0 20px;
    }
    
    .reviews_item-body-text{
        padding: 30px 15px 17px;
    }
    
    .reviews_item-response {
        padding: 28px 15px 17px;
    }

    .reviews_item-body-text,
    .reviews_item-response-text {
        line-height: normal;
    }
    
    .reviews_item-response-img {
        margin: 0;
    }
    
    .reviews_item-response-body {
        margin-left: 16px;
    }
    
    .reviews_item-response-date {
        margin-top: 6px;
    }
    
    .review-form_photo {
        width: 100%;
        min-width: auto;
    }
    
    .reviews_item-rating img {
        max-height: 20px;
    }

    .custom-stars img {
        max-height: 56px;
    }
    
    .review-form_doctors-text,
    .review-form_rating-text {
        margin-bottom: 13px;
    }
    
    .row-rating,
    .review-form_title {
        margin-bottom: 30px;
    }
    
    .review-form_doctors {
        padding: 15px 10px;
    }

    .review-form input::placeholder,
    .review-form textarea::placeholder,
    .review-form input::placeholder,
    .review-form_doctors {
        font-size: 12px;
        line-height: 21px;
    }
    
    .review-form.container > .row,
    .fields-row {
        margin-bottom: 30px;
    }
    
    .review-form_button-wrapper {
        text-align: center;
    }
    
    .review-form_photo {
        margin-bottom: 30px;
    }

    .review-wrapper {
        padding: 17px 15px 31px;
    }
    
    .review-form_upload-info {
        display: none;
    }

    .container .review-button, 
    .review-form_submit {
        width: 100%;
    }
    
    .reviews_item-body {
        padding: 0;
    }

    .col-.med {
        overflow: hidden;
    }
}