#nav
{
  display: block;
  position: absolute;
  top: 94px;
  left: 40px;
  width: auto;
  height: 30px;
  z-index: 500;
  color: #FFFFFF;
  line-height: 100%;
  font-size: 14px;
  font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
}

#nav a
{
  margin: 0 0 0 0.1em;
}

#nav ul
{
  list-style: none;
  padding: 0;
  margin: 0;
  z-index: 500;
}

#nav ul li
{
  display: block;
  float: left;
  list-style: none;
  padding: 0px;
  margin: 0px;
  position: relative;
  width: auto;
  z-index: 500;
  line-height: 100%;
}

#nav ul li a
{
  display: block;
  width: auto;
  text-decoration: none;
  text-align: left;
  padding: 9px 10px 11px 8px;
  _padding: 9px 10px 10px 8px;
  top: 0px;
  margin: 0px;
  float: left;
  color: #FFFFFF;
  line-height: 100%;
}

#nav ul li a:hover,
#nav ul li a.hover
{
  background: #1086ae;
  color: #ffffff;
  text-decoration: none;
}

/* same as above, but internet explorer < 7 chokes on the > */
#nav ul li:hover > a 
{
  background: #1086ae;
  color: #ffffff;
  text-decoration: none;
}

#nav ul ul li a
{
	background: #8bcae0 !important;
  padding: 7px 10px 7px 8px;
  _padding: 7px 10px 7px 8px;
  font-weight: normal;
  background: none;
  text-transform: none !important;
}

#nav ul ul
{
	background: #8bcae0 !important;
  display: none;
  left: 0px;
  top: 34px;
  width: 120px;
  position: absolute;
}

#nav ul ul ul,
#nav ul ul ul ul
{
	background: #73b8d0 !important;
  display: none;
  left: 138px;
  top: 0px;
  width: 120px;
  position: absolute;
}

#nav ul li:hover ul
{
  display: block;
  position: absolute;
  background: #1086ae;
  top: 34px;
  left: 0;
}

#nav ul li:hover ul ul,
#nav ul li:hover ul ul ul
{
  display: none;
}

#nav ul ul li:hover ul,
#nav ul ul ul li:hover ul
{
  display: block;
  left: 138px;
  top: 0px;
}

#nav ul ul li
{
  display: block;
  float: left;
  top: 0;
  height: auto;
}

#nav ul ul li a
{
	background: #8bcae0 !important;
  display: block;
  float: left;
  width: 120px;
  height: auto;
}

#nav ul ul li a:hover
{
  background: #1086ae !important;
}

#nav ul ul ul li a
{
  background: #73b8d0 !important;
}

li>ul {
  top: auto;
  left: auto;
}

