@charset "UTF-8";
/*
* nav.css
* stylesheet to hold nav styles not yet folded into layout.css
*/


/* Table of contents
––––––––––––––––––––––––––––––––––––––––––––––––––
- Nav Styles
- Media Queries
*/

/* Nav Styles from menus
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.align-right {
  float: right;
}

#menu-icon {
	display: none;
	cursor: pointer;
}

#mainnav { 
	top: 126px;/* firefox calculates the top of this div height 6px higher than chrome and safari */
	/*background-color: #1317ce;     */
	margin:0px 0 16px 0;
	width: 100%; 	 
	height: 24px; /*   - alignment affects ul.dropdown top  */
	z-index: 50;
	overflow: visible;
	position: absolute; /* used to test layout - comment out in production */
	text-align:center;
	/*   outline:1px solid yellow;used to test layout - comment out in production */
}


#mainnav ul {
	margin: 0 auto;
	display: inline;
}

#mainnav > ul > li {   /* this defines the top level of the main nav */
	margin: 0 0 0 6px;   /* this sets the positioning of each nav item relative to its neighbor inthe row */
	display: inline;
	padding: 6px 5px 6px 5px;/* this sets the space around the text of each mainnav item - bottom padding sets lower edge of dropdown trigger */
	font-family: "Helvetica Neue", arial, helvetica, geneva, swiss, sunsans-regular, sans-serif;
	list-style-type: none;
	position: relative;
	width: 8.7em; /*   specified in ems so ZOOM TEXT option expands the nav items proportionally */
	/*outline:1px solid green;   used to test layout - comment out in production */
}
	
#mainnav > ul > li a { /* this defines the top level of the main nav */
	text-decoration: none;
	color: #eee;
	font-weight: bold;
	font-size: 14px;
	padding: 0px 5px 0px 5px;
	margin-left: 0px;
 	/* outline:1px solid red;  used to test layout - comment out in production */
}

#mainnav > ul > li:hover { /* this defines the top level of the main nav */
	background-color: white;/* this sets the bg color of the dropdown items when hovered*/
}


#mainnav > ul > li:hover a{ /* this defines the top level of the main nav */ /* this sets the anchor tag styling when hovering over the li*/
	text-decoration: none;
	font-weight: bold;
	color:#011171;
}


#mainnav > ul li ul.dropdown {  /* this defines the sub levels of the main nav */
	position: absolute; 
	padding:0;
	margin: 0px;
	left: 0px; /*  this sets the left edge of the whole dropdown block  */
	top: 29px;/*  this sets the upper edge of the dropdown block trigger - alignment is dependent on #mainnav height */
	display: none; /* reveal dynamically */
 	background-color: #1317ce; /*  this sets the background color the whole dropdown block  */
	z-index: 100;
	width:190px;
}

#mainnav > ul li ul a {
	height:24px;/*  this should be the same as #mainnav li li {height} *//* should be specified in ems so ZOOM TEXT option expands items proportionally */
	width:8.7em;/*  this should be the same as #mainnav li li {width} *//*   specified in ems so ZOOM TEXT option expands the nav items proportionally */
	background-color: #1317ce;/*  this sets the background color of each dropdown linked area  */
	float: left;
 } 

#mainnav > ul > li ul li:hover a{ /* this defines the top level of the main nav */ /* this sets the anchor tag styling when hovering over the li*/
	text-decoration: none;
	font-weight: bold;
	color:black;
	background-color: #6299d9; /* this sets the background color of each dropdown linked area  */
}


#mainnav > ul li li {
	display: block;
	height: 24px;/*  this should be the same as #mainnav li ul a {height} *//* should be specified in ems so ZOOM TEXT option expands items proportionally */
	padding-top: 1px; /* vertically aligns dropdown text*/
	width: 15em;/*  this should be the same as #mainnav li ul a {width} *//* specified in ems so ZOOM TEXT option expands the nav items proportionally */
	float: none;
	list-style-type: none;
	text-align:left;/* left aligns dropdown text*/
	/*outline:1px solid orange;  used to test layout - comment out in production */
}

#mainnav > ul li li a {
	float: none;
	margin-left: 20px;
	padding: 0;
} 

#mainnav > ul li li:hover {
	background-color: #6299d9;/* this sets the bg color of the dropdown items when hovered*/
	font-weight: bold;
}

#topmenu {
	float: left;
}

.reveal.desktop {
	margin-left: 1.0em;
	display: inline;
	color: white;
	cursor: default;
}

.reveal.mobile {
	display:none;
	cursor: pointer;
}

#mainnav ul li.nav1 {
	/*	display:none; */
	} 


/* Media Queries
–––––––––––––––––––––––––––––––––––––––––––––––––– */



/* Mobile Portrait Size for old phones */
@media only screen and (max-width: 399px) {

	.reveal.desktop {
	display: none;
	}

	.reveal.mobile {
	margin-left: 1.25em;
	font-size: 20px;
	padding: .25em;
	display: inline;
	}


	#mainnav .dropdown {
	display: none;  /* reveal dynamically */
	}

	.nav1 {
	display:block;
	}

	#mainnav > ul {
	margin-top: 24px !important;  /*adjusts vertical alignment*/
	}
	
	#topmenu {
	float: right;
    }


}


/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
@media only screen and (min-width: 400px) and (max-width: 600px) {
	.reveal.desktop {
	display: none;
	}

	.reveal.mobile {
	margin-left: 1.25em;
	font-size: 20px;
	padding: .25em;
	display: inline;
	}


	#mainnav .dropdown {
	display: none;  /* reveal dynamically */
	}

	.nav1 {
	display:block;
	}

	#mainnav > ul {
	margin-top: 24px !important;  /*adjusts vertical alignment*/
	}

	#topmenu {
	float: right;
    }


}


/* Larger than phablet (also point when grid becomes active) */
@media only screen and (min-width: 601px) and (max-width: 775px) {
	.reveal.desktop {
	display: none;
	}

	.reveal.mobile {
	margin-left: 1.25em;
	font-size: 20px;
	padding: .25em;
	display: inline;
	}


	#mainnav .dropdown {
	display: none;  /* reveal dynamically */
	}

	.nav1 {
	display:block;
	}

	#mainnav > ul {
	margin-top: 24px;  /*adjusts vertical alignment*/
	}
	
	#topmenu {
	float: right;
    }


}


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

	header {
			height:115px;
	}
	
	#mainnav { 
	text-align:left;
	margin-bottom: 0;
	top: 90px;
	/* outline:1px solid black; used to test layout - comment out in production */
	}


	#menu-icon {
	display: block;
	position: relative;/*  */
	margin-top: -40px;
	z-index: 60;
	cursor: pointer;
	float:right;
	margin-right:40px; /* */
	}

	#topmenu {/*  centers mobile dropdown*/
	width:290px;
	float: right;
    }

	#mainnav > ul {
	display: none;  /* reveal dynamically */
	margin-top: 24px;  /*adjusts vertical alignment*/
	padding-left:0;
	}

	#mainnav ul li {
	margin-left: 0;
	display: block;
	background-color: #1317ce;
	min-height: 45px;/*  */
	width: 290px;
	padding: 0px 0px 0px 5px;/* this sets the positioning of text within each mainnav item */
	}
	
	#mainnav ul li a {
	text-decoration: none;
	/* height: 45px; */
	color: white;
	font-weight: bold;
	font-size: 18px;
	}

	#mainnav ul li:hover a{/*  changes text color when li is hovered*/
	color:#fcd77d;
	}

	#mainnav ul li:hover {
	background-color: #6299d9;/* this sets the bg color of the dropdown li when hovered */
	text-decoration: none;
	font-weight: bold;
	color: red;
	/*box-shadow: inset -10px 0 10px #333;  */
	/*outline:1px solid orange;*/ /* used to test layout - comment out in production */
	}

	#mainnav > ul li ul.dropdown { 
	position: relative; 
	top: 0px;
	background-color: #1317ce;/* this sets the bg color of the dropdown li when displayed mobily */
	}
	
	#mainnav > ul li li {
		width:20em;
		margin-bottom:0;
	}

	#mainnav > ul li ul a {
		background-color: #1da256;/* this sets the bg color of the dropdown a when displayed mobilely  */
		color:white;
	}
	
	
	#mainnav li li {
	display: block;
	height: 45px;
	width: 215px;/* sets the width os the secondary li to the same width at the menu BG*/
	margin-left: 0px;
	list-style-type: none;
	padding: 0px 0 0 5px;/* this sets the positioning of text within each dropdown nav item */
	/* outline:1px solid orange;   used for testing */
	}

	#mainnav li ul a {
	width: 200px;/* this causes the anchor to extend across the whole width of the dropdown rather than just over the text */
	height: 45px;
	float: left;
	/*outline:1px solid orange;*/ /* used to test layout - comment out in production */
	} 

	.reveal.desktop {
	display: none;
	}

	.reveal.mobile {
	margin-left: 1.25em;
	font-size: 20px;
	padding: .25em;
	display: inline;
	color: #aaa;
		float:right;
		padding-right:30px;
	}


	#mainnav .dropdown {
	display: none;  /* reveal dynamically */
	}
	
	#mainnav ul li.nav1 {
	/* display:block; */
	}


}




@media only screen and (min-width: 776px) and (max-width: 960px) {

	#mainnav ul {
	margin: 0 auto 0 4%;
	}

	#topmenu {
			float: left;
	}

	#mainnav ul li {
	margin-left: 0px;
	}

	#mainnav ul li a {
	padding: 0px 5px 0px 5px;
	}

	#mainnav li li a {
	padding: 2px 0 0 10px;
	}
	

}

