/* ======================================================
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 {
height:150px;
width: 225px;
font-size:100%;
margin:130px 0px 50px 61px; /* this page only */


}

/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
position:relative;
z-index:500;
padding:0;
margin:0;
list-style-type:none;
width:154px;

}
/* style the list items */
.menu li {
height:30px;
/* for IE7 */
float:left;
text-align: right;
font-weight: bold;
margin: 1px 0px 1px 0px;


}

/* style the sub list items */
.menu ul ul li {
background:#f2bb00;
height:30px;
/* for IE7 */
float:left;
text-align: left;
border-left:10px solid #fff;
font-weight: bold; 
font-size: 100%; 
}


/* 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:30px;
line-height:30px;
width:153px;
color:#000;
text-indent:10px;
padding-right: 10px;
background:#f2bb00;
}
/* hack for IE6 */
* html .menu a, * html .menu a:visited {width:154px; w\idth:154px;}
/* style the link hover */
* html .menu a:hover {color:#fff; font-weight: bold; background:#3589ea; position:relative;}

.menu li:hover {position:relative; }





/* For accessibility of the top level menu when tabbing */
.menu a:active, .menu a:focus {color:#fff; background:#3589ea;}

/* retain the hover colors for each sublevel IE7 and Firefox etc */
.menu li:hover > a {color:#fff;  background:#3589ea ;}
 
/* 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:-30px;
/* set up the overlap (minus the overrun) */
left:134px;
/* set up the overrun area */
padding:30px;
/* this is for IE to make it interpret the overrrun padding */
background:transparent url(../images/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;
}



/*onderstaande stijl om de selected-state in het menu te regelen*/
.selected{background:#3589ea !important; color:#fff !important;}

#home .home, #bewoners .bewoners, #over .over, #links .links, #contact .contact, #media .media, #foto .foto, #vrienden .vrienden, #wonen .wonen, #begeleiding .begeleiding, #vrijwilligers .vrijwilligers  { background:#3589ea !important; color:#fff !important; 
}