/* Menu.css
 *
 * Styles for a three-level CSS hover menu.
 *
 * Supports semi-transparent backgrounds.
 *
 * Author: Cameron Price-Austin
 * Date: 10/5/2008
 *
 * (c) 2008 All rights reserved.
 */

.menu
{
  height: 40px;
  background: url(images/navbar.jpg);
  margin-bottom: 5px;
}

/* remove the bullets, padding and margins from the lists */
.menu ul 
{
  padding: 0;
  margin: 0;
  list-style-type: none;
}

/* use the table to position the dropdown list */
.menu table
{
  position: absolute;
  border-collapse: collapse;
  z-index: 80;
  left: 0px;
  top: 39px;
}

.menu ul ul table
{
  position: absolute;
  border-collapse: collapse;
  z-index: 80;
  left: 0px;
  top: 0px;
}

.menu li
{
  float: left;
  position: relative;
  z-index: 100;
}

/* style all the links */
.menu ul a, .menu :visited 
{
  display: block;
  width: 78px;
  height: 40px;
  line-height: 40px;
  color: white;
  text-decoration: none;
  text-align:center;
}

/* style all the links */
.menu ul span, .menu :visited 
{
  display: block;
  width: 78px;
  height: 40px;
  line-height: 40px;
  color: white;
  text-decoration: none;
  text-align:center;
}

/* style the submenus */
.menu ul ul a, .menu ul ul a:visited
{
  width: 140px;
  height: 25px;
  line-height: 25px;
  text-align: left;
  padding: 0px 0px 0px 10px;
  background: #548DD4;
}

/* style the links hover */
.menu :hover
{
  background: url(nothing);
}

/* style the submenu hover */
.menu ul ul a:hover
{
  background: #95BAE3;
}

/* hide the sub level links */
.menu ul ul 
{
  visibility:hidden;
  position:absolute;
  width:140px;
  height:0;
}

/* hide the third level links */
.menu ul ul ul
{
  visibility:hidden;
  position:absolute;
  width:140px;
  left: 150px;
  top: 0px;
  height:0;  
}

/* make the sub level visible on hover list or link */
.menu ul li:hover ul,
.menu ul a:hover ul
{
  visibility: visible;  
}

/* make the third level invisible on hover list or link */
.menu ul li:hover ul ul,
.menu ul a:hover ul ul
{
  visibility: hidden;  
}

/* make the third level visible on sub-level hover list or link */
.menu ul ul li:hover ul,
.menu ul ul a:hover ul
{
  visibility: visible;
}