h1 {
  color: #e09456;
  font-weight: bold;
  font-size: 22px;
}

h2 {
  color: #e09456;
  font-weight: bold;
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

html {
  font-family: Roboto;
  margin: 0;
  background: #111111;
  color: #bec7d2;
  padding: 16px;

}

body {
  display: flex;
  flex-direction: column;
  justify-content: left;
}

.checkbox {
  display: flex;
  flex-direction: row;
  margin-bottom: 10px;
}

.checkbox label {
  margin-left: 5px;
}

.row-input label {
  margin: 2px 0px;
}

.row-input input {
  display: block;
  width: 500px;
}

.row-input {
  display: block;
  margin: 10px 0px;
}

#buttons {
  width: 500px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;

}

.button {
  background-color: #424242;
  background-image: linear-gradient(to bottom, #424242, #303030);
  border-width: 1px 0px 1px 1px;
  border-style: solid;
  border-color: #4c4c4c #000000 #000000 #474747;
  text-align: center;
  text-decoration: none;
  display: block;
  font-weight: 700;
  color: #bec7d2;
  margin: 0;
  float: left;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
  border-radius: 5px;
  user-select: none;
  cursor: pointer;
  width: 130px;
  margin-right: 16px;
  padding: 4px 0;
}

.button:hover {
  background-color: #3c70df;
  background-image: linear-gradient(to bottom, #3c70df, #235cd4);
  border-width: 1px 0px 1px 1px;
  border-style: solid;
  border-color: #4e7de2 #102a63 #102a63 #4576e0;
  color: #ffffff;
}

.button:active {
  background-color: #1448b3;
  background-image: linear-gradient(to bottom, #1448b3, #103b93);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0.6);
  border-width: 1px 0px 1px 1px;
  border-style: solid;
  border-color: #164fc5 #071a40 #071a40 #154cbc;
  color: #ffffff;
}

.button:last-child {
  margin-right: 0;
}

.rows {
  display: flex;
  flex-direction: column;
  height: 300px;
  margin: 50px 10px;
}

#popout-rows {
  margin: 0;
}

#popout-row1 {
  position: fixed;
  left: 20px;
  top: 20px;
}

#popout-row2 {
  position: fixed;
  left: 20px;
  top: 160px;
}

/* default font-size 16px*/
table {
  display: inline-block;
  width: 750px;
  margin: 10px 0px;
  border-collapse: collapse;
  font-size: 18px;
}

th {
  background: #1448B3;
  box-shadow: inset 0px 0px 50px rgba(0, 0, 0, .6);
  cursor: default;
  white-space: nowrap;
}

th div {
  width: 44px;
}

th .left {
  transform: rotate(270deg);
}

th .right {
  transform: rotate(90deg);
}

td {
  background: black;
  padding: 0 10px;
  text-align: center;
  height: 120px;
  width: 19%;
  border: 1px #666 solid;
  border-right: 1px #666 solid;
  box-shadow: inset 0px 0px 50px rgba(0, 0, 0, .6);
}

td,
th {
  user-select: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  border: 1px #666 solid;
}

table.modern td {
  box-shadow: none;
}

td:hover {
  cursor: pointer;
}

.greensquare {
  background: #005511;
}

.redsquare {
  background: #550011;
}

table.modern th {
  box-shadow: none;
}