/* ================================================================ 
This copyright notice must be untouched at all times.

The original version of this stylesheet and the associated (x)html
is available at http://www.cssplay.co.uk/menus/simple_vertical.html
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any 
way to fit your requirements.
=================================================================== */

#menu_container {
	margin:0;
	position:relative; 
	
	z-index:10000000;
}


/* Get rid of the margin, padding and bullets in the unordered lists */
ul.menu, .menu ul {
	padding:0; 
	margin:0; 
	list-style-type: none;
	position:absolute;
	top:18px;
	top:112px;
	left:30px;
	
}

/* Set up the link size, color and borders */
.menu a, .menu a:visited {
	display:block;
	font-size:13px;
	text-decoration:none; 
	color:#fff; 
	text-transform:uppercase;
	background:none;
	line-height:25px;
	padding:0 38px 0 38px;
	padding:0 36px 0 36px;
	margin:0 1px 0 0;
}
.menu li ul li {
	background:#a1a4aa;
	height:27px;
	margin-bottom:-1px;
	
	
}

/* Set up the sub level borders */
.menu li ul li a, .menu li ul li a:visited {
	border:1px solid #a1a4aa;
	border-width:1px 1px 0 1px;
	width:140px;
	padding:0 10px 0 10px;
	margin:0;
	font-size:11px;
	background:#273f6a;
	position:relative;
	z-index:100000;
}
.menu li a.enclose, .menu li a.enclose:visited {
	border-width:0px;
	border:none;
}
/* Set up the list items */
.menu li {
	float:left; 
	background:#7484ad;
	background:url(../images/navLine.jpg) no-repeat 100% 50%;
}
.menu li.contact {
	background:none;
}
.menu a:hover {
	text-decoration:none;
}
/* For Non-IE browsers and IE7 */
.menu li:hover {
	position:relative;
}
/* Make the hovered list color persist */
*.menu li:hover > a ,.menu a.selected {
	color:#a1a4aa;
	background:url(../images/navBG.jpg) repeat-x left top;
}


/* Set up the sublevel lists with a position absolute for flyouts and overrun padding. The transparent gif is for IE to work */
.menu li ul {
	display:none;
}
/* For Non-IE and IE7 make the sublevels visible on list hover. This is all it needs */
.menu li:hover > ul {
	display:block; 
	position:absolute; 
	top:-6px;
	left:111px;
	left:131px;
	padding:6px 0 0 30px;
	/*background:transparent url(transparent.gif); */
	background:transparent;
	width:140px;
	
}
/* Position the first sub level beneath the top level liinks */
.menu > li:hover > ul {
	left:-30px; 
	left:-31px;
	top:19px;
}

/* get rid of the table */
#menu_container .menu table {
	position:absolute; 
	border-collapse:collapse; 
	top:0; 
	left:0; 
	z-index:10000; 
	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 .menu li a:hover {
	position:relative; 
	background:none;
	color:#fff;
	background:url(../images/navBG.jpg) repeat-x left top;
}

/* For accessibility of the top level menu when tabbing */
/*.menu li a:active, .menu li a:focus {
	background:#78a22e;
	background:none;
}*/

/* Set up the pointers for the sub level indication */
.menu li.fly {
	/*background:#7484ad url(http://www.cssplay.co.uk/menus/fly.gif) no-repeat right center;*/
	background:red;
}
.menu li.drop {
	/*background:#7484ad url(http://www.cssplay.co.uk/menus/drop.gif) no-repeat right center;*/
	background:red;
}

/* 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 .menu li ul {
	visibility:hidden; 
	display:block; 
	position:absolute; 
	top:0px;
	left:111px;
	left:140px; 
	padding:6px 30px 30px 30px; 
	padding:19px 0 0 25px;
	/*background:transparent url(transparent.gif);*/
	background:transparent;
	z-index:1000;
	
	
}

/* keep the third level+ hidden when you hover on first level link */
.menu li a:hover ul ul{
	visibility:hidden;
}
/* keep the fourth level+ hidden when you hover on second level link */
.menu li a:hover ul a:hover ul ul{
	visibility:hidden;
}
/* keep the fifth level hidden when you hover on third level link */
.menu 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 */
.menu 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 */
.menu li a:hover ul {
	visibility:visible; 
	left:-30px; 
	left:0px;
	top:14px; 
	lef\t:-31px; 
	left\t:0px;
	to\p:15px;
	to\p: 0px;
	left:-62px;
	
}

/* make the third level visible when you hover over second level link and position it and all further levels */
.menu li a:hover ul a:hover ul{ 
	visibility:visible; 
	top:-11px; 
	top:0px;
	top:-20px;
	left:80px;
	left:115px;
	left:135px;
	
}
/* make the fourth level visible when you hover over third level link */
.menu li a:hover ul a:hover ul a:hover ul { 
	visibility:visible;
}
/* make the fifth level visible when you hover over fourth level link */
.menu 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 */
.menu li a:hover ul a:hover ul a:hover ul a:hover ul a:hover ul { 
	visibility:visible;
}

.menu ul {
	list-style:none;
}
