header {
    background-color: #192965;
    margin-bottom: 0;
}
.logo {
    color: #ffffff;
    width: 160px;
}
/*  */
.review-top {
    background: -o-linear-gradient(top, #192965 0 calc(100% - 340px), transparent calc(100% - 340px) 100%), url('../img/review-top-bg.png');
    background: linear-gradient(to bottom, #192965 0 calc(100% - 340px), transparent calc(100% - 340px) 100%), url('../img/review-top-bg.png');
    background-size: 100%, 100% 371px;
    background-position: center top,center bottom;
    padding: 25px 0 170px;
    margin-bottom: -100px;
}

.content-wrapper {
    max-width: 850px;
}

.review-top .wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -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;
}

.review-top h1 {
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 25px;
    font-size: 38px;
    text-align: center;
}

.review-top__rating {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    color: #ffffff;
    font-weight: 500;
    font-size: 20px;
    margin-bottom: 25px;
}

.review-top .stars-wrapper {
    margin-left: 20px;
}

.review-top .btn {
    width: 100%;
    max-width: 280px;
    height: 47px;
}

.review-info {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    margin-bottom: 50px;
}

.review-info table {
    border-collapse: collapse;
    border-radius: 10px;
    -webkit-box-shadow: 0 0 0 1px #839DFF;
            box-shadow: 0 0 0 1px #839DFF;
    font-weight: 500;
    color: #192965;
    font-size: 18px;
    padding: 0 15px;
}

.review-info table td {
    padding: 30px 15px;
}

.review-info table td span {
    color: #1C821A;
    font-weight: 700;
}

.review-img {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 25px;
}

.review-img img {
    width: 100%;
    height: 100%;
}

.pros-cons {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    margin-bottom: 40px;
}

.pros-cons > div {
    width: 45%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}

.pros-cons__title {
    width: 100%;
    height: 57px;
    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;
    margin-bottom: 15px;
    border-radius: 0 20px;
    font-size: 24px;
    text-transform: uppercase;
    color: #ffffff;
}

.pros .pros-cons__title {
    background-color: #FF9900;
}

.cons .pros-cons__title {
    background-color: #192965;
}

.pros-cons__list {
    list-style: none;
    font-weight: 500;
    font-size: 18px;
    color: #000000;
}

.pros-cons__list li {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    margin: 15px 0;
}

.pros .pros-cons__list li::before {
    content: url('../img/pros.svg');
    margin-right: 7px;
    margin-top: 3px;
}

.cons .pros-cons__list li::before {
    content: url('../img/cons.svg');
    margin-right: 7px;
    margin-top: 3px;
}

.content-image {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    margin-bottom: 15px;
}

.content-image img {
    width: 50%;
    height: auto;
}

.advantages-table {
    width: 100%;
    font-size: 18px;
    color: #000000;
    margin-bottom: 25px;
}

.advantages-table td {
    padding: 25px 0;
}

.advantages-table td:first-child {
    width: 36%;
    vertical-align: middle;
    font-size: 24px;
    font-weight: 700;
    color: #192965;
    padding-right: 20px;
}

.faq-table {
    width: 100%;
    color: #000000;
    font-size: 18px;
    background: #D5F7DE;
    border-radius: 10px;
    border-collapse: collapse;
}

.faq-table td {
    padding: 30px 15px;
    background-color: #a8cbeb;
}

.faq-table td:first-child {
    vertical-align: middle;
    font-weight: 700;
    width: 26%;
    background-color: #a8cbeb;
}

.content-wrapper .btn {
    width: 100%;
    max-width: 285px;
    margin: 25px auto;
}

.related-reviews__card {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -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;
    font-size: 18px;
    font-weight: 500;
    color: #192965;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin: 0 auto;
}

.related-reviews__card img {
    border-radius: 20px;
    width: 214px;
    height: 147px;
    margin-bottom: 15px;
    -o-object-fit: cover;
       object-fit: cover;
}

.revieww-link {
  color: #0597d8;
  margin-top:-25px;
  margin-bottom: 20px;
  text-decoration: underline;
}

.tns-inner {
    margin: 0 35px;
}

.tns-outer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    position: relative;
}

.tns-controls {
    position: absolute;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    width: 100%;
}

.tns-controls button {
    background-color: transparent;
    width: 24px;
    height: 41px;
    border: none;
    outline: none;
    background-image: url('../img/arrow-right.svg');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    color: transparent;
}

.tns-controls button[data-controls="prev"] {
    -webkit-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
            transform: rotate(180deg);
}

@media(max-width: 1440px) {
    .review-top {
        background-size: 100% 100%, 1440px 371px;
    }
}

@media(max-width: 767px) {
    .review-top h1 {
        font-size: 27px;
    }

    .review-top__rating {
        font-size: 16px;
    }

    .review-info table {
        margin-left: -15px;
        margin-right: -15px;
        width: calc(100% + 30px);
        border-radius: 0;
    }

    .review-info tr {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
    }

    .review-info table td {
        padding: 15px 30px;
    }

    .pros-cons {
        -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;
    }

    .pros-cons > div {
        width: 100%;
        margin-bottom: 15px;
    }

    .content-image {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
    }

    .content-image img {
        width: unset;
        max-width: 100%;
        margin: 10px 0;
    }

    .advantages-table tr {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }

    .advantages-table td {
        padding: 15px 0;
    }

    .advantages-table td:first-child {
        font-size: 21px;
        width: 100%;
    }

    .faq-table {
        border-radius: 0;
        width: calc(100% + 30px);
        margin-left: -15px;
    }

    .faq-table tr {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        text-align: center;
    }

    .faq-table td {
        padding: 15px;
    }

    .faq-table td:first-child {
        width: 100%;
    }
}

.reviews-wrapper {
    width: 100%;
    padding: 15px 0;
    border-radius: 25px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    border: 1px solid rgba(205,208,227,.5);
    list-style: none;
}


.review {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    padding: 15px 20px;
}

.review:not(:last-child) {
    border-bottom: 5px solid #F4F8FE;
}

.review__top {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    width: 100%;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.review__top-left {
    margin-right: 15px;
}

.review-title {
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: bold;
    line-height: 24px;
    color: #192965;
    text-align: start;
}

.review-posted {
    color: rgba(34, 56, 99, 0.5);
    letter-spacing: 0.2px;
    margin-bottom: 5px;
    font-size: 18px;
    line-height: 20px;
}

.review-posted > a, .table-faq__answer > a {
    color: #5a90e2;
}

.review-posted > a, .table-faq__answer > a:hover {
    text-decoration: underline;
}

.review__top-right {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0.2px;
    color: #192965;
    white-space: nowrap;
    -ms-flex-negative: 0;
        flex-shrink: 0;
}

.service-image {
    max-width: 100%;
}

.review__top-right .star-rate {
    margin-left: 5px;
}

.review-text {
    width: 100%;
    text-align: start;
    font-size: 18px;
    line-height: 25px;
    color: #242A42;
    word-break: break-word;
}

@media(max-width: 990px) {
    .review__top-right > span {
        display: none;
    }
}

@media(max-width: 767px) {
    .review-text {
        font-size: 16px;
        line-height: 24px;
    }

    .review-posted__hide-word {
        display: none !important;
    }

    .review__top-left {
        -webkit-box-orient: vertical;
        -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
        flex-direction: column-reverse;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        margin-right: 0;
    }

    .review {
        position: relative;
        padding: 15px;
        border-radius: 25px;
        border: 1px solid rgba(205, 208, 227, 0.5);
        margin-bottom: 15px;
    }

    .review-title {
        font-size: 18px;
        margin-bottom: 0;
    }

    .review-posted {
        font-size: 14px;
        width: 100%;
    }

    .reviews-wrapper .review__top-right {
        position: absolute;
        right: 0;
        top: 12px;
    }

    .review-posted > span {
        display: initial;
    }

    .reviews-wrapper {
        padding: 0;
        border: none;
    }
}


.leave-comment__wrapper {
    margin-top: 70px;
    padding: 35px 32px;
    width: 100%;
    border-radius: 25px;
    background-color: #F8FAFE;
    border: 1px solid rgba(205, 208, 227, 0.5);
    margin-bottom: 35px;
}

#review-form {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    width: 100%;
}

#review-form input, #review-form textarea {
    width: 100%;
    height: 50px;
    padding: 12px 15px;
    border-radius: 10px;
    border: 1px solid rgba(205, 208, 227, 0.7);
    outline: none;
    font-size: 18px;
    color: #192965;
}

#review-form input::-webkit-input-placeholder, #review-form textarea::-webkit-input-placeholder {
    color: #192965;
    opacity: 0.3;
}

#review-form input::-moz-placeholder, #review-form textarea::-moz-placeholder {
    color: #192965;
    opacity: 0.3;
}

#review-form input:-ms-input-placeholder, #review-form textarea:-ms-input-placeholder {
    color: #192965;
    opacity: 0.3;
}

#review-form input::-ms-input-placeholder, #review-form textarea::-ms-input-placeholder {
    color: #192965;
    opacity: 0.3;
}

#review-form input::placeholder, #review-form textarea::placeholder {
    color: #192965;
    opacity: 0.3;
}

#review-form label {
    color: #192965;
    font-size: 22px;
    width: 100%;
    text-align: start;
    margin-bottom: 5px;
}

.review-form__field {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    width: 49%;
    margin-bottom: 19px;
}

#review-form textarea {
    height: 128px;
    resize: none;
    margin-bottom: 20px;
}

#review-form button {
    width: 100%;
    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;
    border-radius: 10px;
    background-color: #192965;
    color: #FFFFFF;
    height: 58px;
    cursor: pointer;
    outline: none;
    font-size: 24px;
    border: none;
}

#review-form button:hover {
    background-color: #30448e;
}

@media(max-width: 768px) {
    #review-form {
        -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;
    }

    .review-form__field {
        width: 100%;
    }

    #review-form label {
        font-size: 18px;
    }
}

#half-stars {
    margin-bottom: 0;
    line-height: initial;
    font-size: initial;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 3px 0;
}
#half-stars .rating-group {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
}

#half-stars .rating__icon {
    pointer-events: none;
}

#half-stars .rating__input {
    position: absolute !important;
    left: -9999px !important;
}

#half-stars .rating__input--none + label {
    width: 8px;
}

.rating__label {
    cursor: pointer;
    width: 15px;
    overflow: hidden;
    margin-bottom: 0;
    height: 15px;
}

.rating__label svg {
    width: 15px;
    height: 15px;
}

.rating__label--half {
    padding-right: 0;
    width: 7.5px;
    margin-right: -7.5px;
    z-index: 2;
}

.rating__icon--star {
    fill: #192965;
}

.rating__input:checked ~ .rating__label .rating__icon--star {
    fill: #ddd;
}

.rating-group:hover .rating__label .rating__icon--star,
.rating-group:hover .rating__label--half .rating__icon--star {
    fill: #192965;
}

.rating__input:hover ~ .rating__label .rating__icon--star,
.rating__input:hover ~ .rating__label--half .rating__icon--star {
    fill: #ddd;
}

#half-stars .rating__label {
        width: 33px;
        height: 33px;
}
#half-stars .rating__label svg {
    width: 33px;
    height: 33px;
}

#half-stars .rating__label--half {
    padding-right: 0;
    width: 16.5px;
    margin-right: -16.5px;
    z-index: 2;
}

.read-more-reviews {
    margin-top: 20px;
    font-size: 20px;
    color: #5a90e2;
    white-space: nowrap;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.read-more-reviews:after, .read-more-reviews:before {
    content: "";
    height: 1px;
    width: 100%;
    display: inline-flex;
    background-image: url('../img/read-more-lines.png');
    background-size: 100% 100%;
}

.read-more-reviews:before {
    margin-right: 26px;
}

.read-more-reviews:after {
    margin-left: 26px;
    transform: rotate(180deg);
}

.recomendation {
    display: flex;
    align-items: flex-start;
    padding: 12px 15px;
    width: 100%;
    border-radius: 10px;
    margin: 15px 0;
}

.recomendation:before {
    display: inline-flex;
    content: "";
    width: 20px;
    height: 20px;
    margin-right: 20px;
    background-size: 100% 100%;
}

.recomendation>div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.recomendation__text {
    font-size: 18px;
    line-height: 18px;
    width: 100%;
}

.recomendation__text a {
    color: #5a90e2;
}

.recomendation__text:first-child {
    border-bottom: 1px solid rgba(24,128,52,.2);
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.positive-recomendation {
    background-color: #d5f7de;
}

.positive-recomendation.recomendation:before {
    background-image: url('../img/positive-review-img.png');
}

.positive-recomendation .recomendation__text {
    color: #188034;
}

.positive-recomendation .recomendation__text:first-child {
    text-transform: uppercase;
}

.negative-recomendation {
    background-color: rgba(246,202,202,.75);
}

.negative-recomendation.recomendation:before {
    background-image: url('../img/negative-review-img.svg');
}

.negative-recomendation .recomendation__text {
    color: #d62929;
}

.negative-recomendation .recomendation__text:first-child {
    font-weight: 700;
}

.stars-wrapper img {
  width: 23px;
}
