﻿
* {
    font-size: 0.850rem;
}
/*
.nav li a {
    color: antiquewhite;
    font-weight: bolder;
    text-decoration: none;
    padding-right: 15px;
    font-size: 14px;
}*/

/* ✅ Fix Nested Dropdown Positioning */
.dropdown-menu {
    position: absolute; /* Ensure proper positioning of first-level dropdowns */
}

/* ✅ Nested Dropdown */
.dropdown-submenu {
    position: relative; /* Allow positioning of nested submenus */
}

    .dropdown-submenu > .dropdown-menu {
        position: absolute;
        left: 100%; /* Move submenu to the right of parent */
        top: 0; /* Align it with the parent */
        margin-top: -1px;
        display: none;
    }

/* ✅ Show submenus on hover (desktop) */
.dropdown-menu li:hover > .dropdown-menu {
    display: block;
}

/* ✅ Fix for Mobile Screens */
@media (max-width: 991px) {
    .dropdown-submenu > .dropdown-menu {
        left: 0; /* Stack submenus below parent */
        top: 100%;
        position: static;
        display: none;
    }

    /* Display submenu on hover for mobile */
    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }
}

