.cell.unknown {
  background-color: rgba(255, 255, 255, 0.5);
}
.cell.filled {
  background-color: rgba(255, 255, 255, 0.2);
}
.cell.empty {
  background-color: rgba(255, 255, 255, 0.8);
  text-align: center;
}
.cell {
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 30px;
  height: 30px;
  cursor: pointer;
  filter: brightness(100%);
  text-align: center;
  vertical-align: middle;
  color: rgba(0, 0, 0, 0);
}
.cell.false {
  background-color: rgba(255, 170, 170, 0.5);
}
.cell.right {
  background-color: rgba(170, 255, 170, 0.5);
}

.cell.right.filled {
  background-color: rgba(33, 151, 33, 0.5);
}

.cell.false.filled {
  background-color: rgba(255, 85, 85, 0.5);
}
.cell:hover {
  filter: brightness(85%);
}
th.top {
  vertical-align: bottom;
}
th.side {
  text-align: right;
  white-space: nowrap;
}

/*Switch*/
@media only screen and (min-width: 850px) {
  .slider {
    display: none;
  }
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
  margin: 10px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.6);
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: rgb(0, 0, 0);
  -webkit-transition: 0.4s;
  transition: 0.4s;
  background-image: none;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
  background-image: url("nonogrammEmpty.svg");
  background-color: rgba(255, 255, 255, 0.6);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
  border: solid 3px #000000;
  vertical-align: middle;
}

.slider.round:before {
  border-radius: 50%;
}
