#nav, #nav ul{
	margin: 0;
	padding: 0;
	list-style: none;
}

#nav{  /* nav formating */
	width: 60em; /* 1000px */
	font-family:;
	position: fixed;
	top: 0%;
	left: 50%;
	margin-left: -30em; /* 30 480 */
	z-index: 1000;
}

#nav > a{  /* remove show/hide text */
	display: none;
}

#nav li{
	position: relative;
}

#nav li a{  /* menu link text color */
	color: #ffffff;
	display: block;
	text-decoration: none;
}

#nav li a:active{  /* unknown */
	background-color: #ffff00 !important;
	color: #000000;
}

#nav > ul > li span:after{  /* Arrows?? */
	width: 0;
	height: 0;
	border: 0.313em solid transparent; /* 5 */
	border-bottom: none;
	border-top-color: #ffff00;
	content: '';
	vertical-align: middle;
	display: inline-block;
	position: relative;
	right: -0.313em; /* 5 */
}

#nav > ul > li > ul > li span:after{  /* Arrows?? */
	width: 0;
	height: 0;
	border: 0.313em solid transparent; /* 5 */
	border-right: none;
	border-left-color: #ffff00;
	content: '';
	vertical-align: middle;
	display: inline-block;
	position: relative;
	right: -.5em; /* 5 */
}

/* FIRST LEVEL OPTIONS */

#nav > ul{  /* 1st LV container */
	height: 3.75em; /* 60 */
	width: 100%;
	box-shadow: inset 0 0 0 1px #800000;
	-moz-box-shadow: inset 0 0 0 1px #800000;
	-webkit-box-shadow: inset 0 0 0 1px #800000;
	background: #800000;
	background: -moz-linear-gradient(top, #ce6767 0%, #800000 30%, #800000 71%, #ce6767 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ce6767), color-stop(30%, #800000), color-stop(71%, #800000), color-stop(100%, #ce6767));
	background: -webkit-linear-gradient(top, #ce6767 0%, #800000 30%, #800000 71%, #ce6767 100%);
	background: -o-linear-gradient(top, #ce6767 0%, #800000 30%, #800000 71%, #ce6767 100%);
	background: -ms-linear-gradient(top, #ce6767 0%, #800000 30%, #800000 71%, #ce6767 100%);
	background: linear-gradient(to bottom, #ce6767 0%, #800000 30%, #800000 71%, #ce6767 100%);
	filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ce6767', endColorstr='#ce6767', GradientType=0);
	border-bottom: 1px solid #800000;
	border-top: 1px solid #800000;
	border-right: 1px solid #800000;
	filter: none;
	border-radius: 0.833em 0.833em 0.833em 0.833em;
	-moz-border-radius: 0.833em 0.833em 0.833em 0.833em;
	-webkit-border-radius: 0.833em 0.833em 0.833em 0.833em;

}

#nav > ul > li{  /* 1st LV break down */
	width: 20%;
	height: 100%;
	float: left;

}

#nav > ul > li > a{ /* 1st LV Link Format */
	height: 100%;
	font-size: 1.5em; /* 24 */
	line-height: 2.5em; /* 60 (24) */
	text-align: center;
}

#nav > ul > li:not( :last-child ) > a{  /* 1st LV interior border */
	border-right: 1px solid #ce6767;
}

#nav > ul > li:hover > a,#nav > ul:not( :hover ) > li.active > a{  /* 1st LV hover formatting */

	background: #ce6767;
	background: -moz-linear-gradient(top, #800000 0%, #ce6767 30%, #ce6767 71%, #800000 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #800000), color-stop(30%, #ce6767), color-stop(71%, #ce6767), color-stop(100%, #800000));
	background: -webkit-linear-gradient(top, #800000 0%, #ce6767 30%, #ce6767 71%, #800000 100%);
	background: -o-linear-gradient(top, #800000 0%, #ce6767 30%, #ce6767 71%, #800000 100%);
	background: -ms-linear-gradient(top, #800000 0%, #ce6767 30%, #ce6767 71%, #800000 100%);
	background: linear-gradient(to bottom, #800000 0%, #ce6767 30%, #ce6767 71%, #800000 100%);
	filter: progid:dximagetransform.microsoft.gradient(startColorstr='#800000', endColorstr='#800000', GradientType=0);
	border-bottom: 1px solid #ce6767;
	border-top: 1px solid #ce6767;
	border-right: 1px solid #ce6767;
	filter: none;
	color:#000000;
}

#nav > ul > li:hover:last-child > a,#nav > ul:not( :hover ) > li:last-child.active > a{
	border-radius: 0 0.5em 0 0;
	-moz-border-radius: 0 0.5em 0 0;
	-webkit-border-radius: 0 0.5em 0 0;
}

#nav > ul > li:hover:first-child > a,#nav > ul:not( :hover ) > li:first-child.active > a{
	border-radius: 0.5em 0 0 0.5em;
	-moz-border-radius: 0.5em 0 0 0.5em;
	-webkit-border-radius: 0.5em 0 0 0.5em;
}


/* SECOND LEVEL OPTIONS */

#nav > ul > li > ul{   /* 2nd LV invisible + formatting */
	background-color: #800000;
	visibility: hidden;
	position: absolute;
	top: 100%;
}

#nav > ul > li:hover > ul{  /* 2nd LV visibility on hover + formatting */
	visibility: visible;
	left: 0;
	right: 0;
	text-align:right;
}

#nav > ul > li > ul > li > a{  /* 2nd LV text formatting */
	font-size: 1.25em; /* 20 */
	border-top: 1px solid #ce6767;
	border-left: 1px solid #ce6767;
	padding: 0.75em; /* 15 (20) */
}

#nav > ul > li > ul > li:hover > a,#nav > ul > li > ul:not( :hover ) > li.active > a{  /* 2nd LV hover formatting */
	background-color: #ce6767;
	color: #000000;
}

/* THIRD LEVEL OPTIONS */

#nav > ul > li > ul > li > ul{  /* 3rd LV invisible + formatting */
	visibility: hidden;
	background-color: #ce6767;
	position: absolute;
	top: 0;
	left: 100%;
}

#nav > ul > li > ul > li:hover > ul{  /* 3rd LV visibility + formatting */
	visibility: visible;
	width: 100%;
	text-align: left;
}

#nav > ul > li > ul > li > ul > li > a{  /* 3rd LV text formatting */
	font-size: 1.25em; /* 20 */
	border-left: 1px solid #800000;
	padding: 0.75em; /* 15 (20) */
	color: #000000;
}

#nav > ul > li > ul > li > ul > li:not( :first-child ) > a{  /* 3rd LV textbox border top */
	border-top: 1px solid #800000;
}

#nav > ul > li > ul > li > ul > li:hover > a,#nav > ul > li > ul > li > ul:not( :hover ) > li.active > a{  /* 3rd LV hover formatting */
	background-color: #800000;
	color: #ffffff;
}

/* SMALLER SCREENS OPTIONS */

@media only screen and ( max-width: 62.5em ){ /* 1000px */
	#nav{
		width: 100%;
		position: fixed;
		margin: 0;
		left: 0;
		right: 0;
	}
}

@media only screen and ( max-width: 40em ) /* 640 */
{
	html{
		font-size: 75%; /* 12 */
	}

	#nav{
		position: relative;
		top: auto;
		left: auto;
	}
	
	#nav > a{
		width: 3.125em; /* 50 */
		height: 3.125em; /* 50 */
		text-align: left;
		text-indent: -9999px;
		background-color: #800000;
		position: relative;
	}
	#nav > a:before,#nav > a:after{
		position: absolute;
		border: 2px solid #fff;
		top: 35%;
		left: 25%;
		right: 25%;
		content: '';
	}
	
	#nav > a:after{
		top: 60%;
	}

	#nav:not( :target ) > a:first-of-type,#nav:target > a:last-of-type{
		display: block;
	}
	
	#nav > ul > li > ul > li span:after{  /* Arrows?? */
		width: 0;
		height: 0;
		border: 0.313em solid transparent; /* 5 */
		border-bottom: none;
		border-top-color: #ffff00;
		content: '';
		vertical-align: middle;
		display: inline-block;
		position: relative;
		right: -0.313em; /* 5 */
	}

	/* FIRST LEVEL OPTIONS -small */
	
	#nav > ul{
		height: auto;
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		background: #800000;
		border-radius: 0;
		-moz-border-radius: 0;
		-webkit-border-radius: 0;
	}
	
	#nav:target > ul{
		display: block;
	}
	
	#nav > ul > li{
		width: 100%;
		float: none;
	}
	
	#nav > ul > li > a {
		height: auto;
		text-align: left;
		padding: 0 0.833em; /* 20 (24) */
	}
	
	#nav > ul > li:not( :last-child ) > a{
		border-right: none;
		border-bottom: 1px solid #3366cc;
	}
	
	#nav > ul > li:hover > a,#nav > ul:not( :hover ) > li.active > a{  /* 1st LV hover formatting */

		background: #ce6767;
		color:#000000;
	}

	#nav > ul > li:hover:last-child > a,#nav > ul:not( :hover ) > li:last-child.active > a,#nav > ul > li:hover:first-child > a,#nav > ul:not( :hover ) > li:first-child.active > a{
		border-radius: 0;
		-moz-border-radius: 0;
		-webkit-border-radius: 0;
	}
	
	/* SECOND LEVEL OPTIONS -small */
	
	#nav > ul > li:hover > ul{
		position:static;
		padding: 1.25em;
		padding-top: 0;
	}
	
	#nav > ul > li > ul > li:first-child > a{  /* 2nd LV textbox border top */
	border-top: 0;
}
	
	/* THIRD LEVEL OPTIONS -small */
	
	#nav > ul > li > ul > li:hover > ul{
		position:static;
		top: 100%;
		padding: 1.25em;
		padding-top: 0;
		padding-right: 0;
	}
}	