/*
 * Multilevel dropdown menu helpers
 *
 * Shared stylesheet for handling nested dropdown positioning and hover
 * behaviour.  Included automatically by class/theme.php for all themes.
 *
 * @copyright   (c) 2000-2026 XOOPS Project (www.xoops.org)
 * @license     GNU GPL 2.0 or later (https://www.gnu.org/licenses/gpl-2.0.html)
 */

/* === multilevel dropdown support === */
.dropdown-submenu {
    position: relative;
}
.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
}
/* show on hover for desktop users */
.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}
/* JS-toggled visibility */
.dropdown-submenu > .dropdown-menu.show {
    display: block;
}
