/* SOURCE: http://www.seoconsultants.com/css/menus/horizontal/ */

#menu {
/*width: 140px; /* set width of menu */
background: #eee;
z-index: 11;
float: left;
} 

/* style, color and size links and headings to suit */
#menu a, #menu h2 {
font-family: Tahoma, Geneva, sans-serif;
font-size: 9pt;
font-variant: small-caps;
display: block;
border-right: solid #ccc 1pt;
border-bottom: solid #ccc 1pt;
border-left: solid white 1pt;

/*border-style: solid;
border-width: 1px;
border-color: #ccc #888 #555 #bbb; */
margin: 0;
white-space:nowrap;
padding: 2px 10px 2px 8px;
}

#menu h2 {
text-transform: uppercase;
}

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

#menu a, #menu a:visited{
color:#000;
}

#menu a:hover, #menu a:active {
color: #a00;
background: #dfdfdf;
border-bottom: solid #333333 1pt;
border-right: solid #333333 1pt;
}

#menu ul { /* remove bullets and list indents */
list-style: none;
margin: 0;
padding: 0;
z-index: 12;
float: left; 
}

#menu li {
position: relative;
z-index: 12;
width: 110px;
} 

#menu ul ul {
/* ist-style: none;
position: relative;
top: 0;
float: left;
left: 0; */

position: absolute;
top: auto;
display:none;
z-index: 499;
}

#menu li ul li {
width: 160px;
z-index: 500;
}


#menu ul ul ul {
position: absolute;
top: 0;
left: 100%;
z-index: 3;
}

/* Begin non-anchor hover selectors */

/* Enter the more specific element (div) selector
on non-anchor hovers for IE5.x to comply with the
older version of csshover.htc - V1.21.041022. It
improves IE's performance speed to use the older
file and this method */

div#menu li:hover{
cursor:pointer;
z-index:100;
}

div#menu li:hover ul ul,
div#menu li li:hover ul ul,
div#menu li li li:hover ul ul,
div#menu li li li li:hover ul ul
{display:none;}

div#menu li:hover ul,
div#menu li li:hover ul,
div#menu li li li:hover ul,
div#menu li li li li:hover ul
{display:block;}
