
* {
	box-sizing: border-box;
}

.sitemap {
	margin: 0 0 2em 0;
}

/* ------------------------------------------------------------
	Page Styles
------------------------------------------------------------ */

/* -------- Top Level --------- */

.eLNav {
	clear: both;
	width: 100%;
	margin-top: 3em;
}
.eLNav #home {
	position: absolute;
	margin-top: -3em;
	margin-bottom: 0;
	min-width: 11.5em;
	width: 100%;
}
.eLNav #home:before {
	display: none;
}


.eLNav ul {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	position: relative;
}
.eLNav li {
	flex: 1;
	flex-basis: 11.5em;
	padding-right: 1.25em;
	position: relative;
}
.eLNav > ul > li {
	margin-top: 3em;
}
.eLNav li a {
	margin: 0;
	padding: .875em .9375em .9375em .9375em;
	display: block;
	font-size: .9375em;
	font-weight: 600;
	color: white;
	background: #444;
	text-shadow: 0 0 10px rgba(0,0,0,.1);
	border: 1px solid  rgba(0,0,0,.025);
	box-shadow: 0px 2px 1px rgba(0,0,0,0.15);
	text-decoration: none;
    text-align: center;
}
.eLNav li a:hover {
	background-color: #000;
    text-decoration: none;
}

/* -------- Second Level --------- */

.eLNav ul ul {
	display: block;
    padding-left: 0px;
}
.eLNav ul ul li {
	padding-top: .5em;
	padding-right: 0;
}
.eLNav ul ul li a {
	background-color: #777;
    text-align: center;
    font-size: 0.8em;
}
.eLNav ul ul li a:hover {
	background-color: #444;
    text-decoration: none;
}
.eLNav ul ul li:first-child {
	padding-top: 2em;
}


/* ------------------------------------------------------------
	Connecting Lines:
	Uncomment 'border-color: red' for debugging
------------------------------------------------------------ */

.eLNav ul:before,
.eLNav ul:after,
.eLNav ul li:before,
.eLNav ul li:after {
	display: block;
	content: '';
	position: absolute;
	border-width: 0;
	border-style: solid;
	z-index: -1;
	border-color: #999;
}
.eLNav > ul > li:before {
	height: 1.375em;
	top: -1.375em;;
	right: calc(50% + .625em);
	width: calc(100% - 0px);
	border-top-width: 2px;
	border-right-width: 2px;
	border-color: #999;
}
.eLNav > ul > li:first-child + li:before {
	border-top-width: 0;
	height: 5em;
	top: -5em;
	border-color: #999;
}
.eLNav ul ul li:after {
	width: 50%;
	height: .6875em;
	top: 0;
	right: 1px;
	border-left-width: 2px;
	border-color: #999;
}


.eLNav ul ul li:first-child:before {
	width: 50%;
	height: 1.3125em;
	top: .6875em;
	right: 1px;
	border-left-width: 2px;
	border-color: #999;
}
.eLNav > ul > li:last-child:after {
	border-bottom-width: 0;
}
.eLNav ul ul ul li:before {
	width: calc(50% - 5px) !important;
	height: calc(100% - 2px);
	top: -50%;
	left: 0;
	border-left-width: 2px;
	border-bottom-width: 2px;
	border-color: #999;
}
.eLNav ul ul ul li:first-child:before {
	height: 2.125em;
	top: -1px;
	border-top-width: 2px;
	border-color: #999;
}
.eLNav ul ul ul:before {
	width: 50%;
	height: 1.25em;
	top: -10px;
	right: 1px;
	border-left-width: 2px;
	border-color: #999;
}
.eLNav ul ul ul li:after {
	border-width: 0;
}
.eLNav ul ul ul ul li:before,
.eLNav ul ul ul ul li:first-child:before {
	display: none;
}

.eLNav ul ul ul ul:before {
	width: 1px;
	height: calc(100% + 2.5em);
	top: -2.5em;
	left: 0;
	border-left-width: 2px;
	border-color: #999;
}

/* ------------------------------------------------------------
	Utility Navigation
------------------------------------------------------------ */

.utilityNav {
	float: right;
	margin-top: 0;
	margin-bottom: -.25em;
	margin-right: 1.25em;
	max-width: 48%;
	list-style-type: none;
}
.utilityNav li {
	padding: 0 0 .625em .625em;
	display: inline-block;
}
.utilityNav li:first-child {
}
.utilityNav li a {
	display: block;
	font-size: .75em;
	font-weight: 700;
	padding: .75em 1em;
	font-weight: 600;
	text-align: left;
	color: white;
	background-color: #777;
	border: 1px solid  rgba(0,0,0,.025);
	box-shadow: 0px 2px 0 rgba(0,0,0,0.15);
	text-shadow: 0 0 10px rgba(0,0,0,.15);
	text-decoration: none;
}
.utilityNav li a:hover {
	background-color: #444;
}
.utilityNav li a:link:after,
.utilityNav li a:visited:after {
	color: rgba(255,255,255,.75);
	font-size: .75em;
	font-weight: 600;
	margin-top: .25em;
}

/* ------------------------------------------------------------
	Responsive Styles
------------------------------------------------------------ */

@media screen and (max-width: 30em) {
	.eLNav ul {
		display: block;
	}
	.eLNav li {
		width: 100%;
		padding-right: 0;
	}
	.eLNav #home {
		width: 100%;
		position: relative;
		margin-bottom: -1em;
		margin-top: 0;
	}
    

	.utilityNav {
		float: none;
		display: block;
		width: 100%;
		text-align: right;
		margin-bottom: 2.5em;
		max-width: 100%;
	}
}

/* The media queries below keep the grid column widths intact when
a column wraps. This prevents the wrapped column from displaying at
100% width. These queries also make the homepage line item flex
appropriately. When your sitemap is complete, remove the queries
that you don't need, and your sitemap layout will work perfectly. */

/* two column */
@media screen and (min-width: 30em) {
	.eLNav > ul > li {	max-width: 50%;	}
}
/* three column */
@media screen and (min-width: 38.5em) {
	.eLNav > ul > li {	max-width: 33%;	}
}
/* four column */
@media screen and (min-width: 50em) {
	.eLNav > ul > li {	max-width: 25%;	}
}
/* five column */
@media screen and (min-width: 61em) {
	.eLNav > ul > li {	max-width: 20%;	}
}
/* six column */
@media screen and (min-width: 73em) {
	.eLNav > ul > li {	max-width: 16.66%;	}
}
/* seven column */
@media screen and (min-width: 84.5em) {
	.eLNav > ul > li {	max-width: 14.285%;	}
    
}

