
/* mega menu list */
.nav-menu {
	display: block;
	position: relative;
	list-style: none;
	margin: 0;
	padding: 0;
	z-index: 15;
	padding-top: 185px;
	width: 80%;
	min-width: 600px;
}

/* a top level navigation item in the mega menu */
.nav-item {
	list-style: none;
	display: inline-block;
	padding: 0;
	margin: 0;
}

/* first descendant link within a top level navigation item */
.nav-item>a {
	position: relative;
	display: inline-block;
	padding: 0.5em 1em;
	margin: 0 0 -1px 0;
	border: 1px solid transparent;
	text-decoration: none;
	background-color: #dedede;
	border-radius: 5px;
	margin-left: 5px;
	margin-right: 5px;
	color: black;
}

/* focus/open states of first descendant link within a top level 
           navigation item */
.nav-item>a:focus, .nav-item>a.open {
	border: 1px solid #dedede;
	border-radius: 5px 5px 0px 0px;
	background-color: #98AFC7;
}

/* open state of first descendant link within a top level 
           navigation item */
.nav-item>a.open {
	background-color: #98AFC7;
	border-bottom: none;
	z-index: 1;
}

/* sub-navigation panel */
.sub-nav {
	position: absolute;
	display: none;
	top: 2.6em;
	margin-top: 185px;
	padding: 0.5em 1em;
	border: 1px solid #dedede;
	background-color: rgb(5, 35, 59);
	margin-left: 10px;
}

.sub-nav div {
	border-top: 1px solid #333;
	border-bottom: 1px solid #dedede;
}

.sub-nav div:first-child {
	border-top: none;
}

.sub-nav div:last-child {
	border-bottom: none;
}

/* sub-navigation panel open state */
.sub-nav.open {
	display: block;
}

/* list of items within sub-navigation panel */
.sub-nav ul {
	display: inline-block;
	vertical-align: top;
	margin: 0 1em 0 0;
	padding: 0;
}

/* list item within sub-navigation panel */
.sub-nav li {
	display: block;
	list-style-type: none;
	margin: 0;
	padding: 0;
	text-decoration: none;
}

.sub-nav-group {
	/*border-right: 1px solid #000;*/
	
}

.sub-nav-group div {
	border: none;
}

.sub-nav-group li {
	padding-top: 2px;
	padding-bottom: 2px;
	width: 100%;
}

.sub-nav-group li a {
	text-decoration: none;
	color: white;
	padding: 10px;
	width: 100%;
}

.sub-nav-group li a:hover, .sub-nav-group li a:focus {
	color: #98AFC7;
	width: 100%;
}

.sub-nav-group h4 {
	margin-top: 2px;
	margin-bottom: 2px;
	color: gray;
	border: none;
}

.subsub-nav-group li a {
	color: white;
	padding-left: 20px;
	width: 100%;
}

.subsub-nav-group li a:hover, .subsub-nav-group li a:focus {
	color: #98AFC7;
}