/* All <ul> tags in the menu including the first level */
.menulist, .menulist  ul {
font-family: 'Helvetica Neue', Arial, sans-serif;
font-size: 0.85em;margin: 0px;
line-height: 20px;font-weight: bold;
}

/* Submenus (<ul> tags) are hidden and absolutely positioned downwards from their parent */
.menulist ul {
 visibility: hidden;
 position: absolute;
 top: 24px; /* I'm using ems rather than px to allow people to zoom their font */
 left: 0px;
 width: 160px;
 padding:0px;margin:0px;
 border-left:1px solid #aaaaaa;
  border-right:1px solid #666666;
 border-bottom:1px solid #666666;
 background-color: #fafafa;

}

/* Second and third etc. level submenus - position across from parent instead */
.menulist ul ul {
 top: 0px; 
 left: 125px;
 width: 125px;
 padding-top:2px;
}

/*
 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;
 margin-right: -1px;
 height:24px;
 list-style-type: none;display: inline;padding: 0px;
}

/* Items in submenus - override float/border/margin from above, restoring default vertical style */
.menulist ul li {
 float: none; 
 padding:0px;
 background-color: #fafafa;
}

/* Links inside the menu */
.menulist a {
 display: block; 
 margin:0px;padding-left:8px;padding-right:8px;
 font-family: 'Helvetica Neue',Arial,Helvetica,Sans-Serif;
 line-height:24px;
 text-align:left;
 text-decoration:none;
}
.menulist a:visited, .menulist li a:visited {
color:#999;
}

.menulist a:hover, .menulist li a:hover {
color:#cc3333;
}

.menulist li li a {
color:#666;
}
/* Lit  items: 'hover' is mouseover, 'highlighted' are parent items to visible menus */
.menulist a:hover, .menulist a.highlighted:hover, .menulist a:focus {
 color: #ff0000;border:0px;
}
.menulist  a.highlighted {
 color: #ff0000;
}
.menulist li a:visited {
 color: #333;text-decoration:none;
}
.menulist li li a {
  background-color: #c5c5c5;
}
.menulist li li a:visited {
 color: #333;text-decoration:none;
}
.menulist li li a:hover {
 color: #ffffff;text-decoration:none;
 background-color: #A5a5a5;
}
/* Only style submenu indicators within submenus. */
.menulist a .subind {
 display:  none;
}

* html .menulist  ul li {
 float: left;
 height: 1%;

}
* html .menulist  a {
margin-left:0px;
}
* html .menulist li {
 padding:0px;
}

* html .menulist  ul a {
 height: 1%;

}

