.menu {float:left;font-size:12px;margin:3px 0 10px 16px;display:inline; /* this page only */}

/* remove all the bullets, borders and padding from the default list styling */
.menu ul {position:relative;z-index:80;padding:0;margin:0;list-style-type:none;width:180px;}

/* style the list items */
.menu li {background:#D0D4D4;height:30px;/* for IE7 */float:left;}
.menu li.sub {background:#D0D4D4 url('../images/sub.gif') no-repeat right center;} 
.menu li.sub:hover {background:#F8F5DC url('../images/sub.gif') no-repeat right center;} 

/* get rid of the table */
.menu table {position:absolute; border-collapse:collapse; top:0; left:0; z-index:2; font-size:1em;}

/* style the links */
.menu a, .menu a:visited {
display:block; 
text-decoration:none;
height:29px;
line-height:29px;
width:179px;
color:#333;
text-indent:5px;
border:1px solid #fff;
border-width:0 1px 1px 1px;
} 

/* hack for IE5.5 */
* html .menu a, * html .menu a:visited {width:180px; w\idth:179px;}

/* style the link hover */
* html .menu a:hover {color:#000;background:#F8F5DC;position:relative;}

.menu li:hover {position:relative;}

.menu a.current {color:white !important;}
.menu a.current:hover {background:#47615A;color:white;}

.menu li a.current {background:#47615A;color:white !important;}

.menu li.sub:hover > a {background:#F8F5DC url('../images/sub.gif') no-repeat right center;}

.menu li.sub a.current {background:#47615A url('../images/sub.gif') no-repeat right center;color:white;}

/* For accessibility of the top level menu when tabbing */
.menu a:active, .menu a:focus {color:#000; background:#F8F5DC;}

/* retain the hover colors for each sublevel IE7 and Firefox etc */
.menu li:hover > a {color:#000; background:#F8F5DC;}

/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu li ul {
visibility:hidden;
position:absolute;
top:-30px;
/* set up the overlap (minus the overrun) */
left:142px;
/* set up the overrun area */
padding:30px;font-size:11px;
/* this is for IE to make it interpret the overrrun padding */
background:transparent url('../images/transparent.gif');
}
.menu li ul li a,.menu li ul li a:visited {width:230px; w\idth:229px;white-space:nowrap;padding-left:5px;z-index:100;}
/* for browsers that understand this is all you need for the flyouts */
.menu li:hover > ul {visibility:visible;z-index:95;}

/* for IE5.5 and IE6 you need to style each level hover */
/* keep the third level+ hidden when you hover on first level link */
.menu ul a:hover ul ul{visibility:hidden;}

/* keep the fourth level+ hidden when you hover on second level link */
.menu ul a:hover ul a:hover ul ul{visibility:hidden;}

/* keep the fifth level hidden when you hover on third level link */
.menu ul a:hover ul a:hover ul a:hover ul ul{visibility:hidden;}

/* make the second level visible when hover on first level link */
.menu ul a:hover ul {visibility:visible;}

/* make the third level visible when you hover over second level link */
.menu ul a:hover ul a:hover ul{visibility:visible;}

/* make the fourth level visible when you hover over third level link */
.menu ul a:hover ul a:hover ul a:hover ul { visibility:visible;}

/* make the fifth level visible when you hover over fourth level link */
.menu ul a:hover ul a:hover ul a:hover ul a:hover ul { visibility:visible;}
