#nav .menu {
position: relative;
z-index:100;
}
/* remove all the bullets, borders and padding from the default list styling */
#nav .menu ul {
padding:0 0 0 0;
margin:0 0 0 0;
list-style-type:none;
}
#nav .menu ul ul {
width:150px;
}
/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
#nav .menu li {
float:left;
position:relative;
list-style-type:none;
}

#nav .menu ul ul {
border-top: 1px solid #848385;
}

#nav .menu ul ul li {
border-bottom: 1px solid #6b6a6d;
}

/* style the links for the top level */
#nav .menu a, #nav .menu a:visited {
	margin: 0 0 0 0;
	padding: 0 22px 15px 0;
	display: block;
	color: #000;
	text-decoration: none;
	font-size: 13px;
	font-weight: bold;
	text-transform: uppercase;
}

/* a hack so that IE5.5 faulty box model is corrected */
* html .demo .menu a, * html .demo .menu a:visited {
	width: 150px;
	w\idth: 139px;
}

/* style the second level background */
#nav .menu ul ul a.drop, #nav .menu ul ul a.drop:visited {
	background: #ffffff;
}
/* style the second level hover */
#nav .menu ul ul a.drop:hover{
	background: #bbbdbe;
}
#nav .menu ul ul :hover > a.drop {
	background: #bbbdbe;
}
/* style the third level background */
#nav .menu ul ul ul, #nav .menu ul ul ul a, #nav .menu ul ul ul a:visited {
	background: #bbbdbe;
}
/* style the third level hover */
#nav .menu ul ul ul a.drop, #nav .menu ul ul ul a:hover {
	background: #87888a;
}
/* style the fourth level background */
#nav .menu ul ul ul ul, #nav .menu ul ul ul ul a, #nav .menu ul ul ul ul a:visited {
	background: #87888a;
}
/* style the fourth level hover */
#nav .menu ul ul ul ul a:hover {
	background: #87888a;
}


/* hide the sub levels and give them a positon absolute so that they take up no room */
#nav .menu ul ul {
visibility:hidden;
position:absolute;
height:0;
top:29px;
left:0; 
width:150px;
}
/* another hack for IE5.5 */
* html #nav .menu ul ul {
top:28px;
t\op:29px;
}

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

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

/* style the second level links */
#nav .menu ul ul a, #nav .menu ul ul a:visited {
background:#ffffff; 
color:#000; 
font-size: 11px;
font-weight: normal;
text-transform: none;
height:auto; 
line-height:1em; 
padding:5px 10px; 
width:129px;
/* yet another hack for IE5.5 */
}
* html #nav .menu ul ul a{
width:150px;
w\idth:129px;
}


/* style the top level hover */
#nav .menu a:hover, #nav .menu ul ul a:hover{
	color: #f49e00;
}

#nav .menu a.dropact {
	color: #f49e00;
}

#nav .menu :hover > a {
	color: #f49e00;
}

#nav .menu ul ul a:hover{
	color: #000000;
	background: #bbbdbe;
}

#nav .menu ul ul :hover > a {
	color: #000000;
	background: #bbbdbe;
}

#nav .menu ul ul ul a.drop, #nav .menu ul ul ul a:hover{
	color: #000000;
	background: #87888a !important;
}

#nav .menu ul ul ul :hover > a {
	color: #000000;
	background: #87888a;
}

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

/* make the third level visible when you hover over second level list OR link */
#nav .menu ul :hover ul :hover ul{ 
visibility:visible;
}

/* keep the fourth level hidden when you hover on first or second level list OR link */
#nav .menu ul :hover ul ul ul, #nav .menu ul ul :hover ul ul {
visibility:hidden;
}

/* make the fourth level visible when you hover over third level list OR link */
#nav .menu ul :hover ul :hover ul :hover ul { 
visibility:visible;
}
