header, nav, section, article, aside, footer, hgroup { 
   display: block;
}

nav 
{
	margin: 0px auto; 
	text-align: left;
	font-family: Arial, Charcoal, sans-serif;
	font-size: 22px;
}

nav ul ul 
{
	display: none;
	z-index: 1000;
}

nav ul li:hover > ul 
{
	display: block;
}


nav ul
{
	list-style: none;
	position: relative;
	display: inline-table;
	margin: 0px;
	padding: 0px;
}

nav ul:after 
{
	content: ""; clear: both; display: block;
}

nav ul li 
{
	float: left;
}

nav ul li:hover 
{
}

nav ul li:hover a 
{
	color: #fff;
}
		
nav ul li a 
{
	opacity: 1.0;
	display: block;
	color: #757575; 
	text-decoration: none;
}
		
nav ul ul 
{
	background: #448ccb; 
	border-radius: 0px; 
	padding: 0;
	position: absolute; 
	top: 47px;
	box-shadow: 3px 3px 10px black;
}

nav ul ul li 
{
	float: none; 
	border-top: 1px solid #357dbf;
	border-left: 1px solid #357dbf;
	border-bottom: 1px solid #3073af; 
	border-right: 1px solid #3073af; 
	position: relative;
}

nav ul ul li a 
{
	padding: 10px 25px;
	color: #fff;
}	

nav ul ul li a:hover 
{
	background: #4b545f;
	text-decoration: none;
}
		
nav ul ul ul 
{
	position: absolute; left: 100%; top:0;
}

nav ul ul ul.rightalign
{
	position: absolute; left: auto; right: 100%; top:0;
}




nav ul ul ul.ulLL
{
	position: absolute; left: 100%; top:0;
}

nav ul ul ul.ulRL
{
	position: absolute; left: auto; right: 100%; top:0;
}

nav ul ul ul.ulLR
{
	position: absolute; left: 100%; top:0;
}

nav ul ul ul.ulRR
{
	position: absolute; left: auto; right: 100%; top:0;
}