/* ================================================================ 
This copyright notice must be untouched at all times.

The original version of this stylesheet and the associated (x)html
is available at http://www.cssplay.co.uk/menus/flyout_4level.html
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any 
way to fit your requirements.
=================================================================== */
.menu {
height:167px;
font-size:90%;
}

/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
position:relative;
z-index:500;
padding:0;
margin:0;
list-style-type:none;
width:181px;
}
/* style the list items */
.menu li {
float:left;
}
.menu li.sub {background:#d4d8bd url(sub.gif) no-repeat right center;} 

/* get rid of the table */
.menu table {position:absolute; border-collapse:collapse; top:0; left:0; z-index:100; font-size:1em;}

/* style the links */
.menu a, .menu a:visited {
display:block; 
text-decoration:none;
width:181px;
}
/* hack for IE5.5 */
* html .menu a, * html .menu a:visited {width:182px; w\idth:181px;}
/* style the link hover */
* html .menu a:hover {color:#6666FF; background:#aa7; position:relative;}

.menu li:hover {position:relative;}

/* For accessibility of the top level menu when tabbing */
/*.menu a:active, .menu a:focus {color:#6666FF; background:#aa7;}*/

/* retain the hover colors for each sublevel IE7 and Firefox etc */
/*.menu li:hover > a {color:#6666FF; background:#aa7;}*/
 
/* 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:75px;
/* set up the overrun area */
padding:30px;
/* this is for IE to make it interpret the overrrun padding */
background:transparent url(transparent.gif);
}

.menu li ul li {
background:#d4d8bd;
width: 149px;
padding-top: 2px;
padding-bottom: 2px;
padding-left: 5px;
}

.menu li ul li a, .menu li ul li a:visited {
background:#d4d8bd;
width: 149px;
padding-top: 2px;
padding-bottom: 2px;
padding-left: -5px;
}

.menu li ul li:hover > a {color:#efa; background:#aa7;}

/* for browsers that understand this is all you need for the flyouts */
.menu li:hover > ul {visibility:visible;}
