#menu {
width: 151px; /* set width of menu */
text-align: right;


} 

#menu ul { /* remove bullets and list indents */
list-style: none;
margin: 0;
padding: 0;



}

/* style, color and size links and headings to suit */
#menu ul a {
	font: bold 0.75em "Comic Sans MS", Geneva, Arial, Helvetica, sans-serif;
	display: block;
	margin: 0;
	padding: 10px 7px 10px 6px;
	color: #B11515;
	text-decoration: none;
	text-transform: uppercase;
}

.smaller {
font-size: 0.9em;
}

#menu a:hover {
color: #0D1D73;
background:url(../images/bgmenu.gif) no-repeat right;

}

/*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: 6px;
left: 151px; /* to position them to the right of their containing block */
width: 186px; /* width is based on the containing block */
}

#menu ul ul ul.wider{
position: absolute;
top: 6px;
left: 151px; /* to position them to the right of their containing block */
width: 186px; /* width is based on the containing block */
}

#menu ul ul ul a {
font: bold 0.7em "Comic Sans MS", Geneva, Arial, Helvetica, sans-serif;
text-transform: uppercase;
display: block;
margin: 0px;
padding: 3px 7px 3px 6px;
text-align: left;
background: url(../images/bgmenusub.gif) repeat;
border-top:1px solid #0D1D73;
border-bottom:1px solid #0D1D73;
border-left:2px solid #0D1D73;
border-right:2px solid #0D1D73;
}

#menu ul ul ul a:hover {
color: #0D1D73;
background: #ccc url(../images/bgmen2usub.gif) no-repeat left;
}


/*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{background: url(../images/bgmenu.gif) no-repeat right !important; color:#0D1D73 !important;}



