
/* Site Navigation
---------------------------------------------------------------------------------------------------- */

/* Header Menu
--------------------------------------------- */

#navbar {
	width: 100%;
}

.header-menu-icon {
	display: none;
}

.header_nav {
	position: relative;
    width: 100%;
	z-index: 50000;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	transition: all 0.3s ease;
}

.header_nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	width: auto;
	z-index: 50000;
	position: relative;
	clear: both;
	display: table;
/*	table-layout: fixed;      temp removed */
}

.header_nav.justified ul {
	width: 100%;
}

.header_nav.menu-left ul {
	margin-left: 0;
	margin-right: auto;
}

.header_nav.menu-center ul {
	margin-left: auto;
	margin-right: auto;
}

.header_nav.menu-right ul {
	margin-left: auto;
	margin-right: 0;
}

.header_nav li {
	position: relative;
	padding: 0;
	margin: 0;
	text-align: center;
	float: none;
	display: table-cell;
	vertical-align: middle;
}

.header_nav.justified li:first-child {
	margin-left: 1em;
}

.header_nav a {
	display: block;
	text-decoration: none;
	white-space: nowrap;
	padding: 0 0.4em;
}

.header_nav li a {
	white-space: normal;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
}

.header_nav.menu-left li a,
.header_nav.menu-right li a {
	padding-left: 1em;
	padding-right: 1em;
}

.header_nav.menu-center li a {
	padding-left: 1.5em;
	padding-right: 1.5em;
}

.header_nav.menu-left .sub-menu li a,
.header_nav.menu-center .sub-menu li  a,
.header_nav.menu-right .sub-menu li a {
	padding-left: 0.625em;
	padding-right: 0.625em;
}

.header_nav .sub-menu {
	list-style: none;
	position:absolute;
	left:-2px;
	z-index: 50000;
	min-width: 100%;
	height: 1px;
	width: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
}

.header_nav li:last-of-type .sub-menu {
	left: auto;
	right: 0;
}

.header_nav .sub-menu li {
	display: block;
	width: auto;
	text-align: left;
}

.header_nav li:last-of-type .sub-menu li {
	text-align: left;
}

.header_nav .sub-menu li:first-child {
	margin-left: 0;
}

.header_nav .sub-menu a {
	display: block;
	font-weight: normal;
	white-space: nowrap !important;
}

.header_nav.justified .sub-menu a {
	padding: 0 0.875em;
	line-height: 2;
	width: 100%;
}

.header_nav li.hover > .sub-menu,
.header_nav li.hover li.hover > .sub-menu,
.header_nav li:hover > .sub-menu,
.header_nav li:hover li:hover > .sub-menu {
	left: 0;
	clip: inherit;
	overflow: inherit;
	height: inherit;
	width: inherit;
}

.header_nav li.hover > .sub-menu:last-of-type,
.header_nav li:hover > .sub-menu:last-of-type {
	left: auto;
}

.header_nav li.hover .sub-menu .sub-menu,
.header_nav li:hover .sub-menu .sub-menu {
	height: 1px;
	width: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
}

.header_nav li.hover li.hover .sub-menu,
.header_nav li:hover li:hover .sub-menu {
	left: 100%;
	top: 0;
	padding-top: 0;
}

/*.header_nav li.nav_sep + li.nav_sep:after {
    content: "|";
	font-weight: normal;
}

#navbar .justified li.nav_sep:after,
#mobile-navbar .justified li.nav_sep:after {
	content: "" !important;
}

.header_nav li.nav_sep {
	margin: 0;
}
*/

/* Footer Menu
--------------------------------------------- */

.footer_nav {
    text-align: center;
	padding: 0.5em 0;
}

.footer_nav.horizontal {
	line-height: 1;
}

.footer_nav a {
	line-height: 1;
}

.footer_nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	position: relative;
	display: inline-block;
}

.footer_nav li {
	position: relative;
	float: left;
	padding: 0;
}

.footer_nav.vertical li {
	width: 100%;
	text-align: left;
}

.footer_nav.vertical.two-column li {
	width: 45%;
	vertical-align: top;
	float: left;
}

.footer_nav.vertical.two-column li:nth-child(even) {
	float: right;
}

.footer_nav li a {
	margin: 0 0.4em;
	width: 100%;
}

.footer_nav.vertical li a {
	margin: 0;
}

.footer_nav.vertical li a .fas {
	padding-right: 0.5em;
}

.footer_nav li.nav_sep {
	margin: 0;
}

.footer_nav.vertical li.nav_sep {
	padding: 0.5em 0 0.5em 0;
	border-bottom: 2px solid #ffffff;
}

.footer_nav.vertical li.nav_sep:last-child {
	border-bottom: 0;
}

/* Misc Menu
--------------------------------------------- */

.nav_active {
	font-weight: bold;
}

li.nav_active > a {
	text-decoration: none;
}

.nav-fixed {
    position: fixed;
    width: 100%;
    left: 0;
    top: 0;
    z-index: 1000000;
    border-top: 0;
	margin-top: 0;
}

.admin-bar .nav-fixed {
	margin-top: 32px;
}


/* Inline Menu Bar Logo - only when sticky */
#navbar.inline-logo .navbar-logo {
	display: none;
}

#navbar.inline-logo.nav-fixed #header_nav {
	display: flex;
	align-items: center;
}

#navbar.inline-logo.nav-fixed .navbar-logo {
	display: block;
	max-width: 30%;
	padding: 4px 4px;
}

#navbar.inline-logo.nav-fixed .header_menu {
	max-width: 70%;
}

/* Responsive Menus
---------------------------------------------------------------------------------------------------- */

/* mobile/tablet portrait content - 1024px and below */
@media only screen and (max-width: 64em) {

	.footer_nav.horizontal {
	    line-height: 1.5;
	}

	.footer_nav li {
	    display: inline-block;
	    float: none;
	}

}

/* tablet portrait content - 750px - 900px */
@media only screen and (min-width: 46.875em) and (max-width: 56.25em) {

	.header_nav a {
		font-size: 0.95em;
		padding: 0 0.4em 0;
	}

	.header_nav li:first-child {
		margin-left: .25em;
	}

	.header_nav .sub-menu a {
		font-size: 0.95em;
	}

	.footer_nav {
		padding: 0.5em;
	}
}


/* tablet/desktop content - 750px and above */
@media only screen and (min-width: 46.875em) {


}



/* mobile content - 749px and below */
@media only screen and (max-width: 46.8125em) {

	/* Primary Navigation Menu Icon properties */

	.header-menu-icon {
		cursor: pointer;
		padding: 0.75em 0;
		text-align: center;
		display: table;
		width: 100%;
		font-size: 1.2em;
		line-height: 1.5;
		height: 2.5em;
	}

	.header-menu-icon span {
		padding-left: 5px;
	}

	.header-menu-icon:hover::before {
		opacity: 0.7;
	}

	/* Hide Header Navigation Menu until it's toggled via script */

	.navbar {
		line-height: 0.3125;
		border: 0 !important;
		border-radius: 0 !important;
		margin-top: 0 !important;
		margin-bottom: 0 !important;
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}

	.header_nav {
		display: none;
		width: 100%;
		height: auto;
	}

	.header_nav a {
		width: 100%;
		display: block;
		font-size: .9375em !important;
		text-decoration: none;
		padding: 0 0.5em 0;
	}

	.header_nav ul,
	.header_nav li {
		float:none;
		width: 100%;
		display: block;
		text-align: left;
	}

	.header_nav.justified li,
	.header_nav.justified ul {
		display: block;
		text-align: left;
	}


	.header_nav li.nav_sep a,
	.footer_nav li.nav_sep a {
		border: none;
	}

	.header_nav li ul.open,
	.header_nav li ul.open ul.open {
        position: static;
		display: block;
		left: 0;
		clip: inherit;
		overflow: inherit;
		height: inherit;
		width: inherit;
    }


	.header_nav li,
	.navbar li:first-child,
	.navbar li:first-child a,
	.navbar li:last-child,
	.navbar li:last-child a {
		-moz-border-radius: 0;
		-khtml-border-radius: 0;
		-webkit-border-radius: 0;
		border-radius: 0;
		margin: 0;
	}

	.header_nav li:first-child {
		margin-left: 0 !important;
	}

	.header_nav li .sub-menu {
		top: 100%;
		display: none;
	}

	.header_nav li.nav_branch > a:after,
	.header_nav .sub-menu li.nav_branch > a:after {
		content: '+';
		font-size: 1em;
		padding-left: 0.625em;
		vertical-align: bottom;
		float: right;
	}


	.header_nav li.nav_branch  > a.open:after {
		content: "-";
	}

	.header_nav .sub-menu a::before {
		content: "-  ";
		font-size: 0.875em;
	}

	.header_nav .sub-menu a {
		text-indent: 1em;
		white-space: normal !important;
		font-size: .9375em !important;
	}

	.header_nav .sub-menu .sub-menu a {
		text-indent: 2em;
	}
}
