/*
 * 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;margin-right: 20px	}

/* 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 {  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; z-index: 4;}
}


/*--------------------------------
 Presentation Styles (Editable)
---------------------------------*/
.header{
	min-height: 100px;
	height: 100%;
	padding: 0 20px;
	background: #444;
        
}

.header > h1 {
	float: left;
	padding: 0px 0 0;		
	font-style: italic;
	font-family: Georgia;
	font-size: 28px;
	color: #fff;
}

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

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




.menu > li > a{
	display: block;
        font-family: "Yanone Kaffeesatz",Arial,sans-serif;
        font-size: 20px;
        font-weight: 300;
	padding: 32px 0px 10px 0px;
       
	text-decoration: none;
	
	
	
        
color: #E2E0D7;
}

.menu > li.current-menu-item>a,
.menu > li.current_page_item>a{
	border-bottom: solid #ebebe8 5px;
}


.menu > li > a:hover, .menu > li > a:focus{
	
	
	color: #EA4C88;
	
}

.toggle{ 
	z-index: 2; 
}

@media only screen and (max-width: 768px){
	.menu{
		background: #687DB7;
		border-top: 1px solid #444;
                z-index: 10;
	}
	
	.menu, .menu > li, .menu > li > a{
		height: auto;
	}
	
	.menu > li > a{
		padding: 15px 15px;
	}
        .menu > li.current-menu-item > a, .menu > li.current_page_item > a {
    color: #313D69;
}
	
	.menu > li > a:hover, .menu > li > a:focus{
		background: #2D345F;
		box-shadow: inset 5px 0px #EBEBE8;
		padding: 15px 15px 15px 25px;
	}
	
	.toggle:after {
		content: attr(data-open);
                
		display: block;
		width: 100%;
		
		padding: 10px 50px;
		background: #2D345F;
		-webkit-border-radius: 2px;
		border-radius: 2px;
		text-align: center;
		font-size: 18px;
		color:#f5f5f5;
		-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{
		background: #2D3A74;
	}
	
	#toggle:checked + div .toggle:after{
		content: attr(data-close);
	}
}

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