/* HORIZONTAL FREESTYLE MENU LAYOUT */
/* All <ul> tags in the menu including the first level */

.menulist {
 margin: 0;
 padding: 0;
 list-style: none;
}
.navbtn{
 margin: 0;
 padding: 0;
}
/* Submenus (<ul> tags) are hidden and absolutely positioned downwards from their parent */
.menulist ul {
  font-size: 12px;
  font-weight:bold;
 display: none;
 position: absolute;
 background-color:#63B8C1;
 top: 1.25em;
 margin: 12px 0 1px 22px; /* I'm using ems and px to allow people to zoom their font */
 left: 0px;
 padding: 0 0 8px 0px;
 
  border-bottom: 1px solid #63B8C1;
# border-bottom: 2px solid #63B8C1;
_ border-bottom: 2px solid #63B8C1;
/* hash hack override for all ie  - underscore hack overrides for ie 6 and older */
}

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

/*
 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;
 display: block;
 position: relative;
 margin-right: -1px;
 padding-left:0px;
 height:12px;
margin-bottom: 1px;
padding-bottom: 2px;
}

/* Items in submenus - override float/border/margin from above, restoring default vertical style */
.menulist ul li {
 float: none;
 margin:3px 0 6px 6px;
}
.menulist ul>li:last-child {
 margin-bottom: 1px; /* Mozilla fix */
}

/* Links inside the menu */
.menulist a {
 display: block;
 padding: 3px;
height:17px;
 color: #CFF9FF;
 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: #ffffff;
 background-color:#387CBB;
}
.menulist a.highlighted {
 color: #ffffff;
}

/* 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;
padding:0;
margin:0;
}
.menulist ul a {
 float: none;
}
/* \*/
.menulist a {
 float: none;
}
/* */


/*
 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 ul li {
 float: left;
 width: 100%;
}

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