/* NAVIGATION ============================================================================== */

/* Main navigation with dropdown submenus ------------------- */

.main-nav .menu-item-is-hidden,
.sidebar-area .nav-menu .menu-item-is-hidden {
	display: none;
}
.main-nav {
	display: none; /* Off for smallscreen */
	box-sizing: border-box;
}
.main-nav ul {
	display: inline-block;
	list-style-type: none;
	font-size: 0;
	font-weight: normal;
	padding: 0;
}
.main-nav li {
	position: relative;
}
.main-nav ul > li {
	float: none;
	display: inline-block;
	font-size: 1rem;
	font-weight: bold;
}
.main-nav ul a {
	display: block;
	box-sizing: border-box;
	width: 100%;
	padding: 0.75em;
}
.main-nav ul a:hover {
	text-decoration: none;
}

/* Submenus - hidden off screen */

.main-nav ul ul {
	display: block;
	min-width: 210px;
	float: left;
	margin: 0;
	position: absolute;
	top: 100%;
	left: -999em;
	font-size: 1rem;
}
.main-nav ul ul > li {
	display: block;
	font-size: 0.938em;
	font-weight: normal;
}
.main-nav ul ul li.menu-item-has-children > a::after {
	content: "\203A";
	position: absolute;
	right: 5px;
}
.main-nav ul ul a {
	padding: 0.5em 1em;
	white-space: nowrap;
}

/* Display first-level submenu on hover;
   suppress long-press display on touch device */

.touch .main-nav ul li:hover > ul,
.touch .main-nav ul li:focus > ul {
	display: none;
}
.main-nav ul li:hover > ul,
.main-nav ul li:focus > ul {
	left: auto;
}

/* Second level submenu - hide/show on hover */

.main-nav ul ul > ul {
	left: -999em;
}
.main-nav ul ul li:hover > ul,
.main-nav ul ul li.focus > ul {
	left: 100%;
	top: 0;
}

/* Secondary navigation with dropdown submenus -------------- */

/*
Provide it with the 2nd CSS class 'secondary-nav',
e.g. class='main-nav secondary-nav'
*/

/* Position the secondary menu */

/*

.secondary-nav {
	margin: 1em 0 -1em;
}
.secondary-nav ul > li {
	padding: 0 0.5em;
}

.secondary-nav ul a {
	padding: 0;
}

.secondary-nav .menu-v3 {
}

*/

.secondary-nav ul ul > li {
	padding: 0;
	text-align: left;
}

/*
Make the secondary submenu dropdrowns right-aligned and
open to the right (use if the menu is floated right)
*/

.secondary-nav ul li:hover > ul,
.secondary-nav ul li:focus > ul {
}
.secondary-nav ul ul li:hover > ul {
}

/* Change the submenu indicator */

.secondary-nav ul ul li.menu-item-has-children > a::after {
}

.secondary-nav ul ul li.menu-item-has-children > a::before {
}

/* Tweals for SLDA */

.main-nav ul .menu-item-has-children > a:after {
  content: "\25BE";
  padding-left: 4px;
}
.secondary-nav {
  width: 100%;
  text-align: right;
 }

/* List-style menus  --------------------------------------- */

.list-nav {
	margin-left: 10px;
}
.list-nav ul {
	position: relative;
	list-style-type: none;
	margin: 0;
	padding: 0;
}
.list-nav ul ul {
	margin-left: 1.75em;
}
.list-nav ul li {
	font-weight: bold;
	position: relative;
}
.list-nav ul ul li {
	font-weight: normal;
}
.list-nav ul li a {
	display: inline-block;
	margin-top: 0.15em;
	margin-bottom: 0.15em;
}
.list-nav ul.level-3 li a {
	margin-top: 0.375em;
	margin-bottom: 0.375em;
}

.list-nav .menu-item-current-page > a {
	color: inherit;
	font-style: italic;
}
/*
.list-nav .menu-item::before {
	content: ".";
	position: absolute;
	left: -10px;
	top: -2px;
	font-weight: normal;
}
.list-nav .menu-item-has-children::before {
	content: ":";
	top: 1px;
}
.list-nav .menu-item-current-page::before {
	content: "\203A";
	top: 1px;
}
*/

/* Flat menus - horizontal, top-level only ------------------ */

.flat-nav {
	box-sizing: border-box;
}
.flat-nav ul {
	display: inline-block;
	list-style-type: none;
	padding: 0;
	margin: 0;
}
.flat-nav ul  li {
	display: inline-block;
}
.flat-nav ul li::before {
	content: "\2027";
	padding: 0 0.65em;
	font-weight: normal;
}
.flat-nav ul li:first-child:before {
	content: "";
	padding: 0;
}


/* Custom sidebar list menu ------------------------------- */

/* Hide for small screen */
.sidebar-area .list-nav {
	display: none;
}

/* Show only siblings & children */

.sidebar-area .list-nav ul ul {
	display: none;
}
.sidebar-area .list-nav .menu-item-ancestor > ul,
.sidebar-area .list-nav .menu-item-has-children.menu-item-current-page > ul,
.sidebar-area .list-nav .menu-item-has-children.menu-item-current-page ul > ul {
	display: block;
}



/* Abs position menus --------------------------------------- */

/* Small-screen menu & sitemap menu */

.rd-menu-wrap {
	display: none;
	position: absolute;
	width: 100%;
	height: 100%;
	overflow: scroll;
	left: auto;
	box-sizing: border-box;
	padding: 0 0 1em;
	max-width: 100%;
	min-width: 100%;
	font-size: 1rem;
}
.rd-menu-wrap .list-nav {
	margin: 0.5em auto 1em;
	width: 320px;
	max-width: 100%;
}
.rd-menu-wrap .list-nav .nav-menu {
	padding-left: 1.75em;
}
.rd-menu-wrap ul.level-3 li {
	font-size: 0.938em;
	line-height: 1.2rem;
	padding-bottom: 3px;
}
#menu-close {
	position: fixed;
	top: 5px;
	right: 10px;
	padding: 0px 12px 6px;
	font-size: 30px;
	line-height: 30px;
	cursor: pointer;
	color: #888;
}


.rd-menu-subhead {
	text-align: center;
	padding: 1em 0;
	margin: 0 0 1em 0;
	font-size: 0.875em;
}

/* Abs menu toggles & overlay ------------------------------- */

/* Small-screen menu toggle */

.menu-toggle {
  position: relative;
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
  padding: 0.75em 0.25em 0.75em;
  text-align: center;
}
.menu-toggle span {
  display: inline-block;
  text-transform: uppercase;
  font-weight: 400;
  font-size: 0.875em;
}
.menu-toggle span:before {
  content: "\2630";
  font-size: 23px;
  line-height: 23px;
  padding-right: 6px;
  position: relative;
  top: 3px;
}

/* Overlay */

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: 0.4;
  display: none;
}

.menu-item-is-hidden {
	display: none !important;
}

/* Show Trash submenus even though they're 'hidden' */

.menu-item-trashcan .menu-item-is-hidden {
	display: block;
}

/* END NAVIGATION ========================================================================== */

