.footer {
    position: absolute;
    bottom: 0;
    width: 100%;

}
@media only screen and (min-width : 1200px) {

    .container { width: 1500px; }

}
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu a::after {
    transform: rotate(-90deg);
    position: absolute;
    right: 6px;
    top: .8em;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: .1rem;
    margin-right: .1rem;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"] {
    -moz-appearance: textfield;
}

@media (max-width: 767.98px) {
    #hmmTeacherSmartWizard,
    #hmmTeacherSmartWizard .tab-content,
    #result_div {
        min-width: 0;
        max-width: 100%;
    }

    #hmmTeacherSmartWizard > .nav {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: .25rem .25rem .5rem;
        scrollbar-width: thin;
    }

    #hmmTeacherSmartWizard > .nav .nav-item {
        flex: 1 1 0;
        min-width: 0;
    }

    #hmmTeacherSmartWizard > .nav .nav-link {
        min-height: 3.25rem;
        padding: .55rem .4rem;
        font-size: .8rem;
        line-height: 1.2;
        text-align: center;
        white-space: normal;
    }

    #hmmTeacherSmartWizard > .nav .nav-link small {
        display: none;
    }

    #hmmTeacherSmartWizard > .btn-toolbar {
        display: flex;
        flex-wrap: wrap;
        justify-content: stretch !important;
        gap: .5rem;
        margin: .75rem 0 !important;
    }

    #hmmTeacherSmartWizard > .btn-toolbar .btn-group {
        display: flex;
        flex: 1 1 100%;
        margin: 0 !important;
    }

    #hmmTeacherSmartWizard > .btn-toolbar .btn-group .btn {
        flex: 1 1 0;
    }

    #step-1 .card-header {
        gap: .5rem;
        flex-wrap: wrap;
    }

    #step-1 .card-header .btn {
        flex: 0 0 auto;
    }

    #step-1 .card-body,
    #step-2 .card-body,
    #step-3 .card-body {
        min-width: 0;
    }

    #backward_options .col-12 {
        padding-right: 0;
        padding-left: 0;
    }

    #step-2 .table-responsive,
    #result_div {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    #result_div .bk-root {
        max-width: 100%;
        overflow-x: auto;
    }

    #download_report .d-flex.gap-2 {
        flex-direction: column;
    }

    #download_report .d-flex.gap-2 .btn {
        width: 100%;
    }

    footer p {
        overflow-wrap: anywhere;
    }
}

@media (max-width: 400px) {
    #hmmTeacherSmartWizard > .nav .nav-link {
        padding-right: .2rem;
        padding-left: .2rem;
        font-size: .72rem;
    }

    #hmmTeacherSmartWizard > .nav .nav-link::before,
    #hmmTeacherSmartWizard > .nav .nav-link::after {
        display: none;
    }
}
