/*Based on Superfish menu CSS 
(http://users.tpg.com.au/j_birch/plugins/superfish/css/superfish.css)*/


/*** ESSENTIAL STYLES ***/
#nav-main, #nav-main * {
	margin:	0;
	padding: 0;
	list-style:	none;
}
#nav-main {
	line-height: 1.0;
}
#nav-main ul {
	position: absolute;
	top: -999em;
	width: 10em; /* left offset of submenus need to match (see below) */
}
#nav-main ul li {
	width:	100%;
}
#nav-main li:hover {
	visibility:	inherit; /* fixes IE7 'sticky bug' */
}
#nav-main li {
	float: left;
	position: relative;
	background:url(../images/navbtn_up.jpg) no-repeat;
	list-style: none; 
	font-family: arial, helvetica, sans-serif;
	font-size: 1.1em;
	font-weight:normal;
	text-align:center;
	width: 130px;
	height: 26px;
	margin: 0 1px;
}

#nav-main li.selected a {
	color: #4a0d40;
}

#nav-main a {
	display: block;
	position: relative;
	padding-top: 6px;
	color: #851372;
	text-decoration: none;
	font-weight: bold;
}
#nav-main li:hover ul,
#nav-main li.sfHover ul {
	left: 0;
	top: 1.95em; /* match top ul list item height */
	width: 150px;
}

#nav-main li li {
	display: block;
	width: 128px;
	height: 28px;
	background:	#851372;
	border-top: 1px solid #efe0ed;
	border-left: none;
	border-right: none;
}

#nav-main li a:hover {
	color: #4a0d40 !important; 
}

#nav-main li:hover {
	background:url(../images/navbtn_over.jpg) no-repeat;
}

#nav-main li li:hover {
	background: #d5a3cd;
}

#nav-main li li a {
	color: #ffffff !important;
	display: block;
	height: 22px;
	font-weight: normal;
	font-size: 0.8em;
	line-height: normal;
}

#nav-main li li a:hover {
	background: #d5a3cd;
	color: #5f1152 !important;
	height: 22px;

}

ul#nav-main li:hover li ul,
ul#nav-main li.sfHover li ul {
	top:			-999em;
}
ul#nav-main li li:hover ul,
ul#nav-main li li.sfHover ul {
	left:			10em; /* match ul width */
	top:			0;
}
