.new-year-program-form {
}

.new-year-program-form {
    width: min(100%, 520px);
}

.new-year-program-form form .row {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 20px;
}

.new-year-program-form form .row .form_field,
.new-year-program-form form .row > div {
    width: 100%;
    flex: none;
}

.new-year-program-form form .button {
    display: block;
    width: 100%;
}

.new-year-program-form form .button {
    width: 100%;
    display: block;
}
.new-year-program-form form .warning-buy {
    font-size: 16px;
    color: #FFFFFF;
}
.new-year-program-form form .warning-buy a {
    color: #FFFFFF;
    text-decoration: underline;
}
.new-year-program-form form .warning-buy a:hover {
    text-decoration: none;
}

@media all and (min-width: 768px) and (max-width: 1200px) {
    .new-year-program-form {
        /*width: 49%;*/
        padding: 30px 20px 34px;
    }


    .new-year-program-form form .row {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .new-year-program-form form .row .form_field {
        -webkit-box-flex: 0;
        -ms-flex: none;
        flex: none;
        width: 100%;
    }
}

@media all and (max-width: 767px) {
    .new-year-program-form {
        width: 100%;
        padding: 40px 20px 40px;
    }

    .new-year-program-form form {
        max-width: 100%;
    }

    .new-year-program-form form .row {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        gap: 15px;
        padding-bottom: 15px;
    }

    .new-year-program-form form .row .form_field {
        -webkit-box-flex: 0;
        -ms-flex: none;
        flex: none;
        width: 100%;
    }
}

.slam-easyform .modal {
    text-align: center;
}

.slam-easyform .modal-dialog {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
}

.slam-easyform .modal .modal-header .title {
    margin: 0;
    font-size: 22px;
    display: inline-block;
}

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

@keyframes spinner {
    to {
        transform: rotate(360deg)
    }
}

.slam-easyform .spinner, .slam-easyform .spinner:hover {
    position: relative;
    color: transparent
}

.slam-easyform .spinner:before {
    content: '';
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    margin-left: -10px;
    border-radius: 50%;
    border: 2px solid #ccc;
    border-top-color: #333;
    animation: spinner .6s linear infinite
}

.new-year-program-form__success {
    padding: 32px 0;
    text-align: center;
}

.new-year-program-form__success h2 {
    margin: 0 0 16px;
}

.new-year-program-form__success p {
    margin: 0;
    font-size: 18px;
    line-height: 1.5;
}

.fancybox__content.new-year-program-popup,
.new-year-program-popup {
    box-sizing: border-box;
    width: min(560px, calc(100vw - 32px)) !important;
    max-width: 560px !important;
    padding: 46px 44px !important;
    background: #ffffff;
    color: #343b4b;
}

.new-year-program-popup__header {
    margin: 0 0 30px;
    text-align: center;
}

.new-year-program-popup__header h2 {
    margin: 0 0 14px;
    color: #343b4b;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.2;
}

.new-year-program-popup__header p {
    margin: 0;
    color: #626978;
    font-size: 16px;
    line-height: 1.5;
}

.new-year-program-form {
    width: 100%;
}

.new-year-program-form form {
    width: 100%;
    max-width: none !important;
}

.new-year-program-form form .row {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0 !important;
    padding: 0;
}

.new-year-program-form form .row > div,
.new-year-program-form form .row .form_field {
    width: 100%;
    padding: 0 !important;
    flex: none;
}

.new-year-program-form .form-group {
    margin: 0 0 18px;
}

.new-year-program-form .control-label {
    display: block;
    margin: 0 0 8px;
    color: #626978;
    font-size: 14px;
    font-weight: 400;
}

.new-year-program-form .form-control {
    box-sizing: border-box;
    width: 100%;
    height: 56px;
    padding: 0 22px;
    border: 1px solid #d8d9dc !important;
    border-radius: 28px !important;
    background: #ffffff !important;
    box-shadow: none !important;
    color: #343b4b !important;
    font-size: 16px;
}

.new-year-program-form .form-control:focus {
    border-color: #ad173e !important;
    outline: none;
}

.new-year-program-form .checkbox-inline {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 2px 0 20px;
    padding: 0;
    color: #626978;
    font-size: 13px;
    line-height: 1.45;
}

.new-year-program-form .checkbox-inline input {
    width: 17px;
    height: 17px;
    margin: 1px 0 0;
    flex: 0 0 17px;
}

.new-year-program-form .checkbox-inline a {
    color: #ad173e;
    text-decoration: underline;
}

.new-year-program-form .form_field-submit {
    width: 100%;
    padding: 0;
}

.new-year-program-form .submit-button {
    width: 100%;
    min-height: 58px;
    padding: 14px 24px;
    border: 0;
    border-radius: 30px;
    background: #ad173e;
    color: #ffffff;
    font-size: 17px;
    font-weight: 600;
}

.new-year-program-form .submit-button:hover {
    background: #8f1233;
}

.new-year-program-form__success {
    padding: 32px 0;
    text-align: center;
}

.new-year-program-form__success h2 {
    margin: 0 0 16px;
    color: #343b4b;
}

.new-year-program-form__success p {
    margin: 0;
    color: #626978;
    font-size: 17px;
    line-height: 1.5;
}

@media (max-width: 600px) {
    .fancybox__content.new-year-program-popup,
    .new-year-program-popup {
        width: calc(100vw - 20px) !important;
        padding: 38px 20px 28px !important;
    }

    .new-year-program-popup__header h2 {
        font-size: 25px;
    }
}