

/* Menu list */
#menu ul{
	list-style:none;
	padding-left:0;
	padding-top:10px;
	float:left;
	margin:0;
}

/* Menu List Items */
#menu ul li{
	border-right:3px solid #AFB1B4;
	float:left;
	padding:0;
	margin:0;
}

/* set relative positon to control the dropdown positon */
#menu li {
	float:left;
	position:relative;
}
/* style the links for the top level */
#menu ul li a, #menu ul li a:visited{
	float:left;
	height:19px;
	padding:0 10px 8px 10px;
	text-align:left;
	color:#808285;
	font-weight:bold;
	text-decoration:none;
}
#menu ul li a:hover, #menu ul li.selected a, #menu ul li.selected a:visited{
	color:#ED1C24;
	background-color:#FFFFFF;
}

/* style the second level background */
#menu ul ul a.drop, #menu ul ul a.drop:visited {
	background-color:#b2b2b2;
}
/* style the second level hover */
#menu ul ul a.drop:hover{
	background-color:#014076;
}
#menu ul ul :hover > a.drop {
	background-color:#014076;
}
		
/* hide the sub levels and give them a positon absolute so that they take up no room */
#menu ul ul {
	visibility:hidden;
	position:absolute;
	height:0;
	top:17px;
	left:-6px;
	width:100px;
	
}

/* style the table so that it takes no ppart in the layout - required for IE to work */
#menu table {
	position:absolute;
	top:0;
	left:0;
	border-collapse:collapse;
}

#menu ul ul li {
	border:0;
}

/* style the second level links */
#menu ul ul a, #menu ul ul a:visited, #menu ul li.selected ul a, #menu ul li.selected ul a:visited {
	float:left;
	background-color:#AFB1B4;
	color:#FFFFFF;
	padding:5px;
	width:95px;
	line-height:20px;
	min-height:20px;
	height:auto !important;
	height:20px;
	font-size:14px;
}

/* style the top level hover */
#menu a:hover, #menu ul ul a:hover, #menu ul li.selected ul a:hover{
	color:#fff;
	background-color:#97999C;
}
#menu :hover > a{
	color:#ED1C24;
}

#menu ul ul :hover > a {
	color:#FFFFFF;
}

/* make the second level visible when hover on first level list OR link */
#menu ul li:hover ul, #menu ul a:hover ul{
	visibility:visible;
}
