﻿body,
html {
  position: fixed;
}
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.noselect {
  -webkit-touch-callout: none;
  /* iOS Safari */
  -webkit-user-select: none;
  /* Safari */
  -khtml-user-select: none;
  /* Konqueror HTML */
  -moz-user-select: none;
  /* Firefox */
  -ms-user-select: none;
  /* Internet Explorer/Edge */
  user-select: none;
  /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
  cursor: default;
}
* {
  font-family: 'Tahoma', 'Geneva', sans-serif;
  -webkit-touch-callout: none;
  /* iOS Safari */
  -webkit-user-select: none;
  /* Safari */
  -khtml-user-select: none;
  /* Konqueror HTML */
  -moz-user-select: none;
  /* Firefox */
  -ms-user-select: none;
  /* Internet Explorer/Edge */
  user-select: none;
  /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
  cursor: default;
  touch-action: manipulation;
}
.boardcontainer {
  position: absolute;
  left: 5px;
  right: 5px;
  top: 20px;
  bottom: 20px;
}
.game {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
#gameoverlay {
  position: relative;
  background-color: rgba(255, 255, 255, 0.9);
}
.bottomhalf {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  bottom: 0;
}
.tophalf {
  position: absolute;
  left: 0;
  right: 0;
  top: 0%;
  bottom: 50%;
  transform: rotate(180deg);
}
.tophalf .wordslist {
  top: 2px !important;
  bottom: 45% !important;
}
.popuptitle {
  position: absolute;
  left: 0;
  right: 0;
  top: 11%;
  bottom: 0;
  text-align: center;
}
.popupsubtitle {
  position: absolute;
  left: 0;
  right: 0;
  top: 30%;
  bottom: 0;
  text-align: center;
}
.wordslist {
  border: 1px solid black;
  position: absolute;
  left: 10%;
  right: 10%;
  top: 45%;
  bottom: 2px;
  overflow-x: hidden;
  overflow-y: scroll;
  word-wrap: break-word;
  /*
  // Freezes up the scrollable area sometimes
  -webkit-overflow-scrolling: touch;
  overflow-scrolling: touch;
  */
  background-color: white;
  margin-bottom: 15px;
}
.wordslist td {
  padding: 0px;
}
.wordslist tr {
  color: #bababa;
}
.wordslist tr.found {
  color: black;
}
.wordslist tr td:nth-child(1) {
  text-align: right;
}
#popupbutton {
  position: absolute;
  left: 26%;
  top: 46%;
  bottom: 46%;
  right: 26%;
  background-color: #E0E0E0;
  border: 1px solid black;
  border-radius: 1vmin;
  display: flex;
  align-items: center;
  justify-content: center;
}