/* See subnav.css for helpful comment tags. The nav classes/ids are analagous. */

#sitetools {
	display: block;
	width: 100%;
	height: auto;
	float: right;
	margin-right: .4%;
	margin-top: 1.6%;
	margin-bottom: .6%;
	font-size: 1.1em;
	}
.site-tools-nav a {
	width: auto;
	float: right;
	padding-left: 0;	
	padding-right: 2%;
	text-shadow: 2px 2px #000;
	color: #fff;
	}

.site-tools-nav a:hover {
	text-decoration:none;
	color: #5dbb9b;
	text-shadow: 0px 0px #000;
	}

#nav-holder {
	display: block;
	width: 77%;
	height: auto;
	float: right;
	margin-left: 0;
	margin-top: 0;
	margin-bottom: 3%;
	padding-left: 0;
	padding-right: 0;
	background-color:#fff;
	}
	

#mobile-nav-link {
	display: none;
	}

#mobile-nav-holder {
		display: none;
	width: 104%;
	height: auto;
	float: left;
	font-size: 1em;
	margin-left: -5%;
	margin-top: 0;
	margin-bottom: 3%;
	padding-left: 3%;
	padding-right: 5%;
	
}


#nav, #nav ul{
margin:0;
padding-left:0px;
list-style-type:none;
list-style-position:outside;
position:relative; 
}
	

#nav a{
display:block;
font-size: 1.1em;
color:#003a7b;
text-decoration:none;
padding:8px 8px 8px 12px;
}

#nav a:after {
  content: '\25BE';
  position: relative;
  left: 6px;
  margin-top: -2px;
  margin-right: 4px;

}

#nav li{
float:left;
position:relative;
width: auto;
}

#nav ul {
position:absolute;
margin-left:0px;
z-index: 50;
display:none;
width:212px;
background-color:#fff;
}



#nav li ul a{
width:184px;
padding-top:8px;
padding-bottom:7px;
float:left;
}

#nav li ul a:after {
  content: '\25B8';
  position: relative;
  left: 8px;
  margin-top: 1px;

}


#nav ul ul{
top:auto;
}	

#nav li ul ul {
left:160px;
}

#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li:hover ul ul ul ul{
display:none;
}
#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li li li li:hover ul{
display:block;
}

.navbutton1 #navbutton1 a,
.navbutton2 #navbutton2 a,
.navbutton3 #navbutton3 a,
.navbutton4 #navbutton4 a,
.navbutton5 #navbutton5 a,
.navbutton6 #navbutton6 a,
.navbutton1-1 #navbutton1-1 a,
.navbutton2-1 #navbutton2-1 a {
	color: #fff;
	background-color: #003a7b;
	
}




#nav a:hover {
background-color:#003a7b;
text-decoration:none;
color:#fff;
}

#nav a:active {
background-color:#CCC;
text-decoration:underline;
color:#A31F34;
}

#nav a:visisted {
color:#000;
}

#nav ul {
background-color:#CCC;
-moz-box-shadow: 3px 4px 6px #666;
  -webkit-box-shadow: 3px 4px 6px #666;
	box-shadow: 3px 4px 6px #666;
}


#mobile-nav-holder {
	background-color:#003a7b;
	font-size: 1em;
}

.accordion, .accordion li {
	background: #003a7b;
	}

.accordion a {
	color: #fff;
	}

.accordion ul a {
	background: #5dbb9b; color: #fff;
	}	

.accordion a:hover {background: #662200; color: #fff;
text-decoration:none;
}

@media screen and (max-width: 860px) {

#nav-holder {
	display: none;
}


.mobile-nav-link-text {
	
	color: #fff;
	font-weight: bold;
	margin-left: 68px;
	margin-top: 8px;
	
	}

#mobile-nav-holder {
	display: block;
	margin-bottom: 3%;
}

#nav ul {
display: block;
position:relative;
margin-top: 0px;
margin-left: 36px;
width: 80%;
}

#nav a{
display:block;
padding:12px 8px 12px 24px;
text-decoration:none;
color:#fff;

}

#nav a:hover {
background-color:#CCC;
text-decoration:underline;
color:#993333;
}

#nav li{
display:block;
float:none;

}

#nav li ul a{
	display: block;
width:auto;
float: none;

}



#nav li li:hover ul, #nav li li li:hover ul, #nav li li li li:hover ul{
display:none;
}

	
}

@media screen and (max-width: 640px) {

#mobile-nav-holder {
	display: block;
	margin-bottom: 4%;

}

#sitetools {
	display: none;
}

}