.menu {
width:700px; 
font-size:1em;
position:relative;
z-index:100;
margin-left:0px;
height:28px;
clear:both;
border-right:0px solid #009cda; 
border-left:1px solid #009cda; 
background-color:#000000;
}

/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
padding:0;
margin:0;
list-style-type:none;
font-weight:bold;
}

.menu ul ul {
width:100px;
}

.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;
font-size:11px;
text-decoration:none; 
color:#fff; 
/*width:99px; */ /* Removed this so that we can set the width of top level nav items independently */
height:28px; 
border:0px solid #E5E5E5;
border-width:0px 0px 0px 0px;
background-color:#000000;
background-image:url(../imgs/linkbg.gif); background-position:top right; background-repeat:no-repeat; 
line-height:27px;
}

/* 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:#000000 url(../imgs/rightarrow.gif) no-repeat right center;
}

/* style the second level hover */
.menu ul ul a.drop:hover{ /* IE only it seems */
background:#000000 url(../imgs/rightarrow.gif) no-repeat right center; color:#006600;
}

.menu ul ul :hover > a.drop { /* Non-IE browsers */
background:#000000 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:#fff;
}

/* style the third level hover */
.menu ul ul ul a:hover {
background-color:#000; 
}

/* 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:28px;
left:0; 
width:149px;
border:1px solid #009CDA;
}

/* another hack for IE5.5 */
/** html */.menu ul ul {
top:28px;
t\op:28px;
}

/* position the third level flyout menu */
.menu ul ul ul {
left:149px; 
top:0;
width:149px;
}

/* 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:#000; 
color:#ffffff; 
height:auto; 
line-height:1em; 
padding:7px 10px; 
width:129px;
/* 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:#80d6f1; 
background:#000000 url(../imgs/navbgover.jpg) top left repeat-x; 
}

.menu :hover > a { /*Non-IE*/
color:#80d6f1;
background:#000000 url(../imgs/navbgover.jpg) top left repeat-x; 
}

.menu ul ul a:hover { /*IE*/
color:#80d6f1; 
background-color:#000000; background-image:url( );
}

.menu ul ul :hover > a { /*Non-IE*/
color:#ffffff;
background-color:#000000; 
}

/* 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;
}

