/*
 * 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; }
#toggle1, #toggle2, .toggle { display: none; }
.prgsmenu > 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){
	.prgsmenu { display: none; opacity: 0; width: 100%; position: absolute; right: 0; }
	.prgsmenu > li { display: block; width: 100%; margin: 0; }
	.prgsmenu > 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; }
	#toggle1:checked + div .prgsmenu { display: block; opacity: 1;}
	#toggle2:checked + div .prgsmenu { display: block; opacity: 1;}
	#toggle3:checked + div .prgsmenu { display: block; opacity: 1;}
	#toggle4:checked + div .prgsmenu { display: block; opacity: 1;}
	#toggle5:checked + div .prgsmenu { display: block; opacity: 1;}
	#toggle6:checked + div .prgsmenu { display: block; opacity: 1;}
	#toggle7:checked + div .prgsmenu { display: block; opacity: 1;}
	#toggle8:checked + div .prgsmenu { display: block; opacity: 1;}
	#toggle9:checked + div .prgsmenu { display: block; opacity: 1;}
}


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

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

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

.prgsnav, .prgsmenu, .prgsmenu > li, .prgsmenu > li > a{ 
	height: 100%; 
}

.prgsmenu > li > a{
	display: block;
	background: #225577;
	padding: 6px 4px;
	text-decoration: none;
	font-weight: normal;
	font-size: .8em;
	/* 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;
	-webkit-border-radius: 4px;
	border-radius: 4px;
}

.prgsmenu > li > a:hover, .prgsmenu > li > a:focus{
	background: #223344;
	box-shadow: inset 0px 5px #517191;
	color: #51C1F1;
	padding: 10px 5px 12px;
}

.toggle{ 
	z-index: 2; 
}
.pgmenuVpos {
	margin:0 auto 55px auto;
}

@media only screen and (max-width: 768px){
.pgmenuVpos {
	margin:0 auto 0 auto;
}
	.prgsmenu{
		background: #122334;
		border-top: 1px solid #517191;
	}
	
	.prgsmenu, .prgsmenu > li, .prgsmenu > li > a{
		height: auto;
	}
	
	.prgsmenu > li > a{
		padding: 5px 5px;
	}
	
	.prgsmenu > li > a:hover, .prgsmenu > li > a:focus{
		background: #223344;
		box-shadow: inset 5px 0px #41b1f1;
		padding: 7px 7px 7px 14px;
	}
	
	.toggle:after {
		content: attr(data-open);
		display: block;
		/* width: 200px; */
		width: 20%;
		margin: 8px 0;
		padding: 8px 12px;
		background: #225577;
		-webkit-border-radius: 3px;
		border-radius: 3px;
		/* text-align: center; */
		font-size: .9em;
		color: #FFFFFF;
		-webkit-transition: all 0.4s linear;
		-moz-transition: all 0.4s linear;
		-o-transition: all 0.4s linear;
		transition: all 0.4s linear;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box; 
	}
	
	.toggle:hover:after{
		/* background: #45ABD6; */
		background: #417191;
	}
	
	#toggle1:checked + div .toggle:after{
		content: attr(data-close);
	}
	
	#toggle2:checked + div .toggle:after{
		content: attr(data-close);
	}
	
	#toggle3:checked + div .toggle:after{
		content: attr(data-close);
	}
	
	#toggle4:checked + div .toggle:after{
		content: attr(data-close);
	}
	
	#toggle5:checked + div .toggle:after{
		content: attr(data-close);
	}
	
	#toggle6:checked + div .toggle:after{
		content: attr(data-close);
	}
	
	#toggle7:checked + div .toggle:after{
		content: attr(data-close);
	}
	
	#toggle8:checked + div .toggle:after{
		content: attr(data-close);
	}
	
	#toggle9:checked + div .toggle:after{
		content: attr(data-close);
	}
}

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

