/*
All you have to do is ensure the script has the correct CSS property name
(like 'visibility' or 'display') that changes to show/hide menus.
*/
/* All <ul> tags in the menu including the first level */
.menulist, .menulist  ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Submenus (<ul> tags) are hidden and absolutely positioned downwards from their parent */
.menulist ul {
	display: none;
	position: absolute;
	top: 16px; margin-top: 13px;
	left: -1px;
	width: 150px;
}

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

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

.menulist a {
	display: block;
	padding: 0 10px;
	text-decoration: none;
	line-height:30px;
	color:#fff;
	text-transform:uppercase;
}

.menulist a:hover, .menulist a.highlighted { color:#ced3e7;}

/* Items in submenus - override float/border/margin from above, restoring default vertical style */
.menulist ul li {
	float: none;
	margin: 0;
	/*margin-bottom: -1px;*/
	margin-bottom: 0px;
}
.menulist ul li a, .menulist ul li a:hover, .menulist ul li a.highlighted {color:#555;}


.menulist ul>li:last-child {
	margin-bottom: 1px; /* Mozilla fix */
}



/* Lit  items: 'hover' is mouseover, 'highlighted' are parent items to visible menus */
.menulist a:hover, .menulist a.highlighted:hover, .menulist a:focus {
	
}
/*
.menulist ul li a.highlighted {
	color:#FF0000;
}
*/

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


.menulist ul li { border-bottom:2px dotted #174e8f; background-color:#fff;}
.menulist ul li a {/* background:#fff url(../pix/menu-bg.gif) repeat-x bottom;*/}
.menulist ul li a:hover, .menulist ul li a.highlighted {background-color:#ced3e7; /*background:#ced3e7 url(../pix/menu-bg-hover.gif) repeat-x bottom;*/}















/* 'Escaped Comment' hack for horizontal menubar width in IE5/Mac */
.menulist a {
 float: left;
}
.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 */
