/* common styling */
/* set up the overall width of the menu div, the font and the margins */

#nav {
background-color:#6691D8;
background-image:url("../images/menuback.jpg");
background-repeat:repeat-x;
border-bottom:2px solid #405B87;
border-top:2px solid #405B87;
color:#FFFFFF;
float:left;
font-family:Helvetica,Geneva,Arial,SunSans-Regular,sans-serif;
font-weight:500;
height:23px;
margin:0;
padding-top:7px;
position:relative;
width:100%;
z-index:100;
}
/* remove the bullets and set the margin and padding to zero for the unordered list */
#nav ul {
padding: 0; 
margin: 0;
list-style-type: none;
}
/* float the list so that the items are in a line and their position relative so that the drop down list will appear in the right place underneath each list item */
#nav ul li {
float:left; width:100px;
position: relative;
}
/* style the links to be 104px wide by 30px high with a top and right border 1px solid white. Set the background color and the font size. */
#nav ul li a, #nav ul li a:visited {
display: block; 
text-align: left; 
text-decoration: none;
padding-top: 4px;
padding-left:5px;
padding-right:5px;
height: 29px;
color: #FFF;
border-width: 1px 1px 0 0; 
line-height: 20px;
margin-top: -5px;
font-size: 13px;
font-weight: bold;
}
/* make the dropdown ul invisible */
#nav ul li ul {
display: none;
}

/* specific to non IE browsers */
/* set the background and foreground color of the main menu li on hover */
#nav ul li:hover a {
color:#6691D8; 
background:#FFF;
}
/* make the sub menu ul visible and position it beneath the main menu list item */
#nav ul li:hover ul {
display:block; 
position:absolute; 
top:28px;
left:0px;
width: 160px;
}
/* style the background and foreground color of the submenu links */
#nav ul li:hover ul li a {
	display:block;
	color:#FFF;
	padding-left:3px;
	width: 160px;
	margin-bottom:-3px;
	background-color: #99B6E6;
}
/* style the background and forground colors of the links on hover */
#nav ul li:hover ul li a:hover {
	color:#6691D8;
	background-color: #F3F3F3;
}