/* All <ul> tags in the menu including the first level */

.menulist {
   margin: 0;
   padding: 1px;
   width: 160px;
   list-style: none;
   background: #B5BACE;
}
.menulist ul {
   margin: 0;
   padding: 1px;
   width: 160px;
   list-style: none;
   background: #B5BACE;
   border: 1px solid #654;
}

/* Submenus (<ul> tags) are hidden and absolutely positioned across from their parent */
.menulist ul {
   display: none;
   position: absolute;
   top: 0;
   left: 160px;
}

/* All menu items (<li> tags) are relatively positioned (to correctly offset submenus). */
.menulist li {
   position: relative;
}

/* Links inside the menu */
.menulist li a {
   font-family: arial;
   font-size: 10pt;
   display: block;
   padding: 3px 4px 3px 10px;
   color: #000;
   text-decoration: none;
   border: 1px solid transparent;
   margin: 0;

}
/* HACKS: MSIE doesn't support transparent borders, mimic with margins */
*+html .menulist li a {
   border: none;
   margin: 1px;
}
* html .menulist li a {
   border: none;
   margin: 1px;
}

/*
 Lit items: hover/focus = the current item. 'highlighted' = parent items to visible menus.
 Here, active items are given a border, and a padding tweak to 'elevate' the text within.
 Feel free to use background-image:url(file.gif) instead of background-color:#nnn here...
*/
.menulist a:hover, .menulist a.highlighted:hover, .menulist a:focus {
   color: #FFF;
   background-color: #46A;
   padding: 2px 5px 4px 10px;
   border: 1px solid #ADF;
   margin: 0;
}
.menulist a.highlighted {
   color: #FFF;
   background-color: #68C;
   border: 1px solid #CDE;
   margin: 0;
}

/*
 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:
    .menulist a#xyz {
      background-image: url(out.gif);
    }
    .menulist a#xyz:hover, .menulist a.highlighted#xyz, .menulist a:focus {
     background-image: url(over.gif);
    }
*/


/* 'subind' submenu indicators, which are automatically prepended to 'A' tag contents. */
.menulist a .subind {
   float: right;
}

/*
 HACKS: IE/Win:
 A small height on <li> and <a> tags and floating prevents gaps in menu.
 * html affects <=IE6 and *+html affects IE7.
 You may want to move these to browser-specific style sheets.
*/
*+html .menulist li {
   float: left;
   height: 1%;
}
*+html .menulist a {
  height: 1%;
}
* html .menulist li {
   float: left;
   height: 1%;
}

* html .menulist a {
   height: 1%;
}
/* End Hacks */