html {
  -webkit-text-size-adjust: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
  cursor: default;
}
body, textarea, button, .ath-container {
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  font-weight: 300;
}
h1 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;

}
h2 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
}
.blue, .blue h1, .blue h2 {
  background: #50bbff;
  color: #00548a;
}
.red, .red h1, .red h2 {
  background: #ff6450;
  color: #8a1000;
}
.guessed {
  opacity: 0.2;
}
#gameover {
  padding: 3vmin;
  font-size: 3vmin;
  font-weight: 700;
}
#turnPanel {
  flex: 0 1 auto;
  display: flex;
}
#currentTurn {
  flex: 4 0 0;
}
#currentTurn > div {
  padding: 3vmin;
  font-size: 3vmin;
  font-weight: 700;
}
#nextTurn {
  flex: 0 0 auto;
}
#nextTurn > div {
  text-align: center;
  padding: 3vmin;
  font-size: 3vmin;
  font-weight: 700;
  cursor: pointer;
}
#timer > div {
  text-align: center;
  font-size: 8vmin;
  font-weight: 700;
  line-height: 8vmin;
  padding: 0 4vmin;
}
#timer > div.danger {
  animation: blinker 1s linear infinite;
}

@keyframes blinker {
  50% {
    color: #ff6450;
    text-shadow: 0px 0px 10px #ff6450;
  }
}
#gameover.death {
  background: #444;
  color: #aaa;
}
.uk-panel-box.blue {
  /* border-color: #00548a; */
  border-color: transparent;
}
.guessed.blue {
  color: #159ff4;
}
.uk-panel-box.red {
  /* border-color: #8a1000; */
  border-color: transparent;
}
.guessed.red {
  color: #ec4732;
}
.uk-panel-box.death {
  background: #444;
  /* border-color: #000; */
  border-color: transparent;
  color: #aaa;
}
.uk-panel-box.empty {
  color: #d8cfad;
  background: #fffcf5;
  /* border-color: #ffeebd; */
  border-color: transparent;
}
#status > span {
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 22px;
}
.table {
  /* filter: blur(4px); */
  flex: 5 1 0px;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}
.table > .card {
  flex: 1 0 20%;
  flex-direction: column;
  display: flex;
  min-width: 20%;
  /*min-height: 20%;*/
  box-sizing: border-box;
  text-align: center;
  text-transform: uppercase;
  /* font-style: italic; */
  font-weight: bold;
  font-family: 'Roboto Condensed', sans-serif;
  letter-spacing: 0.5px;
  font-size: 4vmin;
  align-self: stretch;
  user-select: none;
}
.table > .card > div {
  flex: 1 0 100%;
  display: flex;
  align-items: center;

  padding: 4px 12px;
  width: 100%;
  box-sizing: border-box;
  cursor: pointer;

  position: relative;
}
.table > .card > div > span {
  flex: 1 0 0;
  line-height: normal;
}
.table > .card > div > span.pic {
  display: block;
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 12px;
  right: 12px;
  background-size: contain !important;
  background-position: 50% !important;
  background-repeat: no-repeat !important;
  -webkit-print-color-adjust: exact;
}
.table > .card > div.capn, .table > .card > div.open {
  cursor: default;
}
.table > .card > div.open > span.pic {
  opacity: 0.6;
}
.table > .card > div.open.empty > span.pic {
  opacity: 0.4;
}

.uk-tooltip {
  max-width: 300px;
}
.ath-container p {
  font-size: 1em;
}

#playgroundBox {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
}

#txtCredits {
  text-align: center;
}

.bottom-panel {
  flex: 0 1 17vmin;
  position: relative;
}
@media print {
  .bottom-panel {
    display: none;
  }
}
.bottom-panel-inner {
  display: flex;
  transition: all 0.3s ease-out;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
}
.bottom-panel.opened .bottom-panel-inner {
  top: -250%;
  box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.3);
}
.bottom-panel-team {
  flex: 2 2 0px;
  /* padding: 14px 0 5px 0; */
}
.bottom-panel-team h2 {
  font-size: 3vmin;
  margin: 2vmin 0 3vmin;
}
.bottom-panel-actions {
  /* display: flex; */
  /* flex-direction: column; */
  /* justify-content: space-between; */
  padding: 0 3vmin 3vmin;
  background: #fff;
  border-top: 1px solid #ddd;
  transition: border-top-color 0.3s ease-out;
}
.bottom-panel.opened .bottom-panel-actions {
  border-top-color: transparent;
  padding-top: 3vmin;
}
.bottom-panel-button {
  width: 100%;
  margin-bottom: 2vmin;
}
.bottom-panel-buttons {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-out;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.bottom-panel.opened .bottom-panel-buttons {
  opacity: 1;
  pointer-events: auto;
}

.bottom-panel-count {
  text-align: center;
  font-size: 15vmin;
  line-height: 17vmin;
  margin: 0;
  display: none;
}

.bottom-panel-toggle {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}
.bottom-panel-toggle-btn {
  text-align: center;
  padding-top: 1.3vmin;
  font-size: 2.5vmin;
  color: #999;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: #fff;
  width: 13vmin;
  height: 13vmin;
  border-radius: 11vmin;
  margin: auto;
  box-sizing: border-box;
  box-shadow: 2px 2px 12px 0px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: box-shadow 0.3s ease-out;
}
.bottom-panel-toggle-btn:hover {
  box-shadow: 2px 2px 12px 0px rgba(0, 0, 0, 0.4);
  transition: none;
}
.bottom-panel-toggle-btn:active {
  background: #fafafa;
}
.bottom-panel-toggle-btn i {
  display: block;
}

#txtForceNotification {
  position: absolute;
  z-index: 200000;
  top: 5px;
  bottom: 5px;
  background: rgba(0,0,0,0.85);
  width: 65%;
  left: 0;
  right: 0;
  margin: auto;
  color: #fff;
  font-size: 4vmin;
  padding: 20px 50px;
  text-align: center;
  line-height: normal;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transform: translateY(120%);
  transition: transform 0.5s;
}

#txtForceNotification.shown {
  transform: translateY(0);
}

#playgroundKey {
  text-align: center;
  font-size: 4vmin;
  font-weight: bold;
  font-family: 'Roboto Condensed', sans-serif;
  line-height: normal;
  margin-bottom: 2vmin;
}

.team {
  margin: 2vmin 2vmin 0;
}

.player, .nobody {
  display: inline-block;
  margin-right: 1vmin;
  background: rgba(255, 255, 255, 0.9);
  color: #444;
  padding: 1.5vmin 2vmin;
  border-radius: 0.5vmin;
  font-size: 2.5vmin;
}

.nobody {
  font-style: italic;
}

.player .name {
  font-weight: bold;
}

@media screen and (orientation: portrait) {
  body {
    height: 120vh;
  }
  #playgroundBox {
    transform: rotate(90deg);
    transform-origin: top left;
    width: 100vh;
    height: 100vw;
    left: 100vw;
    /* padding-bottom: 100vh; */
  }
}

@media (min-width: 1600px) {
  .table {
    padding: 12px;
  }
  .table > .card {
    font-size: 4vmin;
    padding: 12px;
  }
}
@media (min-width: 960px) and (max-width: 1599px) {
  .table {
    padding: 12px;
  }
  .table > .card {
    font-size: 4vmin;
    padding: 12px;
  }
}
@media (min-width: 768px) and (max-width: 959px) {
  .table {
    padding: 8px;
  }
  .table > .card {
    /* font-size: 4vmin; */
    padding: 8px;
  }
}
@media (min-width: 490px) and (max-width: 767px) {
  .table {
    padding: 6px;
  }
  .table > .card {
    /* font-size: 3vmin; */
    padding: 6px;
  }
  #currentTurn > div {
    font-size: 4vmin;
    padding: 4vmin;
  }
  #nextTurn > div {
    font-size: 4vmin;
    padding: 4vmin 0;
  }
  .bottom-panel-count {
    font-size: 13vmin;
    line-height: normal;
  }
  .bottom-panel-team h2 {
    font-size: 4vmin;
    line-height: 1vmin;
  }
}
@media (max-width: 489px) {
  .table {
    padding: 4px;
  }
  .table > .card {
    /* font-size: 4vmin; */
    padding: 4px;
  }
}
@media (max-width: 630px) and (orientation: portrait), (max-height: 630px) and (orientation: landscape) {
  .bottom-panel.opened .bottom-panel-inner {
    top: -270px;
    top: calc(-170px - 15vmin);
  }
}