/* remove all the bullets, borders and padding from the default list styling */
/*#nav ul {
	padding:0;
	margin:0;
	list-style-type:none;
	width:750px;
	height:27px;
	z-index:8888;
	background-repeat: repeat-x;
	background-position: 0px 0px;
}*/

/* style the sub-level lists */
#nav ul ul {
	/*drop down border bg*/
	width:100px;
}

/* float the top list items to make it horizontal and a relative positon so that you can control the dropdown menu positon */
/*#nav ul li {
	float:left;
	line-height:27px;
	font-weight: bold;
	font-size: 1.1em;
}*/

/* style the sub level list items */
#nav ul ul li {
	display:block;
	/* width:100px; */
	height:auto;
	line-height:1em;
	font-weight: normal;
	font-size: 0.9em;
}

/* style the links for the top level */
#nav a, #nav a:visited {
	/*display:block;
	float:left;
	height:27px;
	text-decoration:none;
	color:#fff;
	padding:0 17px 0 17px;*/
}

/* border for sub levels */
#nav ul ul a, #nav ul ul a:visited {
	border: none;
}
#nav ul ul li a, #nav ul ul li a:visited {
	border: none;
}

/* style the sub level links */
#nav ul ul a, #nav ul ul a:visited {
	display:block;
	/*drop down bg*/
	min-width:80px;
	width:auto;
	height:10px;
	line-height:1em;
}
#nav ul ul li a, #nav ul ul li a:visited {
	padding:5px 10px;
}
* html #nav ul ul a, * html #nav ul ul a:visited  {
	width:100px;
	w\idth:80px;
	}

/* style the table so that it takes no part in the layout - required for IE to work */
#nav table {
	position:absolute;
	left:1px;
	top:0;
	width:0;
	height:0;
	font-size:1em;
	z-index:-1;
}


/* style the level hovers */
/* first */
* html #nav a:hover {
	position:relative;
	z-index:100;
}
#nav li:hover {
	position:relative;
}


/* hide the sub levels and give them a positon absolute so that they take up no room */
.hide {
	visibility:hidden;
	position:absolute;
	height:0;
	top:27px;
	left:0;
	width:100px;
}
#nav ul ul {
	visibility:hidden;
	position:absolute;
	height:0;
	top:27px;
	left:0;
	width:100px;
}


/* make the second level visible when hover on first level list OR link */
#nav ul :hover ul, .on {
	visibility:visible;
	height:auto;
	padding:0;
}

