/* Main Menu positioning */
#menu{
	padding-top:20px;
	padding-bottom:20px;
}

/* Menu list */
#menu ul{
	list-style:none;
	margin:0;
	padding:0;
}

/* Menu List Items */
#menu ul li{
	float:left;
	margin:0;
	padding: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;
	background-color:#b2b2b2;
	width:120px;
	padding:15px 0;
	text-align:center;
	margin:0 12px 0 0;
	color:#FFFFFF;
	font-size:13px;
	font-weight:bold;
	text-decoration:none;
	height:18px;
	overflow:hidden;
}
#menu ul li a:hover{
	background-color:#014076;
}

/* 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:48px;
	left:0;
	width:120px;
	
}

/* 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;
}

/* style the second level links */
#menu ul ul a, #menu ul ul a:visited {
	background-color:#b2b2b2;
	color:#FFFFFF;
	height:auto;
	line-height:1em;
	padding:10px 10px;
	width:100px;
	border-width:0 1px 1px 1px;
	border-top:1px solid #FFFFFF;
}

/* style the top level hover */
#menu a:hover, #menu ul ul a:hover{
	color:#fff;
	background-color:#014076;
}
#menu :hover > a, #menu ul ul :hover > a {
	color:#fff;
	background-color:#014076;
}

/* 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;
}
