/* CSS Document */

/* set padding and margin to zero and list style to none */
#nav, #nav ul {
	padding: 0 10px 0 0;
	margin: 0;
	list-style: none;
}

/* Set Main-Menu Link attributes */
#nav a { 
	display: block;
	color: #CCC;
	text-decoration: none;
	font-weight: normal;
}

#nav a:hover {   
	color: #CC6;
}

/* transform 1st level into a horizontal bar using "float left" method */ 
#nav li {
	float: left;
	position: relative;
	font-size: 12px;	
	line-height: 25px;
	padding: 0 5px;
}

/* position 2nd level lists (abs) and set off screen */
#nav li ul {
	position:absolute;
	left: -999em;
	font-size: 10px;
	color: #CCC;
	font-style: normal;
	font-weight: normal;
	text-decoration: none;
	background-color: #666;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

/* display sub-menu on hover */
#nav li:hover ul, #nav li.sfhover ul {
	left: -50px;
	width: 200px;
	border: 1px solid #333;
	border-top: 5px solid #CC6;
	line-height: 12px;
	padding:0;
}

/* POSITION SUB MENUS ON HOVER*/


/* display box around main menu item while in its sub-menu */
#nav li:hover, #nav li.sfhover {

}

/* Set Sub-Menu Link attributes */
#nav li li {
	width: 200px;
	margin-left: auto;
	margin-right: auto;
	line-height: 6px;
	padding: 0;
	background-color: #CCC;
	
}

#nav li li a { 
	display: block;
	font-weight: normal;
	text-decoration:none;
	color: #000;
	border-top: 1px solid #000;
	line-height: 12px;
	width: 200px;
	padding: 2px 0;
}
/* Set Sub-Menu Link hover attributes */
#nav li li a:hover{
	font-weight: normal;
	text-decoration:none;
	color: #333;
	padding: 2px 0;
	background-color: #CC9;
}