body {
  margin: 0px;
  padding: 0px;
  background-color: #222;
}

.browser-view {
  display: grid;
  grid-template-columns: 100%;
}
@media only screen and (min-width: 1280px) {
  .browser-view {
    grid-template-columns: 56% 44%;
  }
}

.unselectable {
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard */
  touch-action: manipulation;
}

#mainDiv {
  display: block;
}
#menuDiv {
  overflow: auto;
  text-align: center;
}
#menuButtonPanel div,
#optButtonPanel div {
  display: inline-block;
  margin: 0px 0px 0px 0px;
  padding: 0px 0px 0px 0px;
}
#core {
  display: inline;
  text-align: center;
}

td,
table,
tbody {
  margin: auto;
  padding: 0px;
  border-spacing: 0px;
}
.grid,
.grid td {
  margin: auto;
  padding: 1px 1px 1px 1px;
  border: 1px solid #222;
  border-collapse: collapse;
}
.grid th {
  padding: 1px 1px 1px 1px;
  box-shadow: 0px 1px 2px 0px #29E;
}
.scoreboardTable,
.scoreboardTable td,
.scoreboardTable th {
  margin: auto;
  padding: 2px 8px 2px 8px;
  border: 1px solid #222;
  border-collapse: collapse;
}


.inactiveMenuBtn,
.inactiveMenuBtnSelected,
.menuBtn,
.menuBtnSelected {
  font-size: 1.2em;
  color: #000;
  margin: 0px 0px 6px 6px;
  padding: 2px 3px 1px 3px;
  border-radius: 4px;
  text-shadow: 0 -1px 0 #000;
  cursor: pointer;
  background-color: #39C;
  border: 1px solid #39C;
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #6CF), color-stop(1, #39C));
  background-image: -webkit-linear-gradient(top, #6CF, #39C);
  background-image: -moz-linear-gradient(top, #6CF, #39C);
  background-image: -o-linear-gradient(top, #6CF, #39C);
  background-image: -ms-linear-gradient(top, #6CF, #39C);
  background-image: linear-gradient(to bottom, #6CF, #39C);
}
.inactiveMenuBtnSelected,
.menuBtnSelected {
  cursor: pointer;
  background-color: #309d9b;
  border: 1px solid #309d9b;
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #abeeba), color-stop(1, #309d9b));
  background-image: -webkit-linear-gradient(top, #abeeba, #309d9b);
  background-image: -moz-linear-gradient(top, #abeeba, #309d9b);
  background-image: -o-linear-gradient(top, #abeeba, #309d9b);
  background-image: -ms-linear-gradient(top, #abeeba, #309d9b);
  background-image: linear-gradient(to bottom, #abeeba, #309d9b);
}
.inactiveMenuBtn,
.inactiveMenuBtnSelected {
  color: gray;
}

.difficultyBtn,
.difficultyBtnSelected {
  font-size: 1.0em;
  color: #000;
  margin: 0px 0px 0px 6px;
  padding: 2px 3px 1px 3px;
  border-radius: 4px;
  text-shadow: 0 -1px 0 #000;
  cursor: pointer;
  background-color: #8d8b30;
  border: 1px solid #8d8b30;
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #dddb90), color-stop(1, #8d8b30));
  background-image: -webkit-linear-gradient(top, #dddb90, #8d8b30);
  background-image: -moz-linear-gradient(top, #dddb90, #8d8b30);
  background-image: -o-linear-gradient(top, #dddb90, #8d8b30);
  background-image: -ms-linear-gradient(top, #dddb90, #8d8b30);
  background-image: linear-gradient(to bottom, #dddb90, #8d8b30);
}
.difficultyBtnSelected {
  background-color: #abeeba; border: 1px solid #abeeba; cursor: pointer;
  background-color: #309d9b; border: 1px solid #309d9b;
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #abeeba), color-stop(1, #309d9b));
  background-image: -webkit-linear-gradient(top, #abeeba, #309d9b);
  background-image: -moz-linear-gradient(top, #abeeba, #309d9b);
  background-image: -o-linear-gradient(top, #abeeba, #309d9b);
  background-image: -ms-linear-gradient(top, #abeeba, #309d9b);
  background-image: linear-gradient(to bottom, #abeeba, #309d9b);
}

input {
  margin: 0px;
  box-sizing: border-box;
}


.toggle,
.themeToggle,
.themeTogglerInner,
.hintToggle,
.hintTogglerInner {
  position: relative;
  display: inline-block;
  width: 80px;
  height: 80px;
  text-decoration: none;
  border-radius: 50%;
  background-color: #BBB;
  text-align: center;
  vertical-align: text-bottom;
  font-size: 3.2em; color: #000;
  line-height: 146%;
  cursor: pointer;
}
.smallToggle {
  width: 60px;
  height: 60px;
  font-size:2.4em;
  line-height: 150%;
  background-color: #DBF;
}
.toggle input,
.hintToggle input,
.themeToggle input {
  display:none;
}

.toggler,
.themeToggler,
.hintToggler {
  display: inherit;
  gravity: inherit;
  border-radius: inherit;
  width: 92%;
  height: 92%;
  background-color: #6CF;
  margin-top: 3px;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}
.smallToggler {
  background-color: #DBF;
  width: 90%;
  height: 90%;
}

input:checked + .toggler,
input:checked + .themeToggler,
input:checked + .hintToggler {
  background-color: #8F9;
}

input:focus + .toggler,
input:focus + .themeToggler,
input:focus + .hintToggler {
  box-shadow: 0 0 1px #2196F3;
}
input:checked + .toggler:before,
input:checked + .themeToggler:before,
input:checked + .hintToggler:before {
  -webkit-transform: translateX(0px);
  -ms-transform: translateX(0px);
  transform: translateX(0px);
}

.themeToggle,
.themeTogglerInner,
.hintToggle,
.hintTogglerInner {
  width: 24px;
  height: 24px;
  background-color: #222;
  color: #222;
  font-size: 1.0em;
  vertical-align: top;
  line-height: 50%;
}
.themeToggler,
.hintToggler {
  margin-top: 1px;
  width: 22px;
  height: 22px;
  background-color: #FFF;
  font-size: 1.0em;
  vertical-align: top;
  line-height: 50%;
}
.themeTogglerInner,
.hintTogglerInner {
  width: 14px;
  height: 14px;
  padding: 0px;
  margin: 4px 0px 0px 0px;
  background-color: #222;
}

.hintToggle,
.hintTogglerInner {
  background-color: #222;
  vertical-align: 30%;
}
.hintTogglerInner {
  background-color: #FEF; /*#DBF;*/
  font-size:0.4em;
  vertical-align:top;
  line-height:100%;
}

#goBtn {
  width: 95px;
  font-size: 1.8em; color: #000;
  text-align: center;
  padding: 2px 12px 2px 12px;
  margin: 0px 0px 0px 0px;
  border-radius: 16px; text-shadow: 0 -1px 0 #222;
  background-color: #abeeba; border: 1px solid #abeeba; cursor: pointer;
  background-color: #309d9b; border: 1px solid #309d9b;
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #abeeba), color-stop(1, #309d9b));
  background-image: -webkit-linear-gradient(top, #abeeba, #309d9b);
  background-image: -moz-linear-gradient(top, #abeeba, #309d9b);
  background-image: -o-linear-gradient(top, #abeeba, #309d9b);
  background-image: -ms-linear-gradient(top, #abeeba, #309d9b);
  background-image: linear-gradient(to bottom, #abeeba, #309d9b);
}

.spacer,
.halfSpacer,
.quarterSpacer,
.eighthSpacer {
  position: relative;
  display: inline-block;
  width: 80px;
  height: 80px;
  pointer-events:none;
}
.halfSpacer {
  width: 40px;
}
.quarterSpacer {
  width: 20px;
}
.eighthSpacer {
  width: 11px;
}

.gameSelectDiv,
.gameSelectDivL,
.numDiv,
.numDivL,
.resultDiv,
.resultDivL,
.statusDiv,
.statusDivL,
.gameTypeDiv,
.gameTypeDivL,
.instructionsDiv,
.instructionsDivL,
.adDiv,
.learningDiv,
.learningDivL,
.resourcesDiv,
.resourcesDivL,
.resourcesDetailDiv,
.resourcesDetailDivL {
  height: 40px;
  border-radius: 14px;
  font-size: 1.0em;
  text-align: center;
  background-color: #DBF;
  padding: 0px 2px 0px 2px;
  margin: 0px 0px 0px 0px;
  /*T, R, B, L*/
}

.numDiv,
.numDivL {
  font-size: 2.3em;
  margin-bottom: 3px;
}
.resultDiv,
.resultDivL {
  height: unset;
  margin-top: 3px;
  padding-top: 2px;
  background-color: #ADD;
}
.gameTypeDiv,
.gameTypeDivL {
  height: unset;
  font-size: 2.0em;
  background-color: #6CF;
}
.statusDiv,
.statusDivL,
.instructionsDiv,
.instructionsDivL {
  height: unset;
  font-size: 1.2em;
  text-align: left;
  padding: 4px;
  padding-left: 8px;
  text-indent: 2px;
  background-color: #CFF;
}
.instructionsDiv,
.instructionsDivL {
  height: unset;
  font-size: 1.0em;
  padding-left: 8px;
  background-color: #ADF;
}
.adDiv {
  height: 48px;
  border-width: 1px;
  border-color: #222;
  border-style: solid;
  padding: 8px 6px 6px 8px;
  text-align: start;
  background-color: #FFF;
  color: #000;
}
.adDiv img {
  float: left;
  margin: 0px 8px 0px 0px;
  max-width: 100%;
  max-height: 48px;
  border-radius: 50%;
}
.learningDiv,
.learningDivL {
  height: unset;
  font-size: 2.2em;
}
.resourcesDiv,
.resourcesDivL {
  height: unset;
  font-size: 1.0em;
  text-align: left;
  background-color: #EDF;
  padding: 6px 4px 4px 4px;
}
.resourcesDetailDiv,
.resourcesDetailDivL {
  height: unset;
  font-size: 1.0em;
  text-align: left;
  padding-right: 6px;
  border: 1px solid #333;
  border-right-width: 6px;
  background-color: #DCE;
}
.resourcesDetailLabel {
  position: relative;
  display: inline-block;
  width: 54px;
  height: 54px;
  text-decoration: none;
  border-radius: 50%;
  background-color: #BBB;
  text-align: center;
  font-size: 2.4em;
  color: #000;
  margin: 1px 4px 1px 0px;
}
.resourcesDetailIconInner {
  display: inherit;
  gravity: inherit;
  border-radius: inherit;
  width: 86%;
  height: 86%;
  background-color: #DBF;
  margin-top: 4px;
}

.LB {
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}
.RB {
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}
.LB2 {
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;
}
.RB2 {
  border-top-right-radius: 16px;
  border-bottom-right-radius: 16px;
}
.LBC {
  border-top-left-radius: 30px;
  border-bottom-left-radius: 30px;
}
.RBC {
  border-top-right-radius: 26px;
  border-bottom-right-radius: 26px;
}
.flatL {
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
}
.flatR {
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
}

ul {
  margin: 0px 0px 0px 6px;
  padding: 0px 8px 0px 12px;
  text-indent: 0px;
}
li {
  margin: 0px;
  padding: 0px;
  padding-top: 4px;
  text-indent: 0px;
}

footer {
  border-radius: 12px;
  font-size: 0.6em;
  text-align: start;
  text-indent: 6px;
  background-color: #AAA;
  padding: 1px;
  margin: 0px;
}