body {
  background-color: #000;
  color: #5f5;
  font-family: monospace;
  font-size: 10pt;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}

h1, h2, h3, h4, h5, h6 {
  margin-block-start: 4pt;
  margin-block-end: 4pt;
  text-align: center;
  font-size: 12pt;
  font-weight: normal;
}

h1 {
  font-size: 14pt;
}

div[id=simulator] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

div[id=simulator] > canvas {
  position: absolute;
  top: 0;
  left: 0;
}

div.lhg-toolbar-group button {
  /* opacity: 0.8; */
}

/* normal toolbar group */
div.lhg-toolbar-group div.lhg-tool {
  width: 12em;
}
div.lhg-toolbar-group div.lhg-tool button, div.lhg-toolbar-group div.lhg-tool input {
  width: 6em;
}
div.lhg-toolbar-group div.lhg-tool .lhg-wide {
  width: 12em;
}


/* wide toolbar group */
div.lhg-toolbar-group.lhg-wide div.lhg-tool {
  width: 16em;
}
div.lhg-toolbar-group.lhg-wide div.lhg-tool button, div.lhg-toolbar-group.lhg-wide div.lhg-tool input {
  width: 8em;
}
div.lhg-toolbar-group.lhg-wide div.lhg-tool .lhg-wide {
  width: 16em;
}

/* end of toolbar group section */

div.lhg-toolbar {
  position: relative;
  z-index: 2;
  width: fit-content;
  margin: 0.5em;
  border-radius: 0.5em;
  border-width: 2px;
  border-color: #151;
  border-style: solid;
}

div.lhg-tool {
  position: relative;
  top: 0;
  left: 0;
  /* padding: 0.5em; */
  /* margin: 0.5em; */
  text-align: middle;
}

div.lhg-tool div.lhg-wide {
  display: flex;
  flex-direction: row;
}

div.lhg-tool button, div.lhg-tool input {
  font-family: monospace;
  font-size: 10pt;
  background-color: #333;
  color: #5f5;
  border-radius: 0.5em;
  border-color: #000;
  border-width: 2px;
  border-style: solid;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  padding-left: 0em;
  padding-right: 0em;
  text-align: center;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
}

div.lhg-tool button a {
  color: #5f5;
  text-decoration: none;
}

div.lhg-tool button:hover, div.lhg-tool input:hover {
  background-color: #444;
}

div.lhg-tool button:active {
  background-color: #252;
}

div.lhg-toolbar-header:hover button {
  background-color: #444;
}

div.lhg-toolbar-header:active button {
  background-color: #252;
}

div.lhg-toolbar-header > * {
  display: inline-block;
}

div.lhg-tool .lhg-tool-info, div.lhg-tool .lhg-tool-info:hover {
  background-color: #111;
  border-color: #000;
  border-width: 2px;
}

div.lhg-tool .lhg-tall {
  height: 3.666em;
}

div.lhg-overlay-info-box {
  position: absolute;
  top: 0px;
  left: 14em;
  width: fit-content;
  z-index: 1;
}

div.lhg-option-group {
  display: flex;
  flex-wrap: wrap;
}
