/*Styles used in the Superfish jQuery effects */

body {
 -moz-opacity: .999; /*to defeat firefox redraw problem with fade effect*/
}

#headerblock, #homeheaderblock {
	height: 180px;
	width: 720px;
	margin: 0 auto;
	background-color: #fff;
}

#headerimage, #homeheaderimage {
	display: block;
	height: 136px;
	width: 719px;
	background-color: #fff;
	float: left;
}

#homeheaderblock {
	height: 250px;
}

#homeheaderimage {
	height: 205px;
}

/*MENU STYLING*/

#menublock {
	width: 720px;
	position: relative;
	display: inline;
	float: left;
	clear: left;
	left: 50%;
	margin-left: -360px;
	margin-top: -5px;
	z-index: 1; /*Don't remove this! It's essential to defeat an IE6 z-index bug */
}


#menu a.menuitem {
	float: left;
	color: #516981;
	font-weight: bold;
	height: 27px;
	padding-top: 10px;
	font-size: 10px;
	
	text-align: left;
	margin-left: 0px;
	padding-left: 20px;
	width: 90px;
	text-decoration: none;
	display:inline;
	
	background: url(../images/menurightbar.png) no-repeat;
	background-position: bottom right;
}

#menu li {

	width: 100px;
	margin-left: 0px;
	padding-left: 0px;
	line-height: 15px;
	
}

#menu li a.menuitem:hover {
	text-align: left;
	margin-left: 0px;
	padding-left: 20px;
	width: 90px;
	text-decoration: none;
	display: inline;
	background-image: none;
	
}

/* link styles */
ul.nav a {
	text-decoration: none;
	display: block;
	padding: 2px 5px 5px 20px;
	color: #fff;
	width: 90px;
	font-weight: bold;
	font-size: 10px;
	background-color: #fff6B3;
	margin: 0;
}

#menu  li li a {
  /* style for links on pop-up menus */
  color: #516981;
}

#menu a:hover{
	background-color: #516981;
	color: #FFF;
	text-decoration: none;
}

/* main nav bar */
ul.nav {
	margin: 0;
	padding: 0;
	line-height: 1;
}

/* main nav list items */
ul.nav  li {
	margin:0;
	padding:0;
	list-style: none; /* remove bullets */
	float: left; /* place buttons side by side */
 	position: relative;
	display: inline;
}


/* pop-up subnav */
ul.nav ul {
	margin: 0;
	padding: 0;
	position: absolute;
 	left: 0px; /*This positions the sublink*/
  	top: 43px; /* change when you change height of links */
	z-index: 50;
	display: none;
	text-align: left;
	
}

/* list items in pop-up subnav */
ul.nav ul li {
	float: none; /* so links line up one above the other for drop-downs */
	
}
