@font-face {
    font-family: 'BoycottRegular';
    src: url('../fonts/boycott_-webfont.eot');
    src: url('../fonts/boycott_-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/boycott_-webfont.woff') format('woff'),
         url('../fonts/boycott_-webfont.ttf') format('truetype'),
         url('../fonts/boycott_-webfont.svg#BoycottRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}

body {
  background: url(../images/bg.jpg) #002e00;
  font: normal 12px/18px Arial, Helvetica, sans-serif;
}

h1 {
  color: #4d4b45;
  font-size: 24px;
  font-weight: normal;
  line-height: 30px;
  margin-bottom: 20px;
  text-align: center;
}
h2 {
  color: #4d4b45;
  font-size: 20px;
  font-weight: normal;
  line-height: 26px;
  margin-top: 20px;
  margin-bottom: 14px;
}
a {
  text-decoration: underline;
  color: #2971a5;
}
a:hover {
  text-decoration: none;
}
ul, p {
  margin-bottom: 14px;
}
p:last-child {
  margin-bottom: 0px;
}
ul > li {
  list-style-type: disc;
  margin-left: 1rem;
}

/* helpers */
.rounded {
  border-radius: 3px;
}
.rounded-top {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}
.rounded-bottom {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.clear {
  clear: both;
}

/* page */
div#page {
  background: url(../images/glow.jpg) no-repeat top center;
  margin: 0 auto 40px;
  padding-top: 1px;
  width: 960px;
}

/* content */
div#content {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
  margin-top: 260px;
}

div#next {
  background: #fff9d9;
  height: 112px;
  margin-bottom: 1px;
  padding: 20px 0 0;
  position: relative;
  text-align: center;
}
div#next .team {
  position: absolute;
  top: -185px;
}
div#next .left {
  left: 50px;
}
div#next .right {
  right: 50px;
}
div#next .team strong {
  color: #4d4b45;
  display: block;
  font-size: 21px;
  font-weight: normal;
  line-height: 30px;
  text-transform: uppercase;
}
div#next .vote { position: absolute;
  color: #fff;
  font: normal 86px/96px 'BoycottRegular';
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
  top: -120px;
  width: 100%;
}
div#next p button {
  margin-bottom: 6px;
}
div#next p span {
  color: #99968a;
  font-size: 11px;
}
div#next p span em {
  color: #4d4b45;
  font-style: normal;
}

table#matches {
  width: 100%;
}
table#matches td, th {
  margin: 0;
  padding: 0;
}
table#matches thead tr {
  background: #f3efda;
}
table#matches thead th {
  color: #4d4b45;
  font-weight: normal;
  line-height: 30px;
  text-align: left;
  text-transform: uppercase;
}

table#matches tbody tr.match-stage td {
  background: #4d4b45;
  color: #fff;
  line-height: 32px;
  padding-left: 50px;
  text-align: center;
  text-transform: uppercase;
}

table#matches tbody td {
  border-bottom: 1px solid #f3efda;
  color: #b2aea0;
  line-height: 50px;
}
table#matches tbody td.index {
  text-align: center;
}
table#matches tbody td.country {
  color: #4d4b45;
  font-size: 16px;
  text-transform: uppercase;
}
table#matches tbody td.versus {
  text-transform: uppercase;
}
table#matches thead th.score,
table#matches tbody td.score {
  text-align: center;
}
table#matches tbody td img {
  vertical-align: middle;
}

table#matches tbody td span.points {
  color: #4d4b45;
  font-size: 16px;
}
table#matches tbody td span.points.positive {
  color: #5ac711;
}

table#matches tr th:first-child {
  padding-left: 50px;
}
table#matches tr th:last-child,
table#matches tr td:last-child {
  padding-right: 50px;
  text-align: center;
}

table#vote,
table#login {
  margin: 0 auto;
  width: 300px;
}
table#vote tr.ot td {
  line-height: 50px;
}
table#vote td,
table#vote td input {
  vertical-align: middle;
  text-align: center;
}
table#vote td input {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 24px;
}
table#vote td span {
  color: #4d4b45;
  display: block;
  line-height: 30px;
}

table#login tr td {
  padding: 4px;
  font-size: 14px;
  color: #4d4b45;
}
table#login tr td input {
  font-size: 14px;
}
table#login tr td:first-child {
  text-align: right;
}

div#standings {
  background: #fff9d9;
  border-top: 1px solid #fff;
  padding: 20px 50px 30px;
}
div#standings h2 {
  color: #99968a;
  font-size: 18px;
  font-weight: normal;
  margin-bottom: 20px;
  text-transform: uppercase;
}
div#standings ul {
  color: #4d4b45;
  float: left;
  font-size: 14px;
  text-transform: capitalize;
  width: 220px;
}
div#standings ul li span.right {
  float: right;
  margin-right: 40px;
}

/* modal */
.tingle-modal-box {
  overflow: hidden;
  width: 500px;
}
.tingle-modal-box__content {
  padding: 40px;
}
div#action {
  background: #eee;
  border-top: 1px solid #ddd;
  margin: 40px -40px -40px;
  padding: 10px;
  text-align: right;
}

/* elements */
button {
  border-radius: 3px;
  cursor: pointer;
  font: normal 14px/30px Arial, Helvetica, sans-serif;
  padding: 0 15px;
  margin: 0;
  background: linear-gradient(#ffffff, #d5d5d5);
  border: 1px solid #aaa;
  color: #666;
  text-shadow: 0px 1px 0px rgba(255, 255, 255, 1);
}
button.primary {
  background: linear-gradient(#3695d9, #2971a5);
  border: 1px solid #23608c;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 1px 2px rgba(0, 0, 0, 0.5);
  color: #fff;
  text-shadow: 0px -1px 0px rgba(29, 79, 115, 1);
}

span.live {
  background: linear-gradient(#f51818, #c31414);
  border-radius: 2px;
  color: #fff;
  padding: 2px 6px;
  text-transform: uppercase;
}

span.input-error {
  color: red !important;
}


div.standings-wrapper {
  margin: 0 20px 20px;
  min-width: 960px;
  overflow-x: scroll;
}
h2.standings-header {
  color: #fff;
  font-size: 18px;
  font-weight: normal;
  margin-bottom: 20px;
  margin-left: 20px;
  text-transform: uppercase;
}
h2.standings-header span {
  text-transform: none;
}
h2.standings-header a {
  color: #fff;
}

table.standings {
  border-collapse: collapse;
  width: 100%;
}

table.standings th,
table.standings td {
  border: 1px solid #ddd;
  line-height: 1rem;
  padding: 4px 6px;
  vertical-align: middle;
}

table.standings td {
  background: #eee;
}

table.standings th {
  background: #f3efda;
  color: #4d4b45;
  font-weight: 400;
  text-transform: uppercase;
}

table.standings tbody tr.current-user td {
  background: #ffffff;
}
table.standings tbody td.future-match {
  background: #ffffff;
}
table.standings tbody td.live-match,
table.standings tbody tr.current-user td.live-match {
  background: #e3f2fd;
}

table.standings tbody td.score {
  font-size: 18px;
  text-align: right;
}

table.standings tbody td.prediction {
  height: 56px;
  padding: 0;
  width: 100px;
}
table.standings tbody td.prediction > div {
  align-items: stretch;
  display: flex;
  height: 100%;
}
table.standings tbody td.prediction > div > div:first-child {
  align-content: center;
  color: #9e9e9e;
  flex-grow: 2;
  font-size: 11px;
  text-align: center;
}
table.standings tbody td.prediction > div > div.icon {
  line-height: 1em;
}
table.standings tbody td.prediction > div > div:first-child span {
  font-size: 18px;
  color: #4d4b45;
}
table.standings tbody td.prediction > div > div.negative,
table.standings tbody td.prediction > div > div.neutral,
table.standings tbody td.prediction > div > div.positive,
table.standings tbody td.prediction > div > div.maximum {
  align-items: center;
  /* border-radius: 3px; */
  display: flex;
  font-family: monospace;
  font-weight: 600;
  /* height: 1.3rem; */
  justify-content: center;
  width: 2rem;
}
table.standings tbody td.prediction > div > div.negative {
  background: #f44336;
  color: white;
}
table.standings tbody td.prediction > div > div.neutral {
  background: #bdbdbd;
  color: white;
}
table.standings tbody td.prediction > div > div.positive {
  background: #4caf50;
  color: white;
}
table.standings tbody td.prediction > div > div.maximum {
  background: #ffd600;
  color: #212121;
}
