/* EXO|GEN KLAPP: native Bitrix24 form restyled to EXO|GEN design */
.exogen_b24_form_block {
    position: relative;
}

.exogen_b24_native_form_holder {
    position: relative;
    max-width: 980px;
    margin: 0 auto;
}

.exogen_b24_native_form_holder * {
    box-sizing: border-box;
}

.exogen_b24_native_form_holder .b24-form,
.exogen_b24_native_form_holder .b24-form-wrapper,
.exogen_b24_native_form_holder .b24-form-border-bottom,
.exogen_b24_native_form_holder .b24-form-content,
.exogen_b24_native_form_holder .b24-form-padding-side,
.exogen_b24_native_form_holder .b24-form-inner-box {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-family: 'Jost', Arial, sans-serif !important;
}

.exogen_b24_native_form_holder .b24-form-header,
.exogen_b24_native_form_holder .b24-form-sign,
.exogen_b24_native_form_holder .b24-form-btn-container::before,
.exogen_b24_native_form_holder .b24-form-btn-container::after {
    display: none !important;
}

.exogen_b24_native_form_holder .b24-form-content form {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.exogen_b24_native_form_holder .b24-form-content form > div:first-child {
    order: 1 !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 28px 32px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.exogen_b24_native_form_holder .b24-form-btn-container {
    order: 2 !important;
    display: block !important;
    width: 100% !important;
    margin: 34px 0 0 !important;
    padding: 0 !important;
}

.exogen_b24_native_form_holder .b24-form-content form > div:nth-of-type(2) {
    order: 3 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    margin: 22px 0 0 !important;
    padding: 0 !important;
}

.exogen_b24_native_form_holder .b24-form-field,
.exogen_b24_native_form_holder .b24-form-control-string,
.exogen_b24_native_form_holder .b24-form-control-list,
.exogen_b24_native_form_holder .b24-form-control-text {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
}

.exogen_b24_native_form_holder .b24-form-field-text {
    grid-column: auto !important;
}

.exogen_b24_native_form_holder .b24-form-control-container {
    position: relative !important;
    display: grid !important;
    grid-template-areas:
        "label"
        "control"
        "error" !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.exogen_b24_native_form_holder .b24-form-control-label {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    grid-area: label !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #6C5892 !important;
    font-family: 'Jost', Arial, sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
    opacity: 1 !important;
    pointer-events: none !important;
}

.exogen_b24_native_form_holder .b24-form-control-required {
    color: #6C5892 !important;
    font-family: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
}

.exogen_b24_native_form_holder .b24-form-control,
.exogen_b24_native_form_holder input.b24-form-control,
.exogen_b24_native_form_holder textarea.b24-form-control {
    grid-area: control !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 62px !important;
    min-height: 62px !important;
    margin: 0 !important;
    padding: 0 22px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: #000 !important;
    font-family: 'Jost', Arial, sans-serif !important;
    font-size: 18px !important;
    font-weight: 300 !important;
    line-height: 62px !important;
    outline: none !important;
    box-shadow: none !important;
    transition: background .18s ease, box-shadow .18s ease !important;
}

.exogen_b24_native_form_holder textarea.b24-form-control {
    height: 62px !important;
    min-height: 62px !important;
    padding: 18px 22px !important;
    line-height: 1.35 !important;
    resize: vertical !important;
}

.exogen_b24_native_form_holder .b24-form-field-list .b24-form-control-container,
.exogen_b24_native_form_holder .b24-form-control-list .b24-form-control-container {
    cursor: pointer !important;
}

.exogen_b24_native_form_holder .b24-form-field-list .b24-form-control,
.exogen_b24_native_form_holder .b24-form-control-list .b24-form-control {
    color: #A99BC1 !important;
    cursor: pointer !important;
    padding-right: 54px !important;
}

.exogen_b24_native_form_holder .b24-form-control-container:hover .b24-form-control,
.exogen_b24_native_form_holder .b24-form-control-container:focus-within .b24-form-control,
.exogen_b24_native_form_holder .b24-form-control-container[aria-expanded="true"] .b24-form-control {
    background: #F8F4FC !important;
    box-shadow: none !important;
}

.exogen_b24_native_form_holder .b24-form-field-list .b24-form-control-container::after,
.exogen_b24_native_form_holder .b24-form-control-list .b24-form-control-container::after {
    content: '' !important;
    position: absolute !important;
    right: 24px !important;
    top: 47px !important;
    width: 10px !important;
    height: 10px !important;
    border-right: 2px solid #6C5892 !important;
    border-bottom: 2px solid #6C5892 !important;
    transform: rotate(45deg) translateY(-2px) !important;
    pointer-events: none !important;
}

.exogen_b24_native_form_holder .b24-form-field-list .b24-form-control-container[aria-expanded="true"]::after,
.exogen_b24_native_form_holder .b24-form-control-list .b24-form-control-container[aria-expanded="true"]::after {
    transform: rotate(225deg) translate(-2px, -1px) !important;
}

.exogen_b24_native_form_holder .b24-form-control-alert-message {
    grid-area: error !important;
    display: none;
    width: 100% !important;
    margin: 0 !important;
    padding:5px !important;
    color: #fff !important;
    font-family: 'Jost', Arial, sans-serif !important;
    font-size: 13px !important;
    font-style: normal !important;
    line-height: 1.25 !important;
}

.exogen_b24_native_form_holder .b24-form-btn-block,
.exogen_b24_native_form_holder .b24-form-btn-block .b24-form-btn {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.exogen_b24_native_form_holder .b24-form-btn {
    height: 62px !important;
    min-height: 62px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #6C5892 !important;
    color: #fff !important;
    font-family: 'Jost', Arial, sans-serif !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 62px !important;
    text-transform: none !important;
    text-align: center !important;
    cursor: pointer !important;
    box-shadow: none !important;
    transition: background .2s ease !important;
}

.exogen_b24_native_form_holder .b24-form-btn:hover,
.exogen_b24_native_form_holder .b24-form-btn:focus {
    background: #5D4B80 !important;
}

.exogen_b24_native_form_holder .b24-form-field-agreement,
.exogen_b24_native_form_holder .b24-form-control-agreement {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
}

.exogen_b24_native_form_holder .b24-form-field-agreement .b24-form-control-container,
.exogen_b24_native_form_holder .b24-form-control-agreement .b24-form-control-container {
    display: block !important;
}

.exogen_b24_native_form_holder .b24-form-field-agreement label,
.exogen_b24_native_form_holder .b24-form-control-agreement label {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #000 !important;
    font-family: 'Jost', Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 300 !important;
    line-height: 1.35 !important;
    cursor: pointer !important;
}

.exogen_b24_native_form_holder .b24-form-field-agreement input[type="checkbox"],
.exogen_b24_native_form_holder .b24-form-control-agreement input[type="checkbox"] {
    position: static !important;
    display: inline-block !important;
    flex: 0 0 22px !important;
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 1 !important;
    accent-color: #6C5892 !important;
    cursor: pointer !important;
}

.exogen_b24_native_form_holder .b24-form-control-desc,
.exogen_b24_native_form_holder .b24-form-field-agreement-link {
    color: #000 !important;
    font-family: 'Jost', Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 300 !important;
    line-height: 1.35 !important;
    text-decoration: none !important;
}

.exogen_b24_native_form_holder .b24-form-field-agreement-link:hover {
    text-decoration: underline !important;
}

.exogen_b24_native_form_holder .b24-form-state-container,
.exogen_b24_native_form_holder .b24-form-state,
.exogen_b24_native_form_holder .b24-form-state-inner {
    background: transparent !important;
    box-shadow: none !important;
}

.exogen_b24_native_form_holder .b24-form-state-text,
.exogen_b24_native_form_holder .b24-form-state-text p {
    color: #6C5892 !important;
    font-family: 'Jost', Arial, sans-serif !important;
    font-size: 20px !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
    text-align: center !important;
}

/* Dropdown portal generated by Bitrix24 */
.b24-window .b24-form-dropdown,
.b24-form-dropdown {
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: 0 18px 30px rgba(108, 88, 146, .18) !important;
    font-family: 'Jost', Arial, sans-serif !important;
}

.b24-form-dropdown-item,
.b24-form-dropdown-option,
.b24-form-dropdown-option-item,
.b24-form-control-list-selector-item,
.b24-form-control-list-item {
    min-height: 54px !important;
    padding: 14px 22px !important;
    background: #fff !important;
    color: #A99BC1 !important;
    font-family: 'Jost', Arial, sans-serif !important;
    font-size: 18px !important;
    font-weight: 300 !important;
    line-height: 1.25 !important;
    cursor: pointer !important;
}

.b24-form-dropdown-item:hover,
.b24-form-dropdown-option:hover,
.b24-form-dropdown-option-item:hover,
.b24-form-control-list-selector-item:hover,
.b24-form-control-list-item:hover,
.b24-form-dropdown-item.b24-form-dropdown-item-active,
.b24-form-dropdown-option.b24-form-dropdown-option-active,
.b24-form-dropdown-option-item.b24-form-dropdown-option-item-active,
.b24-form-control-list-selector-item.b24-form-control-list-selector-item-active,
.b24-form-control-list-item.b24-form-control-list-item-active {
    background: #F3ECFA !important;
    color: #6C5892 !important;
}

.exogen_b24_native_form_holder .b24-form .b24-form-success{background:#fff !important;}

.exogen_b24_native_form_holder .b24-form .b24-form-control-alert-message:before {
    right: 10px;
    top: 4px;
    left:auto;
}


#main .exogen_b24_native_form_holder .b24-form input {
    -webkit-appearance: auto;
    -moz-appearance: auto;
    box-shadow: none;
    outline: none;
}

@media all and (max-width: 768px) {
    .exogen_b24_native_form_holder .b24-form-content form > div:first-child {
        grid-template-columns: 1fr !important;
        gap: 22px !important;
    }

    .exogen_b24_native_form_holder .b24-form-control-label {
        font-size: 15px !important;
    }

    .exogen_b24_native_form_holder .b24-form-control,
    .exogen_b24_native_form_holder input.b24-form-control,
    .exogen_b24_native_form_holder textarea.b24-form-control,
    .exogen_b24_native_form_holder .b24-form-btn {
        height: 58px !important;
        min-height: 58px !important;
        font-size: 16px !important;
        line-height: 58px !important;
    }

    .exogen_b24_native_form_holder textarea.b24-form-control {
        line-height: 1.35 !important;
    }
}
