/* Static navigation styles matching the original layout */
.menuBar {
    position: relative;
    z-index: 1000;
    white-space: nowrap;
    height: 19px;
    line-height: 19px;
    overflow: visible;
    padding-top: 0;
}

.menuRow {
    border-collapse: collapse;
    border-spacing: 0;
    margin: 0 auto;
    white-space: nowrap;
    height: 19px;
}

.menuCell {
    position: relative;
    vertical-align: middle;
    white-space: nowrap;
    padding: 1px 10px 0 10px;
    margin: 0;
    height: 19px;
    line-height: 18px;
}

.menuItemContainer {
    position: relative;
    display: inline-block;
    white-space: nowrap;
    height: 18px;
    line-height: 18px;
    padding: 0;
    vertical-align: top;
}

.menuLink {
    color: #FFFFFF;
    text-decoration: none;
    font-family: arial, verdana, helvetica, sans-serif;
    font-size: 12px;
    font-weight: normal;
    white-space: nowrap;
    vertical-align: middle;
    line-height: 18px;
}

.menuLink:hover,
.menuLinkSelected {
    color: #FF0000;
}

.menuCaret {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 4px;
    vertical-align: middle;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #FFFFFF;
    transform: translateY(-1px);
}

.menuItemContainer:hover .menuCaret {
    border-top-color: #FF0000;
}

.subMenuBar,
.subSubMenuBar {
    white-space: nowrap;
    overflow: visible;
    line-height: 19px;
}

.sectionLabel {
    white-space: nowrap;
    vertical-align: middle;
    padding-left: 20px;
    padding-right: 8px;
    font-family: arial, verdana, helvetica, sans-serif;
    font-size: 12px;
    font-weight: bold;
}

.sectionItems {
    white-space: nowrap;
    vertical-align: middle;
    padding: 0 8px 0 0;
}

.menuLink,
.smLinks,
.smLinksSel {
    font-family: arial, verdana, helvetica, sans-serif;
    font-size: 12px;
    white-space: nowrap;
}

.smLinks {
    color: #FFFFFF;
    background-color: transparent;
    text-decoration: none;
}

.smLinks:hover,
.smLinksSel {
    color: #FF0000;
    text-decoration: none;
}

/* Dropdown panels retained for hover support on top-level menu items */
.dropdownPanel {
    display: none;
    position: absolute;
    top: calc(100% - 1px);
    left: 0;
    background-color: #5a5040;
    box-shadow: 0 8px 16px rgba(0,0,0,0.30);
    z-index: 2000;
    white-space: nowrap;
}

.menuItemContainer:hover > .dropdownPanel,
.dropdownRow:hover > .dropdownPanel {
    display: block;
}

.dropdownPanel.level1 {
    min-width: 170px;
    margin-top: 0;
}

.dropdownPanel.level2 {
    top: 0;
    left: 100%;
    margin-left: 1px;
    min-width: 180px;
}

.dropdownRow {
    position: relative;
    display: block;
    white-space: nowrap;
    border-bottom: 1px solid #6a6050;
}

.dropdownRow:last-child {
    border-bottom: none;
}

.dropdownRow > a.dropdownLink {
    display: block;
    padding: 6px 12px;
    color: #FFFFFF;
    text-decoration: none;
    font-family: arial, verdana, helvetica, sans-serif;
    font-size: 12px;
    line-height: 1.2;
}

.dropdownRow > a.dropdownLink:hover {
    background-color: #6a6050;
    color: #FF0000;
}

.submenuCaret {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 5px solid #FFFFFF;
}

.dropdownRow:hover > .submenuCaret {
    border-left-color: #FF0000;
}

/* Keep the menu from wrapping into multiple lines */
.menuBar table,
.menuBar tr,
.menuBar td {
    white-space: nowrap;
}
