/*
 * 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)
---------------------------------*/
/* Tim Pietrusky advanced checkbox hack (Android <= 4.1.2) */
body{ -webkit-animation: bugfix infinite 1s; }
@-webkit-keyframes bugfix { from {padding:0;} to {padding:0;} }

.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: 868px){
	.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 ~ .menu { display: block; opacity: 1; z-index: 10; 
	
	}
}


/*--------------------------------
 Presentation Styles (Editable)
---------------------------------*/
.header {
	min-height: 100px;
	height: 100px;
	padding: 0 20px;
	background:rgba(0,0,0,0.90)
}

.header > h1 {
	float: left;
	padding: 30px 0 0;		
	margin:0px;
	font-size: 28px;
	font-family:"Helvetica Neue", Helvetica, Arial, sans-serif;
	text-transform: capitalize;
	font-weight:300;
	color: #fff;
}

.logo {
	width: 150px;
	height: 37px;
	float: left;
	padding: 0px;
	margin: 30px 20px 0px 0px;
}

.nav ul {
	padding: 0px;
	margin: 0px;
}

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

.nav, .menu, .menu > li, .menu > li > a{ 
	height: 100%; 
}

nav#site-navigation { 
	display: block; 
	float: right; 
}

nav#site-navigation, .menu, .menu > li, .menu > li > a{ 
	height: 100%; 
}

.menu > li > a{
	display: block;
	padding: 42px 20px;
	text-decoration: none;
	font-weight: 100;
	font-size: 14px;
	color:#d9d9d9;
	line-height: 1;
	text-transform:uppercase;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box; 
	box-sizing: border-box;
	-webkit-transition: all 0.25s linear;
	-moz-transition: all 0.25s linear;
	-o-transition: all 0.25s linear;
	transition: all 0.25s linear;
}

.menu > li > a:hover, .menu > li > a:focus{
	background:rgba(0,0,0,1.00);
	box-shadow: inset 0px 5px #ffbc00;
	color: #fff;
	padding: 42px 20px;
}

.menu > li.current-menu-item > a {
	background:rgba(0,0,0,1.00);
	box-shadow: inset 0px 5px #ffbc00;
	color: #fff;
	padding: 42px 20px;
}

.toggle{ 
	z-index: 2; 
}

@media only screen and (max-width: 868px){
	.header > h1 {
		display:none;
	}
	
	.menu{
		background: #FFFFFF;
		border-top: 0px solid #ccc;
	}
	
	.menu, .menu > li, .menu > li > a{
		height: auto;
	}
	
	.menu > li > a{
		padding: 15px 15px;
		color: #1e1e1e;
	}
	
	.menu > li > a:hover, .menu > li > a:focus{
		color: #1e1e1e;
		background: #F2F2F2;
		box-shadow: inset 5px 0px #ffbc00;
		padding: 15px 15px 15px 25px;
	}
	
	.menu > li.current-menu-item > a {
		color: #1e1e1e;
		background: #F2F2F2;
		box-shadow: inset 5px 0px #ffbc00;
		padding: 15px 15px 15px 25px;
	}
	
	.toggle:after {
		/*content: 'Main Menu';*/
		font-family: FontAwesome;
    	content: "\f0c9";
		display: block;
		width: 50px;
		margin: 22px 0px;
		padding: 10px;
		/*background: #3c3c3e;*/
		-webkit-border-radius: 2px;
		border-radius: 2px;
		text-align: center;
		font-size: 12px;
		color: #FFFFFF;
		-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;
		
		font-size:22px; 
		font-weight:lighter;

	}
	
	.toggle:hover:after{
		background: #ffbb00;
	}
	
	#toggle:checked + .toggle:after{
		/*content: 'Close Menu';*/
		font-family: FontAwesome;
    	content: "\f00d";
		
	}
	
}

@media only screen and (max-width: 479px){
	.header > h1 { 
		text-align: center;
	}
	.header > h1, .nav, .toggle:after{ 
		float: none; 
	}
	.toggle:after { 
		text-align: center; 
		width: 50px;
		float:right; 
		
	}
	
	ul.menu {
		margin:100px 0px 0px 0px;
	}
}