@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: 0px;/* firefox calculates the top of this div height 6px higher than chrome and safari */
	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:right;
	/*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 0px;   /* this sets the positioning of each nav item relative to its neighbor inthe row */
	display: inline;
	padding: 6px 20px 6px 0px;/* this sets the space around the text of each mainnav item - bottom padding sets lower edge of dropdown trigger */
    font-family: "Raleway", Arial, Helvetica, 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: #444444;
	font-weight: bold;
	font-size: 16px;
	/*padding: 0px 5px 0px 5px; */
	margin-left: 0px;
 	/* outline:1px solid red;  used to test layout - comment out in production */
}


body#home #mainnav > ul > li#nav1 a {
  text-decoration: underline;
  }

body#services #mainnav > ul > li#nav2 a {
  text-decoration: underline;
  }

body#about #mainnav > ul > li#nav3 a {
  text-decoration: underline;
  }

body#contact #mainnav > ul > li#nav4 a {
  text-decoration: underline;
  }


#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*/
		color:#b2988b;
}


#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:#b2988b;
}


#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: 25px;/*  this sets the upper edge of the dropdown block trigger - alignment is dependent on #mainnav height */
	display: none; /* reveal dynamically */
 	background-color: #b2988b; /*  this sets the background color the whole dropdown block  */
	z-index: 100;
}

#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: gray;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:#b2988b;
}


#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 */
	width: 10em;/*  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: white;/* this sets the bg color of the dropdown items when hovered*/
	font-weight: bold;
}

ul#topmenu {
	float: right;
	padding-left:0;
	}


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

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


/* 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 */
	}

	#mainnav {
  	width: 300px;
  	float: right;
	}
  
	#topmenu {
  	margin-top: 30px;
	}

	#menu-icon {
  	float: right;
  	margin-right: 10px;
	}

}


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

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


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

	#mainnav {
  	width: 300px;
  	float: right;
	}
  
	#topmenu {
  	margin-top: 30px;
	}

	#menu-icon {
  	float: right;
  	margin-right: 10px;
	}


}


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

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


	#mainnav .dropdown {
	display: none;  /* reveal dynamically */
	}
	
	#mainnav {
  	width: 300px;
  	float: right;
	}
  
	#topmenu {
  	margin-top: 30px;
	}

	#menu-icon {
  	float: right;
  	margin-right: 10px;
	}



}


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

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


	#menu-icon {
	display: block;
	position: relative;
	/*left: 46%;  */
	top: 0px;
	z-index: 60;
	cursor: pointer;
	}

	#topmenu {/*  centers mobile dropdown*/
	float: right;
	width:100%;
	}

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

	#mainnav ul li {
	margin-left: 0;
	display: block;
	background-color: #b2988b;
	min-height: 45px;
	width: 90%;
	padding: 12px 0px 0px 20px;/* 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:#be622d;
	}

	#mainnav ul li:hover {
	background-color: #b2988b;/* this sets the bg color of the dropdown li when hovered */
	text-decoration: none;
	font-weight: bold;
	color:#be622d;
	/*outline:1px solid orange;*/ /* used to test layout - comment out in production */
	}

	#mainnav li ul.dropdown { 
	position: relative; 
	top: 0px;
	}

	#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;
	}


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

}


@media only screen and (min-width: 712px) and (max-width: 870px) {


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

	#topmenu {
	}

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

	#mainnav ul li a {
	}

	#mainnav li li a {
	padding: 2px 0 0 15px;/* this sets the positioning of text within each dropdown nav item */
	}

}


@media only screen and (min-width: 871px) and (max-width: 959px) {

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

	#topmenu {
	float: left;
	}

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

	#mainnav ul li a {
	}



}

