
body {
  /* color: blue; */
  /* background-color: #424242; */
  /* background-color: #DCDCFF; (the blue one) */
}

.invis {
    display: none;
}

div.super {
  padding-top: 20px;
  min-height: 95%;
}

#theCanvas {
  margin-left: auto;
  margin-right: auto;
  display: table;
}

div.page {
  /* background-color: #C2C2FF; (blue) */
  background-color: #E3E3E3;
  /*width: 700px;*/
  margin-left: 3%;
  margin-right: 3%;
  margin-bottom: 4%;
  padding-right: 50px;
  padding-left: 50px;
  padding-bottom: 1em;
}

div.section {
  background-color: #D0D0FF;
}

a:link {
  color: blue;
}
a:visited {
  color: blue;
}

div.box {
  border-style: solid;
  padding: 4px;
}
div.outer {
  /*border-style: solid; */
  margin: 0px;
  width: 34px;
  display: inline-block;
  /*float: left;*/
}

div.inner {
  text-align: center;
  padding-top: 1em;
}

div.outer input {
  width: 28px;
  height: 28px;
}

div.boxes input {
  margin: 0px;
  padding: 0px;
  border-style: solid;
  border-color: black;
  text-align: center;
  font-size: 1em;
}

#head {
  width: 30px;
  height: 30px;
}

h1.title {
  font-size: 1.3em;
  font-weight: normal;
  font-family: serif;

  padding-top: 0.5em;
  padding-bottom: 0.2em;
  /*
  padding-left: auto;
  padding-right: auto;
  */
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  margin-top: 0;
}

div.upper-controls {
  border-style: solid;
  border-width: thin;
  border-bottom-style: none;
  padding-left: auto;
  padding-right: auto;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
}

div.lower-controls {
  border-style: solid;
  border-width: thin;
  border-bottom-style: none;
  padding-left: auto;
  padding-right:auto;
  padding-top: 0.2em;
  padding-bottom: 0.4em;
  /*height: 15em;*/
}

div.cells {
  margin-left: auto;
  margin-right: auto;
  padding-left: 2em;
  padding-right: 2em;
  margin-top: 0.5em;
  height: 5em;
  display: table;
  /*width: 420px;*/
}

div.cells p {
  text-align: center;
  /*font-size: 0.8em;*/
  padding-left: 5px;
  padding-right: 5px;
  margin-left: 0;
  margin-right: 0;
  width: 110px;
  /*float: left;*/
  display: inline-block;
}

div.drawing {
  margin-bottom: 2em;
  border-style: solid;
  border-width: thin;
  padding: 0;
}

#theCanvas {
    margin: 0;
}

div.buttons {
  margin-left: auto;
  margin-right: auto;
  display: table;
}

div.upper-controls ul {
  margin-left: auto;
  margin-right: auto;
  display: table;
}

div.upper-controls li {
    display: inline;
    margin-right : 0.5em;
}

div.upper-controls button {
  display: inline;
}

div.upper-controls p {
  display: inline;
}

div.upper-controls input {
  width: 30px;
  display: inline;
  margin-right: 1.5em;
}

div.boxes {
  margin-left: auto;
  margin-right: auto;
  display: inline-block;
}

div.buttons button {
  margin: 2em;
}

div.break {
  height: 1em;
}

.errors {
    color: red;
    font-weight: bold;
    display: table !important;
    padding: 0.3em;
    border-radius: 0.2em;
    margin-left: auto;
    margin-right: auto;
    background-color: white;
}