
/* ================== ALL PESKY STYLES ON THIS PAGE AFFECT HOW THE NAVIGATION WORKS ==================*/
#nav, #nav ul {
	padding-top: 35px;
	padding-left: 0px;
	margin: 0;
	list-style: none;
	width: 770px;
}

*html #nav, #nav ul {
	padding-top: 28px;
	padding-left: 0px;
	width: 770px;
}

/* IE 7.0 Hack */
*:first-child+html #nav, #nav ul {
	padding-top: 29px;
	padding-left: 0px;
	margin: 0;
	list-style: none;
	width: 770px;
}


#nav a {
	display: block;
	width: auto;  /* ----> this affects the dropdown, but it also changes the actual button widths in Safari, which we do NOT want */
	white-space: nowrap;
	padding-right: 10px;
	text-decoration: none;	
}

#nav li {
	float: left;
	width: auto;
	/*white-space: nowrap;*/
}
#nav li ul {
	position: absolute;
	width: 177px; /* ------> changing this to "auto" causes Safari to make the drop-downs go across the screen rather than down*/
	left: -999em;
	background: #ffff99;
	border: solid 1px #121269;
	padding: 1px;
	z-index: 4;
}

/*============== HACK for the width in IE6.0 =====================*/
*html #nav li ul {
	width: 100px;
}

#nav li:hover ul {
	left: auto;
}
#nav li:hover ul, #nav li.sfhover ul {
	left: auto;
}

/*drop down navigation font weight, color, padding*/
#nav li li a {
	display: block;
	font-weight: normal;
	padding: 0.2em 10px;
	text-decoration: none;
}

/*drop down navigation hover properties*/
#nav li li a:hover {
	background-color: #ffffff;
	text-decoration: none;
}

#nav li ul li {
	clear: both;
	width: 177px;
}

*html #nav li ul li {
	width: auto;
}

/* ================ background properties for main navigation buttons ================== */
#nav a.parent {
	color: #fff;
	background-image: url(/pipeline/images/backgrounds/button_bg_line.gif);
	background-repeat: no-repeat;
	background-position: 0% 80%;
	background-color: transparent;
	text-decoration: none;
	font-size: 11px;
	font-weight: bold;
	line-height: 27px;
	padding-left: 24px;
}

/* ================ background hover properties for main navigation buttons ================= */
#nav a.parent:hover {
	color: #fff;
	background-image: url(/pipeline/images/backgrounds/button_bg_line_over.gif);
	background-repeat: no-repeat;
	background-position: 0% 80%;
	background-color: transparent;
	text-decoration: none;
	font-weight: bold;
	padding-left: 24px;
}

/* ================ background properties for FIRST button (about) without Left White Border ================ */

#nav a.first {
	color: #fff;
	background-image: url(/pipeline/images/backgrounds/button_bg_up.gif);
	background-repeat: no-repeat;
	background-position: 0% 80%;
	background-color: transparent;
	text-decoration: none;
	font-size: 11px;
	font-weight: bold;
	line-height: 27px;
	padding-left: 25px;
}


/* ================ background properties for FIRST button (about) hover without Left White Border ================== */
#nav a.first:hover {
	color: #fff;
	background-image: url(/pipeline/images/backgrounds/button_bg_over.gif);
	background-repeat: no-repeat;
	background-position: 0% 80%;
	background-color: transparent;
	text-decoration: none;
	font-weight: bold;
	padding-left: 25px;
}

/* ============ Safari properties for the last <li> which extends the nav bar ============= */
li#last{
	background-image: url(/pipeline/images/buttons/blue_placeholder.gif);
	background-repeat: no-repeat;
	line-height: 28px;
	/*width: 157px;*/
	width: 53px;
	margin-top: .30em;
	padding-bottom: 29px;
	/*padding: 3px 10px 26px 22px;*/
}

/* IE 7.0 hack */
*:first-child+html li#last{
	background-image: url(/pipeline/images/buttons/blue_placeholder.gif);
	background-repeat: no-repeat;
	line-height: 28px;
	/*width: 157px;*/
	width: 22px;
	margin-top: .30em;
	/*padding: 3px 10px 26px 22px;*/
}

/*======= WIDTH hack to get the proper width for the last <li> the Nav in IE6 and 5.5 ========*/
*html li#last{
	position: relative;
	left: -1px;
	background-image: url(/pipeline/images/buttons/blue_placeholder2.gif);
	background-repeat: repeat-x;
	background-position: 0px 0px;
	line-height: 26px;
	\width: 22px;  /*IE5.5*/
	w\idth: 22px;  /*IE6*/
	margin-top: .30em;
	padding-bottom: 29px;
	/*padding: 3px 10px 26px 22px;*/
}
