/* menu links */
.mainmenu {
  text-decoration:none;
  font-weight:bold;
  color:#fff;
  font-size:12px;
}

/* drop-down menu */
.menu {
  width:165px;
  height:25px;
  font-size:12px;
  font-family:Verdana, Arial, Helvetica, sans-serif;
  position:relative;
  z-index:100;
}
/* hack to correct IE5.5 faulty box model */
* html .menu {
  width:165px;
}

/* 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:165px;}

/* 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:165px;
  position:relative;
}

/* style the links for the top level */
.menu a, .menu a:visited {
  display:block;
  width:165px;
  height:25px;
  padding-left:10px;
  line-height:24px;
  font-size:13px;
  text-decoration:none;
  color:#fff;
  font-weight: bold;
}
/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {
  width:165px;
}

/* 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:0px;
  top:25px;
  left:0px;
  width:165px;
  border-top:1px solid #000;
}
/* another hack for IE5.5 */
* html .menu ul ul {
  top:25px;
}

/* style the table so that it takes no ppart in the layout - required for IE to work */
.menu table {
  position:absolute;
  top:0px;
  left:0px;
  border-collapse:collapse;
}

/* style the second level links */
.menu ul ul a, .menu ul ul a:visited {
  background:#fff;
  color:#900;
  text-align:left;
  font-size:11px;
  font-weight:normal;
  height:11px;
  line-height:1em;
  padding:5px 10px;
  width:165px;
  border:1px solid #000;
  border-width:0px 1px 1px 1px;
}
/* yet another hack for IE5.5 */
* html .menu ul ul a, * html .menu ul ul a:visited {
  width:165px;
}

/* style the top level hover */
.menu a:hover, .menu ul ul a:hover {
  background:#900;
  color:#fff;
}
.menu :hover > a, .menu ul ul :hover > a {
  background:#900;
  color:#fff;
}

/* 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;}