#nav, #nav ul{
	margin:0;
	padding:0;
	list-style-type:none;
	list-style-position:outside;
	position:relative;
	line-height:35px;
	z-index: 100;
	text-align: left;
}

#nav a{
	display:block;
	padding:0px 7px;
	text-decoration:none;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #514F80;
	text-align: left;
}

#nav a:hover{
	background-color:#514F80;
	color:#CCC;
}

#nav li{
	float:left;
	position:relative;
	text-align: left;
}

#nav ul {
	position:absolute;
	display:none;
	width:216px;
	top:35px;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #CCC;
	text-align: left;
}

#nav li ul a{
	width:200px;
	height:auto;
	float:left;
	background-color: #514F80;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-right-color: #999;
	border-bottom-color: #999;
	border-left-color: #999;
}

#nav ul ul{
top:auto;
}	

#nav li ul ul {
left:12em;
margin:0px 0 0 10px;
}

#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li:hover ul ul ul ul{
display:none;
}
#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li li li li:hover ul{
display:block;
}

#nav1, #nav1 ul{
margin:0;
padding:0;
list-style-type:none;
list-style-position:outside;
position:relative;
line-height:22px; 
  z-index: 100;
}
#nav1 a{
		text-decoration:none;
	border-bottom-width: 0px;
	border-bottom-style: solid;
	border-bottom-color: #999999;
			border-top-width: 0px;
	border-top-style: solid;
	border-top-color: #999999;

}
#nav1 a:hover{
background-color:#193359;
color:#ffffff;
}

#nav1 ul {
position:absolute;
display:none;
width:12em;
top:45px;
}

