/*
 * 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; font-family: "Proxima N W01 Bold";	}

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

@media only screen and (max-width: 1000px){
	#menu { display: none; opacity: 0; width: 300px; 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; }
	#menu { display: block; opacity: 1; padding-left: 15px;}
}


/*--------------------------------
 Presentation Styles (Editable)
---------------------------------*/
.header{
	height: 40px;
	padding: 0 20px;
	background: #FFFFFF;
	float: right;
	margin-top: 20px;
}

.header > h1 {
	float: left;
	padding: 30px 0 0;		
	font-size: 28px;
	color: #DFDFDF;
}

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

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

#menu > li > a{
	display: block;
	padding: 20px 20px;
	text-decoration: none;
	font-weight: normal;
	font-size: 1em;
	line-height: 1;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box; 
	box-sizing: border-box;
}



.toggle{ 
	z-index: 2; 
}

@media only screen and (max-width: 1000px){
	#menu{
		background: #002856;
		border-top: 1px solid #66C8C6;
	}
	
	#menu, #menu > li, #menu > li > a{
		height: auto;
	}
	
	#menu > li > a{
		padding: 15px 15px;
	}
	
	#menu > li > a:hover, .menu > li > a:focus{
		background: #65CBC9;
		
	}
	
	
	
	.toggle:after {
		
		display: block;
		width: 40px;
		height: 40px;
		margin: 20px 0;
		padding: 0px;
		background: #51C1F1;
	
		-webkit-border-radius: 2px;
		border-radius: 2px;
		text-align: center;
		font-size: 12px;
		color: #FFFFFF;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box; 
	}
	
	.toggle:hover:after{
		background: #65CBC9;

	}
	
	#toggle:checked + div .toggle:after{
		
		padding-left: 15px;
		
		
	}
}

@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: 100%; 
	}
}
