.flex-container {
    display: flex;
    flex-direction: column;
}

.order1 {
    order: 1;
}

.order2 {
    order: 2;
}

.order3 {
    order: 3;
}

.order4 {
    order: 4;
}

.after_header {
    min-height: 422px;
    color: #37474f;
    background: url(../img/testimonials_landing/testimonials_bg.jpg) no-repeat
        center center;
}

.after_header .title {
    font-size: 50px;
    line-height: 1;
    color: #37474f;
    margin: 60px 0 20px;
    font-weight: 700;
    font-family: Roboto;
}

.after_header .text {
    font-family: Open Sans;
    font-size: 16px;
    line-height: 1.5;
    color: #37474f;
    width: 515px;
    max-width: 100%;
}

.info_raiting {
    margin: 35px 0 65px;
}

.info_raiting .number_box {
    font-size: 60px;
    line-height: 0.83;
    display: inline-block;
    vertical-align: top;
    font-weight: 700;
    font-family: Roboto;
}

.info_raiting .raiting_box {
    display: inline-block;
    vertical-align: top;
    margin-left: 10px;
    padding-left: 10px;
    border-left: solid 1px #979797;
}

.info_raiting .raiting_box ul {
    padding: 0;
    margin: 0;
    overflow: hidden;
    list-style: none;
}

.info_raiting .raiting_box ul li {
    float: left;
    margin-right: 5px;
}

.info_raiting .raiting_box ul li:before {
    content: "";
    color: #ffba26;
    font-size: 18px;
    font-family: Student;
}

.info_raiting .raiting_box ul li.disabled:before {
    color: #c7cbcd;
}

.info_raiting .raiting_box ul li:last-child {
    margin-right: 0;
}

.info_raiting .raiting_box .content {
    font-size: 14px;
    font-weight: 700;
    font-family: Roboto;
}

.btn_read_reviews,
.btn_leave_review {
    width: 170px;
    display: inline-block;
    line-height: 50px;
    border-radius: 3px;
    font-size: 16px;
    text-align: center;
    font-weight: 700;
    font-family: Roboto;
}

.btn_read_reviews {
    color: #fff;
    background: #18b5f9;
    margin-right: 30px;
    border: 1px solid #18b5f9;
}

.btn_leave_review {
    color: #18b5f9;
    background: transparent;
    border: 1px solid #18b5f9;
}

.btn_read_reviews:hover,
.btn_read_reviews:active,
.btn_read_reviews:focus {
    color: #18b5f9;
    background: transparent;
    border: 1px solid #18b5f9;
}

.btn_leave_review:hover,
.btn_leave_review:active,
.btn_leave_review:focus {
    color: #fff;
    background: #18b5f9;
    border: 1px solid #18b5f9;
}

.btn_read_reviews:hover,
.btn_leave_review:hover,
.btn_read_reviews:active,
.btn_leave_review:active,
.btn_read_reviews:focus,
.btn_leave_review:focus {
    opacity: 0.8;
    text-decoration: none;
}

#reviews_about_ss .paginator {
    margin-top: 15px;
}

.reviews_content {
    color: #5d7089;
    font-size: 13px;
    font-family: Open Sans;
    padding: 60px 0 80px;
}

.reviews_content ul {
    list-style: none;
}

.reviews_content ul li {
    margin-bottom: 15px;
}

.reviews_content .title {
    margin: 0 0 35px;
    font-size: 24px;
    font-weight: 700;
    font-family: Roboto;
}

.reviews_content p {
    margin: 0 0 30px;
}

.reviews_about_ss {
    background: #f4f4f7;
    padding: 30px 0 80px;
}

.reviews_about_ss {
}

.reviews_about_ss .title {
    font-size: 24px;
    text-align: center;
    color: #37474f;
    font-weight: 700;
    font-family: Roboto;
}

.reviews_about_ss .reviews_box {
    background: #fff;
    margin-top: 35px;
    padding: 40px 70px 50px 20px;
}

/* .banner_box {
    width: 100%;
    margin-top: 30px;
    max-width: 100%;
} */

.reviews_about_ss .reviews_box .content_bl .text {
    font-size: 16px;
    line-height: 1.5;
    color: #36474f;
    padding: 5px 0 20px;
    font-weight: 700;
    font-family: Roboto;
    border-bottom: solid 1px #e1e1e1;
}

.reviews_about_ss .reviews_box {
    overflow: hidden;
}

.reviews_about_ss .reviews_box .name_user {
    color: #36474f;
    font-weight: bold;
    padding: 0 5px;
}

.reviews_about_ss .reviews_box .content_bl .rate span {
    font-weight: 700;
    font-family: Roboto;
    font-size: 14px;
    color: #a8adb7;
    vertical-align: top;
    padding: 3px 5px 0 0;
    display: inline-block;
}

.reviews_about_ss .reviews_box .content_bl .rate ul {
    margin: 0;
    padding: 0;
    display: inline-block;
    overflow: hidden;
    list-style: none;
}

.reviews_box .content_bl .rate ul li {
    float: left;
    margin-right: 3px;
}

.reviews_box .content_bl .rate ul li:before {
    content: "";
    color: #ffba26;
    font-size: 16px;
    font-family: Student;
}

.reviews_box .content_bl .rate ul li.disabled:before {
    color: #c7cbcd;
}

.reviews_box .content_bl .rate ul li:last-child {
    margin-right: 0;
}

.reviews_box .user_bl {
    width: 60px;
    height: 60px;
    display: inline-block;
    text-align: center;
    border-radius: 50%;
    margin-right: 20px;
    line-height: 60px;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    font-family: Open Sans;
}

.reviews_box .content_bl {
    float: right;
    width: 970px;
    max-width: 100%;
}

.reviews_about_ss .reviews_box .content_bl .date {
    color: #a8adb7;
    font-size: 14px;
    font-weight: 700;
    font-family: Roboto;
}

.reviews_about_ss .reviews_box .content_bl .date span {
    font-weight: 700;
    font-family: Roboto;
    color: #36474f;
    padding: 0 5px;
    display: inline-block;
}

.bg_green {
    background-color: #7ed321;
}

.bg_blue {
    background-color: #3f74e9;
}

.bg_violet {
    background-color: #9680cd;
}

.leave_review_form {
    display: none;
    margin: 35px 0 60px;
}

.leave_review_form .help-block {
    margin: -5px 0 0 0;
    font-size: 12px;
    line-height: 1;
    color: red !important;
}

#leave_review .field-testimonialform-rating {
    margin-bottom: 0;
}

.leave_review_form .button_box .help-block {
    margin: 7px 0 0 0;
}

.leave_review_form .field-testimonialform-body .help-block {
    margin: 7px 0 0 0;
}

.leave_review_form .title {
    font-size: 24px;
    text-align: center;
    color: #37474f;
    font-weight: 700;
    font-family: Roboto;
}

#leave_review {
    width: 830px;
    margin: 20px auto 0;
    padding: 20px 30px 30px 30px;
    box-shadow: 0 0 6px 0 rgba(61, 84, 125, 0.23);
}

#leave_review input,
#leave_review select {
    height: 40px;
    width: 370px;
    border-radius: 3px;
    border: solid 1px #c7cbcd;
    font-family: Open Sans;
    font-size: 14px;
    color: #2e4854;
    margin-bottom: 15px;
    margin-bottom: 15px;
    padding: 0 35px 0 10px;
}

#leave_review input,
#leave_review select {
    font-weight: 600;
}

#leave_review .rate_service {
    width: 370px;
}

#leave_review input::-webkit-input-placeholder,
#leave_review textarea::-webkit-input-placeholder {
    color: #a8adb7;
    font-weight: normal;
}

#leave_review input::-moz-placeholder,
#leave_review textarea::-moz-placeholder {
    color: #a8adb7;
    font-weight: normal;
}

#leave_review input:-ms-input-placeholder,
#leave_review textarea:-ms-input-placeholder {
    color: #a8adb7;
    font-weight: normal;
}

#leave_review input:-moz-placeholder,
#leave_review textarea:-moz-placeholder {
    color: #a8adb7;
    font-weight: normal;
}

#leave_review textarea {
    width: 100%;
    height: 120px;
    padding: 15px 12px;
    font-family: Open Sans;
    font-size: 14px;
    font-weight: 600;
    color: #455a64;
    border-radius: 3px;
    border: solid 1px #c7cbcd;
}

#leave_review .label_title {
    font-family: Open Sans;
    font-size: 13px;
    font-weight: 600;
    color: #546e7a;
    margin-bottom: 4px;
}

#leave_review .i_email {
    position: absolute;
    font-family: Open Sans;
    font-size: 20px;
    top: 27px;
    right: 12px;
    color: #c7cbcd;
}

#leave_review ul {
    padding: 0;
    margin: 8px 0 0 0;
    overflow: hidden;
    list-style: none;
}

#leave_review ul li {
    float: left;
    margin-right: 5px;
}

#leave_review ul li:last-child {
    margin-right: 0;
}

#leave_review ul li:before {
    content: "";
    color: #ffba26;
    font-size: 24px;
    font-family: Student;
}

#leave_review ul li.disabled:before {
    color: #c7cbcd;
}

#leave_review textarea {
    resize: vertical;
    height: 120px !important;
}

.button_box {
    overflow: hidden;
    margin-top: 20px;
}

#leave_review .btn_leave_review {
    width: 171px;
    line-height: 40px;
    border-radius: 3px;
    border: none;
    font-family: Open Sans;
    font-size: 14px;
    text-align: center;
    color: #fff;
    text-decoration: none;
    background-color: #18b5f9;
}

#leave_review .btn_leave_review:active,
#leave_review .btn_leave_review:hover,
#leave_review .btn_leave_review:focus {
    opacity: 0.8;
}

#leave_review .captcha_bl {
    width: 305px;
    min-height: 75px;
}

#leave_review .message_delivered {
    text-align: center;
    color: #0eb90e;
    font-size: 14px;
}

#leave_review .message_delivered img {
    width: 55px;
    margin-bottom: 10px;
}

[data-testimonials="success-message"] {
    display: none;
}

@media (min-width: 992px) and (max-width: 1199px) {
    .after_header .title {
        margin: 40px 0 20px;
    }

    .info_raiting {
        margin: 30px 0 45px;
    }

    .reviews_box .content_bl {
        float: right;
        width: 770px;
        max-width: 100%;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .after_header {
        background: #eef1f5;
    }

    #leave_review {
        width: 100%;
    }

    #leave_review input,
    #leave_review select,
    #leave_review .rate_service {
        width: 315px;
    }

    .reviews_about_ss .reviews_box {
        background: #fff;
        padding: 40px 20px;
    }

    .reviews_box .content_bl {
        width: 600px;
    }
}

@media (min-width: 320px) and (max-width: 767px) {
    .after_header {
        background: #eef1f5;
        min-height: 365px;
    }

    #leave_review input,
    #leave_review select,
    #leave_review textarea,
    #leave_review .rate_service {
        width: 100%;
        font-size: 13px;
    }

    .reviews_about_ss .reviews_box {
        background: #fff;
        padding: 40px 20px;
    }

    .reviews_box .content_bl {
        width: 100%;
    }

    #leave_review {
        width: 100%;
        padding: 20px 15px;
    }

    .after_header .title {
        font-size: 32px;
        line-height: 1.25;
        color: #37474f;
        margin: 30px 0 20px;
        font-weight: 700;
        font-family: Roboto;
    }

    .after_header .text {
        font-size: 14px;
        line-height: 1.43;
    }

    .info_raiting .number_box {
        font-size: 48px;
        line-height: 1.04;
    }

    .info_raiting .raiting_box .content {
        font-size: 12px;
    }

    .info_raiting {
        margin: 25px 0;
    }

    .info_raiting .raiting_box ul li:before {
        content: "";
        font-size: 16px;
    }

    .btn_read_reviews,
    .btn_leave_review {
        width: 130px;
        line-height: 44px;
        font-size: 14px;
    }

    .btn_read_reviews {
        margin-right: 25px;
    }

    .leave_review_form {
        margin: 20px 0 55px;
    }

    .leave_review_form .title {
        font-size: 20px;
    }

    #leave_review .l,
    #leave_review .r {
        float: none;
    }

    #leave_review ul {
        margin: 0 0 5px;
    }

    #leave_review ul li:before {
        content: "";
        font-size: 20px;
    }

    #leave_review .l,
    #leave_review .r {
        float: none;
    }

    #leave_review .btn_leave_review {
        margin: 25px auto 0;
        display: block;
    }

    .button_box {
        overflow: initial;
    }

    .captcha_bl {
        width: 260px !important;
        max-width: 100% !important;
        margin: 0 auto;
    }

    .reviews_about_ss .reviews_box {
        padding: 20px 20px 80px;
    }

    .reviews_about_ss .reviews_box .content_bl .text {
        font-size: 14px;
        line-height: 1.71;
        padding: 5px 0 20px;
    }

    .reviews_box .user_bl {
        width: 50px;
        height: 50px;
        margin-right: 12px;
        line-height: 50px;
        font-size: 14px;
    }

    .reviews_about_ss .reviews_box .content_bl .text {
        border: none;
        padding: 0;
    }

    .reviews_content {
        padding: 30px 0 55px;
    }

    .reviews_content .title {
        margin: 0 0 20px;
    }

    .reviews_content p {
        margin: 0 0 20px;
    }

    .reviews_about_ss .title {
        font-size: 20px;
    }

    .reviews_content ul {
        padding: 0 0 0 15px;
    }

    .g-recaptcha {
        transform-origin: left top;
        -webkit-transform-origin: left top;
    }
}
