/* PORTAAL NAVIGATIE OUDERS ------------------------------------------------ */
#mja-stepper {
    display: flex;
    justify-content: flex-end;
    margin-top: 60px;
    margin-right: 0px;
    margin-right: -20px;
    margin-left: -8px;
}

.stepper {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    width: 100%;
}

.stepper li {
    display: flex;
    align-items: flex-end;
    padding: 20px 10px 10px 10px;
    position: relative;
    justify-content: flex-end;
}

.stepper li a{
    display: flex;
    justify-content: flex-end;
    max-width: 405px;
    min-width: 290px;
    width: 100%;
}

.stepper li.active{
    background-color: rgba(var(--mja-blue-rgb), 0.1);
    font-weight: bold;
    padding-top: 10px;
}

.stepper img {
    width: 32px;
    height: 32px;
    position: relative;
    z-index: 2;
    opacity: 0.5;
}

.stepper .icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    flex-shrink: 0;
    width: 55px;
    height: 55px;
    border: 2px solid rgba(var(--mja-blue-rgb), 0.5);
    border-radius: 5px;
    margin: 0 10px;
    background: rgba(255,255,255,0.8);
}

.stepper .icon-box.active {
    background: white;
    border: 2px solid rgba(var(--mja-blue-rgb), 1);
}

.stepper .active img {
    opacity: 1;
}

.stepper .icon-box.active img {
    width: 32px;
    height: 32px;
}

.stepper .title {
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 0;
    transition: all 0.3s ease;
    font-size: 1.25rem;
    color: rgba(var(--mja-blue-rgb), 0.6);
}

.stepper .active .title {
    color: rgba(var(--mja-blue-rgb), 1);
}

.stepper .description {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: rgba(var(--mja-blue-rgb), 0.7);
}

.stepper .active .description {
    color: rgba(var(--mja-blue-rgb), 1);
    font-weight: normal;
}

.stepper .stepper-txt-box {
    padding-left: 22px;
    flex: 1;
}

.step-link {
    display: flex;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
    padding: 0;
}

.step-link:hover img,
.step-link:hover .title,
.step-link:hover .description {
    opacity: 1;
    color: rgba(var(--mja-blue-rgb), 1);
}

.step-link:hover .icon-box{
    border: 2px solid rgba(var(--mja-blue-rgb), 1);
}

@media (max-width: 991px) {
    #mja-stepper {
        justify-content: flex-start;
        margin: 30px -20px 0 -20px;
        overflow-x: auto;
        white-space: nowrap;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    #mja-stepper::-webkit-scrollbar {
        display: none;
    }

    .stepper {
        display: flex;
        flex-direction: row;
        padding: 0 10px 0 30px;
        max-width: none;
        white-space: nowrap;
    }

    .stepper li{
        display: none;
    }

    .stepper li a {
        justify-content: flex-start;
        max-width: unset;
        min-width: unset;
    }

    .stepper li.active {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        padding: 10px;
        position: relative;
        margin-right: 0px;
        min-width: 360px;
        width: 80vw;
        max-width: 575px;
        background-color: unset;
    }

    .stepper .icon-box {
        margin-bottom: 10px;

    }

    .stepper li.active {
        padding-bottom: 0;
    }

    .stepper li .icon-box {
        width: 75px;
        height: 75px;
        margin: 0 0 10px 0;
    }

    .stepper .icon-box img {
        width: 45px;
        height: 45px;
    }

    .stepper .stepper-txt-box {
        padding-left: 15px;
    }

    .stepper .stepper-txt-box .description,
    .stepper .stepper-txt-box .title {
        white-space: normal;
    }

}

/* MOBIELE NAVIGATIE */

.bottom-nav{display: none;}

@media (max-width: 991px) {
    .bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: var(--mja-blue);
        display: flex;
        justify-content: space-between;
        padding: 8px 0;
        z-index: 1000;
        box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
    }

    .portal-nav-link {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: var(--mja-blue-light);
        text-decoration: none;
        flex: 1; /* Make all nav-links equal width */
        padding: 5px 5px 1px 5px;
        font-size: 0.8rem;
        transition: color 0.3s ease, background-image 0.3s ease;
        background-size: 24px 24px;
        background-repeat: no-repeat;
        background-position: center top;
        background-image: var(--icon); /* Use the default icon */
    } 

    .portal-nav-link.active { /* Swap to active icon on .active class */
        color: #ffffff;
        background-image: var(--icon-active); /* Use the active icon */
    }

    .portal-nav-link span {
        margin-top: 30px; /* Adjust to push text below icon */
        display: block;
        font-size: 0.8rem;
        white-space: nowrap;
    }

    .portal-nav-link.active, .portal-nav-link:hover {
        color: #ffffff; /* Highlight color for active or hovered links */
        background-image: var(--icon-active);
    }

    .site-footer{
        padding-bottom: 70px;
    }


}