.hystmodal {
    z-index: 1500 !important;
}

.hystmodal__shadow {
    z-index: 1499 !important;
}

.hystmodal__wrap {
    padding: 0 10px;
}

.hystmodal__window {
    padding: 50px 40px 40px 40px;
    width: 100% !important;
    max-width: 500px !important;
}

.hystmodal__close {
    font-size: 0 !important;
    background-image: none !important;
    width: 25px !important;
    height: 25px !important;
    top: 24px !important;
    right: 24px !important;
    outline: none !important;
    transition: all 0.3s ease 0s;
    background-image: none !important;
}

.hystmodal__close::before {
    content: "";
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 13.4L7.10005 18.3C6.91672 18.4833 6.68338 18.575 6.40005 18.575C6.11672 18.575 5.88338 18.4833 5.70005 18.3C5.51672 18.1167 5.42505 17.8833 5.42505 17.6C5.42505 17.3167 5.51672 17.0833 5.70005 16.9L10.6 12L5.70005 7.1C5.51672 6.91667 5.42505 6.68333 5.42505 6.4C5.42505 6.11667 5.51672 5.88333 5.70005 5.7C5.88338 5.51667 6.11672 5.425 6.40005 5.425C6.68338 5.425 6.91672 5.51667 7.10005 5.7L12 10.6L16.9 5.7C17.0834 5.51667 17.3167 5.425 17.6 5.425C17.8834 5.425 18.1167 5.51667 18.3 5.7C18.4834 5.88333 18.575 6.11667 18.575 6.4C18.575 6.68333 18.4834 6.91667 18.3 7.1L13.4 12L18.3 16.9C18.4834 17.0833 18.575 17.3167 18.575 17.6C18.575 17.8833 18.4834 18.1167 18.3 18.3C18.1167 18.4833 17.8834 18.575 17.6 18.575C17.3167 18.575 17.0834 18.4833 16.9 18.3L12 13.4Z' fill='%23424242'/%3E%3C/svg%3E");
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 13.4L7.10005 18.3C6.91672 18.4833 6.68338 18.575 6.40005 18.575C6.11672 18.575 5.88338 18.4833 5.70005 18.3C5.51672 18.1167 5.42505 17.8833 5.42505 17.6C5.42505 17.3167 5.51672 17.0833 5.70005 16.9L10.6 12L5.70005 7.1C5.51672 6.91667 5.42505 6.68333 5.42505 6.4C5.42505 6.11667 5.51672 5.88333 5.70005 5.7C5.88338 5.51667 6.11672 5.425 6.40005 5.425C6.68338 5.425 6.91672 5.51667 7.10005 5.7L12 10.6L16.9 5.7C17.0834 5.51667 17.3167 5.425 17.6 5.425C17.8834 5.425 18.1167 5.51667 18.3 5.7C18.4834 5.88333 18.575 6.11667 18.575 6.4C18.575 6.68333 18.4834 6.91667 18.3 7.1L13.4 12L18.3 16.9C18.4834 17.0833 18.575 17.3167 18.575 17.6C18.575 17.8833 18.4834 18.1167 18.3 18.3C18.1167 18.4833 17.8834 18.575 17.6 18.575C17.3167 18.575 17.0834 18.4833 16.9 18.3L12 13.4Z' fill='%23424242'/%3E%3C/svg%3E");
    position: absolute;
    width: 24px;
    height: 24px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #424242;
}

.hystmodal__close:hover {
    opacity: 0.8;
}

.modal_title {
    color: #424242;
    text-align: center;
    font-family: Georgia;
    font-size: 20px;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.modal_title:not(:last-child) {
    margin-bottom: 12px;
}

.modal_text {
    color: #424242;
    text-align: center;
    font-family: "Open Sans";
    font-size: 14px;
    font-weight: 400;
    line-height: 140%;
}

.modal-header {
    margin-bottom: 28px;
}

.alert.hidden,
input.hidden {
    display: none !important;
}

.form__label {
    margin-bottom: 8px;
    color: #424242;
    font-family: "Open Sans";
    font-size: 14px;
    font-weight: 600;
    line-height: 120%;
}

.form-group input,
.form-group textarea {
    width: 100%;
    height: 46px;
    border-radius: 6px;
    border: 1px solid #F2EAD9;
    background: #FCFAF6;
    padding: 5px 16px;
    color: #424242;
    font-family: "Open Sans";
    font-size: 14px;
    font-weight: 400;
    line-height: 140%;
    transition: all 0.3s ease 0s;
    outline: none !important;
}

.form-group textarea {
    padding: 16px;
    height: 100px;
    resize: none;
}

.form-group input:focus,
.form-group textarea:focus-visible {
    border: 1px solid #424242;
}

.form-group input::placeholder {
    opacity: 0.6;
}

.field-block {
    margin-bottom: 20px;
}

.form__submit {
    margin-top: 28px;
}

.alert.alert-danger {
    font-size: 14px;
    color: red;
    margin-bottom: 10px;
}

.form__submit button {
    width: 100%;
    border-radius: 3px;
    background: #E9C88E;
    padding: 15px;
    color: #424242;
    text-align: center;
    font-family: "Open Sans";
    font-size: 15px;
    font-weight: 600;
    line-height: 133.333%;
    text-transform: uppercase;
    border: none;
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease 0s;
}

.form__submit button:hover {
    opacity: 0.8;
}

.form-politics {
    margin-top: 10px;
}

.form-politics input {
    position: absolute;
    opacity: 0;
    visibility: hidden;
    width: 0;
    height: 0;
}

.form-politics span {
    color: #7B7B7B;
    text-align: center;
    font-size: 11px;
    font-weight: 400;
    line-height: 145.455%;
    position: relative;
    padding-left: 24px;
    cursor: pointer;
}

.form-politics span::before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 0;
    border-radius: 3px;
    border: 1px solid #424242;
    transform: translateY(-50%);
    transition: all 0.3s ease 0s;
}

.form-politics span::after {
    content: "";
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' viewBox='0 0 12 10' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M11.3693 0.195265C11.7217 0.491285 11.7674 1.01694 11.4714 1.36934L4.47142 9.70266C4.31628 9.88735 4.08873 9.99576 3.84756 9.99988C3.6064 10.004 3.37528 9.90342 3.21392 9.72414L0.213928 6.39081C-0.0939536 6.04872 -0.0662217 5.52181 0.275869 5.21393C0.61796 4.90605 1.14487 4.93378 1.45275 5.27587L3.81165 7.89687L10.1952 0.297359C10.4913 -0.0550467 11.0169 -0.100756 11.3693 0.195265Z' fill='%23949494'/%3E%3C/svg%3E");
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' viewBox='0 0 12 10' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M11.3693 0.195265C11.7217 0.491285 11.7674 1.01694 11.4714 1.36934L4.47142 9.70266C4.31628 9.88735 4.08873 9.99576 3.84756 9.99988C3.6064 10.004 3.37528 9.90342 3.21392 9.72414L0.213928 6.39081C-0.0939536 6.04872 -0.0662217 5.52181 0.275869 5.21393C0.61796 4.90605 1.14487 4.93378 1.45275 5.27587L3.81165 7.89687L10.1952 0.297359C10.4913 -0.0550467 11.0169 -0.100756 11.3693 0.195265Z' fill='%23949494'/%3E%3C/svg%3E");
    position: absolute;
    width: 12px;
    height: 10px;
    top: 50%;
    left: 4px;
    transform: translateY(-50%);
    background: #424242;
    opacity: 0;
    transition: all 0.3s ease 0s;
}

.form-politics input:checked+span::after {
    opacity: 1;
}

.form-politics span a {
    color: #BFA069;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
}

.form-politics .checkbox-inline {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 20px;
}

.help-block {
    display: none !important;
}

.form-group.has-error input {
    border-color: red !important;
}

.form-group.has-error .checkbox-inline span::before {
    border-color: red !important;
}

.ok-text {
    text-align: center;
    margin-bottom: 0;
}