._non-scroll {
    overflow: hidden;
}

.order-form-title {
    font-size: 24px;
    font-weight: 500;
    line-height: 32px;
    text-align: left;
    margin-bottom: 8px;
}

.form-container {
    max-width: 984px;
    margin: 50px auto;
}

/* form */
.order-forms {
    position: relative;
    min-height: 520px;
    text-align: left;
    border-radius: 20px;
    border: 1px solid #E0E0E0;
    background-image: url(../images/tools.png);
    background-position: top right;
    background-repeat: no-repeat;
    box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.25);
    padding: 24px 24px 16px;
}

.order-forms:not(.current-step-1):not(.FAST_FORM) {
    background: none;
}

.FAST_FORM .order-forms-head {
    margin-bottom: 27px;
}

.order-forms.success {
    background: none;
}

.order-forms.current-step-3 .measurement {
    position: static;
    flex: 1 0 100%;
    margin-bottom: 6px;
}

/* form tabs head */
.order-forms-head {
    display: flex;
    border-radius: 4px;
    margin-bottom: 24px;
}

.order-forms-head__item {
    display: flex;
    align-items: center;
    background: #F2F3F7;
    border: 1px solid #F2F3F7;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    padding: 15px 16px;
}

.order-forms-head__item.active {
    border-radius: 4px;
    border: 1px solid #EEEEEF;
    background: #FFF;
    box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.25);
}

.order-forms-head__item>img {
    margin-right: 8px;
}

/* form-field */

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 24px;
}

.form-field {
    margin-bottom: 16px;
}

.form-field__label {
    font-size: 14px;
    font-weight: 500;
    line-height: normal;
    margin-bottom: 8px;
}

.form-field__label .star {
    color: #E30611;
}

.form-field__input {
    font-family: 'Neo Sans Pro';
    border-radius: 8px;
    border: 1px solid #E0E0E0;
    background: #FFF;
    padding: 8px;
    font-size: 15px;
    font-style: normal;
    line-height: 22px;
    font-weight: 400;
    width: 100%;
}

.form-field__input::placeholder {
    color: #C4C4C4;
}

.order-forms textarea {
    resize: none;
    min-height: 72px;
}

/* radio component */
.radio-container {
    display: flex;
}

.radio-input {
    display: flex;
}

.order-forms .radio-input {
    padding-left: 0;
}

.radio-input:not(:last-child) {
    margin-right: 16px;
}

.radio-input input {
    display: none;
}

.radio-input__mark {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #F3F3F4;
    border: 1px solid #9F9F9F;
    margin-right: 4px;
    position: relative;
    transition: 0.3s;
}

.radio-input__mark::after {
    content: "";
    position: absolute;
    left: 2px;
    top: 2px;
    background: #E30611;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    opacity: 0;
    transition: 0.3s;
}

.radio-input__value {
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
}

.radio-input input:checked+.radio-input__mark {
    border: 1px solid #E30611;
}

.radio-input input:checked+.radio-input__mark::after {
    opacity: 1;
}

/* checkbox component */
.checkbox-field {
    display: flex;
    align-items: center;
    flex: 1 0 100%;
}

.checkbox-field>input {
    display: none;
}

.checkbox-field__mark {
    display: block;
    width: 24px;
    height: 24px;
    margin-right: 8px;
    background-image: 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%3Crect x='3.5' y='3.5' width='17' height='17' rx='3.5' fill='%23F3F3F4' stroke='%239F9F9F'/%3E%3C/svg%3E");
    background-position: center;
    transition: 0.3s;
    border-radius: 4px;
}

.checkbox-field>input:checked+.checkbox-field__mark {
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='3' y='3' width='18' height='18' rx='4' fill='%23E30611'/%3E%3Cpath d='M8 12L10.6667 15L16 9' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E%0A");
}

.checkbox-field>input.error+.checkbox-field__mark {
    background-image: 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%3Crect x='3.5' y='3.5' width='17' height='17' rx='3.5' fill='%23F3F3F4' stroke='%23E31E24'/%3E%3C/svg%3E");
}

.checkbox-field__name {
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

/* file-component */
.file-field {}

.file-field__attach {
    display: flex;
    justify-content: space-between;
}

.file-field__attach-btn {
    display: flex;
    align-items: center;
    color: #E30611;
    font-size: 14px;
    line-height: normal;
}

.file-field__attach-btn>img {
    margin-right: 4px;
}

.file-field__attach-text {
    color: #969FA8;
    text-align: right;
    font-size: 13px;
    line-height: normal;
}

.file-field .files_raschet {
    margin-top: 8px;
    margin-bottom: 0;
    display: flex;
    flex-wrap: wrap;
}

.file-field input[type="file"] {
    display: none;
}

.file-field .file_raschet_wrapper {
    float: none;
    border-radius: 8px;
    background: #F2F3F7;
    padding: 8px;
    width: 104px;
    justify-content: space-between;
    margin-right: 8px;
}

.file-field .file_raschet {
    padding: 0;
}

.file-field .file_raschet.type_error {
    color: #434343;
}

.file-field .file_raschet.size_error {
    color: #434343;
}

.file-field .file_raschet_close {
    position: relative;
    padding: 0;
    display: flex;
    align-items: center;
    flex: 0 0 12px;
}

/* policy component */
.policy-field .checkbox-field__name {
    color: #74767A;
    font-size: 13px;
    line-height: normal;
}

.policy-field a,
.memo-field a {
    color: #E30611;
}

/* loader */
.loader {
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.72);
    border-radius: 20px;
}

.loader__progress {
    width: 80px;
    height: 80px;
    border: 11px solid #FEED00;
    border-right-color: transparent;
    border-radius: 50%;
    animation: preloader-rotate 1s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -40px;
    margin-left: -40px;
}

@keyframes preloader-rotate {

    0% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(360deg);
    }

}

/* form ui */
.next-btn {
    width: 240px;
    border-radius: 26px;
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    padding: 8px;
}

.next-btn:hover {
    background: var(--primary-color, #e30611);
}

.prev-btn {
    width: 240px;
    border-radius: 26px;
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    padding: 8px;
    background: transparent;
    border: 2px solid #E30611;
    color: #1D2023;
    margin-right: 24px;
}

.prev-btn:hover {
    background: transparent;
}

.measurement {
    color: #969FA8;
    font-size: 14px;
    line-height: 40px;
    position: absolute;
    right: 0;
    top: 20px;
}

.measurement span {
    color: #E30611;
}

.form-field-footer {
    display: flex;
    flex-wrap: wrap;
    position: absolute;
    bottom: 16px;
    left: 24px;
    width: calc(100% - 48px);
}

.step-control .measurement {
    top: -28px;
}

.fast-form,
.step-1 {
    max-width: 568px;
}

.step-2 {
    max-width: 664px;
}

.suggestions-wrapper {
    position: absolute;
    left: 0;
    width: 100%;
    max-width: 600px;
    top: calc(100% + 8px);
}

.suggestions-suggestions {
    border-radius: 8px;
    border: 1px solid #FAFAFA;
    box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.25);
    padding: 4px 16px;
}

.office-address {
    display: grid;
    grid-template-columns: 1fr;
    column-gap: 4px;
    position: relative;
}

.office-address__wrap::-webkit-scrollbar-thumb {
    background-color: #C4C4C4;
    border-radius: 7px;
    border-left: 6px solid #fff;
    border-right: 6px solid #fff;
}

.office-address__wrap::-webkit-scrollbar {
    width: 16px;
}

.office-address::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: calc(100% - 12px);
    height: 27px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.00) -6.91%, #FFF 54.01%);
}

.office-address__wrap {
    position: relative;
    overflow: auto;
    max-height: 184px;
    min-height: 180px;
}

.office-address__item {
    margin-bottom: 24px;
}

.office-address__item .radio-input__mark {
    margin-right: 8px;
}

.office-address__item .radio-input__value {
    display: flex;
    align-items: center;
}

.office-address__item svg {
    margin-left: 8px;
}

.office-notice {
    border-top: 1px solid #E0E0E0;
    border-bottom: 1px solid #E0E0E0;
    padding: 8px 0;
    display: flex;
    align-items: center;
}

.office-notice img {
    margin-right: 4px;
}

.office-map {
    display: flex;
}

.office-map .custom-select {
    width: 184px;
}

.office-map__list {
    width: 100%;
    max-width: 312px;
}

.office-map__map {
    width: 100%;
    max-width: 560px;
    height: 296px;
    border-radius: 20px;
    overflow: hidden;
    margin-left: 60px;
}

.urface-field {
    margin-bottom: 36px;
}

.policy-field {
    flex: 1 0 100%;
    display: flex;
    flex-wrap: wrap;
}

.file-error {
    display: none;
    color: #e91a23;
    margin-left: 16px;
}

.file-error._error {
    display: block;
}

.memo-field {
    margin-left: 24px;
}

/* form-field-city component */
.form-field-city {
    position: relative;
    display: flex;
    flex-wrap: wrap;
}

.form-field-city .form-field__label {
    flex: 1 0 100%;
}

.form-field-city__wrap {
    display: flex;
    width: 100%;
}

.form-field-city__input {
    max-width: 600px;
    margin-right: 8px;
}

.form-field-city__floor {
    max-width: 56px;
}

/* product component */
.products-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 16px;
}

.product {
    display: flex;
    margin-bottom: 24px;
}

.product:last-child {
    grid-column-start: 3;
}

.product-counter {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    margin-left: 8px;
}

.product-counter__plus,
.product-counter__minus {
    display: flex;
}

.product-counter__value {
    margin: 0 4px;
    width: 24px;
    text-align: center;
    border: none;
    font-weight: 500;
    font-family: 'Neo Sans Pro';
}

.custom-select {
    display: flex;
    cursor: pointer;
}

/* product-table */
.product-table {}

.product-table__head {
    margin-bottom: 16px;
    display: grid;
    grid-template-columns: 4fr 2fr 2fr 1fr;
    column-gap: 32px;
}

.product-table__head-item {
    font-size: 15px;
    font-weight: 500;
    line-height: 18px;
}

.product-table__items {
    max-height: 124px;
    min-height: 124px;
    margin-bottom: 15px;
    overflow: auto;

}

.product-table__items::-webkit-scrollbar-thumb {
    background-color: #C4C4C4;
    border-radius: 7px;
    border-left: 6px solid #fff;
    border-right: 6px solid #fff;
}

.product-table__items::-webkit-scrollbar {
    width: 16px;
}

.product-table-item {
    display: grid;
    align-items: center;
    grid-template-columns: 4fr 2fr 2fr 1fr;
    column-gap: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid #E5E5E5;
}

.product-table-item:not(:last-child) {
    margin-bottom: 16px;
}

.product-table-item .custom-select-container.is-open .custom-select-panel {
    max-height: 160px;
    background: #fafafa;
}

.product-table-item .custom-select-container.is-open .custom-select-panel::-webkit-scrollbar {
    width: 16px;
}

.product-table-item .custom-select-container.is-open .custom-select-panel::-webkit-scrollbar-thumb {
    background-color: #C4C4C4;
    border-radius: 7px;
    border-left: 6px solid #fafafa;
    border-right: 6px solid #fafafa;
}

.delete-product {
    cursor: pointer;
    width: 24px;
    display: flex;
    align-items: center;
}

.product-add {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    border-radius: 20px;
    border: 1px solid #E30611;
    font-size: 16px;
    line-height: 22px;
    cursor: pointer;
    margin-bottom: 24px;
}

.product-add>svg {
    margin-right: 4px;
}

.product-table-item__select .product-table__head-item {
    display: none;
}

/* form step */
.form-order-step {
    margin-bottom: 16px;
    max-width: 568px;
    margin-top: -24px;
}

.form-order-step__count {
    color: #74767A;
    text-align: right;
    font-size: 16px;
    line-height: normal;
    margin-bottom: 8px;
}

.form-order-step__line,
.fast-form__line {
    border-radius: 20px;
    background: #F2F3F7;
    height: 8px;
    position: relative;
    overflow: hidden;
}

.fast-form__line {
    margin-bottom: 16px;
}

.form-order-step__line::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: url("../images/step-progress.png");
}

.order-forms.current-step-1 .form-order-step__line::after {
    left: -80%;
}

.order-forms.current-step-2 .form-order-step__line::after {
    left: -60%;
}

.order-forms.current-step-3 .form-order-step__line::after {
    left: -40%;
}

.order-forms.current-step-4 .form-order-step__line::after {
    left: -20%;
}

.order-forms.current-step-5 .form-order-step__line::after {
    left: 0;
}

/* success window */
.success-window {}

.success-window_fast {
    max-width: 576px;
}

.success-window_order {}

.success-window__title {
    font-size: 20px;
    font-weight: 500;
    line-height: 28px;
    margin-bottom: 8px;
}

.success-window__descr {
    font-size: 15px;
    line-height: 20px;
    margin-bottom: 16px;
}

.success-window__descr span {
    font-weight: 500;
    color: #E30611;
}

.success-window__descr p {
    margin-bottom: 8px;
}

.success-window__line {
    margin-bottom: 16px;
    height: 1px;
    background: #F2F3F7;
    max-width: 576px;
}

.success-window-company {
    margin-bottom: 30px;
}

.success-window-company__title {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: normal;
}

.success-window-company__phone {
    font-size: 24px;
    margin-bottom: 10px;
}

.success-window-company__phone span {
    font-family: 'NeoSansPro-Bold';
    font-weight: 600;
}

.success-window-company__link a {
    color: #E91A23;
    text-decoration: underline;
}

.success-window__name,
.success-window__address {
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 400;
    line-height: 20px;
}

.success-window__address {
    margin-bottom: 16px;
}

.success-window__name span,
.success-window__address span {
    font-weight: 500;
}

.success-window__products {
    list-style: disc;
    padding-left: 18px;
    margin-bottom: 8px;
    font-size: 15px;
    line-height: 20px;
}

.success-window__products span {
    font-weight: 500;
}

/* margin */
.comment-field {
    margin-bottom: 8px;
}

html .selectize-control {
    width: 100%;
}

html .selectize-control.single .selectize-input {
    border: 1px solid #F3F3F4;
    background: #FAFAFA;
    padding: 8px 12px;
    line-height: 1;
}

html .selectize-control.single .selectize-input .item {}

html .selectize-control.single .selectize-input:after {}

html .selectize-control.single .selectize-input input {
    display: none !important;
}

html .selectize-control.single .selectize-input.dropdown-active::before {
    display: none;
}

html .selectize-dropdown.single {
    border: none;
    border-color: #589BFF;
    border: none;
    border-radius: 8px;
    background: #FAFAFA;
    border: 1px solid #FAFAFA;
    box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.25);
}

html .selectize-dropdown .active {
    color: #1D2023;
    background-color: #EDEFF3;
}

html .selectize-dropdown .option {
    padding: 8px 12px;
    color: #1D2023;
    font-size: 15px;
    font-weight: 400;
    line-height: 24px;
}

.measurement_mobile {
    display: none;
}

.contract-field__label {}

.contract-field {
    flex: 1 0 100%;
}

.contract-field__name {
    display: flex;
}

.contract-field__name>svg {
    margin-left: 4px;
}

.contract-field__descr {
    color: #969FA8;
    font-size: 13px;
    font-weight: 400;
    line-height: 18px;
}

.f-modal-form {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.f-modal-form__wrap {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.f-modal-form__content {
    background: #fff;
    padding: 24px 20px 32px;
    border-radius: 4px;
    width: 100%;
    max-width: 984px;
    position: relative;
    z-index: 3;
}

.f-modal-form__layer {
    z-index: 1;
    opacity: 0.48;
    background: #1D2023;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

.f-modal-form__close {
    position: absolute;
    z-index: 1;
    right: 12px;
    top: 16px;
    cursor: pointer;
}

.contract-title {
    margin-bottom: 16px;
    text-align: center;
    font-size: 28px;
    font-weight: 500;
    line-height: 32px;
}

.contract-list {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.contract-item {
    min-height: 88px;
}

.contract-item:not(:last-child) {
    margin-right: 16px;
}

.contract-arrow {
    margin-right: 16px;
}

.contract-item>svg {
    margin: 0 auto 8px;
    display: block;
}

.contract-item__name {
    text-align: center;
    font-size: 14px;
    line-height: 20px;
}

.contract-time {
    width: 432px;
    margin-left: 183px;
}

.contract-time__text {
    display: flex;
    justify-content: center;
    color: #E30611;
    font-size: 13px;
    font-weight: 500;
    line-height: 20px;
}

.contract-time__text>svg {
    margin-right: 4px;
}

@media (max-width: 1023px) {
    .order-forms {
        background: none;
    }

    .products-list {
        grid-template-columns: 1fr 1fr;
    }

    .product:last-child {
        grid-column-start: 1;
    }

    .measurement {
        display: none;
    }

    .measurement_mobile {
        display: flex;
        position: static;
    }

    .office-map__map {
        display: none;
    }

    .office-map__list {
        max-width: 100%;
    }

    .form-container {
        padding: 0 16px;
    }

    .order-form-title {
        font-size: 18px;
        line-height: 22px;
    }

    .memo-field {
        order: 0;
        margin-left: 0;
        margin-bottom: 16px;
        flex: 1 0 100%;
    }

    .prev-btn {
        order: 1;
    }

    .next-btn {
        order: 2;
    }

    .current-step-3 .form-field-footer {
        position: static;
    }

    .current-step-1 .form-field-footer {
        position: static;
    }

    .current-step-1 .file-field {
        margin-bottom: 10px;
    }

    .current-step-1 .urface-field {
        margin-bottom: 0;
    }

    .current-step-2 .measurement,
    .current-step-3 .measurement {
        display: block;
        position: static;
        flex: 1 0 100%;
    }

    .order-forms.current-step-3 .measurement {
        display: block;
    }
}

@media (max-width: 767px) {
    .loader {
        border-radius: 0;
    }

    .order-forms {
        width: 100%;
        max-width: 100%;
        box-shadow: none;
        border-radius: 0;
        border: none;
        min-height: auto;
        padding: 16px;
    }

    .fast-form,
    .step-1 {
        max-width: 100%;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .form-field-footer {
        position: static;
        width: 100%;
    }

    .file-field__attach {
        flex-direction: column;
    }

    .file-field__attach-btn {
        margin-bottom: 8px;
    }

    .file-field__attach-text {
        text-align: left;
    }

    .order-forms-head__item {
        font-size: 14px;
        line-height: 16px;
        padding: 16px 8px 16px 16px;
    }

    .order-forms-head__item>img {
        width: 16px;
    }

    .suggestions-wrapper {
        top: 70px;
    }

    .form-order-step {
        margin-top: 0;
    }

    .form-field-city__wrap {
        flex-direction: column;
    }

    .form-field-city__input {
        max-width: 100%;
        margin-left: 0;
        margin-bottom: 8px;
    }

    .form-field-footer {
        flex-direction: column;
    }

    .prev-btn {
        margin-right: 0;
        order: 2;
    }

    .next-btn {
        margin-bottom: 16px;
        order: 1;
    }

    .products-list {
        grid-template-columns: 1fr;
    }

    .memo-field {
        margin-left: 0;
        margin-bottom: 16px;
    }

    .form-order-step {
        max-width: 100%;
    }

    .office-map {
        margin-bottom: 16px;
    }

    .product-table__head-item_date,
    .product-table__head-item_time,
    .product-table__head-item_del {
        display: none;
    }

    .product-table-item {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto 1fr;
    }

    .product-table-item .delete-product {
        grid-row-start: 1;
        width: 100%;
        grid-column-start: 2;
        justify-content: flex-end;
    }

    .product-table__items {
        max-height: none;
    }

    .product-table__head-item {
        margin-bottom: 8px;
    }

    .product-table-item__select {
        margin-top: 16px;
    }

    .product-table__head {
        grid-template-columns: 1fr;
    }

    .product-table-item__select .product-table__head-item {
        display: block;
    }

    .form-container {
        padding: 0;
    }

    .order-form-title {
        padding: 0 16px;
        max-width: 200px;
    }

    .order-forms-head {
        margin-bottom: 10px;
    }

    .FAST_FORM .order-forms-head {
        margin-bottom: 37px;
    }

    .form-field__label_how {
        max-width: 140px;
    }

    .office-address::after {
        display: none;
    }

    .office-address {
        max-height: 280px;
        min-height: 280px;
    }
}

@media (max-width: 479px) {

    .contract-field__name>svg {
        display: none;
    }

    .next-btn,
    .prev-btn,
    .product-add {
        width: 100%;
    }

    .office-map .custom-select {
        width: 100%;
    }

    .order-forms-head__item {
        flex: 1;
    }

    .policy-field {
        flex-direction: column-reverse;
    }

    .file-error {
        margin-left: 0;
        margin-bottom: 8px;
    }
}