/* ================================================================ 
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/flyout2.html
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
This stylesheet and the assocaited (x)html may be modified in any 
way to fit your requirements.
=================================================================== */
#nav-cat {
width:153px;
border:1px solid #76A311;
z-index:1000;
margin:0;
margin-bottom:10px;
background:#FFE278;
}

/* remove all the bullets, borders and padding from the default list styling */
#nav-cat ul {
padding:0;
margin:0;
list-style-type:none;
width:153px;
z-index:1000;
}
/* hack for IE5.5 */
* html #nav-cat ul {margin-left:-16px; ma\rgin-left:0;}
/* position relative so that you can position the sub levels */
#nav-cat li {
position:relative;
background:#FFE278;
height:25px;
z-index:1000;
}

/* get rid of the table */
#nav-cat table {position:absolute; border-collapse:collapse; top:0; left:0; z-index:100; font-size:1em;}

/* style the links */
#nav-cat a, #nav-cat a:visited {
display:block; 
text-decoration:none;
height:25px;
line-height:25px;
width:153px;
/*color:#000;*/
text-indent:5px;
border:0;
/*border:0px solid #fff;
border-width:0 1px 1px 0;*/
}
/* hack for IE5.5 */
* html #nav-cat a, * html #nav-cat a:visited {background:#FFE278; width:153px; w\idth:153px;}
/* style the link hover */
* html #nav-cat a:hover {color:#FFF; background:#F6C43D;}

#nav-cat :hover > a {
color:#FFF;
background:#F6C43D;
}

/* hide the sub levels and give them a positon absolute so that they take up no room */
#nav-cat ul ul {
width:200px;
visibility:hidden;
position:absolute;
top:-1px;
left:153px;
border:1px solid #76A311;
z-index:1000;
}

#nav-cat ul ul a {width:200px;}
#nav-cat ul ul a:visited {width:200px}
#nav-cat ul ul ul a {width:200px}
#nav-cat ul ul ul a:visited {width:200px}
#nav-cat ul ul ul ul a {width:200px}
#nav-cat ul ul ul ul a:visited {width:200px}
#nav-cat ul ul ul {left:200px;width:200px}
#nav-cat ul ul ul ul {left:200px;width:200px}

/* make the second level visible when hover on first level list OR link */
#nav-cat ul li:hover ul,
#nav-cat ul a:hover ul {
visibility:visible;
}

/* keep the third level hidden when you hover on first level list OR link */
#nav-cat ul :hover ul ul{
visibility:hidden;
}
/* keep the fourth level hidden when you hover on second level list OR link */
#nav-cat ul :hover ul :hover ul ul{
visibility:hidden;
}
/* make the third level visible when you hover over second level list OR link */
#nav-cat ul :hover ul :hover ul{ 
visibility:visible;
}
/* make the fourth level visible when you hover over third level list OR link */
#nav-cat ul :hover ul :hover ul :hover ul { 
visibility:visible;
}
