html {
    scroll-behavior: auto;
    scroll-padding-block-start: 150px;
}

.mb-0 {
    margin-bottom: 0;
}

.ml-0 {
    margin-left: 0 !important;
}

.p-10 {
    padding: 10px;
}

.text-white {
    color: var(--color-white);
}

.text-black {
    color: #000;
}

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

.bg-primary {
    background-color: var(--e-global-color-primary);
}

.fw-400 {
    font-weight: 400;
}

.fw-700 {
    font-weight: 700;
}

.d-flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-end {
    justify-content: end;
}

.flex-col {
    flex-direction: column;
}

.d-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
}

.d-grid .col-span-12 {
    grid-column: span 12 / span 12;
}

.d-grid .col-span-10 {
    grid-column: span 10 / span 10;
}

.d-grid .col-span-6 {
    grid-column: span 6 / span 6;
}

.d-grid .col-span-4 {
    grid-column: span 4 / span 4;
}

.d-grid .col-span-2 {
    grid-column: span 2 / span 2;
}

.gap-5 {
    gap: 5px;
}

.gap-10 {
    gap: 10px;
}

.gap-20 {
    gap: 20px;
}

.min-w-fit {
    min-width: fit-content;
}

.min-w-700 {
    min-width: 700px;
}

.min-w-450 {
    min-width: 450px;
}

.min-h-250 {
    min-height: 250px;
}

.list-unstyled {
    list-style: none;
}

ul li, ol li {
    margin-bottom: 1.5rem;
}

hr {
    width: 100%;
    background-color: var(--color-border);
    height: 5px;
}

hr.small {
    height: 2px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

.btn {
    align-items: center;
    display: inline-flex;
    padding: 18px 25px;
    border-radius: var(--button-border-radius);
    transition: var(--global-transition);
    font-size: var(--font-size-default);
    line-height: 1;
    font-family: var(--e-global-typography-accent-font-family);
    font-weight: var(--e-global-typography-accent-font-weight);
    cursor: pointer;
    position: relative;
}

.btn.btn-primary {
    color: #fff;
    background-color: var(--e-global-color-primary);
}

.btn.btn-secondary {
    color: var(--e-global-color-text);
    background-color: #ffffff;
}

.table-responsive {
    overflow-x: auto;
}

label {
    font-weight: bold;
    display: block;
    cursor: auto;
    font-size: 15px;
    line-height: 25px;
    margin-bottom: 0;
}

input[type="file"]::file-selector-button {
    color: #fff;
    border-radius: 100rem;
    /* border-radius: var(--global-border-radius); */
    padding: 10px 15px;
    border: 0;
    cursor: pointer;
    transition: var(--global-transition);
    background-color: var(--e-global-color-secondary);
}

input[type="file"]::file-selector-button:hover {
    background: var(--e-global-color-primary);
}

input[type="checkbox"],
input[type="radio"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    accent-color: var(--e-global-color-secondary);
    margin-top: 2px;
    cursor: pointer;
}

textarea {
    min-height: 100px;
    transition: unset;
}

.radio-box-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 20px;
    row-gap: 5px;
}

.radio-box {
    display: flex;
    align-items: center;
    gap: 6px;
}

.radio-box-label>label+.radio-box {
    margin-inline-start: auto;
}

.select-insurance .select-insurance-box {
    display: flex;
    align-items: stretch;
    gap: 15px;
}

.select-insurance .label {
    color: #fff;
}

.form-wrapper {
    margin: 0 auto;
    width: 100%;
}

.form-wrapper form {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.form-wrapper form .upload-doc-box {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 50px;
    padding: 5px 15px;
    border: 1px solid var(--color-border);
    border-radius: var(--global-border-radius, 0px);
}

.form-wrapper form .upload-doc-box input[type="file"] {
    margin-inline-start: auto;
}

.form-wrapper form .upload-doc-box input {
    cursor: pointer;
}

.form-wrapper form .upload-sign-box label {
    margin-bottom: 5px;
}

.form-wrapper form .upload-sign-box small {
    font-size: 10px;
}

.form-wrapper form .upload-term-box {
    display: flex;
    gap: 8px;
}

.form-wrapper form .submit-button {
    width: 100%;
}

.action-msg {
    font-size: 16px;
    line-height: 26px;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: var(--global-border-radius);
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 auto;
}

.action-msg i {
    font-size: 26px;
}

.action-msg.success {
    background-color: #e5f6e5;
    color: green;
}

.action-msg.success i {
    color: green;
}

.action-msg.error {
    background-color: #f8d8d8;
    color: red;
}

.action-msg.error i {
    color: red;
}

@media (max-width: 767.98px) {

    .d-grid .col-span-10,
    .d-grid .col-span-6,
    .d-grid .col-span-4,
    .d-grid .col-span-2 {
        grid-column: span 12 / span 12;
    }
}

@media (max-width: 574.98px) {

    ul,
    ol {
        padding-inline-start: 1.5rem;
    }

    .select-insurance .select-insurance-box {
        gap: 10px;
    }

    .form-wrapper form .upload-doc-box {
        flex-direction: column;
        align-items: start;
        padding: 0 0 20px;
        border: 0;
        border-bottom: 1px solid var(--color-border);
        border-radius: 0;
    }

    .form-wrapper form .upload-doc-box input[type="file"] {
        margin-inline-start: unset;
    }

    .radio-box-label {
        flex-wrap: wrap;
        justify-content: unset;
    }

    .radio-box-label>label+.radio-box {
        margin-inline-start: unset;
    }

    .radio-box-label>label {
        width: 100%;
    }
}

/* new css */
.application_notice{
    font-size: 15px;
    line-height: 20px;
    color: red;
    margin-top: 10px;
}

#page-header{
    background-image: url("../img/header-background.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
}

#page-header::after{
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.4);
}

.page-header .keydesign-container{
    z-index: 1;
}

.work-step-1 .ekit-wid-con .elementskit-infobox:hover .ekit-badge,
.work-step-3 .ekit-wid-con .elementskit-infobox:hover .ekit-badge {
    color: var(--e-global-color-light) !important;
    background: var(--e-global-color-secondary) !important;
}

.work-step-2 .ekit-wid-con .elementskit-infobox:hover .ekit-badge {
    color: var(--e-global-color-secondary) !important;
    background: var(--e-global-color-light) !important;
}