/* CSS Document */

/* NAVIGATION STYLES
-----------------------------------------------------------------------------*/

/* main menu starts here */

#navbar {
	width: 740px;
	height: 28px;
	padding: 10px 10px 5px 10px;
	background-image: url(../img/navbar_bg.jpg);
	}
	
#navbar ul {
	list-style: none;
	height: 28px;
	padding-left: 20px;
	font-size: 15px;
}

#navbar li {
	float: left;
	position: relative;
	background: url(../img/navbar_li_bg.gif) no-repeat center right;
	}
	
#navbar ul li#last {
	background: none;
}

#navbar ul li a {
	display: block;
	height: 28px;
	line-height: 28px;
	padding: 0 18px;
	text-decoration: none;
	color: #fff;
}

#navbar ul li a:hover {
	color: #99c4d2;
}

/* the drop-down starts here */

#navbar ul li ul {
	margin: 0; 
	z-index: 10;
	position: absolute;
	width: 16em;
	line-height: 12px;
	left: 0;
	top: 28px;
	padding-left: 0;
	font-size: 13px;
	}

#navbar ul li ul li {
	padding: 0;
	width: 100%;
	background: none;
	background-color: #003b73;
	border: 0;
	}
	
#navbar ul li ul li:hover {
	background-color: #295987;
	}

#navbar ul li ul {
	display: none;
	}

#navbar ul li:hover ul {
	display: block;
	}

/* cross-browser compatability */

* html #navbar ul {
	float: left;
	}

/* the tantek hack to feed ie win 5.5-5.0 a lower value to get the pop-out to touch the drop-down */

* html #navbar ul li ul li ul { 
  left: 9.85em; 
  voice-family: "\"}\""; 
  voice-family: inherit;
  left: 10em;
  }

/* and the be nice to opera rule */

html>body #navbar ul li ul li ul {
  left: 10em;
} 

/* an opera-only hack to fix a redraw problem by invisibly extending the ul */
/* the first-level drop stays open for 100px below the bottom but at least it works */
/* this can be reduced to as little as 22px if you dont have pop-outs */
/* the pop-out menu stays open for 22px below the bottom but at least it works */

@media all and (min-width: 0px){
   body #navbar ul li ul {padding-bottom:100px;}
   body #navbar ul li ul li ul {padding-bottom:22px;}
   ul li ul li ul li ul li:hover {visibility:visible;}
   }
