#nav
{
  font-family: Arial, Verdana, Helvetica, sans-serif;
  font-size: 0.95em;
  color: #FFFFFF;
  display: block;
  height: 24px;
  margin: 0px;
  z-index: 5000;
  width: auto;
  position: relative;
}

#nav a
{
  height: 24px;
  margin: 0 0 0 0.1em;
}

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

#nav ul li
{
  display: block;
  float: left;
  list-style: none;
  padding: 0px;
  margin: 0px;
  position: relative;
  width: auto;
  z-index: 50;
  margin-right: 20px;
}

#nav ul li a
{
  height: 15px;
  display: block;
  width: auto;
  text-decoration: none;
  text-align: left;
  padding: 8px 10px 11px 18px;
  top: 0px;
  margin: 0px;
  float: left;
  font-size: 1em;
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
  background: transparent url(../img/ibs/menuArrow.png) no-repeat 6px 15px; 
}


#nav ul ul li a
{
  color: #242e7a;
}

#nav ul li a:hover,
#nav ul li a.hover
{
  background-image: url(../img/menu_left_corner.png);
  color: #535493 !important; 
  background-position: 0 6px; 
	 background-repeat: no-repeat; 
	 background-color: transparent; 
}

#nav ul ul li a:hover,
#nav ul ul li a.hover
{
  color: #377ace !important; 
  background: none; 
}

/* same as above, but internet explorer < 7 chokes on the > */

#nav ul li:hover > a 
{
  background-image: url(../img/menu_left_corner.png);
  color: #535493 !important; 
  background-position: 1px 6px; 
	 background-repeat: no-repeat; 
	 background-color: transparent; 
}

#nav ul ul li:hover > a 
{
  color: #377ace !important; 
  background: none; 
}





#nav ul ul li a
{
  padding: 5px 14px 5px 18px;
  font-size: 11px;
  font-weight: normal;
  background: none;
  text-transform: none !important;
}

#nav ul ul
{
 	background: #fff !important;
  display: none;
  left: 1px;
  top: 33px;
  width: 200px;
  position: absolute;
  border: 1px solid #ddd;
  border-top: 0;
}

#nav ul ul ul,
#nav ul ul ul ul
{
 	background: #eee !important;
 	border: 1px solid #ddd;
  display: none;
  left: 201px;
  top: 0px;
  width: 201px;
  position: absolute;
}

#nav ul li:hover ul
{
  display: block;
  position: absolute;
  top: 33px;
  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: 200px;
  top: 0px;
}

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

#nav ul ul li a
{
  display: block;
  float: left;
  width: 167px;
  height: auto;
}

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