.menulist, .menulist  ul {
 margin-top: 0px;
 padding-right:0px;
 list-style: none;
 float: none;
 font-family: Arial;
 font-size: 16px;
 font-weight: bold;
 
 


}


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

/* Second and third etc. level submenus - position across from parent instead */
.menulist ul ul {
 right: 181px; 
 margin-top: 0;
 
}

/*
 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: right;
 display: block;
 position: relative;
 height:25px;
 padding-top:6px;
  border-left:#fff solid 1px;
  border-right:#cccccc solid 1px;
  

}

/* Items in submenus - override float/border/margin from above, restoring default vertical style */
.menulist ul li {

 height:auto;
 width: 200px;
 background-color:#40474a;
 border:#fff solid 1px;
}
.menulist ul>li:last-child {
 margin-bottom: 1px; /* Mozilla fix */
}

/* Links inside the menu */
.menulist a {
 display: block;
 padding: 0px;
 color: #ccc;
 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: #40474a;
 margin-top:-6px;
 padding-top:6px;
 padding-bottom:5px;
 background-color: #fff;
  background-image:url(../images/me.gif);
 background-repeat:repeat-x;
 background-position:top;

}

.menulist a.highlighted {
 color: #851607;
 margin-top:-6px;
 padding-top:6px;
 padding-bottom:5px;
 background-color: #fff;
  background-image:url(../images/me.gif);
 background-repeat:repeat-x;
 background-position:top;
}

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


/* 'Escaped Comment' hack for horizontal menubar width in IE5/Mac */
.menulist a {
 xfloat: left;

  padding-right: 5px;
  padding-left: 5px;
  
}
.menulist ul a {
 xfloat: none;
  color:#fff;
   margin-top:-6px;
 padding-top:6px;
 padding-bottom:5px;
   

}
/* \*/
.menulist a {
 float: none;
  color:#40474a;

}
/* */

*:first-child+html .menulist ul li {
 xfloat: left;
 width: 100%;
}

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