/* CSS Document */

#menu {
width: 165px; /* set width of menu - 12em */
background: #b0cad4;
} 

#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:12px/16px Arial, Helvetica, sans-serif;
display: block;
border-width: 0px;
border-style: none;
border-color: #fff;
margin: 0;
}

/* #ccc #888 #555 #bbb  padding: 2px 3px; */

#menu h2 {
color: #fff;
background: #8eb3c2;
text-transform: uppercase;
}

#menu a {
color: white;
background: #8eb3c2;
text-decoration: none;
}

#menu a:hover {
color: white;
background: #b0cad4;
}

#menu li {
/* make the list elements a containing block for the nested lists */
position: relative;
} 

#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;}