.menulist2, .menulist2  ul {
 margin: 0;
 padding: 0;
 list-style: none;
}

/* Submenus (<ul> tags) are hidden and absolutely positioned downwards from their parent */
.menulist2 ul {
 visibility: hidden;
 position: absolute;
 top: 2.1em; /* I'm using ems rather than px to allow people to zoom their font */
 left: 0px;
 width: 170px;
}


.menulist2 ul ul {
 top: 0px;
 left: 155px;
}

/*
 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.
*/
.menulist2 li {
 float: left;
 position: relative;
 margin-right: -1px;
}

/* Items in submenus - override float/border/margin from above, restoring default vertical style */
.menulist2 ul li {
 float: none;
 padding:5px;
 margin-right: 0;
 margin-bottom: -1px;
 background:#005687;
}
.menulist2 ul>li:last-child {
 margin-bottom: 1px;
}

/* Links inside the menu */
.menulist2 a {
 display: block;
 padding: 3px;
 color: #FFFFFF;
 text-decoration:  none;
}

/* Lit  items: 'hover' is mouseover, 'highlighted' are parent items to visible menus */
.menulist2 a:hover, .menulist2 a.highlighted:hover, .menulist2 a:focus {
 color: #FFFFFF;
}
.menulist2  a.highlighted {
 color: #FFFFFF;
 background-color: #1A8BCB;
}

/*
 If you want per-item background images in your menu items, here's how to do it.
 1) Assign a unique ID tag to each link in your menu, like so: <a id="xyz" href="#">
 2) Copy and paste these next lines for each link you want to have an image:
    .menulist2 a#xyz {
      background-image: url(out.gif);
    }
    .menulist2 a#xyz:hover, .menulist2 a.highlighted#xyz, .menulist2 a:focus {
     background-image: url(over.gif);
    }
*/

/* Only style submenu indicators within submenus. */
.menulist2 a .subind {
 display:  none;
}
.menulist2 ul a .subind {
 display:  block;
 float: right;
}

/* 'Escaped Comment' hack for horizontal menubar width in IE5/Mac */
.menulist2 a {
 float: left;
}
.menulist2 ul a {
 float: none;
}
/* \*/
.menulist2 a {
 float: none;
}
/* */


/* This semi-commented section exists to fix bugs in IE/Windows (the 'Holly Hack'). \*/
* html .menulist2  ul li {
 float: left;
 height: 1%;
}
* html .menulist2  ul a {
 height: 1%;
}
/* End Hack */