* {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

body {
  background: #000000 url('../img/quiz/bg.jpg');
  color: #D0D0D0;
  background-position-x: center;
  background-repeat: no-repeat;
}

a {
  color: #ccc;
  font-weight: bold;
  text-decoration: none;
}

h1 {
  color: #FFFFFF;
  text-align: center;
  text-shadow: 1px 1px 0px #444;
  text-transform: uppercase;
  font-weight: normal;
  letter-spacing: 2px;
  line-height: 2em;
  font-size: 14px;
}

.animate {
  -webkit-transition: opacity 1s, height 1s;
  -moz-transition: opacity 1s, height 1s;
  -o-transition: opacity 1s, height 1s;
  transition: opacity 1s, height 1s;

  overflow: hidden;
}

.animateOff {
  -webkit-transition: opacity 0s, height 0s;
  -moz-transition: opacity 0s, height 0s;
  -o-transition: opacity 0s, height 0s;
  transition: opacity 0s, height 0s;

  overflow: hidden;
}

.animate.slideUp {
  height: 0 !important;
}

.animate.fadeIn {
  opacity: 1.0 !important;
}

.animate.fadeOut {
  opacity: 0.0 !important;
}

.keeper {
  width: 664px;
  height: 365px;
  box-shadow: 0 0 64px #000;
  margin: 0 auto;
  padding: 14px;
  text-align: center;
  font-size: 12px;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(0, 0, 0, 0.5);
}

.keeper .wrapper {
  overflow: hidden;
  height: 100%;
}

#difficulties, #score {
  height: 48px;
  line-height: 48px;
}

.difficulty {
  display: inline-block;
  border-style: solid;
  border-width: 3px;
  text-align: center;
  font-size: 18px;
  margin: 0 6px;
  padding: 0 12px;
  cursor: pointer;
  line-height: 32px;
}

.difficulty.easy {
  border-color: #FFE800;
  background-color: rgba(0, 0, 0, 1);
  color: #FFE800;
  text-transform: uppercase;
  line-height: 32px;
}

.difficulty.normal {
  border-color: #FFE800;
  background-color: rgba(0, 0, 0, 1);
  color: #FFE800;
  text-transform: uppercase;
}

.difficulty.unfair {
  border-color: #810 #610 #610 #810;
}

#spacer {
  height: 72px;
}

#score, #stats {
  font-weight: bold;
  font-size: 18px;
}

#score {
  padding-left: 35px;
  color: white;
  text-transform: uppercase;
}

#stats {
	height: 36px;
	line-height: 36px;
}

#score .change {
  width: 46px;
  text-align: left;
  margin-left: 4px;
}

#score .positive {
  color: #A5DD00;
}

#score .negative{
  color: #FF0000;
}

.question {
  margin: 0 auto;
  height: 110px;
}

.question > * {
  display: inline-block;
  vertical-align: middle;
}

.option {
  border-style: solid;
  border-width: 2px;
  border-color: #909090;
  margin: 6px;
  text-align: center;
  cursor: pointer;
}

.option-green {
  border-style: solid;
  border-width: 2px;
  margin: 6px;
  text-align: center;
  cursor: pointer;
  background-color: #A5DD00;
  border-color: #A5DD00;
}

.option-red {
  border-style: solid;
  border-width: 2px;
  margin: 6px;
  text-align: center;
  cursor: pointer;
  background-color: #FF0000;
  border-color: #FF0000;
}

.icon {
  width: 85px;
  height: 64px;

  font-size: 48px;
  line-height: 64px;

  background-size: 100% auto;
  background-position: left center;
}

/* the items extracted from the client have whitespace to the right */
.icon.item {
  background-size: 124px 64px;
}

.example .icon.item {
  background-size: 67px 32px;
}

.example {
  display: inline-block;
  width: 33%;
}

.example .icon {
  width: 42px;
  height: 32px;

  font-size: 24px;
  line-height: 32px;
}

.option.text {
  padding: 4px 20px;
  text-transform: capitalize;
  position: relative;
}

.option:hover {
  border-color: #FFE800;
}

.correct, .correct:hover {
  background-color: #000000;
  color: #A5DD00;
}

.correct-yes {
  width: 20px;
  margin-top: -7px;
}

.correct:before {
  content: '✓';
}

.correct.text:before {
  position: absolute;
  left: 6px;
}

.incorrect, .incorrect:hover {
  background-color: #000000;
  color: #FF0000;
}

.incorrect:before {
  content: '☓';
}

.incorrect-no {
  width: 25px;
  margin-top: -7px;
}

.incorrect.text:before {
  position: absolute;
  left: 6px;
}

.explanation {
  display: block;
  border-top: 1px solid #909090;
  margin: 12px;
  padding: 12px;
}

#stats .correct {
padding: 2px 8px;
border: 3px solid #A5DD00;
}

#stats .incorrect {
padding: 2px 8px;
border: 3px solid #FF0000;
}
