/* ================================================================ 
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 {
font-size:11px;
position:relative
}

/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
position:absolute;
top:0; left:0;
z-index:500;
padding:0;
margin:0;
list-style-type:none;
width:150px;
}
/* style the list items */
.menu li {
background: url(../gfx/menu/menubkg.png);
height:25px;
/* for IE7 */
float:left;
}
.menu li.sub {background: url(../gfx/menu/submenubkg.png);} 

/* 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;
height:25px;
line-height:25px;
width:150px; /* was 149 */
color:#000;
text-indent:5px;
/* border:1px solid #fff;
border-width:0 1px 1px 1px; */ /* borders used in actual image for curves until css3! */
}
/* hack for IE5.5 */
* html .menu a, * html .menu a:visited {width:150px; w\idth:149px; font-size:11px;}
/* style the link hover */
* html .menu a:hover {color:#fff; background:#1d6ac1 url(../gfx/menu/menuhover.png);; position:relative;}

.menu li:hover {position:relative;}

/* For accessibility of the top level menu when tabbing */
.menu a:active, .menu a:focus {color:#fff; url(../gfx/menu/menuhover.png);}

/* retain the hover colors for each sublevel IE7 and Firefox etc */
.menu li:hover > a {color:#fff; background: url(../gfx/menu/menuhover.png);}
 
/* 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:-12px; /* MINUS padding-top*/
/* set up the overlap (minus the overrun) each graphic is 150px wide, so left:100 + padding:30 = 130 = overlap of 20*/
left:131px; /* + padding-left 7 = 138 = 12px overlap */
/* set up the overrun area (top right bott left)*/
padding:12px 12px 12px 7px;
/* this is for IE to make it interpret the overrrun padding */
background:transparent url(../gfx/menu/transparent.gif);
}

/* for browsers that understand this is all you need for the flyouts */
.menu 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 */
.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;
}