
.modals {
    margin-bottom: 0; }

.modals--active {
    position: fixed;
    overflow: hidden;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #00000099;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    z-index: 1000;
    cursor: pointer; }

.modal {
    position: absolute;
    top: 50%;
    left: 50%;
    max-width: calc(100% - 24px);
    max-height: calc(100% - 24px);
    min-width: 300px;
    overflow-y: auto;
    background: #ffffff;
    border-radius: 15px;
    -webkit-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    -webkit-transition: all .3s;
    transition: all .3s; }

@media (max-width: 575.98px) {
    .modal {
        width: calc(100% - 30px); } }

.modal__close-button {
    position: absolute;
    top: 12px;
    right: 12px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 40px;
    height: 40px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center; }

.modal__close-button::after {
    position: absolute;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 24px;
    height: 24px;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width=%2724%27 height=%2724%27 viewBox=%270 0 24 24%27 fill=%27none%27 xmlns=%27http://www.w3.org/2000/svg%27%3e%3cpath fill-rule=%27evenodd%27 clip-rule=%27evenodd%27 d=%27M6.2636 6.2636C6.61508 5.91213 7.18492 5.91213 7.5364 6.2636L12 10.7272L16.4636 6.2636C16.8151 5.91213 17.3849 5.91213 17.7364 6.2636C18.0879 6.61508 18.0879 7.18492 17.7364 7.5364L13.2728 12L17.7364 16.4636C18.0879 16.8151 18.0879 17.3849 17.7364 17.7364C17.3849 18.0879 16.8151 18.0879 16.4636 17.7364L12 13.2728L7.5364 17.7364C7.18492 18.0879 6.61508 18.0879 6.2636 17.7364C5.91213 17.3849 5.91213 16.8151 6.2636 16.4636L10.7272 12L6.2636 7.5364C5.91213 7.18492 5.91213 6.61508 6.2636 6.2636Z%27 fill=%27%236B717A%27/%3e%3c/svg%3e");
    background-size: contain;
    content: "";
    z-index: 4; }

@media (max-width: 768px) {
    .modal__close-button {
        top: 12px;
        right: 12px;
        width: 16px;
        height: 16px; } }

.modal[data-hidden] {
    opacity: 0;
    visibility: hidden;
    z-index: -1;
    -webkit-transform: translate(-50%, -50%) scale(0.9);
    -ms-transform: translate(-50%, -50%) scale(0.9);
    transform: translate(-50%, -50%) scale(0.9);
    -webkit-transition: opacity .05s linear .15s, z-index 0s ease .3s, visibility 0s ease .3s, -webkit-transform .2s;
    transition: opacity .05s linear .15s, z-index 0s ease .3s, visibility 0s ease .3s, -webkit-transform .2s;
    transition: transform .2s, opacity .05s linear .15s, z-index 0s ease .3s, visibility 0s ease .3s;
    transition: transform .2s, opacity .05s linear .15s, z-index 0s ease .3s, visibility 0s ease .3s, -webkit-transform .2s; }

.modal-wrapper {
    padding: 24px;
    width: 556px; }
@media (max-width: 1080px) {
    .modal-wrapper {
        width: 522px; } }
@media (max-width: 575.98px) {
    .modal-wrapper {
        width: 100%; } }
.modal-wrapper__picture {
    margin-bottom: 20px; }
.modal-wrapper__picture img {
    max-width: 100%; }
.modal-wrapper__title {
    font-weight: 500;
    font-size: 28px;
    line-height: 38px;
    text-align: center;
    margin-bottom: 8px; }
@media (max-width: 1080px) {
    .modal-wrapper__title {
        font-size: 24px;
        line-height: 38px;
        margin-bottom: 4px; } }
.modal-wrapper__title--left {
    text-align: left; }
.modal-wrapper__subtitle {
    font-size: 16px;
    line-height: 24px;
    text-align: center; }
.modal-wrapper__form {
    margin-top: 20px; }
.modal-wrapper--video {
    overflow: hidden; }
.modal-wrapper--video video {
    display: block;
    width: 100%;
    height: 100%; }
.modal-wrapper label {
    display: inline-block;
    margin-bottom: 6px;
    font-weight: 500; }
.modal-wrapper .form-input + .form-input {
    margin-top: 16px; }
.modal-wrapper__text {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px; }
.modal-wrapper .form__double {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between; }
@media (max-width: 767.92px) {
    .modal-wrapper .form__double {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column; } }
.modal-wrapper .form__double .form-input {
    -ms-flex-negative: 0;
    flex-shrink: 0;
    width: calc(50% - 6px);
    margin: 0; }
@media (max-width: 767.92px) {
    .modal-wrapper .form__double .form-input {
        width: 100%; }
    .modal-wrapper .form__double .form-input + .form-input {
        margin-top: 12px; } }
.modal-wrapper__full-button {
    margin-top: 12px; }
.modal-wrapper__full-button .btn {
    width: 100%; }
.modal-wrapper .form-input__error-text {
    position: static; }
.modal-wrapper__buttons {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px; }
.modal-wrapper__buttons .btn{
    margin:8px;
}
@media (max-width: 575.98px) {
    .modal-wrapper__buttons .btn {
        -webkit-box-flex: 1;
        -ms-flex-positive: 1;
        flex-grow: 1; }
    .modal-wrapper__buttons .btn + .btn {
        margin-left: 12px; } }


.modal-wrapper__buttons .btn{
    font-weight: 500;
    font-size: 18px;
    margin-top: 15px;
    border-radius: 10px;
    padding: 10px 50px;
    background-color: #c2f56d;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 10px;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}