﻿/* ================================================================ 
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.
=================================================================== */
/* Get rid of the margin, padding and bullets in the unordered lists */

#topnav{
	margin: 7px 0 0 0;
	padding: 22px 0 0 0;
	border-bottom: none;
	clear: both;
	font-size: .84em;
}
#topnav #menu{	
	margin: 0px auto;
	padding: 0px;
	list-style: none;
	float: left;
}
#topnav #menu ul{
	margin: 0;
	padding: 0;
	list-style: none;
	position: absolute;
	z-index: 1000 !important;
	float: left;
}

/* Set up the link size, color and borders */
#topnav #menu a,
#topnav #menu a:visited {
    	font-family: Arial;
	color: #C79E41;
	text-transform: uppercase;
	margin: 0;
	padding: 0 20px 0 10px;
	float: left;
	display: block;
	text-decoration: none;
	line-height: 26px;
	display: inline;
	/*width: 150px; ******************* Width for 6 menu items ****************/
	text-align: center;
	z-index: 1000 !important; 
}

/*Make changes to last topnav item */
#topnav #menu > li.last > a,
#topnav #menu > li.last > a:visited{
	border: none;
	/*width: 149px; ******************* Width for 6 menu items ****************/
}

#topnav #menu li {
	margin: 0;
	padding: 0 7px 0 0;
	float: left;
	z-index: 1000 !important; 	
}

/* For Non-IE browsers and IE7 */
#topnav #menu li:hover {
	position: relative;
}
/* Make the hovered list color persist */
#topnav #menu > li.selected > a,
#topnav #menu li:hover > a {
	margin: 0;
}

/* Set up the sublevel lists with a position absolute for flyouts and overrun padding. The transparent gif is for IE to work */
#topnav #menu li ul {
	display: none;
	position: absolute;
	z-index: 1000 !important;
    	font-family: Arial;
}
/* For Non-IE and IE7 make the sublevels visible on list hover. This is all it needs
And Position the first sub level beneath the top level links */
#topnav #menu li:hover > ul {
	display: block;
	position: absolute;
	padding: 0px;
	margin: 0px;
	z-index: 1000 !important;
	left: -3px;
	top: 26px;
}

/* get rid of the table */
#topnav #menu table {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1000 !important;
}

/* Set up the sub level borders and style*/



#topnav #menu li ul li a, 
#topnav #menu li ul li a:visited {
	background: #e2be34;
	margin: 0px;
	padding: 3px 0px 3px 8px;
	color: #000;
	text-transform: none;
	display: block;
	font-weight: normal;
	text-align: left;
	border:none;	
	font-family: "Century Gothic", Helvetica, Arial;
	font-size: 100%;
}

#topnav #menu li ul li:hover,
#topnav #menu li ul li:hover a {
	background: #f7d349;
	margin: 0;
}

#topnav #menu li ul li{
	margin: 0;
	padding: 0;
	border: none;
	background: #green;
}

#topnav #menu li.enclose a,
#topnav #menu li.enclose a:visited {
	border-top: none;
}

/* For accessibility of the top level menu when tabbing */
#topnav #menu li a:active, 
#topnav #menu li a:focus {
	color: #ffffff;
}

/* 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 #topnav #menu li a:hover {
	margin: 0;
	padding: 0 20px 0 10px;
	position: relative;	
}
*html #topnav #menu li ul li a:hover{
	background: #f7d349;
	margin: 0;
	padding: 3px 0px 3px 8px;
}
/* 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; */
/* keep the third level+ hidden when you hover on first level link */

* html #topnav #menu li ul {
	visibility: hidden;
	display: block;
	position: absolute;
	left: -3px;
	top: 26px;
	padding: 0;
	font-size: 90%;
}

/* 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; */
/* keep the third level+ hidden when you hover on first level link */
/* make the second level visible when hover on first level link and position it */
#topnav #menu li a:hover ul {
	visibility: visible;	
	width: 183px;
}

#topnav #menu li ul a {	
	width: 183px;
}

