/**
 * Smart Electrical — header menu.
 *
 * Salient colours the "current" menu item with the theme's accent, which on a
 * solid-colour button item paints the label the same colour as the pill it
 * sits on: on My Account the button went blank. Everything here is about
 * keeping a button item readable while it is the current page.
 */

/* The label and its icon stay on the button's own foreground colour whatever
   state the item is in. Salient sets the accent on .current-menu-item at a
   weight that a single class cannot beat, hence the chain rather than
   !important — same specificity game, played once. */
#header-outer .menu-item.button_solid_color.current-menu-item > a,
#header-outer .menu-item.button_solid_color.current-menu-ancestor > a,
#header-outer .menu-item.button_solid_color.current_page_item > a,
#header-outer .menu-item.button_solid_color.current-menu-item > a .menu-title-text,
#header-outer .menu-item.button_solid_color.current-menu-ancestor > a .menu-title-text,
#header-outer .menu-item.button_solid_color.current_page_item > a .menu-title-text,
#header-outer .menu-item.button_solid_color.current-menu-item > a .nectar-menu-icon,
#header-outer .menu-item.button_solid_color.current-menu-ancestor > a .nectar-menu-icon,
#header-outer .menu-item.button_solid_color.current_page_item > a .nectar-menu-icon,
#header-outer .menu-item.se-account-menu-item > a,
#header-outer .menu-item.se-account-menu-item > a .menu-title-text,
#header-outer .menu-item.se-account-menu-item > a .nectar-menu-icon {
	color: #fff;
	opacity: 1;
}

/* Salient draws the underline on the current item as a pseudo-element; on a
   pill it lands inside the fill and reads as a stray line. */
#header-outer .menu-item.button_solid_color.current-menu-item > a::after,
#header-outer .menu-item.button_solid_color.current-menu-ancestor > a::after,
#header-outer .menu-item.button_solid_color.current_page_item > a::after {
	display: none;
}
