.atlui_form_section {
    min-height: 400px;
}

button.atlui_button_back, button.atlui_button_forward {
    width: 100px;
    background: #dedede;
    color: #000;
}

button.atlui_button_forward, button.atlui_button_submit {
    float: right;
}

button.atlui_button_submit {
    width: 120px;
    min-width: 105px;
}

.atlui_step_container {
    position: relative;
    top: 20px;
    margin: 20px;
    display: flex;
    justify-content: space-between;
}

.atlui_step_item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1 1 0;
    min-width: 0;
}

div.atlui_step_active {
    font-weight: 700;
    color: var(--atlui-blue);
}

.atlui_step_item::after {
    position: absolute;
    content: "";
    border-bottom: 2px solid #ccc;
    width: 55%;
    top: 8px;
    left: 70%;
    z-index: 2;
}

.atlui_step_item:last-child::after {
    display: none;
}

.atlui_step_active::after {
    border-bottom: 2px solid var(--atlui-blue);
}

@media(width <= 1080px) {
    .atlui_step_name {
        display: none;
    }

    .atlui_step_item::after {
        border: none;
        width: 0px;
    }

}

@media(width <= 670px) {
    .atlui_step_counter {
        width: 32px !important;
    }

    button.atlui_button_back, button.atlui_button_forward, button.atlui_button_submit {
        width: 100% !important;
    }

    button.atlui_button_forward, button.atlui_button_submit {
        float: none;
    }
}

.atlui_step_counter {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 16px;
    background: none;
    margin-bottom: 20px;
}

.atlui_step_counter path {
    fill: #c9c9c9;
}

.atlui_step_active > .atlui_step_counter path {
    fill: var(--atlui-blue);
}

/* .atlui_step_counter {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #dedede;
    margin-bottom: 6px;
}

.atlui_step_active > .atlui_step_counter {
    background: var(--atlui-blue);
} */

.atlui_step_name {
    font-size: 14px;
    text-align: center;
}

/* hack: fix newline for validation message on checkbox (ugly, I know...) */
#confirm_invalid {
    display: block;
}
