

@import "/inc/nav.css";

html>body { /* Once again be nice to Netscape, Mozilla, and Opera */
	margin: 0;
	padding: 3px 0 0 5px;
}

#navigation {	/* nav wrapper div */
	left: 5px;
	top: 67px;
	position: absolute;
	width: 695px;	/* explicit width keeps tabs from wrapping */
}

#menu {
	margin: 0;
	padding-left: 0;
	padding-bottom: 6px;
}

#menu ul, #menu li {
	display: inline;
	list-style-type: none;
	margin: 0;
	padding: 0;
}

/* Non-selected tab color */
#menu a:link, #menu a:visited, #menu a:hover {	/* hover rule only here because of zee opera browser */
	background: url(/images/topright.gif) top right no-repeat;
	background-color: #FF8811;
	border-left: 1px solid #ccc;
	color: #fff;
	float: left;
	font-weight: bold;
	/*padding: 3px 26px 3px 22px;*/
	padding: 3px 29px 3px 26px;
	margin-right: 2px;
	text-decoration: none;
	width: auto;
}

/* Tab Navigation Section */

/* Selected Tab Color */
body.account #menu li#account a,
body.trade #menu li#trade a,
body.quotes #menu li#quotes a {
	background: url(/images/topright.gif) top right no-repeat;
	background-color: #fff;
	border-left: 1px solid #ccc;
	color: #000;
	font-weight: bold;
}

/* Give me subnav or give me death! */

/* Subnav bar settings */

#menu ul a:link, #menu ul a:visited {
	color: #FF8811;
	text-decoration: underline;
}

#menu ul a:hover {
	color: #FF8811;
	text-decoration: none;
}

/* Controls the subnav bar */
body #menu ul#sub_account,
body #menu ul#sub_trade,
body #menu ul#sub_quotes {
	background-color: #f0f0f0;
	border-bottom: 1px solid #ccc;
	border-left: 1px solid #ccc;
	border-right: 1px solid #ccc;
	display: none;
	height: 14px;
	padding: 7px 0 3px 12px;
	width: 695px;
	voice-family: "\"}\"";	/* Box Model Hack for IE 5.01/5.5 */
	voice-family: inherit;
	width: 681px;	/* Actual value for compliant browsers */
}

/* Be nice to Opera Rule */
html>body #menu ul#sub_account,
html>body #menu ul#sub_trade,
html>body #menu ul#sub_quotes {
	width: 681px;
}

/* Location of subnav bar */
body.account #menu ul#sub_account,
body.trade #menu ul#sub_trade,
body.quotes #menu ul#sub_quotes {
	display: inline;
	left: 0;
	position: absolute;
	top: 19px;
	z-index: 1; /* z-index is used because if it's not, the subnav links disappear in IE 5.01 PC */
}

/* Controls space between subnav links */
body.account #menu ul#sub_account a,
body.trade #menu ul#sub_trade a,
body.quotes #menu ul#sub_quotes a {
	background: transparent;
	background-image: none;
	border-top: none;
	border-bottom: none;
	border-right: none;
	border-left: 1px solid #00215A;
	color: #00215A;
	font-weight: normal;
	line-height: 10px;
	margin-right: 4px;
	padding: 0 4px 2px 8px; /* controls zee "pipe" */
	width: auto;
}

/* Don't want a "pipe" to show up to the left of the first link, so here I'm removing it */
body.account #menu ul#sub_account a.first,
body.trade #menu ul#sub_trade a.first,
body.quotes #menu ul#sub_quotes a.first {
	margin-left: 0;
	padding-left: 0;
	border-left: none;
}

/* Space Away */

.navspacer { margin-bottom: 46px; }

/* Masthead Table above Tabs */
#masthead { margin: 0; padding: 0; width: 700px; }
#masthead img { border: 0; }
#masthead td { height: 54px; }

#logo img { width: 181px; height: 41px; }
#links { vertical-align: middle; font-size: 11px; width: 1000px; }
#livehelp img { width: 81px; height: 19px; }
#banner img { width: 196px; height: 28px;  }

/* Classes for pages without navigation or head banners */

body.nonav div#navigation { display: none; }
body.nonav .navspacer { margin-bottom: 0; }
body.nonav #vtAds img { display: none; }

body.nonav #headTable { margin-bottom: -16px; }
