/* This stylesheet controls the appearance of the Sports PHool pages.
   You'll need some familiarity with CSS to make changes here */

/* Main page properties */
HTML, BODY {
  height: auto !important; /* FF and compliant browsers should automatically size the body/html */
  height: 100%; /* IE will set the body/html to 100%, anything overflowing that will (incorrectly) resize it. go IE */
  min-height: 100%; /* when FF/etc automatically size the body/html it should be AT LEAST the height of the entire browser window, but can expand based on content. */
}
BODY {
  margin: 0;
  background: #333333;
  color: #FFFFFF;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 14px;}

/* Link properties */
A {text-decoration: underline;}
A:link {color: #CCCCCC;}
A:visited {color: #CCCCCC;}
A:active {color: #FFFFFF;}

/* Miscellaneous page item properties */
H1 {font-style: italic;}
H2, H3 {color: #FF5500;}
H1, H2, H3, H4 {font-family: Georgia;}
P, TD, TH {font-family: sans-serif; font-size: 1em;}
HR {color: #FF5500; width: 70%; text-align: center;}
CODE {color: #FF5500; font-family: monospace;}
INPUT, SELECT, TEXTAREA {font-size: 0.8em; font-family: monospace;}
LI {margin-top: .5em;}
IMG { border:0 none; }
.currency {
  background-image: url('./dollar.png');
  background-repeat: no-repeat;
  padding-left: 1em;
  text-align: right;
}

/* STRONG is used for error messages */
STRONG {color: #FF5500;}

/* Common table properties, used by Sports PHool content */
TABLE {border: 0;}
TH {
  margin: 0;
  padding: 0.5em;
  border: 0;
  background: #9F7A4D;
  color: #000000;
  border-right: 1px solid #330033;
  border-bottom: 1px solid #000000;
  text-align: center;
  vertical-align: middle;}
TD {
  margin: 0;
  padding: 0.5em;
  border: 0;
  border-right: 1px solid #333333;
  border-bottom: 1px solid #000000;
  text-align: center;
  vertical-align: bottom;}

/* The data cells for alternate rows */
TR.even TD {background-color: #DDD; color: #000;}TR.even A,TR.even A:VISITED {color: #660066;}
TR.odd TD {background-color: #FFF; color: #000;}TR.odd A,TR.odd A:VISITED {color: #660066;}
TR.even2 TD {background-color: #E2E2E2; color: #000;}TR.even2 A,TR.even2 A:VISITED {color: #660066;}
TR.odd2 TD {background-color: #F2F2F2; color: #000;}TR.odd2 A,TR.odd2 A:VISITED {color: #660066;}

TR.inactive TD {font-style:italic;}

/* The data cells for the viewing player on the Leaderboard */
TR.player TD, TD.player {font-weight: bold;}

/* Properties for the page table: the one that holds all page content */
TABLE.page {
  border: 0;
  border-collapse: collapse;
  width: 100%;
  height: 100%;}

/* Page table header cell in which the page header appears */
TH.header {
  border: 0;
  background: #9F7A4D;
  text-align: center;
  vertical-align: middle;}
SMALL.slogan {
  font-family: Verdana;
  font-style: normal;
  font-size: small;}

TR.mainnavrow {
  height: 1em;
}
TR.footer TD {
  padding: 0;
  border: 0;
}
/* Page table cell in which the user's info appears */
TD.username {
  border-top: 1px solid #FFFFFF;
  border-bottom: 1px solid #000000;
  border-right: none;
  background: #E95E09;
  color: #000000;
  text-align: right;
  vertical-align: middle;
  font-size: small;
  font-weight: bold;
}

/* Page table data cell in which the main navigation appears */
TD.mainnav {
  border: 0;
  border-top: 1px solid #FFFFFF;
  border-bottom: 1px solid #000000;
  border-right: none;
  background: #E95E09;
  color: #000000;
  text-align: center;
  vertical-align: middle;
  font-size: small;
  font-weight: bold;
}

TR.pageheader {
  height:100px;
}
/* Page table data cell in which the content of Sports PHool appears */
.content > TD {
  border: 0;
  background: #333333;
  padding: 2% 5%;
  text-align: left;
  vertical-align: top;}

.welcome {
  padding: 0;
  margin: 0;
}

/* The DIV for existing user logins in signon.php */
DIV.login {
  padding: 1em;
  line-height: 150%;
  border: 3px ridge #CCFFCC;
}

/* The DIV for new user registrations in signon.php */
DIV.register {
  margin-top: 1em;
  padding: 1em;
  line-height: 150%;
  border: 3px ridge #FFCCFF;
}

/* A special class to apply to the currently viewed week in the weeks list
   See shared.php for its use */
.deadlink {
  color: #000000;
  background: #CCCCCC;}

/* The format for the list of weeks for switching views */
P.switchweek {
  font-size: 1.0em;
  font-weight: bold;
  background: #E95E09; /*#9F7A4D;*/
}

/* The Sports PHool notice at the bottom of each page */
DIV.phoolnotice {
  text-align: right;
  border-top: 2px solid #FF5500;
  font-size: x-small;
}
DIV.phoolnotice A:link {color: #FFFFFF;text-decoration: none;}
DIV.phoolnotice A:visited {color: #FFFFFF;}
DIV.phoolnotice SPAN {font-weight: bold;}

table.news {
  width: 100%;

}
.newsTitle {
  width: 100%;
  text-align: left;
  padding-left: 5px;
}
.newsBody {
  text-align:left;
  vertical-align:baseline;
  padding:0;
  color:white;
  border:0 none
}
.newsDate, .newsUser {
  width: 100%;
  text-align: left;
  font-style: italic;
  font-weight: normal;
  font-size: small;
}
.newsDeny{background-color:#990000;}

div.whosonline {
  height: auto !important; /* FF and compliant browsers should automatically size the body/html */
  height: 100%; /* IE will set the body/html to 100%, anything overflowing that will (incorrectly) resize it. go IE */
  min-height: 100%; /* when FF/etc automatically size the body/html it should be AT LEAST the height of the entire browser window, but can expand based on content. */
  background-color:#666;
  color:white;
}
div.whosonline table{width:100%;table-layout:fixed;}
div.onlineTitle{color: #FF5500;font-size:1em;font-weight:bold;clear:right;}
tr.onlineHeader th{font:bold 14px Helvetica;margin:0;padding:0;clear:both;color:#444;background-color:#b5b5b5;background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0.55,#b5b5b5),color-stop(0.45,#d4d4d4));}
tr.onlineData td{color:#000;text-shadow:rgba(0,0,0,0.3) 2px 2px 2px;border-bottom:1px solid #999;font-size:12px;overflow:hidden;}
tr.onlineData td a{color:#000;text-decoration:none;}
tr.onlineData td a:visited{color:#000;}

td.pick-distribution{text-align:left;}
div.pick-favorite, div.pick-underdog, div.pick-upset{text-align:left;}
div.pick-favorite div.pick-statusbar{
  display:inline-block;
  background-image: -webkit-gradient( linear, left bottom, left top, color-stop(0, #6DB551), color-stop(1, #90DD63) );
  background-image: -moz-linear-gradient( center bottom, #6DB551, #90DD63 );}
div.pick-underdog div.pick-statusbar{
  display:inline-block;
  background-image: -webkit-gradient( linear, left bottom, left top, color-stop(0, #DE3C31), color-stop(1, #FF5048));
  background-image: -moz-linear-gradient( center bottom, #DE3C31, #FF5048 );
}
div.pick-upset div.pick-statusbar{
  display:inline-block;
  background-image: -webkit-gradient( linear, left bottom, left top, color-stop(0, #DE3C31), color-stop(1, #FF5048));
  background-image: -moz-linear-gradient( center bottom, #DE3C31, #FF5048 );
}
.winner {color: #009900;}
.loser {color: #990000;}
.tied {color: goldenrod;}
td.tied {border: 3px ridge goldenrod;}
td.winner {border: 3px ridge green;}
td.loser {border: 3px groove red;}

.sim_0 {border: 3px ridge #0089BF;}
.sim_10 {border: 3px ridge #179999;}
.sim_20 {border: 3px ridge #2da873;}
.sim_30 {border: 3px ridge #44b74d;}
.sim_40 {border: 3px ridge #5ac627;}
.sim_50 {border: 3px ridge #70d500;}
.sim_60 {border: 3px ridge #88b700;}
.sim_70 {border: 3px ridge #9f9900;}
.sim_80 {border: 3px ridge #e45d00;}
.sim_90 {border: 3px ridge #ce5d00;}
.sim_100 {border: 3px ridge #e53f00;}

th.rotate {
  height: 150px;
  white-space: nowrap;
}
th.rotate > div {
  transform: translate(0px, 60px) rotate(270deg);
  width: 30px;
}
th.rotate > div > span {
  /*border-bottom: 1px solid #ccc;*/
  /*padding: 5px 10px;*/
}

@media print {
  TR.pageheader, .switchprofile, .switchweek, .pagetitle, TR.mainnavrow, .cbssportswidget, #dhtmlwindowholder { display:none; }
  TD { padding:1px; }

}


