/* All <ul> tags in the menu including the first level */
.menulist, .menulist ul {
 margin: 0px;
 padding: 0px;
 width: 231px;
 list-style: none;
 background: transparent;
 border: none;
}

/* Submenus (<ul> tags) are hidden and absolutely positioned across from their parent */
.menulist ul {
 display: none;
 position: absolute;
 top: 0;
 left: 231px;
}

/* submenu 2nd-3rd-4th level */
.menulist ul {
 background-color: #b7cf3b;
}
.menulist ul ul {
 background-color: #808080;
}
.menulist ul ul ul {
 background-color: #606060;
}
/* All menu items (<li> tags) are relatively positioned (to correctly offset submenus). */
.menulist li {
 position: relative;
 line-height: 29px;
}

/* Links inside the menu */

.menulist li a {
 display: block;
 padding: 0px 0px 0px 40px;
 color: white;
 text-decoration: none;
 border: none;
 margin: 0px;
 font-size: 11px;
}

.menulist li a:visited {
 color: white;
}
/* HACKS: MSIE6 doesn't support transparent borders, mimic with margins
* html .menulist li a {
 border-width: 0;
 margin: 0px;
}
*/

/*
 Lit items: hover/focus = the current item. 'highlighted' = parent items to visible menus.
*/
.menulist a:hover, .menulist a.highlighted:hover, .menulist a:focus {
 color: white;
 background-color: #b7cf3b;
 padding: 0px 0px 0px 40px;
 border: none;
 margin: 0px;
}
.menulist li a.highlighted {
 color: white;
 background-color: #b7cf3b;
 border: none;
 margin: 0;
}

/* Lit items 2nd-3rd level */
.menulist ul a:hover, .menulist ul a.highlighted:hover, .menulist ul a:focus {
 color: white;
 background-color: #808080;
 padding: 0px 0px 0px 40px;
 border: none;
 margin: 0;
}
.menulist ul li a.highlighted {
 background-color: #808080;
}

/* Lit items 2nd-3rd level */
.menulist ul ul a:hover, .menulist ul ul a.highlighted:hover, .menulist ul ul a:focus {
 background-color: #696969;
}
.menulist ul ul li a.highlighted {
 background-color: #696969;
}

.menulist ul ul ul a:hover, .menulist ul ul ul a.highlighted:hover, .menulist ul ul ul a:focus {
 background-color: #505050;
}

/* 'subind' submenu indicators, which are automatically prepended to 'a' tag contents. */
.menulist a .subind {
 float: right;
 background: transparent url('arrowtrans.gif') no-repeat center right;
 width: 15px;
 height: 25px;
 margin-top: 2px;
}

/*
 HACKS: IE/Win:
 A small height on <li> and <a> tags and floating prevents gaps in menu.
 * html affects <=IE6 and *:first-child+html affects IE7.
 You may want to move these to browser-specific style sheets.
*/
*:first-child+html .menulist li {
 float: left;
 width: 100%;
}

* html .menulist li {
 float: left;
 height: 1%;
}
* html .menulist a {
 height: 1%;
}
/* End Hacks */

