/* --- Capital Quest NEW** 01/07 --- */
#wrapper-cq
{
	clear: both;
	float: left;
	width: 100%;
	background-image: url("../i/cq/grad.gif");
	background-repeat: repeat-x;
	background-position: left top;
	background-color: #FFFFFF;
	margin: 10px 0 0 0;
}

#cq-right { float: right; }
#cq-left { float: left; }

#cap-wrap
{
	clear: both;
	width: 100%;
}

#cap-wrap table.cap-wrap { width: 100%; }

.section-pad { padding: 10px; } 

#quest-details
{
	font-size: 12px;
	background-image: url("../i/cq/grad2.gif");
	background-repeat: repeat-x;
	padding: 10px;
	width: 100%;
}

#quest-details table
{
	background-color: #BAD7FF;
	width: 100%;
}

#quest-details td
{
	background-color: #FFF;
	padding: 4px 0 4px 5px;
	text-align: center;
	color: #365C92;
}

#quest-details th
{
	background-image: url("../i/cq/grad3.gif");
	background-repeat: repeat-x;
	color: #365C92;
	padding: 5px;
	border-color: #FFFFFF;
	border-width: 1px 0 0 1px;
	border-style: solid;
}

#quest-details th.last
{
	border-color: #FFFFFF;
	border-width: 1px 1px 0 1px;
	border-style: solid;
}

#quest-select
{
	font-size: 12px;
	background-image: url("../i/cq/grad2.gif");
	background-repeat: repeat-x;
	padding: 0px 10px 10px 10px;
}

#quest-select img { padding: 0 0 3px 0; }

#quest-select .select-quest
{
	font-size: 11px;
	height: 18px;
	border-color: #7B9EBD;
	border-style: solid;
	border-width: 1px;
	margin: 0;
	width: 150px;
}


/* --- Main Stat Table  --- */
.quest-table
{
	clear: both;
	width: 100%;
} 

.quest-table table
{
	width: 100%;
	border-color: #FFFFFF;
	border-style: solid;
	border-width: 10px 10px 10px 10px;
	background-color: #E7F1FF;
}

.quest-table tr { background-color: #FFF; }
.quest-table tr.alt { background-color: #EFF6FF; }
.quest-table tr.user { background-color: #E8FAD3; }

.quest-table th
{
	background-image: url("../i/cq/grad4.gif");
	background-repeat: repeat-x;
	color: #FFF;
	font-size: 12px;
	text-align: left;
	font-weight: bold;
	padding: 4px 5px 5px 5px;
}


/* --- CQ header info  --- */
.quest-table .cq-user a
{
	color: #FFFFFF;
	font-family: Verdana, Helvetica, Sans-Serif;
}
.quest-table .cq-user a:hover { color: #D6E7FF; }
.quest-table span.cq-rank
{
	padding: 0 0 0 5px;
	color: #E8FAD3;
	font-family: Verdana, Helvetica, Sans-Serif;
	font-size: 10px;
} 

.quest-table span.cq-title
{
	color: #FFF;
	padding: 0 0 0 8px;
}


.quest-table td.column
{
	background-image: url("../i/cq/grad5.gif");
	background-repeat: repeat-x;
	border-color: #FFFFFF #BAD7FF #FFFFFF #FFFFFF;
	border-width: 1px 0 0 1px;
	border-style: solid;
	padding: 5px 8px 5px 8px;
	white-space: nowrap;
}

.quest-table td.first
{
	background-image: url("../i/cq/grad5.gif");
	background-repeat: repeat-x;
	border-color: #FFFFFF #BAD7FF #FFFFFF #FFFFFF;
	border-width: 1px 0 0 0;
	border-style: solid;
	padding: 5px 8px 5px 8px;
}

.quest-table td.column a, .quest-table td.first a
{
	text-decoration: none;
	color: #365C92;
	font-size: 11px;
}

.quest-table td.column a:hover, .quest-table td.first a:hover
{
	color: #003366;
	text-decoration: underline;
}

.quest-table td
{
	color: #365179;
	font-size: 85%;
	padding: 5px;
}

.quest-table td.rank
{
	text-align: center;
	width: 5%;
}
.quest-table td.trader
{
	text-align: left;
	width: 25%;
}
.quest-table td.comp
{
	text-align: center;
	width: 10%;
}
.quest-table td.score
{
	text-align: right;
	width: 10%;
}
.quest-table td.money
{
	text-align: right;
	width: 15%;
}
.quest-table td.details
{
	text-align: center;
	width: 5%;
}

.quest-table td.competition
{
	text-align: left;
	width: 20%;
}
.quest-table td.weight
{
	text-align: center;
	width: 20%;
}

.quest-table td.sub
{
	text-align: center;
	width: 10%;
}

#total div
{
	font-weight: bold;
	color: #003366;
	font-size: 12px;
	background-color: #DAE7F9;
	text-align: right;
	padding: 5px;
	border-color: #FFFFFF;
	border-width: 1px 10px 10px 10px;
	border-style: solid;
	margin: -10px 0 0 0;
}

#total span.total { padding: 0 0 0 20px; }

.quest-table a { color: #003366; }
.quest-table a:hover { color: #365C92; }

/* --- CQ Tabs --- */

#cq-tabs
{
	float: right;
	margin: 20px 10px 0 0;
	display: inline;
}

#cq-tabs ul
{
	margin: 0;
	padding: 0;
}

#cq-tabs li
{
	float: left;
	margin: 0;
	padding: 0;
	list-style-type: none;
	background-image: url("../i/cq/tab_grad.gif");
	background-repeat: repeat-x;
	height: 27px;
}

#cq-tabs a
{
	float: left;
	text-decoration: none;
	color: #003366;
	font-size: 11px;
	padding: 0 12px 0 12px;
	line-height: 26px;
	font-weight: bold;
}

#cq-tabs a:hover, #cq-tabs a.active { color: #FFF; }

li#tab-left
{
	background-image: url("../i/cq/tab_left.gif");
	background-repeat: no-repeat;
	background-position: left top;
	border-right: #223B61;
	border-width: 0 1px 0 0;
	border-style: none solid none solid;
}

li#tab-right
{
	background-image: url("../i/cq/tab_right.gif");
	background-repeat: no-repeat;
	background-position: right top;
	border-left: #223B61;
	border-width: 0 0 0 1px;
	border-style: none solid none solid;
}

li#tab-details
{
	border-left: #223B61;
	border-width: 0 0 0 1px;
	border-style: none solid none solid;
}


/* --- CQ Help--- */
.cq-help
{
	font-size: 12px;
	text-align: left;
	line-height: 18px;
	margin: 10px auto 10px auto;
	padding: 0 50px 10px 10px;
	color: #003366;
	background-color: #FFFFFF;
	background-image: url("../i/cq/grad6.gif");
	background-repeat: repeat-x;
	background-position: left top;
	border-color: #EFF6FF;
	border-width: 8px;
	border-style: solid;
}

.cq-help h2
{
	color: #036;
	font-size: 14px;
	text-align: left;
	margin: 0;
	padding: 10px 0 3px 5px;
}

.cq-help p
{
	margin: 0;
	padding: 5px 0 5px 5px;
}

.cq-help .intro
{
	font-size: 14px;
	line-height: 20px;
}

.cq-help ol
{
	padding: 0;
	margin: 5px 5px 5px 50px;
}


