
/*------------------------------------*\
	NAV
\*------------------------------------*/
#nav{
	list-style:none;
	margin-top: 11px;
	float:right;
	width: 75%;
	/* Bring the nav above everything else--uncomment if needed. margin-right:50px;  
	position:relative;
	z-index:5;
	*/
}
#nav-div{
	width: 54%; 
	float:right;
}

#nav li{
	float:left;
	margin-right:10px;
	position:relative;
	font-size: 17px;
	
}
#nav a{
	display:block;
	padding:5px;
	color:white;
	background:none;
	text-decoration:none;
	font-family: 'Droid Sans', sans-serif;
	padding-left: 10px;
	padding-right: 10px;
	text-shadow: 1px 2px 2px black;
	padding-bottom: 4px;
	
}
#nav a:hover{
	color:#3674b2;
	background:#003366;
	text-decoration:underline;
	
}
/*---
#nav a:tap{
	color:#3674b2;
	background:#003366;
	text-decoration:underline;
	
}---*/

/*--- DROPDOWN ---*/
#nav ul{
	background:#333; /* Adding a background makes the dropdown work properly in IE7+. Make this as close to your page's background as possible (i.e. white page == white background). */
	background: #333; /* But! Let's make the background fully transparent where we can, we don't actually want to see it if we can help it... */
	list-style:none;
	position:absolute;
	left:-9999px; /* Hide off-screen when not needed (this is more accessible than display:none;) */
	margin-bottom: 10px;
 padding: 10px;
 box-shadow: 0px 5px 0px #3674b2;
	

	
}

#nav ul li{
	padding-top:1px; /* Introducing a padding between the li and the a give the illusion spaced items */
	float:none;
}
#nav ul a{
	white-space:nowrap; /* Stop text wrapping and creating multi-line dropdown items */
}
#nav li:hover ul{ /* Display the dropdown on hover */
	left:0; /* Bring back on-screen when needed */
}
#nav li:hover a{ /* These create persistent hover states, meaning the top-most link stays 'hovered' even when your cursor has moved down the list. */
	background:none;
	text-decoration:underline;
	color: #c4c4c4;
}
#nav li:hover ul a{ /* The persistent hover state does however create a global style for links even before they're hovered. Here we undo these effects. */
	text-decoration:none;
}
#nav li:hover ul li a:hover{ /* Here we define the most explicit hover states--what happens when you hover each individual link. */
	background:none;
	color: #7ac7f3; 
	text-decoration:underline;
}

#nav select {
  display: none;
}


#nav2{
	
	
	/* Bring the nav above everything else--uncomment if needed.
	position:relative;
	z-index:5;
	*/
}
#nav-div2{
	display: none;
}

#nav-div2 li{
	margin-right:10px;
	position:relative;
	font-size: 17px;
	list-style: none;
	margin-top: 10px;
	margin-bottom: 10px; 
	
}
#nav-div2 a{
	padding:5px;
	color:white;
	background:none;
	text-decoration:none;
	font-family: 'Droid Sans', sans-serif;
	padding-left: 10px;
	padding-right: 10px;
	text-shadow: 1px 2px 2px black;
	padding-bottom: 8px;

}
#nav-div2 a:hover{
	color:#7ac7f3;
	text-decoration:underline;
	
}

/*--- DROPDOWN ---*/
#nav2 ul{
	background:#333; /* Adding a background makes the dropdown work properly in IE7+. Make this as close to your page's background as possible (i.e. white page == white background). */
	background: #333; /* But! Let's make the background fully transparent where we can, we don't actually want to see it if we can help it... */
	list-style:none;
	position:absolute;
	left:-9999px; /* Hide off-screen when not needed (this is more accessible than display:none;) */
	margin-bottom: 10px;
 padding: 10px;
 box-shadow: 0px 5px 0px #3674b2;
	

	
}

#nav2 ul li{
	padding-top:1px; /* Introducing a padding between the li and the a give the illusion spaced items */
	float:none;
}
#nav2 ul a{
	white-space:nowrap; /* Stop text wrapping and creating multi-line dropdown items */
}
#nav2 li:hover ul{ /* Display the dropdown on hover */
	left:0; /* Bring back on-screen when needed */
}
#nav2 li:hover a{ /* These create persistent hover states, meaning the top-most link stays 'hovered' even when your cursor has moved down the list. */
	background:none;
	text-decoration:underline;
	color: #c4c4c4;
}
#nav2 li:hover ul a{ /* The persistent hover state does however create a global style for links even before they're hovered. Here we undo these effects. */
	text-decoration:none;
}
#nav2 li:hover ul li a:hover{ /* Here we define the most explicit hover states--what happens when you hover each individual link. */
	background:none;
	color: whitesmoke; 
	text-decoration:underline;
}

#nav2 select {
  display: none;
}


		@media screen and (min-width: 1501px) { 

}
@media screen and (min-width: 646px) and (max-width: 1035px) {
#nav{ width:100%; float:left; padding-left:20px; margin-top: 11px;}
#nav-div {width:64%; float:left;}	
#nav li{ float:left; margin-right:10px; position:relative; font-size: 17px;}
/*===#nav a { padding-bottom: 17px;}===*/
#namv2 { display: none;}
#nav2 a{ display:none;
	padding:5px;
	color:white;
	background:none;
	text-decoration:none;
	font-family: 'Droid Sans', sans-serif;
	padding-left: 10px;
	padding-right: 10px;
	text-shadow: 1px 2px 2px black;
	padding-bottom: 8px; width: 100%;}
}
@media screen and (max-width: 645px) {
	#nav{ display: none;}
	#nav li{ float:left; margin-right:10px; position:relative; font-size: 14px;}
	#nav-div {width:100%; float:left;}	
	#nav li{ float:left; margin-right:10px; position:relative; font-size: 16px; }
#nav ul     { display: none; }
#nav2 li{ float:left; margin-right:10px; position:relative; font-size: 17px; padding-left: 0px; margin-left: 0px; width: 100%;}
	
#nav2 a{ display:block; padding:5px; padding-left: 0px; color:white; background:none; text-decoration:none; font-family: 'Droid Sans', sans-serif;
	padding-right: 10px;
	text-shadow: 1px 2px 2px black;
	padding-bottom: 8px; width: 100%;}
	
	#nav2 ul{
	background:#404040; /* Adding a background makes the dropdown work properly in IE7+. Make this as close to your page's background as possible (i.e. white page == white background). */
	background: #404040; /* But! Let's make the background fully transparent where we can, we don't actually want to see it if we can help it... */
	list-style:none;
	position:fixed;
	left:-9999px; /* Hide off-screen when not needed (this is more accessible than display:none;) */
	margin-bottom: 10px;
 padding: 10px;
 box-shadow: 0px 5px 0px #3674b2;
}

	
	#nav2 ul li{
	padding-top:1px; /* Introducing a padding between the li and the a give the illusion spaced items */
	float:none; width: 100%;/* border-bottom: 1px sold white; font-size: 14px;*/
}
#nav2 ul a{
	white-space:nowrap; /* Stop text wrapping and creating multi-line dropdown items */
}
#nav2 li:hover ul{ /* Display the dropdown on hover */
	width:100%; left:0; /* Bring back on-screen when needed */
}
#nav2 li:hover a{ /* These create persistent hover states, meaning the top-most link stays 'hovered' even when your cursor has moved down the list. */
	background:none;
	text-decoration:underline;
	color: #c4c4c4;
	width:100%
}
#nav2 li:hover ul a{ /* The persistent hover state does however create a global style for links even before they're hovered. Here we undo these effects. */
	text-decoration:none;
	width:100%;
}
#nav2 li:hover ul li a:hover{ /* Here we define the most explicit hover states--what happens when you hover each individual link. */
	background:none;
	color: whitesmoke; 
	text-decoration:underline;
}

#nav-div2 { display: block; background-color: #333; float: left; position: absolute; left: 0px; width: 100%; height: auto; padding-bottom: 10px; border-bottom: 4px solid #3674b2; padding-top:9px; }

}
