/*	Horizontal menu - Version 3
 *	Based on Suckerfish Dropdowns - http://www.htmldog.com/articles/suckerfish/dropdowns/
 *	September 2006
 */

/*******************
 *  Edit this bit  *
 *******************/

#nav {
	/*background: #5A3F99 url(/images/220.gif) repeat-x;*/
	margin-left: 4px;
	margin-right: auto;
}

#nav a {
	/* set style of all menu elements */
	color: #FFFFFF;
	padding: 7px;
	text-decoration: none;
	font-weight: bold;
}

#nav li {
	/* set font size here */
	/*font-size: 105%;*/
	/*font-family: Verdana, sans-serif;*/
	border-left: 1px solid #FFFFFF;
}

#nav li.isfirst {
	border-left: none;
}

#nav a:hover {
	/* set style of hover here */
	color: #FFFFFF;
	text-decoration: underline;
}

#nav li ul {
	/* set style of 'drop-downs' here */
}

#nav ul a {
	/* set style of child elements here
	background-image: url(/images/53.gif);
	background-position: bottom right;
	background-repeat: no-repeat;*/
}

/* set width of top-level elements here */
/*#nav a, #nav li {width: 50px;}*/

/* set width of 'drop-downs' here */
#nav li ul, #nav li ul li, #nav li ul a {
	width: 180px;
	background: #5A3F99;
	border-bottom: 1px #999 solid;
	font-weight: normal;
}

/* set width of 'pop-outs' here */
#nav li ul ul {margin-left: 150px !important;}

/*******************************************
 *  You shouldn't need to edit below here  *
 *******************************************/

#nav, #nav ul {
	padding: 0 !important;
/*	margin: 0 !important;*/
	list-style: none;
/*	line-height: 1;*/
/*	position: absolute;
	z-index: 1000;*/
}

#nav a {
	display: block;
}

#nav li {
	float: left;
}

#nav li ul {
	position: absolute;
	left: -999em;
}

#nav li ul li.haschild a {
	background-image: url(/plugins/horizontal_menu/img/arr1.gif);
	background-repeat: no-repeat;
	background-position: 100% 50%;
}

#nav li ul li.haschild li a {
	background-image: none;
}

#nav li ul ul {
	margin-top: -20px !important;
}

#nav li:hover ul ul, #nav li.sfhover ul ul {
	left: -999em;
}

#nav li:hover ul, #nav li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul { /* lists nested under hovered list items */
	left: auto;
}

#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li.sfhover ul ul, #nav li.sfhover ul ul ul {
	left: -999em;
}

#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul, #nav li li li.sfhover ul {
	left: auto;
}

