/* Show Stu Nicholls Copyright for his contribution. */
/* ================================================================ 
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.
=================================================================== */
.cmenu {
min-height:150px;
/*margin:25px 0 50px 15px;*/ /* this page only */
}

/* remove all the bullets, borders and padding from the default list styling */
.cmenu ul {
position:relative;
z-index:500;
padding:0px;
margin:0px;
list-style-type:none;
width:170px;
}
/* style the list items */
.cmenu li {
background:#1C3A6C /*url('shade.gif')*/;
/* height:19px; */
/* for IE7 */
float:left;
}
.cmenu li.sub {background:#1C3A6C url('Stuff/junk/subw.gif') no-repeat right center;} 

/* get rid of the table */
.cmenu table {position:absolute; border-collapse:collapse; top:0; left:0; z-index:100; font-size:1em;}

/* style the links */
.cmenu a, .cmenu a:visited {
display:block;
padding:0 2px;
text-decoration:none;
/*height:20px; bad effect in Firefox*/
line-height:19px;
width:169px;
color:#fff;
text-indent:5px;
/*border:1px solid #fff;
border-width:0 1px 1px 1px;*/
}
/* hack for IE5.5 */
* html .cmenu a, * html .cmenu a:visited {width:170px; w\idth:169px;}
/* style the link hover */
* html .cmenu a:hover {position:relative;color:#fff;background:#900;}

.cmenu li:hover {position:relative;}

/* For accessibility of the top level menu when tabbing */
.cmenu a:active, .cmenu a:focus {color:#fff; background:#900;}

/* retain the hover colors for each sublevel IE7 and Firefox etc */
.cmenu li:hover > a {color:#fff; background:#900;border-left:#f00 solid 2px;padding:0 2px 0 0;}
 
/* hide the sub levels and give them a positon absolute so that they take up no room */
.cmenu li ul {
visibility:hidden;
position:absolute;
top:-20px;
/* set up the overlap (minus the overrun) */
left:120px;
/* set up the overrun area */
padding:20px;
/* this is for IE to make it interpret the overrrun padding */
background:url('Stuff/junk/dot.gif');
}

/* for browsers that understand this is all you need for the flyouts */
.cmenu 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 */
.cmenu ul a:hover ul ul{
visibility:hidden;
}
/* keep the fourth level+ hidden when you hover on second level link */
.cmenu ul a:hover ul a:hover ul ul{
visibility:hidden;
}
/* keep the fifth level hidden when you hover on third level link */
.cmenu ul a:hover ul a:hover ul a:hover ul ul{
visibility:hidden;
}
/* make the second level visible when hover on first level link */
.cmenu ul a:hover ul {
visibility:visible;
}
/* make the third level visible when you hover over second level link */
.cmenu ul a:hover ul a:hover ul{ 
visibility:visible;
}
/* make the fourth level visible when you hover over third level link */
.cmenu ul a:hover ul a:hover ul a:hover ul { 
visibility:visible;
}
/* make the fifth level visible when you hover over fourth level link */
.cmenu ul a:hover ul a:hover ul a:hover ul a:hover ul { 
visibility:visible;
}
