/* style the outer div to give it width */
.nav {
	width:552px;	/* IE 5.5 needs 588px, all other need 552px */
	height:20px;
	float: right;	/* position nav for IE */ 
	position: relative;
	z-index: 99;
}

* html .nav {
	width: 588px; 	/* IE 5.5 needs 588px, all other need 552px */
}

/* Remove default list styling */
.nav ul {
	padding:0;
	margin:0;
	list-style-type:none;
}

/* Set width for 2nd level */
.nav ul ul {
	width: 92px;	/* */
}

/* Float list to make it horizontal; make relative positon so that you can control the dropdown menu positon */
.nav li {
	float:left;
	width: 92px;
	position:relative;
}

/* Style top level links  */
.nav ul li a, .nav ul li a:visited {
	display:block;
	text-decoration:none; 
	color:lime; 
	width: 80px;
	height: 15px;
	margin: 0 3px;	/*	Give some spacing between links	*/
	border: 3px solid #cccccc; 
	background: #000000; 
	text-align: center;
	font-size:11px;
	font-family: arial, sans-serif;
}
/* BOX MODEL FIXUP */
* html .nav ul li a, * html .nav ul li a:visited {
	width: 92px;
	w\idth: 80px;
}
 
/* Collasped table used for IE less than IE7 */
.nav table {
	border-collapse:collapse; 
	border:0; 
	position:absolute; 
	left:0; 
	bottom:-1px;
}
 
/* Position and hide second level */
.nav ul ul {
	visibility:hidden;
	position:absolute;
	bottom: 20px;  /**/
	left:0; 
/*	width: 92px; /*	*/
}
/* BOX MODEL FIXUP */
* html .nav ul ul {
/*	bottom: 19px;/*	*/
}

 
/* Style second level links */
.nav ul ul a, .nav ul ul a:visited {
	background:blue; 
	color:white; 
	height: 30px; 
	line-height:30px; 
	font-size:10.5px;
	width: 80px;
}
/* Style second level links with double-line names */
.nav ul ul a.double, .nav ul ul a.double:visited {
	height: 30px; 
	line-height:15px; 
}
/* BOX MODEL FIXUP */
* html .nav ul ul a, * html .nav ul ul a.double {
	width: 92px;
	w\idth: 80px;
}
 
/* Style link Hovers */
.nav a:hover, .nav ul li a:hover {
	color:#fff; /*  */
	background:black;/*  */
}

.nav ul ul a:hover {
	color: #fff;
	background: red;
}  

.nav :hover > a, .nav ul ul :hover > a {
	color:#fff;
}
 
/* MAGIC HAPPENS HERE */
.nav ul li:hover ul,
.nav ul a:hover ul{
	visibility:visible;
}