html {
  height: 100%;
}
body {
  background: #000;
  color: #efefef;
  font-family: arial, sans-serif;
  margin: 0;
  padding: 0;
  height: 100%;
}
body.white {
  background: #efefef;
  color: #333;
}
.menu {
  position: fixed;
  bottom: 12px;
  right: 12px;
  z-index: 2;
}
.menuEdit {
  position: fixed;
  bottom: 0;
  right: 0;
  left: 0;
  padding: 12px;
  background: #000;
}
.white .menuEdit {
  background: #efefef;
}
.menuButton {
  padding: 10px 16px;
  margin-left: 12px;
  border-radius: 12px;
  background: #333;
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  float: right;
}
.white .menuButton {
  background: #ccc;
  color: #333;
}
.edit {
  padding: 20px 20px 50px 20px;
  text-align: center;
  display: none;
}
.white .editMenu {
  background: #efefef;
}
.editTitle {
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.editTitleInfo {
  font-weight: normal;
  color: #999;
}
.editSearch {
  font-size: 16px;
  padding: 12px 18px;
  border-radius: 12px;
  background: #333;
  color: #fff;
  border: none;
  margin-bottom: 12px;
  min-width: 272px;
  width: 50%;
}
.white .editSearch {
  background: #ccc;
  color: #333;
}
.editSearch::placeholder {
  opacity: .5;
}
.editSearch:focus {
  outline: none;
}
.editCards {
  display: flex;
  flex-flow: row;
  justify-content: center;
  align-content: center;
  align-items: center;
  margin-bottom: 18px;
}
.editCardRadio {
  display: none;
}
.editCardRadio + label {
  background: #333;
  padding: 12px 6px;
  margin: 0 6px;
  width: 42px;
  font-size: 16px;
  border-radius: 12px;
  cursor: pointer;
}
.white .editCardRadio + label {
  background: #ccc;
  color: #333;
}
.editCardRadio:checked + label {
  background: rgb(22, 199, 132);
}
.editPairList {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-content: center;
  align-items: center;
  margin-bottom: 18px;
}
.editPair {
  cursor: pointer;
  padding: 12px 6px;
  margin: 6px;
  width: 136px;
  text-align: center;
  font-size: 16px;
  border-radius: 12px;
  background: rgb(22, 199, 132);
}
.editPair:hover {
  background: rgb(234, 57, 67);
}
.editPair-add {
  background: #333;
}
.white .editPair-add {
  background: #ccc;
  color: #333;
}
.editPair-add:hover {
  background: rgb(22, 199, 132);
}
.wrapper {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-content: center;
  align-items: center;
  min-height: calc(100% - 62px);
  padding: 12px 6px 50px 6px;
}
.editmode .edit {
  display: block;
}
.editmode .menu {
  display: none;
}
.editmode .wrapper {
  display: none;
}
.card {
  flex: 1 1 30%;
  padding: 2vh 1vw;
  font-size: 6vw;
  font-weight: bold;
  text-align: center;
  display: block;
}
.card-large {
  font-size: 15vw;
  flex-basis: 100%;
}
.cardLogo {
  height: 5vh;
  min-height: 30px;
  max-height: 100px;
  margin: 0 auto 2vh auto;
  display: block;
}
.card-large .cardLogo {
  height: 15vh;
  min-height: 100px;
  max-height: 300px;
  margin: 0 auto 3vh auto;
}
.cardTitle {
  font-size: calc(8px + 1.5vw);
  font-weight: normal;
  display: block;
  margin-bottom: 1vh;
  opacity: .5;
  white-space: nowrap;
}
.flashGreen {
  animation-name: flash-green;
  animation-duration: 850ms;
}
.flashRed {
  animation-name: flash-red;
  animation-duration: 850ms;
}
@keyframes flash-green {
  from { color: rgb(22, 199, 132); }
  to   { color: default; }
}
@keyframes flash-red {
  from { color: rgb(234, 57, 67); }
  to { color: default; }
}