html {
    font-size: 16px;
    line-height: 1.5;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
}

.message_success{
    color: #0172c0 !important;
}

body {
    color: #454545;
    margin: 0;
    padding: 0;
    /*
    background-image: linear-gradient(to right top, #ffffff, #fbefef, #ffffff, #f0ffff, #ffffff);
    */
    background: white;
}

header {
    /* background: url("/bitrix/templates/crm/images/header1.png") center/cover no-repeat;*/
    background: #888888;
    height: 5px;
    margin-bottom: 2rem;
}

footer {
    /*background: url("/bitrix/templates/crm/images/footer1.png") center/cover no-repeat;*/
    background: #888888;
    height: 5px;
}

h1 {
    font-size: 1.5rem;
    margin: 1rem 0 1rem;
}

h2 {
    font-size: 1.3rem;
    margin: 1rem 0 1rem;
}

h3 {
    font-size: 1.1rem;
    margin: 1rem 0 1rem;
}

элемент {
    display: block;
}

#preload {
    display: none;
    position: fixed;
    z-index: 1000;
    text-align: center;
    background: rgba(255, 255, 255, 0.71);
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

#preload svg {
    width: 62px;
    height: 62px;
    position: fixed;
    left: 50%;
    top: 50%;
    margin-left: -31px;
    margin-top: -31px;
}

.has-text-centered {
    text-align: center;
}

.has-background-light {
    background: #eeeeee;
}

.has-background-light-blue {
    background: #dbe5f1;
}

.py-0 {
    padding-top: 0;
    padding-bottom: 0;
}

.py-1 {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-5 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.py-6 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

#vue_app_reg_form {
    position: relative;
}

.reg_form_page .title {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin: 30px 0;
}

.reg_form_page .title2 {
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    margin: 30px 0 10px;
}

#current_page_informer {
    position: absolute;
    top: -2.5rem;
    left: 1rem;
    font-weight: bold;
}

.panel {
    background: #EEEEEE;
    padding: 1rem 2rem;
    margin: 0 0 1rem;
}

.text_red {
    color: red;
}

.crm_manager_contacts {
    display: flex;
    justify-content: center;

}

.crm_manager_contacts > div {
    text-align: center;
    padding: 1rem 0.5rem;
}

.reg_form_page .question input[type=text],
.reg_form_page .question input[type=tel],
.reg_form_page .question input[type=email],
.reg_form_page .question textarea {
    border-radius: 5px;
    padding: 0.5rem 0.5rem;
    width: 100%;
    box-sizing: border-box;
    font-size: 1rem;
    border: 1px solid #B5B5B5;
    background: #DBE5F1;
    outline: none;
}

.reg_form_page .question select {
    padding: 0.5rem 0;
    width: 100%;
    box-sizing: border-box;
    font-size: 1rem;
    border: 1px solid #B5B5B5;
    background: #DBE5F1;
    outline: none;
}

.reg_form_page .question select option {
    padding: 0.5rem;
}

.reg_form_page .question input[type=text].digital_text {
    padding: 0.5rem 0.5rem;
    width: 100%;
    box-sizing: border-box;
    font-size: 1rem;
    border: 1px solid #B5B5B5;
    background: #DBE5F1;
    outline: none;
    width: 50px;
    text-align: center;
}

.reg_form_page .question input[type=text].digital_text.width100percent {
    width: 100%;
    text-align: left;
}

.reg_form_page .question input[type=text].nonValid,
.reg_form_page .question input[type=tel].nonValid,
.reg_form_page .question input[type=email].nonValid,
.reg_form_page .question textarea.nonValid {
    border: 1px solid #ff0000;
    background-color: #ffedee;
}

.reg_form_page .question input[type=text]:disabled {
    opacity: 0.35;
}

.reg_form_page input.input_text {
    padding: 0.5rem 0.5rem;
    box-sizing: border-box;
    font-size: 1rem;
    border: 1px solid #B5B5B5;
    background: #DBE5F1;
    outline: none;
}

.reg_form_page input.input_text:focus {
    background: #fff;
}


.reg_form_page .question.SQUARE_FOOTAGE input[type=text] {
    width: 3rem;
    text-align: center;
}

.reg_form_page .question.SQUARE_FOOTAGE .two_columns {
    display: flex;
    justify-content: space-between;
    gap: 2rem;

}

#html_result {
    padding: 1rem 3rem;
    background: #d6e2ef;
}

.reg_form_page .question input[type=text]:focus,
.reg_form_page .question input[type=tel]:focus,
.reg_form_page .question input[type=email]:focus {
    background: #fff;
}

.reg_form_page .question input[type=text][readonly]:focus {
    background: #DBE5F1;
}

.reg_form_page .question textarea {
    padding: 0.5rem 0.5rem;
    width: 100%;
    box-sizing: border-box;
    font-size: 1rem;
    border: 1px solid #B5B5B5;
    background: #DBE5F1;
    outline: none;
    min-height: 200px;
}

.reg_form_page .question textarea:focus {
    background: #fff;
}
.reg_form_page .question .one_column_textarea {
    width: 100%;
}



.reg_form_page .question label {
    text-align: right;
    margin-top: 7px;
    font-weight: 600;
    line-height: 1.1;
    cursor: pointer;
}

.reg_form_page .question.agreementCheckbox_wrapper {
    margin-top: 30px;
}

.reg_form_page .question.agreementCheckbox_wrapper label {
    margin: 30px 0;
}

.reg_form_page .question.agreementCheckbox_wrapper input[type="checkbox"] {
    transform: scale(1.5);
    margin: 0;
}

.reg_form_page .question.agreementCheckbox_wrapper .flex_block {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 15px;
}

.reg_form_page .question.two_columns.agreementCheckbox_wrapper > :nth-child(1) {
    flex: 0 0 1%;
}

.reg_form_page .question.two_columns.agreementCheckbox_wrapper > :nth-child(2) {
    flex: 0 0 99%;
    text-align: left;
}
.reg_form_page .question.two_columns.agreementCheckbox_wrapper label {
    text-align: left;
    font-weight: 400;
}

.reg_form_page .question .describe {
    font-size: 13px;
    line-height: 1;
    font-style: italic;
    color: #1f5f9f;
}

.reg_form_page .question.radio > label {
    margin-top: 0.9375rem;
}

.reg_form_page .checkbox_item {
    margin: 1rem 0;
}

.reg_form_page .checkbox_item label, .reg_form_page input[type='checkbox'], .reg_form_page input[type='radio'] {
    cursor: pointer;
}

.reg_form_page .question.two_columns .background,
.reg_form_page .question.SQUARE_FOOTAGE .background {
    padding: 1rem;
    background: #DBE5F1;
    border-radius: 5px;
}

.reg_form_page .question.two_columns .background.nonValid {
    padding: 1rem;
    border: 1px solid #ff0000;
    background-color: #ffedee;
}

.reg_form_page .question.two_columns.checkbox_multi .background {
    padding: 0 1rem;
    background: #DBE5F1;
}

.reg_form_page .group_fields {
    padding: 30px;
    background: #DBE5F1;
    border-radius: 5px;
}

.reg_form_page .group_fields .two_columns {
    display: flex;
    gap: 30px;
    align-items: center;
    margin: 10px 0;
}
.reg_form_page .group_fields .two_columns.checkbox_multi {
    align-items: flex-start;
}
.reg_form_page .two_columns.checkbox_multi .checkbox_item:first-child {
    margin-top: 0;
}


.reg_form_page .group_fields .two_columns > div:first-child {
    flex: 1 0 55%;
}

.reg_form_page .group_fields .two_columns > div:nth-child(2) {
    flex: 0 1 45%;
}

.reg_form_page .group_fields .two_columns.checkbox_multi > div:first-child {
    flex: 1 0 45%;
}

.reg_form_page .group_fields .two_columns.checkbox_multi > div:nth-child(2) {
    flex: 0 1 55%;
}






.reg_form_page .group_label {
    font-weight: bold;
    font-size: 20px;
    text-align: center;
    margin: 30px 0 10px;
}

.reg_form_page .group_fields label {
    font-weight: 600;
    line-height: 1.1;
    display: block;
}

.reg_form_page .group_fields input {
    padding: 0.5rem 0.5rem;
    box-sizing: border-box;
    font-size: 1rem;
    border: 1px solid #B5B5B5;
    background: white;
    border-radius: 5px;
    outline: none;
    width: auto;
    text-align: center;
}

.reg_form_page .group_fields input.digital_text {
    width: 50px;
}
.reg_form_page .group_fields .checkbox_item label{
    display: block;
    text-align: left;
}
.reg_form_page .group_fields .two_columns.checkbox_multi .checkbox_item label{
    display: flex;
    gap: 15px;
    align-items: center;
}
.reg_form_page .group_fields .two_columns.checkbox_multi .checkbox_item label .input_checkbox_name{
    font-size: 15px;
}





.reg_form_page .question.SQUARE_FOOTAGE .background input[type="text"] {
    background: #ffffff;
}

.reg_form_page .question span[id*="SQUARE_FOOTAGE_SQUARE"] {
    min-width: 188px;
    display: inline-block;
    margin-right: -5px;
}

.reg_form_page .question span[id*="SQUARE_FOOTAGE_SQUARE"] .error {
    color: #0171c0;
    font-size: 0.9rem;
}

.reg_form_page .question {
    margin: 20px 0;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: flex-start;
}

.reg_form_page .question.one_column {
    display: flex;
    flex-direction: column;
}

.reg_form_page .question.nonValid {
    border: 1px solid #ff0000;
    background-color: #ffedee;
    padding: 1rem;
    border-radius: 5px;
}

.reg_form_page .question .describe {
    display: block;
    font-size: 13px;
    margin-top: 2px;
}

.reg_form_page .question.radio {
    align-items: normal;
}

.reg_form_page .question.SQUARE_FOOTAGE {
    justify-content: center;
}

.reg_form_page .question.checkbox_multi {
    align-items: start;
}

.reg_form_page .question.checkbox_two_columns {
    display: block;
}


.reg_form_page .question.two_columns > * {
    flex: 1 1 50%;
}

.reg_form_page .question.two_columns > *:nth-child(1) {
    flex: 0 0 calc(36% - 10px);
}

.reg_form_page .question.two_columns > *:nth-child(2) {
    flex: 0 0 calc(63% - 10px);
}

.page_navigation_buttons.two_columns {
    display: flex;
    gap: 30px;
}


.delegate_price_total_box{
    background: #d6e2ef;
    padding: 30px;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    gap: 20px;
    justify-items: center;
    justify-content: center;
    border-radius: 5px;
}
.delegate_price_total_value{
    font-weight: 900;
    font-size: 20px;
}

.button_submit,
.finish_and_new,
.go_next_page,
.go_prev_page {
    background: #0171c0;
    color: #ffffff;
    text-align: center;
    padding: 0.5rem 1rem;
    box-sizing: border-box;
    border: 1px solid #0171c0;
    border-radius: 5px;
    width: 100%;
    display: block;
    margin: 2rem 0;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    align-content: center;
    line-height: 1.1;
}

.button_submit[disabled] {
    opacity: 0.4;
    cursor: wait;
}

.button {
    background: #0171c0;
    color: #ffffff;
    text-align: center;
    padding: 0.5rem 1rem;
    box-sizing: border-box;
    border: 1px solid #0171c0;

    display: inline-block;
    margin: 1rem;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
}

.button span.sub_text {
    display: block;
    text-align: center;
    font-size: 0.8rem;
}

.input_checkbox_wrapper {
    background: #dbe5f1;
    border: 1px solid #B5B5B5;
    padding: 0.3rem 0.83rem;
    display: inline-block;

    cursor: pointer;
}

.label_for_checkbox {
    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    vertical-align: center;
}

.panel_show_total_sum {
    font-weight: bold;
    text-align: center;
    margin: 2rem 0;
}

.dlg_form_header_text {
    margin: 15px 0 30px;
    background: #f0f0f0;
    padding: 30px;
    border-radius: 5px;
}

.dlg_form_header_text p {
    margin: 5px 0;
}

.dlg_form_header_banner {
    margin: 30px 0 15px;
    overflow: hidden;
}

.dlg_form_header_banner img {
    max-width: 100%;
    display: block;
    border-radius: 5px;
    margin: auto;
}

@media (max-width: 600px) {
    .dlg_form_header_text {
        padding: 10px 15px;
        font-size: 14px;
    }

    .reg_form_page .question {
        gap: 3px;
    }

    .reg_form_page .question label {
        text-align: left;
    }

    .reg_form_page .question.two_columns {
        flex-wrap: wrap;
    }

    .reg_form_page .question.two_columns > *:nth-child(1) {
        flex: 0 0 100%;
    }

    .reg_form_page .question.two_columns > *:nth-child(2) {
        flex: 0 0 100%;
    }

    .custom-form-directory-btn {
        top: auto;
        bottom: 6px;
    }
    .reg_form_page .group_fields .two_columns {
        flex-direction: column;
    }
    .delegate_price_total_box {
        font-size: 17px;
        line-height: 1.1;
    }
    .delegate_price_total_box {
        flex-direction: column;
    }
}
