@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: 200px;/* firefox calculates the top of this div height 6px higher than chrome and safari */
	background-color: rgb(216,255,255);
	margin:0px 0 16px 0;
	width: 100%; 	 
	height: 50px; /*   - alignment affects ul.dropdown top  */
	z-index: 50;
	overflow: visible;
	/* position: absolute;  used to test layout - comment out in production */
	text-align:center;
	border-top:4px solid #9b0000;
	border-bottom:4px solid #9b0000;
	/*outline:1px solid yellow;   used to test layout - comment out in production */
}

#mainnav ul {
	margin: 0 auto;
}

#mainnav ul li {   /* this defines the top level of the main nav */
	margin: 0 0 0 0px;   /* this sets the positioning of each nav item relative to its neighbor in the row */
	display: inline;
	padding: 0px 4px 2px 8px;/* this sets the space around the text of each mainnav item - bottom padding sets lower edge of dropdown trigger */
    font-family: Impact, Helvetica;
	font-style:normal;
	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: green;
	font-weight: bold;
	font-size: 24px;
	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*/
	height: 50px;
}


#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;
	color:#96004b;
}

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

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


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

@media only screen and (min-width: 898px) and (max-width: 1100px) {

#mainnav ul {
	margin: 0 auto;
	}

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

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

}

@media only screen and (min-width: 740px) and (max-width: 897px) {

#mainnav ul {
	margin-left: 3% ;
	}

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

#mainnav ul li a {
	padding: 0px 5px 0px 5px;
	font-size: 20px;
	}	
	
}


/* Larger than phablet (also point when grid becomes active) */
@media only screen and (min-width: 569px) and (max-width: 739px) {

#mainnav ul { 
	text-align:left;
	margin-left: 15px;
}

#mainnav ul li {   /* this defines the top level of the main nav */
	margin: 0 0 0 0px;   /* this sets the positioning of each nav item relative to its neighbor in the row */
	display: inline;
	padding: 0px 8px 0px 0px;/* this sets the space around the text of each mainnav item */
	}
	
#mainnav ul li a {
	padding: 0px 0px 0px 5px;
	font-size: 18px;
	}	

}


/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
@media only screen and (min-width: 400px) and (max-width: 568px) {

}

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

}

@media only screen and (min-width: 240px) and (max-width: 568px) {

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

#menu-icon {
	display: block;
	position: relative;
	left: 16px;
	bottom: 30px;
	z-index: 60;
	cursor: pointer;
	}

#topmenu {/*  centers mobile dropdown*/
	width: 200px;
	}

#mainnav ul {
	margin-left: 50px;
	display: none;  /* reveal dynamically */
	margin-top: -32px;/*  adjusts vertical alignment*/
	}

#mainnav ul li {
	margin-left: 0;
	display: block;
	background-color:  rgb(216,255,255);
	border:4px solid #9b0000;
	min-height: 45px;
	width: 200px;
	padding: 12px 0px 0px 20px;/* this sets the positioning of text within each mainnav item */
	}
	
#mainnav ul li a {
	text-decoration: none;
	height: 45px;
	font-weight: bold;
	}

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

#mainnav ul li:hover {
	background-color: white;/* this sets the bg color of the dropdown li when hovered */
	text-decoration: none;
	font-weight: bold;
	color:#330019;
	/*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;
	}


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

}