/* style the outer div to give it width */
.nav {
 width:100%; 

}
/* 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:150px;
}
/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.nav li {
float:left;
width:150px;
position:relative;
}
/* style the links for the top level */
.nav a{
border-color:#FFFFFF;
border-style:solid;
border-width: 0 1px 1px 1px;
display:block;
text-decoration:none; 
width:139px; 
height:21px; 
color: #FFFFFF !important;
background:#640000; 
padding-left:10px; 
line-height:21px;
}

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

/* style the second level background */
.nav ul ul a.drop {
background:#640000;
}
/* style the second level hover */
.nav ul ul a.drop:hover{
background:#fff;
}
.nav ul ul :hover > a.drop {
background:#fff;
}
/* style the third level background */
.nav ul ul ul a{
background:#640000;
}
/* style the third level hover */
.nav ul ul ul a:hover {
background:#fff;
}
.nav ul ul ul :hover > a {
background:#fff;
}

/* 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:22px;
left:0; 
width:150px;
}
/* another hack for IE5.5 */
* html .nav ul ul {
top:22px;
t\op:21px;
}

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

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

/* style the second level links */
.nav ul ul a {
background:#640000; 
color:#fff !imortant; 
height:auto; 
line-height:1em; 
padding:5px 10px; 
width:129px
/* yet another hack for IE5.5 */
}
* html .nav ul ul a{
width:150px;
w\idth:129px;
}


/* style the top level hover */
.nav a:hover, .nav ul ul a:hover, .nav a.sel{
color:#990000 !important; 
background:#fff;
}
.nav :hover > a, .nav ul ul :hover > a {
color:#990000 !important;
background:#fff;
}

/* 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;
}
/* keep the fourth level hidden when you hover on second level list OR link */
.nav ul :hover 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;
}
/* make the fourth level visible when you hover over third level list OR link */
.nav ul :hover ul :hover ul :hover ul { 
visibility:visible;
}

.level1 li {
	text-align: center; 
}

.level2 li {
	text-align: left; 
}
