/* All <ul> tags in the menu including the first level */
.menulist, .menulist  ul {
 margin: 0;
 padding: 0;
 list-style: none;
 z-index: 1000;
}

/* Submenus (<ul> tags) are hidden and absolutely positioned downwards from their parent */
.menulist ul {
 display: none;
 position: absolute;
 top: 1.0em; margin-top: 13px; /* I'm using ems and px to allow people to zoom their font */
 left: -1px;
 width: 150px !important /*Non-IE6*/; width: 170px /*IE6*/
}

/* Second and third etc. level submenus - position across from parent instead */
.menulist ul ul {
 top: -1px; margin-top: 0;
 left: 148px !important /*Non-IE6*/; left: 168px /*IE6*/
}

/*
 All menu items (<li> tags). 'float: left' lines them up horizontally, and they are
 positioned relatively to correctly offset submenus. Also, they have overlapping borders.
*/
.menulist li {
 float: left;
 display: block;
 position: relative;
 background: rgb(225,225,225);
 border-right: 2px solid #000;
 margin-right: -1px;  
}

/* Items in submenus - override float/border/margin from above, restoring default vertical style */
.menulist ul li {
 float: none !important /*Non-IE6*/;  float: left /*IE6*/;
 margin: 0;
 margin-bottom: -1px;
 border-right: 0px solid #330;
 width: 100% /*IE6*/;
 height: 1% /*IE6*/; 
} 


.menulist a {
 display: block;
 padding: 3px;
 color: #000;
 text-decoration: none;
}

/* Lit  items: 'hover' is mouseover, 'highlighted' are parent items to visible menus */
.menulist a:hover, .menulist a.highlighted:hover, .menulist a:focus {
 color: #FFF;
 background-color: rgb(75,75,75);
}

.menulist a.highlighted {
 color: #000;
 background-color: rgb(225,225,225);
}

.menulist a.xyz {
 background-image: url("../img/arrow_down.gif");
 background-repeat: no-repeat;
 background-position: right center;
}

/* Only style submenu indicators within submenus. */
.menulist a .subind {
 display: none;
}
.menulist ul a .subind {
 display: block;
 float: right;
}


/* 'Escaped Comment' hack for horizontal menubar width in IE5/Mac */
.menulist a {
 float: left;
}
.menulist ul a {
 float: none;
}
/* \*/
.menulist a {
 float: none;
 height: 1% /*IE6*/; 
}
/* */
