/* CSS Document */


#nav {
	width:800px; 
	height:32px; 
	position:relative; 
	z-index:100;
	margin-left: auto;
    margin-right: auto;
    text-align: left;
}

/* hack to correct IE5.5 faulty box model */
* html #nav {width:801px; w\idth:800px;}


/* remove all the bullets, borders and padding from the default list styling */
#nav ul {padding:0;margin:0;list-style-type:none;}


#nav ul ul {width:149px;}


#nav li {
	float:left;
	width:179px;
	position:relative;
}


/* TOP LEVEL LINK STYLES (reg and visited) */
#nav a, #nav a:visited {
	display:block;
	text-decoration:none; 
	color:#fff; 
	width:138px; 
	height:32px; 
	padding:0 10px 0 10px; 
	line-height:29px;
	font-weight:bold;
	margin:0 10px 0 0;
}


/* a hack so that IE5.5 faulty box model is corrected */
* html #nav a, * html #nav a:visited {width:149px; w\idth:138px;}

/* style the third level background */
#nav ul ul ul a, #nav ul ul ul a:visited {background:#e2dfa8;}

/* style the third level hover */
#nav ul ul ul a:hover {background:#b2ab9b;}


/* hide the sub levels and give them a positon absolute so that they take up no room */
#nav ul ul {visibility:hidden;position:absolute;height:0;top:31px;left:0; width:158px;border-top:1px solid #2F7ABD;}

/* another hack for IE5.5 */
* html #nav ul ul {top:30px;t\op:31px;}

/* position the third level flyout#nav */
#nav ul ul ul{left:149px; top:-1px; width:149px;}

/* position the third level flyout#nav for a left flyout */
#nav ul ul ul.left {left:-149px;}

/* style the table so that it takes no ppart in the layout - required for IE to work */
#nav table {position:absolute; top:0; left:0; border-collapse:collapse;;}

/* SECOND LEVEL LINK STYLES (reg and visited) */
#nav ul ul a, #nav ul ul a:visited {
	background:#333;
	color:#fff;
	height:auto;
	line-height:1em;
	padding:8px 10px;
	width:138px;
}

/* yet another hack for IE5.5 */
* html #nav ul ul a, * html #nav ul ul a:visited {width:150px;w\idth:138px;}

/* style the top level hover */
#nav a:hover, #nav ul ul a:hover{color:#fff; background:#666;}
#nav :hover > a, #nav ul ul :hover > a {color:#fff;background:#666;}

/* make the second level visible when hover on first level list OR link */
#nav ul li:hover ul,
#nav ul a:hover ul{visibility:visible; }
/* keep the third level hidden when you hover on first level list OR link */
#nav ul :hover ul ul{visibility:hidden;}
/* make the third level visible when you hover over second level list OR link */
#nav ul :hover ul :hover ul{ visibility:visible;}
