/* ================================================================ 
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 {
z-index:1000;
font-size:90%;
float:right;
margin:0 25px 50px 0; /* this page only */
}

/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
padding:0;
margin:0;
list-style-type:none;
width:150px;
}

/* hack for IE5.5 */
* html .menu ul {
margin-left:-16px;
ma\rgin-left:0;
}

/* position relative so that you can position the sub levels */
.menu li {
position:relative;
height:25px;
}

/* get rid of the table */
.menu table {
position:absolute;
border-collapse:collapse; 
top:0; 
left:0; 
z-index:100; 
font-size:12px;}

/* style the links */
.menu a, 
.menu a:visited {
display:block; 
text-decoration:none;
font-size: 12px;
height:25px;

width:149px;
color:#666;
text-indent:20px;
}

/* hack for IE5.5 */
* html .menu a, 
* html .menu a:visited {
position: relative;
width:150px;
w\idth:149px;
}

/* style the link hover */
* html .menu a:hover {
color:#c93; 
background:none;
}

.menu :hover > a {
color:#c93; 
background:none;
}

.menu ul li.active a:hover,
.menu ul li.active a,
.menu ul li a.active {
background-image: url("gfx/pijltje.gif");
background-repeat: no-repeat; 
}

/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu ul ul {
visibility:hidden;
position:absolute;
bottom: 8px;
*bottom: -16px;
left:-138px; 
*left:-140px; 
text-align: right;
background: #FFE6B4;
border: 1px solid #DDBC7A;
border-bottom: none;
}

.menu ul li ul li {
overflow: hidden;
background: #FFE6B4;
border-bottom: 1px solid #DDBC7A;
height: 15px;
padding-right: 5px;
}

.menu ul li ul li a {
margin-left: -5px;
line-height: 15px;
}

.menu ul li ul li > a{
padding-right: -15px;
}

.menu ul li ul li a:hover,
.menu ul li ul li:hover a,
.menu ul li ul li:hover  {
background-color: #FFD685;
color: #333;
}

.menu ul li ul li.active a:hover,
.menu ul li ul li.active a,
.menu ul li ul li a.active {
background-image: url("gfx/pijltje.gif");
background-repeat: no-repeat; 
background-position: 7px 1px;
}

/* make the second level visible when hover on first level list OR link */
.menu ul li:hover ul,
.menu ul a:hover ul {
visibility:visible;
}
/* keep the third level hidden when you hover on first level list OR link */
.menu ul :hover ul ul{
visibility:hidden;
}
/* keep the fourth level hidden when you hover on second level list OR link */
.menu ul :hover ul :hover ul ul{
visibility:hidden;
}
/* make the third level visible when you hover over second level list OR link */
.menu ul :hover ul :hover ul{ 
visibility:visible;
}
/* make the fourth level visible when you hover over third level list OR link */
.menu ul :hover ul :hover ul :hover ul { 
visibility:visible;
}


