﻿/**
 * jQuery TopTrumps
 *
 * @version 0.9.1
 * @author Christian Hanne <mail@christianhanne.de>
 * @author Sophie Sievert <mail@sophiesievert.de>
 */

 body{
   font-family: Arial;
 }

.tt-wrapper {
  width: 600px;
  margin: 10% auto 0;


  font: 0.875em/1.2em Helvetica, Arial, sans-serif;
}

.tt-side {
  width: 50%;
  float: left;
}

.tt-side.tt-user .tt-card {
  color: #3a87ad;
  background: #d9edf7;
  border: 1px solid #bce8f1;
}

.tt-side.tt-user .tt-card-name {
  background: #3a87ad;
}

.tt-side.tt-user .tt-points {
  color: #3a87ad;
}

.tt-side.tt-user .tt-card-field.top-trump {
  color: blue;
}

.tt-side.tt-cpu .tt-card {
  color: #b94a48;
  background: #f2dede;
  border: 1px solid #eed3d7;
}

.tt-side.tt-cpu .tt-card-name {
  background: #b94a48;
}

.tt-side.tt-cpu .tt-points {
  color: #b94a48;
}

.tt-card {
  width: 90%;
  margin: 0 auto;
  padding: 5% 0;
  min-height: 424px;
  position: relative;

  -webkit-box-shadow: 0px 0px 8px 0px #ccc;
          box-shadow: 0px 0px 8px 0px #ccc;

  -webkit-border-radius: 8px;
          border-radius: 8px;
}

.tt-card img {
  width: 96%;
  height: auto;
  margin: 4px auto 16px;
  display: block;
  position: relative;

  -webkit-border-radius: 4px;
          border-radius: 4px;
}

.tt-card-field {
  width: 90%;
  margin: 4px auto 0;
  padding: 4px 8px;

  cursor: pointer;
  background: #FFFFFF;

  -webkit-border-radius: 4px;
          border-radius: 4px;
}

.tt-card-name {
  width: 96%;
  margin: 0 auto;
  padding: 0.2em 0px;

  font-size: 1.5em;
  line-height: 1em;
  text-align: center;

  color: #FFFFFF;

}

.tt-points {
  padding: 0.5em;
  font-size: 2em;
  text-align: center;
}

.tt-user .tt-card-field.active {
  color: #FFFFFF;
  background: #3a87ad;
}

.tt-cpu .tt-card-field.active {
  color: #FFFFFF;
  background: #b94a48;
}

.tt-card-field-name {
  width: 50%;
  display: inline-block;
  font-weight: bold;
}

.tt-card-field-value {
  width: 50%;
  display: inline-block;
  text-align: right;
}

.tt-card-field {
  clear: left;
}

.tt-overlay {
  top:0;
  left:0;
  position:absolute;
  z-index: 2;

  width: 100%;
  height: 100%;

  background: #FFF;
}

.tt-start {
  text-align: center;
  cursor: pointer;
  font-size: 2em;
  line-height: 1.5em;
  width: 100%;
}

.tt-start-button,
.tt-next-button {
  margin-top: 25%;
  text-align: center;
  cursor: pointer;
  font-size: 2em;
  line-height: 1.5em;
}

.tt-start-button {
  top: 0;
  position: absolute;
  width: 100%;
}
