

#quiz-outer {
  display: table;
  width: 100%;
  height: auto;
  text-align: center;
}

#quiz-inner { 
  display: table-cell;
  vertical-align: middle;
}

#quiz {
  margin: 0;
  position: relative;
  width: 100%;
}

#quiz h1 {
 display: none;
}

#question {
  padding: 40px 20px;
  background: #FAFAFA;
  border: 1px solid #CCC;
  border-radius: 10px; 
  -webkit-border-radius: 10px;
}

#question h2 {
  margin-bottom: 16px;
  font-weight: 600;
  font-size: 20px;
  min-height: 70px;
  padding: 0 20px;
}

#question input[type=radio] {
  display: none;
}

#question label {
  display: inline-block;
  margin: 4px;
  padding: 8px;
  background: #EEE;
  color: #000;
  width: 90%;
  min-width: 100px;
  cursor: pointer;
}

#question label:hover {
  background: #DDD;
}

#question input[type=radio]:checked + label {
  background: #666;
  color: #FFF;
}

#quiz-results {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: absolute;
  top: 0px;
  left: 0px;
  background: #FAFAFA;
  width: 100%;
  height: 100%;
  border: 1px solid #CCC;
  border-radius: 10px; 
  -webkit-border-radius: 10px;
}

#quiz-results-message {
  display: block;
  color: #333;
  font-size: 18px;
  line-height: 25px;
  font-weight: bold;
  width: 90%;
  margin: 0 auto 20px auto;
}

#quiz-results-score {
  display: block;
  color: #666;
  font-size: 20px;
  margin-bottom: 0;
}

#quiz-results-score b {
  color: #333;
  font-weight: 600;
  font-size: 20px;
}


/* BUTTONS */

.btns { text-align: center; overflow: hidden; }

.button {
  align-items: center;
  display: inline-block;
  background-clip: padding-box;
  background-color: #000;
  border: 1px solid transparent;
  border-radius: .25rem;
  box-shadow: rgba(0, 0, 0, 0.02) 0 1px 3px 0;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  font-family: system-ui,-apple-system,system-ui,"Helvetica Neue",Helvetica,Arial,sans-serif;
  font-size: 14px;
  font-weight: 600;
  justify-content: center;
  line-height: 25px;
  margin: 0;
  min-height: 3rem;
  padding: 10px 15px;
  position: relative;
  text-decoration: none;
  transition: all 250ms;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  vertical-align: baseline;
  width: auto;
}

.button:hover{
  background-color: #fcc900;
  box-shadow: rgba(0, 0, 0, 0.1) 0 4px 12px;
}

.button:active {
  background-color: #333;
  transform: translateY(0);
}

#quiz button {
  float: left;
  cursor: pointer;
  outline: none;
  margin: 15px 0 0 0;
}

#quiz button.last { float: right; }

#quiz button:hover {
}

#quiz button:disabled {
  opacity: 0.2;
  cursor: default;
  transform: none;
  background-color: #000;
  display: none;
}

#quiz .reload-container { text-align: center; display: block; }
#quiz .reload { max-width: 150px; margin-top: 20px; padding-left: 50px; background: url('../img/icon-reload-white.png') no-repeat left 15px center; background-size: 25px; background-color: #666; }

#quiz #prev-question-button { padding-left: 40px; background: url('../img/arrow-left3.png') no-repeat left 15px center; background-size: 20px; background-color: #666; margin-right: 10px; }

#quiz #next-question-button { padding-right: 40px; background: url('../img/arrow-right.png') no-repeat right 15px center; background-size: 20px; background-color: #333; float: right; }
#quiz #next-question-button:hover { background-color: #000; }

#quiz #submit-button { display: block; width: 100%; padding-right: 40px; background: url('../img/icon-tick-dark.png') no-repeat right 15px center; background-size: 15px; background-color: #fcc900; color: #333; }

#miner-profile-outer { width: 100%; height: auto; display: block; margin: 0 auto; text-align: center; }

#miner-profile { width: 120px; height: 120px; display: block; margin: 0 auto; background-size: 80% !important;}

#miner-profile.mine-captain { background: url('../img/profiles/icon-profile-mine-captain.svg') no-repeat center; }
#miner-profile.shift-captain { background: url('../img/profiles/icon-profile-shift-captain.svg') no-repeat center; }
#miner-profile.driver { background: url('../img/profiles/icon-profile-driver.svg') no-repeat center; }
#miner-profile.balmaiden { background: url('../img/profiles/icon-profile-balmaiden.svg') no-repeat center; }
#miner-profile.miner { background: url('../img/profiles/icon-profile-miner.svg') no-repeat center; }
#miner-profile.knocker { background: url('../img/profiles/icon-profile-knocker.svg') no-repeat center; }
#miner-profile.slimes { background: url('../img/profiles/icon-profile-slimes.svg') no-repeat center; }
#miner-profile.pony { background: url('../img/profiles/icon-profile-pony.svg') no-repeat center; }
#miner-profile.fired { background: url('../img/profiles/icon-profile-fired.svg') no-repeat center; }
#miner-profile.no-pay { background: url('../img/profiles/icon-profile-no-pay.svg') no-repeat center; }
#miner-profile.dead { background: url('../img/profiles/icon-profile-dead.svg') no-repeat center; }


