/* style the outer div to give it width */
.menu {
	float:left;
	font-size:12px;
	width:777px;
	height:27px;
	background-image:url(nav_r.jpg);
	color:#FFFFFF;
	font-family:Arial, Helvetica, sans-serif;
}

/* remove all the bullets, borders and padding from the default list styling */
.menu ul {padding:0;margin:0;list-style-type:none;}

/* style the sub-level lists */
.menu ul ul {width:160px;}

/* float the top list items to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu ul li {float:left;height:27px;line-height:27px; display:block; text-align:left; letter-spacing:1px;}

/* style the sub level list items */
.menu ul ul li {display:block;height:20px; line-height:20px;border-bottom:1px solid #27506c;width:160px;}
.menu ul li img{border:0px;}

/* style the links for the top level */
.menu a, .menu a:visited {display:block;height:27px;text-decoration:none;color:#ffffff; font-weight:bold; padding-left:0px; padding-right:25px;}
/* hack IE5.x to get the correct the faulty box model and get the width right */

/* style the sub level links */
.menu ul ul li a,.menu ul ul li a:link, .menu ul ul li a:visited {display:block;color:#ffffff;height:20px;line-height:20px;background-color:#27506c;  font-weight:normal;border-left:5px solid #d6d7d7; padding-left:7px; letter-spacing:normal;}

/* style the table so that it takes no part in the layout - required for IE to work */
.menu table {border-collapse:collapse; padding:0; margin:-1px; width:0; height:0; font-size:1em; z-index:1;}
/* style the level hovers */
/* first */
.menu a:hover {color:#d8211d; position:relative; z-index:100; }
.menu li:hover {position:relative;}
.menu :hover > a {color:#d8211d; background-image:url(nav1.gif);}
/* second */
* html .menu ul ul li a:hover{color:#d8211d;background:#91afc3; position:relative; z-index:110;}
.menu ul ul li:hover {position:relative;}
.menu ul ul li:hover > a {color:#d8211d;background:#91afc3; border-left:5px solid #d8211d;}

/* 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:27px; left:0px;}
/* make the second level visible when hover on first level list OR link */
.menu ul :hover ul{visibility:visible; height:auto; left:0px;}
