.menu {
width:960px; 
position:relative;
z-index:100;
height:30px;
background:#CCCCCC url(../imgs/navbg.gif) top left repeat-x;
clear:both;
font-size:0.95em;
text-transform:uppercase;
}

.menu a:link, .menu a:visited { text-decoration:none; color:#000000;}

/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
padding:0px;
margin:0px;
list-style-type:none;
}

.menu ul ul {
width:170px;
}

.menu ul li ul li {
text-align:left;
}

/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu li {
float:left;
/*width:99px;*/
text-align:center;
position:relative;
}

/* style the links for the top level */
.menu a, .menu a:visited {
display:block;
text-decoration:none; 
color:#000000;
/*width:99px; */ /* Removed this so that we can set the width of top level nav items independently */
height:30px; 
background:#542989 url(../imgs/navbg.gif) top left repeat-x; 
line-height:29px;
}

/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {
/*width:99px;
w\idth:99px;*/
}

/* style the second level background */
.menu ul ul a.drop, .menu ul ul a.drop:visited {
background:#fff url(../imgs/rightarrow.gif) no-repeat right center;
}

/* style the second level hover */
.menu ul ul a.drop:hover{ /* IE only it seems */
background:#f7a11a url(../imgs/rightarrow.gif) no-repeat right center;
}

.menu ul ul :hover > a.drop { /* Non-IE browsers */
background:#f7a11a url(../imgs/rightarrow.gif) no-repeat right center;
}

/* style the third level background */
.menu ul ul ul a, .menu ul ul ul a:visited {
background:#ffffff;
}

/* style the third level hover */
.menu ul ul ul a:hover {
background-color:#f7a11a; 
}

/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu ul ul {
visibility:hidden;
position:absolute;
height:auto;
top:30px;
left:0; 
width:170px;
border:1px solid #542989;
}

/* another hack for IE5.5 */
* html .menu ul ul {
top:30px;
t\op:30px;
}

/* position the third level flyout menu */
.menu ul ul ul{
left:170px; 
top:0;
width:170px;
}

/* position the third level flyout menu for a left flyout */
.menu ul ul ul.left {
left:-150px;
}

/* style the table so that it takes no ppart in the layout - required for IE to work */
.menu table {position:absolute; top:0; left:0;}

/* style the second level links */
.menu ul ul a, .menu ul ul a:visited {
background:#fff; 
color:#000; 
height:auto; 
line-height:1.3em;
padding:7px 10px; 
width:150px
/* yet another hack for IE5.5 */
}

* html .menu ul ul a{
width:100px;
w\idth:129px;
}

/* style the top level hover */
.menu a:hover{ /*IE*/
color:#fff; 
background:#542989 url(../imgs/navbgover.jpg) top left repeat-x; 
}

.menu :hover > a { /*Non-IE*/
color:#fff;
background:#542989 url(../imgs/navbgover.jpg) top left repeat-x; 
}

.menu ul ul a:hover{ /*IE*/
color:#000; 
background-color:#f7a11a; background-image:url( );
}

.menu ul ul :hover > a { /*Non-IE*/
color:#000;
background-color:#f7a11a; 
}

/* make the second level visible when hover on first level list OR link */
.menu ul li:hover ul,
.menu ul a:hover ul{
visibility:visible; 
}

/* keep the third level hidden when you hover on first level list OR link */
.menu ul :hover ul ul{
visibility:hidden;
}

/* make the third level visible when you hover over second level list OR link */
.menu ul :hover ul :hover ul{ 
visibility:visible;
}
