﻿/* All <ul> tags in the menu including the first level */
.menulist ul {
 margin: 0;
 padding: 0;
 list-style: none;
}

.menulist {
	margin: 0;
	padding: 0;
	list-style: none;
	width: 796px;
	text-align: center;
}

.menulist ul {
 display: none;
 position: absolute;
 top: 1.0em; margin-top: 15px;
  left: -1px;
 width: 150px;
}

.menulist ul ul {
 top: -1px; margin-top: 0;
 left: 148px;
}

/*
 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 {
width:112px;
 height:auto;
 text-align: center;
 float: left;
 display: block;
 position: relative;
 background: #C8D6F1;
 border: 1px solid #000095;
 margin-right: -1px;
 font: normal 11px/18px Arial,verdana, Lucida Grande, Lucida Sans Unicode, lucida, sans-serif;
 
}

/* Items in submenus - override float/border/margin from above, restoring default vertical style */
.menulist ul li {
 float: none;
 margin: 0;
 margin-top:-1px;
 margin-bottom: -1px;
 text-align:center;
}

.menulist ul>li:last-child {
 margin-bottom: 1px; /* Mozilla fix */
}

/* Links inside the menu */
.menulist a {
 display: block;
 padding: 3px;
 color: #000071;
 text-decoration: none;
 text-align:center;
 
}

/* List  items: 'hover' is mouseover, 'highlighted' are parent items to visible menus */
.menulist a:focus {
 color: #FFF;
 background-color:teal;

}

.menulist a.highlighted:hover {
 color: #FFF;
 background-color:teal;

}

.menulist a:hover {
 color: #FFF;
 background-color:teal;

}

.menulist a.highlighted {
 color: #FFF;
 background-color: navy;
}


body#projects a#p9 {
background:navy;
color:white;
}

body#about a#p8 {
background:navy;
color:white;
}


body#contact a#p7 {
background:navy;
color:white;
}


body#links a#p6 {
background:navy;
color:white;
}


body#workforce a#p5 {
background:navy;
color:white;
}


body#staff a#p4 {
background:navy;
color:white;
}


body#membership a#p3 {
background:navy;
color:white;
}


body#events a#p2 {
background:navy;
color:white;
}


body#index a#p1 {
background:navy;
color:white;
}



/* 'Escaped Comment' hack for horizontal menubar width in IE5/Mac */
.menulist a {
 float: left;
}
.menulist ul a {
 float: none;
}
/* \*/
.menulist a {
 float: none;
	width: 106px;
}



/* */


/*
 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 */