.menu {width:980px; height:38px; position:relative; z-index:100; padding-left:5px; 
       font-family:arial, sans-serif; font-weight:bold; color:White; cursor:pointer;}

/* hack to correct IE5.5 faulty box model */
* html .menu {width:auto;}
/* remove all the bullets, borders and padding from the default list styling */
.menu ul {padding:0;margin:0;list-style-type:none; text-align:center; }
.menu ul ul {width:86px; }
/* 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:auto;position:relative; }
/* style the links for the top level */
.menu a,.menu a:visited { display:block;font-size:12px;text-decoration:none; color:#fff; width:86px; height:38px; border:1px solid #3F5F7C; border-width:0px; background:#3F5F7C; font-weight:bold;}

/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {width:86px; width:87px;}

/* style the second level background */
.menu ul ul a.drop, .menu ul ul a.drop:visited { background:#3F5F7C url('images/grey-arrow.gif') no-repeat 160px center;}
/* style the second level hover */
.menu ul ul a.drop:hover{background:#3F5F7C url('images/orange-arrow.gif') no-repeat 160px center; border-color:#CBD5DE; text-decoration:underline;}
.menu ul ul :hover > a.drop {background:#CBD5DE url('images/orange-arrow.gif') no-repeat 160px center; text-decoration:underline;}
/* style the third level background */
.menu ul ul ul a, .menu ul ul ul a:visited { background:#3F5F7C; border-color:#CBD5DE;}
/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu ul ul { text-align:left; visibility:hidden;position:absolute;height:0;top:38px;left:0; width:auto;border-top:1px solid #CBD5DE;}
/* another hack for IE5.5 */
* html .menu ul ul {text-align:left; top:38px;top:39px;}

/* position the third level flyout menu */
.menu ul ul ul{left:179px; top:-1px; width:179px;}


/* position the third level flyout menu for a left flyout */
.menu ul ul ul.left {left:-179px; border-color:#CBD5DE;}

/* 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; border-collapse:collapse;}

/* style the second level links */
.menu ul ul a, .menu ul ul a:visited { background:#3F5F7C; color:#fff; height:auto; line-height:1em; padding:5px 7px 5px 3px; width:168px;border-width:0 1px 1px 1px; border-color:#CBD5DE;}
/* yet another hack for IE5.5 */
* html .menu ul ul a, * html .menu ul ul a:visited {float:left; width:168px; width:160px;}


/* style the top level hover */
.menu a:hover, .menu ul ul a:hover{color:Red; background:#CBD5DE; z-index:101; text-decoration:underline;}
.menu :hover > a {color:#000; background:#CBD5DE; border-color:#CBD5DE;  z-index:101; text-decoration:underline; }
.menu ul ul :hover > a {color:#000; background:#CBD5DE; border-color:#CBD5DE;border-color:#CBD5DE;  z-index:101; text-decoration:underline;}

/* style the third level hover */
.menu ul ul ul a:hover {background:#CBD5DE; border-color:#CBD5DE; text-decoration:underline;}
/* style the second level hover */
.menu ul ul a:hover {background:#CBD5DE; border-color:#CBD5DE; text-decoration:underline; }

/* 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;}

/* Style for selected category */
.menu ul a#selectedRootCat  { color:Black; background:#CBD5DE; } 
.menu ul a#selectedRootCat :hover { text-decoration:underline; color:Black; cursor:pointer; text-align:center; } 

.menu ul table#selectedRootCat  { color:Black; background:#CBD5DE; } 
.menu ul table#selectedRootCat :hover { text-decoration:underline; color:Black; cursor:pointer; text-align:center; } 

/* position for last caregory subcategories */
.menu ul ul.lastCat {left:-90px; top:38px; width:179px;}

.menu ul a table { cursor:pointer; text-align:center; width:86px; }
.menu ul a table :hover { text-decoration:underline; color:Black; cursor:pointer; text-align:center; } 

.menu ul table { cursor:pointer; text-align:center; width:86px; }
.menu ul table :hover { text-decoration:underline; color:Black; cursor:pointer; text-align:center; } 