/* FRC Scouting 2013 :: main.css :: Scouting CSS
 * Released to public domain by FRC Team 3138
 * Authors: Josh Klar <j@iv597.com>
 */
/* General design notes:
 * - Targets non-retina iPad for landscape mode, meaning you need at 
 *   least 1024px to use that. Sorry, not sorry.
 *
 * - Meanwhile, use whatever you want for portrait mode. Note, though, 
 *   that phones tend to really, *really* hate the climb button portion. 
 *   Not that that shouldn't be expected if you look at the content there.
 *
 * - Zen of Python: "Beautiful is better than ugly, [...] Simple is 
 *                  better than complex." It applies to design, too.
 */

/* WARNING TO THE PURISTS
 *
 * The interface was almost completely redesigned in a frantic all-nighter 
 * coding session before Queen City's second day of competition to make 
 * the interface easier to use per feedback we had gotten. As such, I made 
 * no effort to go through and add rules to existing sets, remove rulesets 
 * for which the page element no longer existed, etc. So yes, there's a 
 * lot of useless cruft in this file. Sorry. I'll fix it by IRI... I hope.
 */

* {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  font-size: 14px;
}
p,
h1,
h2,
h3,
label {
  color: #ccccc0;
}
body {
  background: url("diagmonds.png");
  background-repeat: repeat;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}
@media (min-width: 1024px) {
  body {
    width: 1024px;
  }
}
.noshow {
  display: none;
}
h1 {
  text-align: center;
  padding: 0.25em;
  font-size: 20pt;
}
h2 {
  font-size: 18pt;
  font-variant: small-caps;
  text-align: center;
}
button {
  padding-top: 1em;
  padding-bottom: 1em;
  overflow: hidden;
}
button:active,
button.active {
  background-color: green;
}
#climbClock {
  font-size: 24pt;
}
#topHalf {
  overflow: hidden;
}
#leftHalf {
  overflow: hidden;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 1024px) {
  #leftHalf {
    float: left;
    width: 49%;
  }
}
#rightHalf {
  overflow: hidden;
}
@media (max-width: 1023px) {
  #rightHalf {
    margin-top: 1em;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (min-width: 1024px) {
  #rightHalf {
    float: right;
    width: 49%;
  }
}
#gamefield {
  overflow: hidden;
  margin-bottom: 5px;
  display: block;
}
#matchNum {
  float: left;
  height: 100%;
  width: 40%;
  font-size: 18pt;
}
#matchNum, .teamSelBtn {
    width: 13%;
}
#matchOpts {
  width: 100%;
  margin-bottom: 1em;
  overflow: hidden;
}
#modeBtns {
  overflow: hidden;
}
.modeBtn {
  width: 47%;
  margin-bottom: 2em;
}
#autoBtn {
  float: left;
}
#telBtn {
  float: right;
}
.modeBtn,
.climbModeBtn {
  background: #fff;
  color: #036;
}
.modeBtn:disabled,
.climbModeBtn:disabled,
.teamSelBtn:disabled {
  background: #45484d;
/* Old browsers */
  background: -moz-radial-gradient(center, ellipse cover, #45484d 0%, #000 100%);
/* FF3.6+ */
  background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, #45484d), color-stop(100%, #000));
/* Chrome,Safari4+ */
  background: -webkit-radial-gradient(center, ellipse cover, #45484d 0%, #000 100%);
/* Chrome10+,Safari5.1+ */
  background: -o-radial-gradient(center, ellipse cover, #45484d 0%, #000 100%);
/* Opera 12+ */
  background: -ms-radial-gradient(center, ellipse cover, #45484d 0%, #000 100%);
/* IE10+ */
  background: radial-gradient(ellipse at center, #45484d 0%, #000 100%);
/* W3C */
  color: #daa520;
}
#eventBtnsWrapper {
  overflow: hidden;
  margin-bottom: 2em;
}
.eventBtns h2 {
  text-align: center;
  font-size: 18px;
  margin-bottom: 0.5em;
}
.eventBtns {
  width: 33%;
  float: left;
  display: inline;
}
.eventBtns button {
  display: block;
  text-align: center;
  width: 95%;
  margin-bottom: 1em;
}
.eventBtns:last-child {
  margin-bottom: 0;
}
#sendBtn {
  width: 50%;
  float: left;
}
#sendBoxes {
  text-align: center;
  height: 3em;
}
#defendedBox,
#interferedBox {
  height: 5em;
  display: inline;
  vertical-align: middle;
  margin-left: 1.3em;
}
label {
  font-size: 130%;
}
.climbStep {
  width: 18%;
  overflow: hidden;
  padding: 5px;
  display: inline-table;
}
.climbStepBtn {
  display: block;
  margin-bottom: 1em;
  width: 100%;
}
.climbModeBtn {
  width: 49.5%;
}
.climbInterval {
  text-align: center;
}
#stp2Interval,
#stp3Interval,
#stp4Interval {
  font-size: 20pt;
}
#breakdowns,
#defense,
#notes {
  text-align: center;
  width: 32%;
}
#breakdowns {
  float: left;
}
#defense {
  margin-left: auto;
  margin-right: auto;
}
#notes {
  margin-right: 0;
  float: right;
  height: 100%;
}
.brkdwnBtn,
#team1def,
#team2def,
#team3def {
  width: 100%;
  margin-bottom: 5px;
}
#notesBox {
  width: 100%;
  height: 85%;
  overflow: hidden;
}
#brkDefNotes {
  margin-top: 1em;
  overflow: hidden;
}
#notesSubmit {
  overflow: hidden;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}
#team1def,
#team2def,
#team3def {
  overflow: hidden;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
#botTop {
    overflow: hidden;
    padding-bottom: 1em;
}
#botTopLeft h2 {
    display: inline;
}
#botTopLeft button {
    width: 23%;
    float: right;
}
#botTopLeft {
  padding-top: 1em;
  overflow: hidden;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 1024px) {
  #botTopLeft {
    float: left;
    width: 49%;
  }
}
#botTopRight {
  overflow: hidden;
}
@media (max-width: 1023px) {
  #botTopRight {
    margin-top: 1em;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (min-width: 1024px) {
  #botTopRight {
    float: right;
    width: 49%;
  }
}
#pickupsSection, #foulsSection, #defSection {
    overflow: hidden;
    padding-bottom: 1em;
}
#cardsSection {
    float: left;
    padding-right: 1em;
}
#cardsSection button {
    margin-bottom: 1em;
    display: block;
    width: 100%;
}
#notesSection {
    overflow: hidden;
}
#shotLeft {
    float: left;
    width: 32%;
}
#shotRight {
    float: right;
    width: 32%;
}
#shotCenter {
    width: 32%;
    margin-left: auto;
    margin-right: auto;
}
#shotLeft button, #shotRight button, #shotCenter button {
    display: block;
    width: 100%;
    margin-bottom: 1em;
}
#shotBtnLeft, #shotBtnRight {
    margin-top: 1em;
}
#shotBtnPyr, #shotBtnSide {
    margin-top: 4em;
}
.modeBtn {
    width: 75%;
    margin-left: auto;
    margin-right: auto;
}
input[type="checkbox"] {
	-webkit-transform: scale(2);
	transform: scale(2);
}
button { 
	background: rgb(252,255,244); /* Old browsers */
	background: -moz-radial-gradient(center, ellipse cover, rgba(252,255,244,1) 0%, rgba(223,229,215,1) 40%, rgba(179,190,173,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,rgba(252,255,244,1)), color-stop(40%,rgba(223,229,215,1)), color-stop(100%,rgba(179,190,173,1))); /* Chrome,Safari4+ */
	background: -webkit-radial-gradient(center, ellipse cover, rgba(252,255,244,1) 0%,rgba(223,229,215,1) 40%,rgba(179,190,173,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-radial-gradient(center, ellipse cover, rgba(252,255,244,1) 0%,rgba(223,229,215,1) 40%,rgba(179,190,173,1) 100%); /* Opera 12+ */
	background: -ms-radial-gradient(center, ellipse cover, rgba(252,255,244,1) 0%,rgba(223,229,215,1) 40%,rgba(179,190,173,1) 100%); /* IE10+ */
	background: radial-gradient(ellipse at center, rgba(252,255,244,1) 0%,rgba(223,229,215,1) 40%,rgba(179,190,173,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fcfff4', endColorstr='#b3bead',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}
#passwordLoading, #prematchOverlay, #actualInterface {
	display: none;
}
#youAreScouting {
	background-color: yellow;
}
