/*!
Theme Name: purethemewp
Text Domain: purethemewp
*/

.single-reviews__form--rating .act {
    fill: #F2C551;
}

.thx {
    border: solid 1px green;
    padding: 1em;
    margin: 1em 0;
    display: none;
}

.thx-active {
    display: block;
}

#comRating {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
}

.out {
    background-color: #EBF0F3;
    padding: 16px;
    font-weight: 500;
    color: #EB5757;
    margin-right: 15px;
    margin-bottom: 10px;
}

.single-wrap__content--btns {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.single-wrap__content--btns .btn {
    margin-bottom: 10px;
}

.modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    background-color: rgba(26, 26, 26, .8);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
}

.modal-wrap {
    width: 100%;
    max-width: 728px;
    background-color: #fff;
    box-shadow: 0px 8px 36px rgba(0, 0, 0, 0.16);
    position: relative;
    overflow-y: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    max-height: 90%;
}

.modal-close {
    width: 100%;
    max-width: 728px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
    cursor: pointer;
}

.modal-wrap__image {
    width: 100%;
    max-width: 280px;
    height: 100%;
    max-height: 396px;
    margin-right: 24px;
}

.modal-wrap__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-wrap__content {
    width: 100%;
    max-width: 368px;
}

.modal-wrap__content--subtitle {
    font-size: 24px;
    line-height: 25px;
    font-weight: 500;
}

.modal-wrap__content--title {
    font-size: 60px;
    line-height: 73px;
    font-weight: 700;
    color: #EB5757;
}

.modal-wrap__content--text {
    font-size: 14px;
    color: #706F74;
}

.modal-wrap__close {
    position: absolute;
    right: 0;
    top: -48px;
    cursor: pointer;
}

.modal-wrap .row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.modal-wrap .row-item {
    width: 49%;
}

.modal-wrap form {
    margin: 32px 0;
}

.modal-wrap form label {
    font-size: 14px;
    margin-bottom: 8px;
    display: block;
}

.modal-wrap form .btn {
    margin-top: 24px;
    width: 100%;
}

.modal-wrap form input {
    background-color: #fff;
}

.wpcf7-not-valid-tip {
    margin: 10px 0;
    font-size: 14px;
}

.modal-wrap__content--links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 16px;
}

.modal-wrap__content--links a {
    font-size: 14px;
    text-decoration: underline;
    font-weight: 500;
    color: #172C70;
    margin-right: 16px;
    margin-bottom: 16px;
}

.modal-wrap__content--links a:hover {
    text-decoration: none;
}

.modal-active {
    opacity: 1;
    visibility: visible;
}

form br {
    display: none;
}

.reviews-second .reviews {
    padding: 0 !important;
    background: none !important;
}

.reviews-second .reviews-wrap::after {
    display: none;
}

.reviews-second .reviews-wrap__title {
    text-align: left;
}

.reviews-second .reviews-wrap__list {
    margin: 50px 0 0;
}

.reviews-second .reviews-wrap__list .item {
    max-width: 100%;
    margin: 0 0 51px;
    padding: 20px 15px 40px;
}

.reviews-second .reviews-wrap__list .wrapper:nth-child(even) .item {
    background-color: #F0F8FF;
}

@media (max-width: 820px) {

    .modal-wrap {
        margin: 0 15px;
        max-width: 400px;
        flex-direction: column;
    }

    .modal-close {
        max-width: 400px;
    }

    .modal-wrap__image {
        width: 100%;
        height: 163px;
        max-width: 100%;
        margin: 0 0 24px;
    }

    .modal-wrap__content {
        max-width: 100%;
        text-align: center;
    }

    .modal-wrap .row-item {
        width: 100%;
        margin-bottom: 16px;
        text-align: left;
    }

}

@media (max-width: 520px) {
    .catalog-wrap__list .item-image {
        max-height: 220px !important;
        margin: 0 auto 12px !important;
        display: flex;
        justify-content: center;
    }

    .catalog-wrap__list .item-image img {
        max-height: 220px !important;
    }

    .modal-wrap {
        width: 95%;
        padding: 16px;
    }

}