#menu {
width: 227px; /* set width of menu */
margin-top: 20px;
} 

#menu ul { /* remove bullets and list indents */
list-style: none;
margin: 0;
padding: 0;
}

/* style, color and size links and headings to suit */
#menu a, #menu h2 {
font: bold 1.05em Arial, Helvetica, sans-serif;
display: block;
margin: 0;
padding: 10px 7px;
}

#menu a {
		color:#06369B;
		font-family:Arial, Helvetica, sans-serif;
		font-size:1.1em;
		font-weight: bold;
		text-decoration:none;
		padding:18px 120px 18px 18px;
		background-image:url(../images/menu.gif);
		background-repeat:no-repeat;
		background-position:35px;
}

#menu a:hover {
		color:#fff;
		text-decoration:none;
		background-image:url(../images/bgmenu_mo.gif);
		background-repeat:no-repeat;
		background-position:20%;
}

/*positioning the popouts */
#menu li {
/* make the list elements a containing block for the nested lists */
position: relative;
} 

#menu ul ul ul {
position: absolute;
top: 17px;
left: 128px; /* to position them to the right of their containing block */
width: 91px; /* width is based on the containing block */

}

#menu ul ul ul a {
font: bold 0.95em Arial, Helvetica, sans-serif;
display: block;
border-bottom:2px solid #fff;
border-left:1px solid #fff;
margin: 0;
padding: 1px 7px;
text-align: left;
background-image:url(../images/bgmenu.gif);
		background-repeat:no-repeat;
		background-position:0px;
}

#menu ul ul ul a:hover {
		color:#fff;
		text-decoration:none;
display: block;
border-bottom:1px solid #fff;
border-left:1px solid #fff;
margin: 0;
padding: 1px 7px;
background: #9999CC;
}


/*hiding and revealing using hover*/
div#menu ul ul ul,
div#menu ul ul li:hover ul ul
{display: none;}

div#menu ul ul li:hover ul,
div#menu ul ul ul li:hover ul
{display: block;}

/*onderstaande stijl om de selected-state in het menu te regelen*/
.selected{color:#fff !important; 
		text-decoration:none;
		background-image:url(../images/bgmenu_mo.gif) !important;
		background-repeat:no-repeat !important;
		background-position:20% !important;