#navcontainer {
font-size:10px;
margin:0 0 0px 10px; /* this page only */
}

/* remove all the bullets, borders and padding from the default list styling */
#navcontainer ul {
position:relative;
z-index:500;
padding:0;
margin:0;
list-style-type:none;
width:159px;
}
/* style the list items */
#navcontainer li {
background-color:#d0d0d0;
height:26px;
/* for IE7 */
float:left;
}
#navcontainer li.sub {background:#ddd url('/media/images/bgr_sub_menu.gif') no-repeat right center;} 

/* get rid of the table */
#navcontainer table {position:absolute; border-collapse:collapse; top:0; left:0; z-index:100; font-size:1em;}

/* style the links */
#navcontainer a, #navcontainer a:visited {
display:block; 
text-decoration:none;
height:25px;
line-height:25px;
width:159px;
color:#000;
text-indent:5px;
border:1px solid #fff;
border-width:0 1px 1px 1px;
}
/* hack for IE5.5 */
* html #navcontainer a, * html #navcontainer a:visited {width:159px; w\idth:158px;}
/* style the link hover */
* html #navcontainer a:hover {color:#efa; background:#477908; position:relative;}

#navcontainer li:hover {position:relative;}

/* For accessibility of the top level menu when tabbing */
#navcontainer a:active, #navcontainer a:focus {color:#efa; background:#477908;}

/* retain the hover colors for each sublevel IE7 and Firefox etc */
#navcontainer li:hover > a {color:#efa; background:#477908;}
 
/* hide the sub levels and give them a positon absolute so that they take up no room */
#navcontainer li ul {
visibility:hidden;
position:absolute;
top:-30px;
/* set up the overlap (minus the overrun) */
left:115px;
/* set up the overrun area */
padding:30px;
/* this is for IE to make it interpret the overrrun padding */
background:transparent url('/media/images/spacer.gif');
}

/* for browsers that understand this is all you need for the flyouts */
#navcontainer li:hover > ul {visibility:visible;}


/* for IE5.5 and IE6 you need to style each level hover */

/* keep the third level+ hidden when you hover on first level link */
#navcontainer ul a:hover ul ul{
visibility:hidden;
}
/* keep the fourth level+ hidden when you hover on second level link */
#navcontainer ul a:hover ul a:hover ul ul{
visibility:hidden;
}
/* keep the fifth level hidden when you hover on third level link */
#navcontainer ul a:hover ul a:hover ul a:hover ul ul{
visibility:hidden;
}

/* make the second level visible when hover on first level link */
#navcontainer ul a:hover ul {
visibility:visible;
}
/* make the third level visible when you hover over second level link */
#navcontainer ul a:hover ul a:hover ul{ 
visibility:visible;
}
/* make the fourth level visible when you hover over third level link */
#navcontainer ul a:hover ul a:hover ul a:hover ul { 
visibility:visible;
}
/* make the fifth level visible when you hover over fourth level link */
#navcontainer ul a:hover ul a:hover ul a:hover ul a:hover ul { 
visibility:visible;
}
