/*
 * Navigataur: A pure CSS responsive navigation menu
 * Author: Mike King (@micjamking)
 */

/*
 	Notes:
 
 	- Media queries should be edited in both style sections if you require 
	  a different breakpoint for your navigation.
	  
	- Toggle class & menu anchor tags in list items have box-sizing: border-box 
	  style property to allow padding inside the container without conflicting with layout.	

*/


/*--------------------------------
 Functional Styles (Required)
---------------------------------*/

.header { position: relative; }
#toggle, .toggle { display: none; }
.menu > li { list-style: none; float:left;	}

/* Nicolas Gallagher micro clearfix */
.clearfix:before, .clearfix:after { display: table; content: ""; }
.clearfix:after { clear: both; }

@media only screen and (max-width: 768px){
	.menu { display: none; opacity: 0; width: 100%; position: absolute; right: 0; }
	.menu > li { display: block; width: 100%; margin: 0; }
	.menu > li > a { display: block; width: 100%; text-decoration: none; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
	.toggle { display: block; position: relative; cursor: pointer; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
	#toggle:checked + div .menu { display: block; opacity: 1;}
}


/*--------------------------------
 Presentation Styles (Editable)
---------------------------------*/
.header{
	margin-top: 15px;
	width: 100%;
}

.nav{ 
	display: block; 
	float: right; 
}

.logo {
	width: 100%;
	height: auto;
	max-width: 170px;
	float: left;
}

.menu a{
	display: block;
	padding: 10px 0px;
	text-decoration: none;
	font-weight: 600;
	color:	#371F1D; /* DK BROWN */
	font-size: 18px;
	line-height: 1.2em;
	letter-spacing: .5px;
	text-transform: uppercase;
	
}

.active {
	border-top: 3px solid #371F1D; /* DK BROWN */
	border-bottom: 3px solid #371F1D; /* DK BROWN */
	color:	#545540; /* DK GREEN */
}


.menu a:hover{
		border-top: 3px solid #371F1D; /* DK BROWN */
		border-bottom: 3px solid #371F1D; /* DK BROWN */
		color:	#545540; /* DK GREEN */
		
	-webkit-transition: all 0.25s linear;
	-moz-transition: all 0.25s linear;
	-o-transition: all 0.25s linear;
	transition: all 0.25s linear;
}

.toggle{ 
	z-index: 2; 
}

.menu li{
	margin: 0 0 0 45px;	
}

@media only screen and (max-width: 900px){
.menu > li > a{ 	padding: 12px 0px;	font-size: 17px; letter-spacing: .5px; }
.menu li{	margin: 0 0 0 40px;	} }


@media only screen and (max-width: 850px){
.menu > li > a{	 padding: 12px 0px; font-size: 16px; letter-spacing: 0px; } 
.menu li{	margin: 0 0 0 35px;	} }



/********************* TABLET & MOBILE ******************************************/

@media only screen and (max-width: 768px){
	.menu{
		text-align: center;	
		background-color:	#545540; /* DK GREEN */ 
}
	
	.menu, .menu > li, .menu > li > a{
		height: auto;
}

	.menu li{	margin: 0;	}

	.menu > li > a{
	display: block;
	height: 75px;
	padding: 15px 20px;
	text-decoration: none;
	font-weight: 500;
	color: #AAAF9A; /* BG Green */
	font-size: 18px;
	line-height: 1.2em;
	letter-spacing: 1px;
	text-transform: uppercase;
	
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box; 
	box-sizing: border-box;
	-webkit-transition: all 0.15s linear;
	-moz-transition: all 0.15s linear;
	-o-transition: all 0.15s linear;
	transition: all 0.15s linear;
	}
	
	.menu > li > a:hover, .menu > li > a:focus{
		border-top: none;
		border-bottom: none;
		background-color:	#371F1D; /* DK BROWN */
		height: 75px;	
		color: #AAAF9A; /* BG Green */
		}
	
	.toggle:after {
		content: attr(data-open);
		display: block;
		margin: 10px 10px 30px 0px;
		border-top: 5px solid #371F1D; /* DK BROWN */
		border-bottom: 5px solid #371F1D; /* DK BROWN */
		font-family: 'Exo', sans-serif;
		color:	#545540; /* DK GREEN */
		font-weight: 700;
		letter-spacing: .02em;
		padding: 10px 40px;
		text-align: center;
		font-size: 18px;
		z-index: 999;
		
		-webkit-transition: all 0.5s linear;
		-moz-transition: all 0.5s linear;
		-o-transition: all 0.5s linear;
		transition: all 0.5s linear;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box; 
	}
	
	.toggle:hover:after{
		color:	#371F1D; /* DK BROWN */

	}
	
	#toggle:checked + div .toggle:after{
		content: attr(data-close);
	}
}


