﻿/* ---------------------------------------------
Screen Stylesheet for http://www.DomainName.com
Updated: 01/29/09 - Eddie Kasper / The Kasper Group
Version: 3.11
-------------------------------------------------
::COLORS::
	Black: #333 --example usage--

::TOC::
	Resets
	Defaults
	Typography
	Template 
	Links
	Navigation
	Forms
	Global Classes
	Pages

--------------- ::Resets:: --------------------- */
body, address, blockquote, dl, ol, ul, li, form, fieldset, h1, h2, h3, h4, h5, h6, p, pre {
margin:0;
padding:0;
}
fieldset, table {
border:none;
}
table {
border-collapse:collapse;
border-spacing:0;
overflow:hidden;
word-wrap:break-word; /* will not validate IE only */
}
/*
caption, th, td {
text-align: left;
}*/

/*********** ---------- ::Defaults:: --------------------- ***********/
html { 
font-size:100.01%; 
height: 101%; /* forces scroll on short length pages */
}
body { 
height:100%;
font:12px/1.3 Arial,Tahoma,Geneva,Helvetica,sans-serif;
background:#686f7f;
background-image: url(/static/img/gradient.png);
background-repeat: repeat-x;
color:#000;
}

/*********** ---------- ::Typography:: ------------------- ***********/
address, h1, h2, h3, h4, h5, h6, li, p, pre {padding: .3em 10px;}
h1 {font-size:20px;}
h2 {font-size:16px;}
h3 {font-size:14px;}
h4 {font-size:12px;}
address, li, p {font-size:12px;}
pre {font-size: 12px;}
ul {margin-left: 25px;}

/*********** ---------- ::Template:: --------------------- ***********/
#wrap {
width: 1000px;
margin:0 auto;
background: #fff;
border: 1px solid #000;
border-top-width: 0px
}
#masthead {
width: 1000px;
}
#mainhead {
	width: 980px;
	height: 60px;
	padding: 10px;
}
#logoblock {
	width: 300px;
	height: 60px;
	float: left;
}
#login-box {
	float: right;
	margin-bottom: 4px;
	text-align: right;
	font-size: 12px;
}
#login-box p {
	padding: 0;
	width: 150px;
}
#login-box img {
	float: right;
	margin-left: 20px;
}
.login-table th {
height: 22px;
width:auto;
font-size: 12px;
font-weight: bold;
padding: 3px 10px 0px 5px;
text-align: left;
}
.login-table td {
height: 26px;
padding: 3px 10px 0px 5px;
vertical-align:middle;
text-align:left;
font-weight:bold;
font-size: 12px;
}
#market-bar-wrapper {
border-bottom: 1px solid #ec8704;
padding-bottom: 1px;
}
#market-bar {
background: #000;
color: #ec8704;
height: 21px;
line-height: 18px; /* used to center single line of text vertically */
width: 1000px;
}
#market-bar select { /* layout for analysis page drop down selector */
border: 1px solid black;
font-size: 13px;
}
#market-bar a {
color: #FFF;
font-size: 13px;
margin-left: 10px;
}

#main-wrap {
	width:980px;
	padding: 10px;
	
}
.title-box h2 {
	font-size: 12px;
	color: #fff;
}
#main-wrap ol {
    margin-left: 25px;
}
#main-wrap li {
    padding-left: 0px;
}
input[type="submit"] {
    margin-top: 2px;
    height:20px;
    max-height:20px;
    padding:0 10px 0 10px;
    font-size:10px;
}
input[type="reset"] {
    margin-top: 2px;
    height:20px;
    max-height:20px;
    padding:0 10px 0 10px;
    font-size:10px;
}
.description img {
    float: left;
}
.market-claim a.claim {
    font-size: 1.2em;
    font-weight:bold;
}
#main-wrap h3 {
	font-size: 12px;
	font-weight: normal;
	color: #fff;
	float: left;
}

#main-wrap p {
	font-size: 13px;
}
#market-box {
	width: 485px;
	margin-right: 6px;
	background: transparent;
	float: left;
	border: 1px solid #000;
	border-bottom: 3px solid #000;
}

#holdings-box {
	width: 485px;
	background: transparent;
	float: right;
	border: 1px solid #000;
	border-bottom: 3px solid #000;
}
#prediction-box {
	margin: 10px 0 10px 0;
	width: 978px;
	min-height: 210px;
	overflow: auto;
	border: 1px solid #000;
	border-bottom: 3px solid #000;

}
#chart-box {
	width: 485px;
	background: transparent;
	float: right;
	border: 1px solid #000;
	border-bottom: 3px solid #000;
}


#orange-spacer {
	width: 1000px;
	height: 25px;
	line-height: 25px;
	margin-top: 25px;
	background: #ec8704;
	background-image: url(/static/img/cc_header.png);
	background-position: bottom left;
	background-repeat: repeat-x;
	border-top: 1px solid #000;
}
#orange-spacer p {
	font-size: 12px;
	color: #fff;
	padding: 0px;
	text-align: center;
}
#orange-spacer a {
	color: #fff;
}
#footer {
width: 1000px;
height: 30px;
background: transparent;
}

/*********** ---------- ::Links:: ------------------------ ***********/
a {
color: #000;
text-decoration:underline;
}
form a {
text-decoration:underline;
}
a:active, a:focus, a:hover {
text-decoration:none;
outline:none;
}
a img {border:none;}
.title-box a, .subtitle-box a {
color: #fff;
}

/*********** ----------  ::Navigation:: ------------------ ***********/
#topuppernav {
	float: right;
	height: 20px;
	padding: 4px 0px;
}
#topuppernav ul {
	list-style: none;
	margin: 0 0 0 5px;
	padding: 5px 0px 0 0;
	text-align: right;
	float: right;
}
#topuppernav ul li {
	margin: 0;
	padding: 0;
	display: inline;
	line-height: 14px;
	float: left;
	border-right: 1px solid #ec8704;
}
#topuppernav ul li.noborder {
	border: 0;
}
#topuppernav ul li a, #topuppernav ul li a:link, #topuppernav ul li a:active, #topuppernav ul li a:visited {
	font: normal 14px/14px Arial,Tahoma,Geneva,Helvetica,sans-serif;
	background: transparent;
	color: #ec8704;
	display: block;
	padding: 0 9px;
	text-decoration: none;
}
#topuppernav ul li a:hover {
	text-decoration: none;
	color: #666;
}

/* ---------- ::Forms:: ------------------------ */
label {cursor:pointer;}
input,label,select,textarea {
vertical-align:middle;
font-size:inherit;
font-family:inherit;
}
input, textarea {padding:.2em;}
textarea {overflow:auto;}

/*********** ---------- ::Global Classes:: --------------- ***********/

/* UI Spinner */
.ui-spinner, .ui-spinner div {
	width: 12.3em;
	position: relative;
	overflow: hidden;
	border: 1px solid #999;
	background: #FEFEFE url(./images/spinner-bg.gif) repeat-x left bottom;
	padding: 0 5px;
    padding-left:0px;
    padding-top:0px;
}

.ui-spinner-disabled, ui-spinner-disabled div {
	background: #F4F4F4;
	color: #CCC;
}

.ui-spinner-box, .ui-spinner-box div {
	height: 100%;
	float: left;
	font-size: 125%;
	border: none;
	background: none;
	padding: 0;
}

.ui-spinner-up,
.ui-spinner-down, .ui-spinner-up div, .ui-spinner-down div {
	width: 12%;
	height: 50%;
	font-size: 0.5em;
	padding: 0;
	margin: 0;
	z-index: 100;
	text-align: center;
	vertical-align: middle;
	position: absolute;
	right: 0;
	cursor: default;
	border: 1px solid #999;
	border-right: none;
	border-top: none;
}

.ui-spinner-down, .ui-spinner-down div {
	bottom: 0;
	border-bottom: 0;
}

.ui-spinner-pressed, .ui-spinner-pressed div {
	background: #FEFEFE;
}

.ui-spinner-list,
.ui-spinner-listitem, .ui-spinner-list div, .ui-spinner-listitem div {
	margin: 0;
	padding: 0;
}

.center {text-align:center;}
.clear {
clear:both;
padding:0;
margin:0;
line-height:normal;
}
.floatleft {float:left;}
.floatright {float:right;}
.hidden {display:none;}
.inline {display:inline;}
.large {
font-size:20px;
font-weight:bold;
}
.light {color:#999;}
.small {
font-size:10px;
font-weight:normal;
}
.green {
	color: #41d737;
}
.red {
	color: #ec0000;
}
.error {
border: 2px solid red;
}

/*********** ---------- ::Pages:: ------------------------ ***********/

/*********** /// place specific page rules here if needed /// ***********/

#logolink {
	margin: 0;
	padding: 0;
	width: 260px;
	height: 70px;
	display: block;
	float: left;
}
.button-edit {
    float: right;
}
.title-box {
	width: 100%;
	min-height: 24px;
	background:#686f7f;
	background-image: url(/static/img/cc_black_header.png);
	background-position: top left;
	background-repeat: repeat-x;
	border-bottom: 1px solid #000;
}
.leaders-title-box {
	width: 100%;
	min-height: 24px;
	background:#686f7f;
	background-image: url(/static/img/cc_black_header.png);
	background-position: top left;
	background-repeat: repeat-x;
	border-bottom: 1px solid #000;
}
.title-box p, .leaders-title-box p {
	float: right;
	color: #ec8704;
	font-weight: bold;
	margin: 2px 5px 0 0;
}
.subtitle-box {
	width: 100%;
	height: 22px;
	background: #ec8704;
	background-image: url(/static/img/cc_header.png);
	background-position: bottom left;
	background-repeat: repeat-x;
	border-bottom: 1px solid #000;
}
.second-subtitle {
	border-top: 1px solid #000;
}
.question-icon {
	float: right;
	margin: 4px 5px 0 0;
}
.data-table {
	width: 485px;
}
.even-row {
	background: #e9e9e9;
}
.data-table th {
	width: 70px;
	height: 22px;
	font-size: 11px;
	font-weight: normal;
	padding: .3em 5px;
	background:#ec8704;
	background-image: url(/static/img/cc_header.png);
	background-position: bottom left;
	background-repeat: repeat-x;
	border-bottom: 1px solid #000;
	text-align: center;
	color: #fff;
}
.data-table td {
	width: 70px;
	height: 24px;
	padding: 0 5px;
	vertical-align:middle;
	text-align:center;
}
.data-table img {
	vertical-align: middle;
	margin: 0;
	padding: 0;
	display: block;
}
.points {
	min-height: 186px;
	float: left;
	width: 260px;
}
.placebid-box {
	width: 260px;
	height: 20px;
	background: #cecece;
	text-align: center;
	border-top: 1px solid #000;
	border-bottom: 1px solid #000;
	padding: 3px 0px 3px 0px;
}
.completed-placebid-box {
	padding-left: 10px;
	padding-top:5px;
	padding-bottom:10px;
}
.contest-hist {
    text-align:left;
    padding-left:10px;
}
.placebid-box img {
	margin-top: 5px;
}
.graphs {
	width: 717px;
	float: right;
	border-left: 1px solid #000;
}
.legend {
	width: 120px;
	float: right;
	padding: 27px 0 0 0;
}
.legend p {
	line-height: 24px;
}
.legend img {
	vertical-align: middle;
	margin: 0 3px 2px 3px;
}

/* the management link on the analysis page */
.analysis-manager-link {
color: white;
float: right;
padding: 0.3em 10px;
}

/* analysis page form styling */
.option-box {
	min-height: 126px;
	width: 260px;
    border-bottom: 1px solid #000;
}
.option-box label {  
/*    float: left;*/
    font-weight: bold;
    margin-right: 10px;
    max-width: 120px;
    display: inline;
	padding: 5px 5px 5px 5px;
}
.option-box input {
    display: inline;
}

/* analysis page graph size */
#main-graph-wrapper {
    margin: 5px;
}
#main-graph {
height: 155px;
width: 550px;
}

#market-history-wrapper {
margin: 5px;
}
.secondary-graph {
    margin-left: 2px;
    text-align: center;
    height: 155px;
    width: 550px;
}
#trade-volume-graph {
height: 90px;
}
#MarketErrors {
   background-color: #FFF;
   border: 2px solid red;
   color: #000;
   padding: 0px;
   float: right;
   width: 300px;
   font-size: 10px;
   font-weight: bold;
   margin-right: 0px;
   visibility: hidden;
}
MarkerLabel { /* display labels on their own line */
display: in-line;
font-weight: bold;
padding-top: 4px;
padding-bottom: 4px;
}

.ErrorMessage {
   background-color: #FFF;
}
#main-wrap .ErrorMessage p, .ErrorMessage p {
   text-align: center;
   font-weight: normal;
   font-family: inherit;
   font-size: 16px;
}
.ErrorMessage {
   border: 3px solid red;
   padding: 4px;

}

/* analysis page comments styling */
#comment-list {
margin: 0px 0px 40px 300px;
width: 500px;
}
#comment-list hr {
width: 60%;
}
#comment-list p {
font-size: 12px;
}
.comment {
margin: 15px 0px;
}
.up .rate-up {
color: green;
}
.down .rate-down {
color: red;
}
button.reason-form-submit {
background-color: #EC8704;
border: 1px solid #000;
}
button.reason-form-cancel {
background-color: #F0F0F0;
border: 1px solid #686F7F;
}
/* make a nice box around the reasons for downrating */
.rate-down-reasons {
background-color: #F0F0F0; /* an arbitrary gray that looked good */
border: 1px solid #686F7F;
margin-left: 35px;
padding: 7px;
padding-left: 15px;
}
/* the standard spacing for li and p is ugly in this section*/
.rate-down-reasons li, .rate-down-reasons p {
padding: 0;
margin: 0;
}
/* manage page advanced options div*/
.advanced {
visibility: hidden;
float:right;
}
/* add markets page */
.add-marker {
  font-size: 1.2em;
  width: 95px;
  text-decoration: underline;
}

/* central box for a number of pages */
.main-box {
	margin: 0px 0px 10px 0px;
	width: 978px;
	border: 1px solid #000;
	border-bottom: 3px solid #000;
}

.login-box {
  margin: 10px 0px 10px 0px;
  width: 467px;
  border: 1px solid #000;
  border-bottom: 3px solid #000;
  float: left;
}

.login-welcome {
  margin: 0px 0px 10px 0px;
  width: 500px;
  float: right;
}

.leaders-box {
    width: 375px;
    float: left;
}
.account-info-box {
    width: 375px;
    float: right;
    margin: 0px 220px 0px 0px;
}
.markets-table {
	width: 978px;
}
.leaders-table {
    width: 375px;
}
.markets-table th, .leaders-table th {
	height: 22px;
	font-size: 12px;
	font-weight: normal;
	padding: .3em 5px;
	background:#ec8704;
	background-image: url(/static/img/cc_header.png);
	background-position: bottom left;
	background-repeat: repeat-x;
	border-bottom: 1px solid #000;
	text-align: center;
	color: #fff;
}
.markets-table td, .leaders-table td {
	height: 24px;
	padding: 0 5px;
	vertical-align:middle;
	text-align:center;
}
td.market-claim {
	text-align: left;
}
td.status {
	width: 10%;
}
td.closeTimeStamp {
	width: 10%;
}
td.currentPrediction {
	width: 10%;
}
td.lastTrade {
	width: 10%;
}
td.lastChange {
	width: 10%;
}
.negative-change {
color: #C71217;
font-weight: bold;
}
.positive-change {
color: #1E9F25;
font-weight: bold;
}
.positive-change::before{
content: "+";
}
.no-change {
color: #000000;
}

/* select between open/closed market views on holdings page */
#market-type-selector {
text-align: center;
margin: 5px 0px;
}

/* layout for the holdings page table */
.holdings-table .hclaim {
text-align: left;
}
.holdings-table .date {
width: 12%;
}
.holdings-table .outcome {
width: 12%;
}
.holdings-table .bpoints {
width: 12%;
}
.holdings-table .payout {
width: 12%;
}
.holdings-table .value {
width: 12%;
}
.holdings-table .haction {
width: 12%;
}

/* news page adjustments */
.news-page-control {
text-align: center;
}

/* hide the dialog box storage area */
#dialog-boxes {
display: none;
}

/* forms styling */
label { /* display labels on their own line */
display: block;
font-weight: bold;
padding-top: 4px;
padding-bottom: 6px;
}
form p { /* put some space between the fields */
margin: 10px 0;
padding: 0;
}
/* give the form more space on the page */
#main-wrap form.padded {
margin: 10px;
}

/* widen the news editing and creation form*/
#id_title, #id_claim {
width: 350px;
}
#id_text, #id_description, #mf-desc {
width: 540px;
}
.trades th {
    text-align: left;
    vertical-align: bottom;
}
.subtitle-box h2 {
    color: #FFFFFF;
    font-size: 12px;
}
