#pad
{
  height: 155px;
}

#menu
{
  padding: 0 0 0 175px; /* 0 0 0 30 */
  margin: 0 auto 0;
  list-style: none;
  height: 25px;
  z-index: 500;
  font-family: arial, verdana, sans-serif;
}
#menu li
{
  float: left;
  margin-right: 10px;
}
#menu li a
{
  display: block;
  float: left;
  height: 25px;
  line-height: 25px;
  background: #1A1A1A;
  color: #ccc;
  text-decoration: none;
  font-size: 11px;
  font-weight: bold;
  padding: 0 30px 0 20px;
}


#menu table
{
  border-collapse: collapse;
  width: 0;
  height: 0;
  position: absolute;
  top: 0;
  left: 0;
}



#menu li a:hover
{
  z-index: 200;
  position: relative;
  color: #fff;
  background-color: #0c6;
}
#menu li:hover
{
  position: relative;
  z-index: 200;
}

#menu li:hover > a
{
  color: #fff;
  background: #0c6;
}
#menu li:hover > a.sub
{
  color: #fff;
  background-color: #0c6;
}

#menu li.current a
{
  color: #fff;
  background: #084;
}

#menu li a.sub
{
  background: #1A1A1A url(images/bot_cuadro_rosa.png) no-repeat left center;
}
#menu li.current a.sub
{
  color: #fff;
  background: #084;
  }

#menu li:hover ul
{
  left: 0;
  top: auto;
  bottom: 25px;
  width: 120px;
  z-index:100;

}
#menu a:hover ul
{
  left: 0;
  top: auto;
  bottom: 0;
  width: 120px;
  z-index:100;

}


#menu ul, #menu :hover ul ul
{
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 0;
  height: auto;
  margin: 0;
  padding: 0;
  list-style: none;
  z-index:100;
}

#menu :hover ul :hover ul
{
  left: 120px;
  top: auto;
  background: #FFF;
  white-space: nowrap;
  width: 100px;
  z-index: 200;
  height: auto;
}
#menu :hover ul :hover ul.fly3
{
  bottom: auto;
  top: -53px; /* -53 */
}
#menu :hover ul :hover ul.fly2
{
  bottom: auto;
  top: -27px; /* -27 */
}
#menu :hover ul :hover ul.fly1
{
  bottom: auto;
  top: -27px; /* -27 */
}

#menu :hover ul li
{
  margin: 0;
  /*border-top: 1px solid #FFF;*/
}
#menu :hover ul li a
{
  width: 120px;
  padding: 0;
  text-indent: 10px;
  background: #FFF;
  color: #ccc;
  height: 25px;
  line-height: 25px;
}
#menu :hover ul li a.fly
{
  background: #FFF;
}

#menu :hover ul :hover
{
  color: #fff;
}
#menu :hover ul :hover a.fly
{
  color: #fff;
}

#menu :hover ul li.currentsub a
{
  background: #084;
  color: #fff;
}
#menu :hover ul li.currentsub a.fly
{
  background: #084;
  color: #fff;
}

#menu :hover ul :hover ul li a
{
  width: 100px;
  padding: 0;
  text-indent: 10px;
  background: #3e3e3e;
  color: #ccc;
}
#menu :hover ul :hover ul :hover
{
  background-color: #0d7;
  color: #fff;
}

#menu :hover ul :hover ul li.currentfly a, #menu :hover ul :hover ul li.currentfly a:hover
{
  background: #084;
  color: #fff;
}
