body {
  color-scheme: light dark;
  margin: 0;
  padding: 0;
  border: 0;
  background-color: black;
  color: white;
  -webkit-user-select: none;
  -moz-user-select: -moz-none;
  -ms-user-select: none;
  user-select: none;
  font-size: 14pt;
}

body.index {
  margin: 8px;
}

main {
  width: 500px;
}

.horizmain {
  width: 100%;
}

/* Full container */
.fullframe {
  width: auto;
  margin: 0px;
}

/* Top row */
.toprow {
  display: flex;
  width: auto;
  font-size: 16pt;
  padding: 3px;
  margin: 0;
  justify-content: space-between;
}

.toprow-subbox {

}

.toprow-bridge-name {
  border-right: 1px solid;
  padding: 3px 10px;
}


.toprow-gbk-name {
  border-left: 1px solid;
  padding: 3px 10px;
}

/* Trials row */
.trialrow {
  border-top: 1px solid;
  display: flex;
  width: auto;
  font-size: 16pt;
  padding: 3px;
  margin: 0;
  justify-content: space-between;
}

.trialrow-name {
  padding: 0px 10px;
}

/* Sanities and Shuffle boxes */
.centerrow {
  display: flex;
  width: auto;
  padding: 3px;
  margin: -1 0 -1 0;
  border-top: 1px solid;
  border-bottom: 1px solid;
}

.centerrow-subbox {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  width: 250px;
  margin: -3px 0;
  padding: 3px;
}

.centerrow-subbox-header {
  text-align: center;
  text-decoration: underline;
  flex: 0 1 250px;
}

.centerrow-subbox-column {
  display: flex;
  flex-grow: 1;
  flex-direction: column;
  text-align: center;
}

.centerrow-subbox-row {
  width: 100%;
  text-align: center;
}

/* Final row */
.finalrow {
  display: flex;
  width: auto;
  padding: 3px;
}

/* Entrance rando */
.er-box {
  display: flex;
  width: auto;
  padding: 5px;
  flex-direction: column;
}

.er-header {
  text-align: center;
}

.er-header-toggle,
.er-header-uline {
  display: inline;
}

.inline-header,
.er-header-uline {
  text-decoration: underline;
}

.er-subbox {
  display: flex;
  flex-direction: row;
}

/* horizontal layout */
.horizrow {
  display: flex;
  width: auto;
  padding: 3px;
}

.horizrow-subbox {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  width: 250px;
  margin: -3px 0;
  padding: 3px;
}

.horizrow-subbox + .horizrow-subbox {
  margin-left: -1px;
  border-left: 1px solid;
}

/* Button types */
.progressive,
.progressive-disable,
.toggleable,
.tri-toggle {
  flex-grow: 1;
  text-align: center;
}

.counter {

}

.toggle-unknown {
  color: rgba(255, 255, 255, 0.3);
}

.toggle-off {
  color: rgba(255, 255, 255, 0.3);
  text-decoration: line-through white 1px;
}

/* For Firebase connection */
#notInitialized {
  position: absolute;
  background: red;
  color: white;
}

.room-controls {
  margin: 20px;
}

.room-controls button {
  margin: 10px 0;
  display: block;
}

.footer,
.footer a {
  color: rgba(255, 255, 255, 0.3);
}

a:hover {
  text-decoration: none;
}
