﻿

@-webkit-keyframes bugfix { from {padding:0;} to {padding:0;} }

.header { position: relative; }
#toggle, .toggle { display: none; }
.menu > li {
	list-style: none;
	float:left;
	font-family: Arial, Helvetica, sans-serif;
	color: #000;
	font-weight: bold;
	text-decoration: none;
	}

/* Nicolas Gallagher micro clearfix */
.clearfix:before, .clearfix:after { display: table; content: ""; }
.clearfix:after { clear: both; }


a.a:link {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	font-weight: bold;
	color: #000;
	text-decoration: none;
}
a.a:visited {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	font-weight: normal;
	color: #FFFFFF;
	text-decoration: none;
}
a.a:hover {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	font-weight: normal;
	color: #F00;
	text-decoration: none;
}

@media only screen and (max-width: 768px){
	.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{
	padding: 0 0px;
	background: #FFFFFF;
}

.nav{
	display: block;
	float: right;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	color: #000;
	font-weight: bold;
}

.nav, .menu, .menu > li, .menu > li > a{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-weight: bold;
	color: #000;
	height:70px;
	
}

.menu > li > a{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	display: block;
	text-decoration: none;
	font-weight: bold;
	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;
	padding-top: 40px;
	padding-right: 20px;
	padding-bottom: 42px;
	padding-left: 20px;
	color: #000;
	background-image: url(../Images/mbg.jpg);
	background-repeat: no-repeat;
	background-position: right top;
}

.menu > li > a:hover, .menu > li > a:focus{
	box-shadow: inset 0px 5px #dfe2e3;
	color: #C00;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-weight: bold;
	text-decoration: none;
	padding-top: 30px;
	padding-right: 20px;
	padding-bottom: 20px;
	padding-left: 20px;
}

.toggle{ 
	z-index: 2; 
}

@media only screen and (max-width: 768px){
	.menu{
		background: #FFFFFF;
		border-top: 1px solid #dfe2e3;
	font-family: Arial, Helvetica, sans-serif;
		font-size: 13px;

	}
	
	.menu, .menu > li, .menu > li > a{
		height: auto;
	font-family: Arial, Helvetica, sans-serif;
		font-size: 13px;

	}
	
	.menu > li > a{
		padding: 15px 15px;
	font-family: Arial, Helvetica, sans-serif;
		font-size: 13px;

	}
	
	.menu > li > a:hover, .menu > li > a:focus{
	}
	
	.toggle:after {
	font-family: Arial, Helvetica, sans-serif;
		font-size: 13px;
		content: 'Main Menu';
		display: block;
		width: 200px;
		margin: 33px 0;
		padding: 10px 50px;
		background: #dfe2e3;
		-webkit-border-radius: 2px;
		border-radius: 2px;
		text-align: center;
		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; 
	}
	
	.toggle:hover:after{
		background: #45ABD6;
	}
	
	#toggle:checked + .toggle:after{
		content: 'Close Menu';
	}
}

@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%; 
	}
}