/** Global. */
.hidden {
    display: none;
}
#modalReview .wpcf7-form label:active {
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}
.grecaptcha-badge {
    bottom: 100px !important;
}

/** Reviews. */
.reviews-page .reviews-blocks {
    margin-top: 50px;
}
.reviews-page .reviews .review.grid-item {
    width: 32.5%;
    margin-bottom: 20px;
}
@media (max-width: 1270px) {
    .reviews-page .reviews .review.grid-item {
        width: 32%;
    }
}
@media (max-width: 1024px) {
    .reviews-page .reviews .review.grid-item {
        width: 49%;
    }
}
@media (max-width: 767px) {
    .reviews-page .reviews .review.grid-item {
        width: 100%;
    }
}
@media (min-width: 1024px) and (max-width: 1190px) {
    .reviews-page .reviews .review blockquote cite {
        max-width: 175px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/** Pagination. */
.reviews-page .btn-pagination {
    font-weight: 600;
    line-height: 24px;
    padding: 12px 24px;
    min-width: 150px;
    margin: 15px auto 0;
    color: #000000;
    border: 1px solid #000000;
    background-color: inherit;
    border-radius: 6px;
    cursor: pointer;
    display: table;
    transition: background-color 0.3s ease;
}
.reviews-page .btn-pagination:hover {
    padding: 11px 23px;
    border: 2px solid rgba(0, 0, 0, 0.8);
}
@media (max-width: 767px) {
    .reviews-page .btn-pagination {
        margin: 10px auto 40px;
    }
}
.reviews-page .btn-pagination.disabled {
    pointer-events: none;
    background-color: inherit;
    color: #000;
    border-color: #000;
    opacity: 0.5;
}

/** Preloader. */
.loading {
    font-size: 0;
    color: transparent;
    pointer-events: none;
    position: relative;
}
.loading:after {
    content: " ";
    display: block;
    width: 20px;
    height: 20px;
    position: absolute;
    top: 25%;
    left: 50%;
    margin-left: -12px;
    border-radius: 50%;
    border: 3px solid;
    border-color: #000 transparent #000 #000;
    animation: alt-posts-dual-ring 1.2s linear infinite;
}
@keyframes alt-posts-dual-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/** Modal window. */
.reviews-page .modal-content {
    margin: 30px auto;
    padding: 30px;
}
@media (max-height: 680px) {
    .reviews-page .modal-content {
        margin-bottom: auto;
    }
}
@media (max-width: 767px) {
    .reviews-page .modal-content {
        margin-top: 0;
        margin-bottom: 0;
    }
}
.reviews-page .modal-content .cwl-form .contact_form form .form-group textarea {
    height: 140px;
}
.reviews-page .modal {
    align-items: center;
}
@media (max-width: 767px) {
    .reviews-page .modal {
        align-items: baseline;
    }
}
@media (max-height: 1110px) {
    .reviews-page .modal {
        align-items: baseline;
    }
}

/** WPCF7. */
#modalReview .error-msg.active {
    display: inherit;
}
#modalReview .wpcf7-list-item-label {
    display: none;
}
#modalReview .wpcf7-list-item {
    display: inherit;
    margin: 0;
}
#modalReview #rating ~ .wpcf7-not-valid-tip {
    margin: -12px 0 12px;
}
#modalReview .wpcf7-not-valid-tip {
    margin-top: 8px;
    color: #F65D76;
    font-size: 14px;
    line-height: 24px;
}
#modalReview .form-group label .wpcf7-form-control-wrap {
    display: none;
}
#modalReview .form-group label:last-child .wpcf7-form-control-wrap {
        left: 10px;
        vertical-align: top;
        display: inline-block;
}
#modalReview .form-group label:last-child .wpcf7-form-control-wrap .wpcf7-not-valid-tip {
    margin-top: 1px;
}
@media (min-width: 1024px) and (max-width: 1279px) {
    #modalReview .form-group label:last-child .wpcf7-form-control-wrap .wpcf7-not-valid-tip {
        width: 170px;
        top: -37px;
        left: -280px;
        position: absolute;
        display: inline-flex;
    }
}
@media (max-width: 767px) {
    #modalReview .form-group label:last-child .wpcf7-form-control-wrap {
        left: -32px;
        display: inherit;
    }
    #modalReview .form-group label:last-child .wpcf7-form-control-wrap .wpcf7-not-valid-tip {
        margin-top: 8px;
    }
    #modalReview .form-group .stars {
        -webkit-box-orient: horizontal !important;
        -webkit-box-direction: normal !important;
        -ms-flex-direction: row !important;
        flex-direction: row !important;
    }
}
#modalReview .wpcf7 .wpcf7-form .wpcf7-spinner,
#modalReview .wpcf7 .wpcf7-form.sent .wpcf7-spinner,
#modalReview .wpcf7 .wpcf7-form.spam .wpcf7-spinner,
#modalReview .wpcf7 .wpcf7-form.failed .wpcf7-spinner {
    display: none;
}

#modalReview .wpcf7 .wpcf7-form .wpcf7-response-output {
    display: none;
    border: none;
    padding: 0;
    margin: 0;
}
#modalReview .wpcf7 .wpcf7-form.sent .wpcf7-response-output,
#modalReview .wpcf7 .wpcf7-form.invalid .wpcf7-response-output,
#modalReview .wpcf7 .wpcf7-form.spam .wpcf7-response-output,
#modalReview .wpcf7 .wpcf7-form.failed .wpcf7-response-output {
    display: inherit;
}
#modalReview .wpcf7 .wpcf7-form.sent .wpcf7-response-output {
    color: #31C28E;
}
#modalReview .wpcf7 .wpcf7-form.invalid .wpcf7-response-output,
#modalReview .wpcf7 .wpcf7-form.spam .wpcf7-response-output,
#modalReview .wpcf7 .wpcf7-form.failed .wpcf7-response-output {
    color: #F65D76;
}
#modalReview .wpcf7 .wpcf7-submit {
    cursor: pointer;
}

/** Success Response. */
.cwl-form .success-block {
    width: 100%;
    text-align: center;
    margin: 0 auto;
    padding: 15px 0;
}
.reviews-page .modal .close {
    top: 20px;
    right: 20px;
    position: absolute;
    z-index: 1;
}
.cwl-form .success-block .message {
    max-width: 530px;
    margin: 20px auto 0;
    line-height: 24px;
    font-size: 16px;
}
.cwl-form .success-block .image {
    margin-top: 20px;
}
.cwl-form .success-block .image img {
    width: 490px;
    max-height: 420px;
    margin: 0 auto;
}
.cwl-form .success-block .btn {
    color: #fff;
    background-color: #000;
    border-radius: 6px;
    padding: 12px 24px;
    margin-top: 20px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
}
.cwl-form .success-block .btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

/** Footer. */
.footer address {
    background-image: none;
    padding-left: 0;
    margin-bottom: 10px;
}
.footer address > span {
    line-height: 24px;
    padding-right: 28px;
    color: #000;
    background-image: url("../img/icons/pin-icon.svg");
    background-size: 24px 24px;
    background-position: right top;
    background-repeat: no-repeat;
    display: inline-flex;
}
.footer .c-block:not(:last-child) {
    margin-right: 0;
}
.footer .c-block:last-child {
    margin-bottom: 0;
}
.footer .c-block {
    margin-bottom: 10px;
    display: block;
}
.footer .w-copy a {
    position: relative;
}
.footer .w-copy .c-block > a::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: #000;
    -webkit-transform: scaleX(0);
    -ms-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transform-origin: bottom right;
    -ms-transform-origin: bottom right;
    transform-origin: bottom right;
    -webkit-transition: -webkit-transform 0.3s;
    transition: -webkit-transform 0.3s;
    transition: transform 0.3s;
    transition: transform 0.3s, -webkit-transform 0.3s;
}
.footer .w-copy .c-block > a:hover:after {
    -webkit-transform-origin: bottom left;
    -ms-transform-origin: bottom left;
    transform-origin: bottom left;
    -webkit-transform: scaleX(1);
    -ms-transform: scaleX(1);
    transform: scaleX(1);
}
.footer .copyright {
    text-align: center;
}
.footer .follow a:hover {
    -webkit-box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.1), 0 1px 1px 0 rgba(0, 0, 0, 0.12);
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.1), 0 1px 1px 0 rgba(0, 0, 0, 0.12);
}
.grecaptcha-badge{
    display: none;
    z-index:1;
    opacity: 0;
}