/* OFFICE-STYLE FREESTYLE MENU LAYOUT */

/* All <ul> tags in the menu including the first level */
.menulist, .menulist ul {
 margin: 0;
 padding: 0px;
 width: 199px;
 list-style: none;
 z-index:100;
 position:relative;
 border: none;
}

/* Submenus (<ul> tags) are hidden and absolutely positioned across from their parent */
.menulist ul {
 display: none;
 position: absolute;
 top: 0;
 left: 200px;
}

.menulist ul ul {
 display: none;
 position: absolute;
 top: 0;
 left: 250px;
}

/* All menu items (<li> tags) are relatively positioned (to correctly offset submenus). */
.menulist li {
 position: relative;
 border: none;
 border-bottom: 1px dashed #49728c;
}

/* Links inside the menu */
.menulist li a {
 display: block;
 font-size: 10pt;
 color: #fff;
 font-family: Verdana;
 padding: 4px 4px 4px 15px;
 text-decoration: none; 
 border:none;
 margin: 0;
}
/* HACKS: MSIE6 doesn't support transparent borders, mimic with margins 
* html .menulist li a {
 border-width: 0;
 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, .menulist a.highlighted {
 display: block;
 color: #0c4365;
 background: #e4e4e4;
 font-size: 10pt;
 font-family: Verdana;
 padding: 4px 4px 4px 15px;
 border:none;
 text-decoration: none; 
 
}

.menulistsub, .menulistsub ul {
 margin: 0;
 padding: 0px;
 width: 270px;
 list-style: none;
 border: none;
}
.menulistsub li {
 position: relative;
 width: 270px;
 border: none;
}

.menulistsub li a {
 display: block;
 font-size: 10pt;
 color:#fff;
 background:#0c4365;
 font-family: Verdana;
 padding: 4px 4px 4px 15px;
 text-decoration: none; 
 border:none;
 margin: 0;
}
.menulistsub a:hover, .menulistsub a.highlighted:hover, .menulistsub a:focus, .menulistsub a.highlighted {
 display: block;
 color: #0c4365;
 background: #e4e4e4;
  color: #0c4365;
 background: #86a1b2;
 font-size: 10pt;
 font-family: Verdana;
 padding: 4px 4px 4px 15px;
 border:none;
 text-decoration: none; 
}


/*
 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 *:first-child+html affects IE7.
 You may want to move these to browser-specific style sheets.
*/
*:first-child+html .menulist li {
 float: left;
 width: 100%;
}

* html .menulist li {
 float: left;
 height: 1%;
}
* html .menulist a {
 height: 1%;
}
/* End Hacks */