/* HORIZONTAL FREESTYLE MENU LAYOUT */

/* All <ul> tags in the menu including the first level */
.menulist, .menulist  ul {
 font-family: Trebuchet MS, Tahoma, Arial, sans-serif;
 font-size: 12px; /*font size for entire menu*/
 font-weight:bold; /*font weight for entire menu*/
 margin: 0;
 padding: 0; /*moves main menu to left and submenus 2x left*/
 list-style: none;
 text-align: center;
}

/* Submenus (<ul> tags) are hidden and absolutely positioned downwards from their parent */
.menulist ul {
	visibility: hidden;
	position: absolute;
	text-align: left;
	font-weight:normal;
	top: 1.5em; /*moves submenu down - em for text zoom support*/
	left: 0px;
	padding-top:2px;
	background-color: #EAEAEA;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-right-color: 336699;
	border-bottom-color: 336699;
	border-left-color: 336699;
}

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

/*
 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 (when margin-right set to -1).
*/
.menulist li {
	float: left;
	position: relative;
	margin-right: 6px; /*space between buttons*/
	width: 110px;
	background-color: 336699;
}

/* Items in submenus - override float/border/margin from above, restoring default vertical style */
.menulist ul li {
 float: none;
 margin-bottom: 0px;
 margin-right:0px;
 background-color: #EAEAEA; /*submenu bg*/
 width: 108px; /* 110 width - 2 for 1px border on each side*/
}
.menulist ul>li:last-child {
 margin-bottom: 2px;
}

/* Links inside the menu */
.menulist a {
 display: block;
 padding: 0px;
 color: #FFFFFF;
 text-decoration:  none;

     
}
.menulistsub a {
 display: block;
 padding-top: 0px;
 padding-bottom: 0px;
 padding-left: 6px;
 color: #666666;
 text-decoration: none;
 border: none;
     
}

/* Lit  items: 'hover' is mouseover, 'highlighted' are parent items to visible menus 1B3C6B 8192AB*/
.menulist a:hover, .menulist a.highlighted:hover, .menulist a:focus {
	color: #FFFFFF;
	background-color: #3399cc;
	text-decoration: none;
}
/* parents hover color*/
.menulist  a.highlighted {
	color: #FFFFFF;
	background-color: #66ccff;
	text-decoration: none;
}

/*my hack for IE, if setting buttons to specific width, this makes whole button a link not just the text*/
* html .menulist  li a {
 width: 100%;
}

/*
 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);
    }
*/

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

/* 'Escaped Comment' hack for horizontal menubar width in IE5/Mac */
.menulist a {
 float: left;
 text-decoration: none;
}
.menulist ul a {
 float: none;
 text-decoration: none;
}
/* \*/
.menulist a {
 float: none;
 text-decoration: none;
}
/* */


/* This semi-commented section exists to fix bugs in IE/Windows (the 'Holly Hack'). \*/
* html .menulist  ul li {
 float: left;
 height: 1%;
}
* html .menulist  ul a {
 height: 1%;
}
/* End Hack */
