/* Outer div style - total size*/
.menu {
  float: left;
  width: 675px;
  padding: 0px 0px 0px 75px;
  background: #ff2;
  text-align: left;
  font-size: 8pt;
  font-family: arial, sans-serif;
}
/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
  padding: 0;
  margin: 0;
  list-style-type: none;
}
/*
.menu ul ul {
  width: 120px;
  border: 1px solid #000;
}
.menu ul ul ul {
  width: 100px;
} */
/* 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: 80px; */
  position: relative;
}
/* style the links for the top level */
.menu a, .menu a:visited {
  display: block;
/*  font-size: 8pt; */
  text-decoration: none;
  color: #000;
/*  width: 90px;
  height: 19px; */
/*  border: 1px solid #fff; */
  background: #ff2;
  padding-left: 7px;
  padding-right: 20px;
  line-height: 19px;
}
/* a hack so that IE5.5 faulty box model is corrected */
/* * html .menu a, * html .menu a:visited {
  width: 100px;
  w\idth: 90px;
} */

/* Second level styling */
/* Background */
/*.menu ul ul a.drop, .menu ul ul a.drop:visited {
  background: #ffff66;
  width: 80px;
} */
/* Hover */
/*.menu ul ul a.drop:hover{
  background: #ffd45e;
  width: 80px;
}
.menu ul ul :hover > a.drop {
  background: #ffd45e;
  width: 80px;
} */

/* Third level styling */
/* Background */
.menu ul ul ul a, .menu ul ul ul a:visited {
  background: #ff2;
}
/* Hover */
.menu ul ul ul a:hover {
  background: #fa0;
}
.menu ul ul ul :hover > a {
  background: #fa0;
}

/* Hide all sub levels and give them an absolute positon so that they don't take up room  OLD HOVER #ffd45e */
.menu ul ul {
  visibility: hidden;
  position: absolute;
  height: 0;
  top: 18px;
  left: 0; 
  width: 90px;
}
/* another hack for IE5.5 */
* html .menu ul ul {
  top: 18px;
  t\op: 19px;
}

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

/* style the table so that it takes no part 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: #ff2; 
  color: #000; 
  height: auto; 
  line-height: 1em; 
  padding: 5px 10px; 
  width: 100px;
  /* yet another hack for IE5.5 */
}
* html .menu ul ul a{
  width: 100px;
  w\idth: 90px;
}

/* style the top level hover */
.menu a:hover, .menu ul ul a:hover{
  color: #000; 
  background: #fa0;
}
.menu :hover > a, .menu ul ul :hover > a {
  color: #000;
  background: #fa0;
}

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