/* ================================================================
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/flyout3.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.
=================================================================== */

.menu_der {
z-index:1000;
font-size:90%;
float:right;
margin:0;
}

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

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

/* style the links */
.menu_der a, .menu_der a:visited {
display:block;
text-decoration:none;
height:17px;
line-height:17px;
width:134px;
color:#000;
text-indent:5px;
border:1px solid #fff;
border-width:0 1px 1px 0;
}
/* hack for IE5.5 */
* html .menu_der a, * html .menu_der a:visited {background:#d4d8bd; width:135px; w\idth:134px;}
/* style the link hover */
* html .menu_der a:hover {color:#fff; background:#949e7c;}

.menu_der :hover > a{
color:#fff;
background:#949e7c;
}

/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu_der ul ul {
visibility:hidden;
position:absolute;
top:0;
left:-135px;
}
/* make the second level visible when hover on first level list OR link */
.menu_der ul li:hover ul,
.menu_der ul a:hover ul {
visibility:visible;
}
/* keep the third level hidden when you hover on first level list OR link */
.menu_der ul :hover ul ul{
visibility:hidden;
}
/* keep the fourth level hidden when you hover on second level list OR link */
.menu_der ul :hover ul :hover ul ul{
visibility:hidden;
}
/* make the third level visible when you hover over second level list OR link */
.menu_der ul :hover ul :hover ul{
visibility:visible;
}
/* make the fourth level visible when you hover over third level list OR link */
.menu_der ul :hover ul :hover ul :hover ul {
visibility:visible;
}
