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

.menulist {
	margin-top:-1px;
}

/* Submenus (<ul> tags) are hidden and absolutely positioned downwards from their parent */
.menulist ul {
 visibility: hidden;
 position: absolute;
 top: 2.5em; /* I'm using ems rather than px to allow people to zoom their font */
 left: 0px;
 width: 120px;
}

/* Second and third etc. level submenus - position across from parent instead */
.menulist 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.
*/
.menulist li {
 float: left;
 position: relative;
 /*background: #000000;*/
 /*border: 1px solid #330;*/

 /*just tryin it out*/
 /*margin: 2px;*/
 padding:0px;
}
.menulist>li {
 margin-left:4px;
}

/* Items in submenus - override float/border/margin from above, restoring default vertical style */
.menulist ul li {
 float: none;
 margin:0px 0px -1px 0px;
 border: 1px solid #999999;
 background: #000000;
 /*display:block;*/
}
/*.menulist ul>li:last-child {
 margin-bottom: 1px;
}*/

/* Links inside the menu */
.menulist a {
 display: block;
 padding: 3px;
 color: #ffffcc;
 text-decoration:  none;
}

/* Lit  items: 'hover' is mouseover, 'highlighted' are parent items to visible menus */
.menulist ul a:hover, .menulist ul a.highlighted:hover, .menulist ul a:focus {
 color: #000000;
 background-color: #cccccc;
}
.menulist ul a.highlighted {
 color: #000000;
 background-color: #eeeeee;
}

/* 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;
}
/* */


/* This semi-commented section exists to fix bugs in IE/Windows (the 'Holly Hack'). \*/
* html .menulist  ul li {
 float: left;
 height: 1%;
}
* html .menulist  ul a {
 height: 1%;
}
/* End Hack */