/** navigation **/

#mainnav {	
	position:relative;
	height: 30px;
	margin:0 0 20px 2px;
	padding:0;
	background: url('/_assets/images/structure/menu_bg_100year.jpg') no-repeat 0 0;
	z-index:100;
}

#mainnav ul {
	margin:0;
	padding:0;
	float:left;
}

#mainnav ul li {
	float:left;
	margin: 0 auto;
	padding: 0;
	padding-top: 4px;
	list-style-type:none;
	background: url('/_assets/images/structure/menu_seperator.gif') no-repeat 0 .2em;
}

#mainnav ul li#first {
	background: none;
}

#mainnav ul li a {
	float:left;	
	font-weight: bold;
	height: 18px;
	padding: 4px 20px;
	margin:0;
	text-transform:uppercase;
	color:#FFF;
	font-size:1.1em;
}

#mainnav ul li a.active, #mainnav ul li a:hover {
	color: #440000;
	background: url('/_assets/images/structure/mainnav_ul_li_bg.gif') repeat-x 0 22px;
	text-decoration:none;
}

#mainnav ul li ul li {
	border:1px solid #FB8989;
	background:#eb5e5e;
	display:inline;
	margin: -1px 0 0 1px;
	padding:0 0 0 4px;
	position:relative;
	z-index:20;
}

#mainnav ul li ul li.first {
	margin-top: 6px;
	border-top:0;
}

#mainnav ul li ul li.first a {
	border-top:0;
}

#mainnav ul li ul li a {
	float:none;
	border: 1px solid #a30001;
	padding:1px 8px 1px 9px;
	margin-left:-4px;
	text-transform:none;
	color:#700404;
	font-size: 12px;
	width:129px;
	display:block;
	font-weight: normal;
	line-height: 20px;
}

#mainnav ul li ul li a.jubilee {
	font-weight: bold;
	color: #ede048;
}

#mainnav ul li ul li a:hover {
	color:#FFF;
	text-decoration:none;
	font-weight: bold;
}

#mainnav ul li ul li a.drop {
	background: url('/_assets/images/icons/mainnav_ul_li_drop.gif') no-repeat 98% .5em;
}

#mainnav ul li ul li ul li {
	background: #FFF;
	border-left: 0;
	/*border: 1px solid #CCC;*/
	margin-left: -1px;
}

#mainnav ul li ul li ul li.first {
	margin-top: 0px;
}

#mainnav ul li ul li ul li.first a {
	border-left: 1px solid #a30001;
	border-top: 1px solid #eb5e5e;
}

#mainnav ul li ul li ul li a:hover {
	color: #440000;
}

/* drop down */

/* Get rid of the margin, padding and bullets in the unordered lists */
#dropnav, #dropnav ul {
	position:relative;
	z-index:10;
}

/* Set up the link size, color and borders */
#dropnav a, #dropnav a:visited {
	display:block; 
	text-decoration:none;
}

/* For Non-IE browsers and IE7 */
#dropnav li:hover {
	position:relative;
}

/* Make the hovered list color persist */
#dropnav li:hover > a {
	/*border-bottom:4px solid #FFF;*/
	color: #440000;
	background: url('/_assets/images/structure/mainnav_ul_li_bg.gif') repeat-x 0 22px;	
}

#dropnav li li:hover > a {
	border-top:1px solid #fb8989;
	color:#aa0000;
	font-weight: bold;
}

/* Set up the sublevel lists with a position absolute for flyouts and overrun padding. The transparent gif is for IE to work */
#dropnav li ul {
	display:none;
}

/* For Non-IE and IE7 make the sublevels visible on list hover. This is all it needs */
#dropnav li:hover > ul {
	display:block; 
	position:absolute; 
	top:0px;
	left:119px; 
	padding:0 30px 30px 30px; 
	margin:14px 0 0 -1px;
}

#dropnav li:hover > ul ul {
	margin-top:0;
}

/* Position the first sub level beneath the top level liinks */
#dropnav > li:hover > ul {
	left:-30px; 
	top:10px;
}

/* get rid of the table */
#dropnav table {
	position:absolute; 
	border-collapse:collapse; 
	top:0; 
	left:0; 
	z-index:100; 
	font-size:1em;
}

/* For IE5.5 and IE6 give the hovered links a position relative and a change of background and foreground color. This is needed to trigger IE to show the sub levels */
* html #dropnav li a:hover {
	position:relative; 
}

/* This lot is for IE5.5 and IE6 ONLY and is necessary to make the sublevels appear */

/* change the drop down levels from display:none; to visibility:hidden; */

* html #dropnav li ul {
	visibility:hidden; 
	display:block; 
	position:absolute; 
}

/* keep the third level+ hidden when you hover on first level link */
#dropnav li a:hover ul ul{
	visibility:hidden;
}

/* keep the fourth level+ hidden when you hover on second level link */
#dropnav li a:hover ul a:hover ul ul{
	visibility:hidden;
}

/* keep the fifth level hidden when you hover on third level link */
#dropnav li a:hover ul a:hover ul a:hover ul ul{
	visibility:hidden;
}

/* keep the sixth level hidden when you hover on fourth level link */
#dropnav li a:hover ul a:hover ul a:hover ul a:hover ul ul {
	visibility:hidden;
}

/* make the second level visible when hover on first level link and position it */
#dropnav li a:hover ul {
	visibility:visible; 
	left:0px; 
	top:17px; 
	lef\t:0px; 
	to\p:17px;
	padding-top:5px;
}

/* make the third level visible when you hover over second level link and position it and all further levels */
#dropnav li a:hover ul a:hover ul { 
	visibility:visible; 
	top:-6px; 
	left:149px;
}

/* make the fourth level visible when you hover over third level link */
#dropnav li a:hover ul a:hover ul a:hover ul { 
	visibility:visible;
}

/* make the fifth level visible when you hover over fourth level link */
#pmenu li a:hover ul a:hover ul a:hover ul a:hover ul { 
visibility:visible;
}
/* make the sixth level visible when you hover over fifth level link */
#pmenu li a:hover ul a:hover ul a:hover ul a:hover ul a:hover ul { 
visibility:visible;
}
