div {
	font-family: Tahoma, Helvetica;
}

#menu {
width: 14em; /* set width of menu */
background: #FFFFE8;
} 

#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, #menu h1, #menu h4 {
font: bold 11px/16px arial, helvetica, sans-serif;
display: block;
border-width: 1px;
border-style: solid;
border-color: #ccc #888 #555 #bbb;
margin: 0;
padding: 2px 3px;
}

#menu h2 {
color: #ffffff;
background: #800000;
-moz-border-radius-topright: 15px 10px;
border-top-right-radius: 15px 10px;
-moz-border-radius-topleft: 15px 10px;
border-top-left-radius: 15px 10px;
}

#menu h1 {
color: #000;
background: #efefef;
}

#menu h4 {
color: #000;
background: #FEEEBB;
}

#menu a {
color: #000;
background: #FEEEBB;
text-decoration: none;
}

#menu a:hover {
color: #000000;
background: #FFFFE8;
}

#menu li {
/* make the list elements a containing block for the nested lists */
position: relative;
z-index:500;
} 

#menu ul ul ul {
position: absolute;
top: 0;
left: 100%; /* to position them to the right of their containing block */
width: 100%; /* width is based on the containing block */
}

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;}
