@import url("../css/footer.css");
@import url("../css/header.css");
@import url("../css/hero.css");
@import url("../css/content.css");
@import url("../css/main.css");
@import url("../css/pop.css");

.with_frm_style .frm_checkbox label, .with_frm_style .frm_radio label {
    display: block!important;
}

.with_frm_style .frm_checkbox input[type=checkbox] {
    margin: 0 6px 0 0!important;
}


.info .container {
    background-image: url("/wp-content/uploads/2022/04/bg_kon-1.svg");
    background-size: cover;
    background-repeat: no-repeat;
    height: auto;
    min-height: 510px
}

@media screen and (max-width:768px) {
    .info .container {
        background-image: url("/wp-content/uploads/2022/04/bg_kon-1.svg");
        min-height: 260px
    }
}

@media screen and (max-width:425px) {
    .info .container {
        transform: scaleX(-1)
    }
}

.info .container .text {
    width: 100%;
    max-width: 750px;
    z-index: 10;
    text-align: center
}

@media screen and (max-width:768px) {
    .info .container .text {
        max-width: 630px
    }
}

@media screen and (max-width:425px) {
    .info .container .text {
        transform: scaleX(-1)
    }
}

.info .container .text h3 {
    font-style: normal;
    font-weight: 700;
    font-size: 51px;
    margin-bottom: 45px
}

@media screen and (max-width:768px) {
    .info .container .text h3 {
        font-size: 30px;
        margin-bottom: 35px
    }
}

@media screen and (max-width:425px) {
    .info .container .text h3 {
        font-size: 25px;
        margin: 15px 0
    }
}

.info .container .text p {
    font-weight: 400;
    font-size: 24px;
    line-height: 132.4%
}

@media screen and (max-width:768px) {
    .info .container .text p {
        font-size: 18px
    }
}

.message {
    margin: 25px 0
}

.message .container form {
    width: 100%;
    max-width: 600px;
	margin: 0 auto;
}

.message .container form h4 {
    font-style: normal;
    font-weight: 700;
    font-size: 32.7163px;
    margin: 20px 0
}

@media screen and (max-width:425px) {
    .message .container form h4 {
        font-size: 25px
    }
}

.message .container form .input_container label {
    font-style: normal;
    font-weight: 400;
    font-size: 19px
}

@media screen and (max-width:425px) {
    .message .container form .input_container label {
        font-size: 17px
    }
}

.message .container form .input_container input,
.message .container form .input_container select,
.message .container form .input_container textarea {
    background: #f3f4f4;
    resize: none;
    -webkit-box-shadow: 2px 3px 6px 0px rgba(156, 156, 156, 0.16) inset;
    -moz-box-shadow: 2px 3px 6px 0px rgba(156, 156, 156, 0.16) inset;
    box-shadow: 2px 3px 6px 0px rgba(156, 156, 156, 0.16) inset;
    padding: 10px;
    border: none;
    border-radius: 5px;
    opacity: 0.6
}

.message .container form .input_container select {
    background-image: url("/assets/images/caret.svg");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    border: 1px solid #f3f4f4;
    border-radius: 5px;
    opacity: 0.6
}

.message .container form .input_container textarea {
    height: 260px
}

.message .container form .input_container .form-control:focus {
    border-color: transparent
}

.message .container form .button_container {
    margin-top: 15px
}

.message .container form .button_container button {
    border: none;
    outline: none;
    border-radius: 27px;
    background: linear-gradient(89.97deg, #eb164b 0.44%, #eb3864 99.98%);
    color: #fff;
    padding: 10px 25px;
    font-style: normal;
    font-weight: 400;
    font-size: 17px;
    border: none;
    -webkit-box-shadow: 4px 0px 7px -1px #adadad;
    box-shadow: 4px 0px 7px -1px #adadad
}

@media screen and (max-width:425px) {
    .message .container form .button_container button {
        width: 100%
    }
}

.message .container form .success-message {
    width: 100%;
    text-align: center;
    color: green
}

.contacts {
    margin: 100px 0
}

@media screen and (max-width:600px) {
    .contacts {
        margin: 0
    }
}

.contacts .contacts_container {
    width: 100%;
    max-width: 800px;
}

@media screen and (max-width:991px) {
    .contacts .contacts_container {
        flex-direction: column !important;
        align-items: center
    }
}

@media screen and (max-width:991px) {
    .contacts .contacts_container .contact {
        width: 100%;
        margin: 10px 0
    }
}

@media screen and (max-width:425px) {
    .contacts .contacts_container .contact {
        width: 100%
    }
}

.contacts .contacts_container .contact .image-container {
    width: 100%;
    max-width: 50px
}

.contacts .contacts_container .contact .image-container img {
    width: 100%
}

.contacts .contacts_container .contact .text_container {
    color: #292929;
    margin: 0 25px
}

.contacts .contacts_container .contact .text_container h3 {
    font-style: normal;
    font-weight: 400;
    font-size: 36px;
    margin: 0
}

@media screen and (max-width:600px) {
    .contacts .contacts_container .contact .text_container h3 {
        font-size: 20px !important
    }
}

.contacts .contacts_container .contact .text_container p {
    margin: 0;
    font-style: normal;
    font-weight: 400;
    font-size: 17px
}

@media screen and (max-width:375px) {
    .contacts .contacts_container .contact .text_container p {
        font-size: 12px
    }
}

.contacts .contacts_container .contact .text_container a {
    color: #f13931;
    font-style: normal;
    font-weight: 400;
    font-size: 29px
}

@media screen and (max-width:600px) {
    .contacts .contacts_container .contact .text_container a {
        font-size: 20px
    }
}

@media screen and (max-width:600px) {
 .with_frm_style .frm_form_fields {
	 
    max-width: 700px;
    padding: 8px;
    margin: 0 auto;
}
}

 .with_frm_style .frm_form_fields {
	 
    max-width: 700px;
    margin: 0 auto;
	padding-top:20px;

}

/* ====================================================
   PAYLATE CONSENT MODAL
==================================================== */

.paylate-consent-modal {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.2s ease,
        visibility 0.2s ease;
    font-family: "Nunito", Arial, sans-serif;
    box-sizing: border-box;
}

.paylate-consent-modal *,
.paylate-consent-modal *::before,
.paylate-consent-modal *::after {
    box-sizing: border-box;
}

.paylate-consent-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* затемнение как у формы */
.paylate-consent-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

/* окно */
.paylate-consent-modal__dialog {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 520px;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    overflow: hidden;
    background: #f7f7f7;
    border-radius: 4px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
    transform: translateY(10px);
    transition: transform 0.2s ease;
}

.paylate-consent-modal.is-open .paylate-consent-modal__dialog {
    transform: translateY(0);
}

/* контент */
.paylate-consent-modal__content {
    padding: 34px 30px 28px;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    overscroll-behavior: contain;
}

/* заголовок */
.paylate-consent-modal__title {
    margin: 0 42px 22px 0;
    color: #111111;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
}

/* текст */
.paylate-consent-modal__text {
    color: #2f2f2f;
    font-size: 14px;
    line-height: 1.55;
    font-weight: 400;
}

.paylate-consent-modal__text p {
    margin: 0 0 14px;
}

.paylate-consent-modal__text p:last-child {
    margin-bottom: 0;
}

.paylate-consent-modal__text a {
    color: #111111;
    text-decoration: none;
}

.paylate-consent-modal__text a:hover {
    text-decoration: underline;
}

/* крестик */
.paylate-consent-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 5;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
    color: #7a7a7a;
    font-size: 24px;
    line-height: 1;
    font-weight: 400;
    cursor: pointer;
}

.paylate-consent-modal__close:hover {
    color: #555555;
}

/* кнопка */
.paylate-consent-modal__button {
    display: block;
    width: 100%;
    margin-top: 24px;
    padding: 16px 20px;
    border: none;
    border-radius: 4px;
    background: #ef285b;
    color: #ffffff;
    font-family: "Nunito", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        transform 0.1s ease;
}

.paylate-consent-modal__button:hover {
    background: #dc204f;
}

.paylate-consent-modal__button:active {
    transform: scale(0.995);
}

/* фокус */
.paylate-consent-modal button:focus-visible,
.paylate-consent-modal a:focus-visible {
    outline: 2px solid #ef285b;
    outline-offset: 3px;
}

/* ссылка в чекбоксе */
.paylate-consent-open {
    color: #e22658!important;
	text-decoration: none;
    cursor: pointer;
}

.paylate-consent-open:hover {
    text-decoration: underline;
}

/* ====================================================
   MOBILE
==================================================== */

@media (max-width: 767px) {
    .paylate-consent-modal {
        padding: 12px;
        align-items: center;
    }

    .paylate-consent-modal__dialog {
        max-width: 100%;
        border-radius: 26px;
        max-height: calc(100dvh - 24px);
    }

    .paylate-consent-modal__content {
        padding: 38px 22px 22px;
        max-height: calc(100dvh - 24px);
    }

    .paylate-consent-modal__title {
        margin: 0 34px 18px 0;
        font-size: 17px;
        line-height: 1.35;
        color: #5f5f5f;
    }

    .paylate-consent-modal__text {
        font-size: 13px;
        line-height: 1.52;
        color: #5f5f5f;
    }

    .paylate-consent-modal__text p {
        margin-bottom: 12px;
    }

    .paylate-consent-modal__close {
        top: 14px;
        right: 14px;
        width: 26px;
        height: 26px;
        font-size: 22px;
    }

    .paylate-consent-modal__button {
        margin-top: 20px;
        min-height: 52px;
        padding: 15px 18px;
        border-radius: 4px;
        font-size: 14px;
    }
}

/* очень маленькие экраны */
@media (max-width: 390px) {
    .paylate-consent-modal__content {
        padding: 34px 18px 20px;
    }

    .paylate-consent-modal__title {
        font-size: 16px;
    }

    .paylate-consent-modal__text {
        font-size: 12px;
    }

    .paylate-consent-modal__button {
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .paylate-consent-modal,
    .paylate-consent-modal__dialog {
        transition: none;
    }
}

/* Ссылки внутри чекбокса Formidable */
.frm_forms .frm_checkbox a.paylate-policy-link,
.frm_forms .frm_checkbox a.paylate-policy-link:visited,
.frm_forms .frm_checkbox a.paylate-policy-link:hover,
.frm_forms .frm_checkbox a.paylate-policy-link:focus {
    color: #e22658 !important;
    text-decoration: none !important;
}

/* Подчеркивание при наведении */
.frm_forms .frm_checkbox a.paylate-policy-link:hover {
    text-decoration: underline !important;
}