/* CSS Document */


/*
 * 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: 875px){
	.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;}
}


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

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

.nav{ 
	display: block; 
	float: right;
	width:100%;
	margin-top:0px;
	z-index:200000
}

.nav, .menu, .menu > li, .menu > li > a{ 
	height: 100%;
	width:100%;
	z-index:200000
}

.menu > li > a{
	display: block;
	padding: 10px 0px 10px 0;
	margin:5px 0 0px 0;
	border-bottom:1px dotted #2E2E2E;
	font-family: 'Oranienbaum', serif;
	text-transform:uppercase;
	text-decoration: none;
	text-align:left;
	font-weight: normal;
	font-size:1.30em;
	color: #F0F0F0;
	line-height: 1;
	-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 > span{
font-size:11px;
color: #C52378;
font-weight:normal;
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:0.60em;
text-transform:lowercase;
}


.menu > li > a:hover, .menu > li > a:focus{
	background: #0d0d0d;
	box-shadow: inset 0px -3px #AE0000;
	padding: 10px 0px 10px 10px;
	color: #ffffff;
}


.menu > li > a.current{
	background: #000000;
	box-shadow: inset 0px 3px #AE0000;
	padding: 10px 5px 10px 5px;
	color: #ffffff;
}

.toggle{ 
	z-index: 200000; 
}

@media only screen and (max-width: 875px){
	.menu{
		background: #FFFFFF;
		border-top: 1px solid #51C1F1;
	}
	
	.menu, .menu > li, .menu > li > a{
		height: auto;
	}
	
	.menu > li > a{
		padding: 15px 15px;
		color:#4D4D4D
	}
	
	.menu > li > a:hover, .menu > li > a:focus{
		background: #F2F2F2;
		box-shadow: inset 5px 0px #660033;
		padding: 15px 15px 15px 25px;
		color:#000000
	}
	
	.toggle:after {
		content: 'site menu';
		display: block;
		width: 100%;
		margin: -10px 0 0 0;
		padding: 10px 50px;
		background: #6b7b32;
		text-align: center;
		font-size: 1.55em;
		color: #FFFFFF;
		text-transform:uppercase;
		-moz-box-shadow: inset 0 0 15px #080808;-webkit-box-shadow: inset 0 0 15px #080808;box-shadow: inner 0 0 15px #080808;
		-webkit-border-radius: 8px;-moz-border-radius: 8px;border-radius: 8px;
		-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: #99a962;
	}
	
	#toggle:checked + .toggle:after{
		content: 'close menu';
	}
}

@media only screen and (max-width: 780px){
	.header > h1 { 
		text-align: center;
	}
	.header > h1, .nav, .toggle:after{ 
		float: none; 
	}
	.toggle:after { 
		text-align: center; width: 100%; 
	}
}