body {
  width: 1037px;
  height: 100%;
  font-family: "Century Gothic", "Apple Gothic", AppleGothic, "URW Gothic L", "Avant Garde", Futura, sans-serif;
  margin: auto;
}

/* left/right columns for the page */
div.left {
  width: 33%;
  display: inline-block;
  height: 600px;
  vertical-align: top;
}

div.right {
  width: 66%;
  display: inline-block;
  vertical-align: top;
}

/* border and header rules for top level elements */
div.border {
  border: #d1d1d1 solid 1px;
  border-radius: 5px;
  margin: 20px 10px;
}

h2 {
  padding: 10px;
  margin: 0;
  font-size: 18px;
}

i {
  color: cornflowerblue;
}

.toggle-content {
  float: right;
  position: relative;
  top: -30px;
  right: 10px;
  font-size: 20px;
}

/* rules for the left hand side notes box */
div#notes {
  position: fixed;
  width: 320.203px;
  height: 660.813px;
}

#notes h3 {
  padding: 10px 0;
  margin: 0;
  text-align: center;
  background: #dcdcdc;
  overflow: none;
}

#notes textarea {
  display: table-row;
  height: 92%;
  width: 98%;
  overflow-y: scroll;
  overflow-x: hidden;
  resize: none;
  text-align: left;
  border: none;
  font-size: 15px;
}

/* Chart */
.plot-canvas {
  background-color: white;
}

.axis {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
}

.label {
  font-size: 16px;
  fill: black;
}

/* general content rules */
div.content {
  position: relative;
  left: 10px;
  width: 96.5%;
  margin-bottom: 10px;

  /*border: red 1px solid;*/
}

.axis-controls {

}

#y-axis-controls {
  display: inline-block;
  width: 20%;
  vertical-align: top;
  position: relative;
  z-index: 100000;
}

#x-axis-controls {
  margin-left: 250px;
}

#graph div.chart {
  display: inline-block;

  /*Don't add up to exactly 100% or it creates cruft on the edges.*/
  width: 79%;
}

.button {
  background: cornflowerblue;
  padding-top: 9px;
  border: cornflowerblue;
  color: white;
  padding-bottom: 9px;
  font-weight: bold;
  text-align: center;
  border-radius: 5px;
}

/* section specific content rules */
#simulation div.content {
  width: 641px;
  height: 420px;
}

#simulation div.content iframe {
  width: 100%;
  height: 100%;
}

#record.button {
  margin-left: 10px;
  width: 150px;
}

.toast.toast-success,
.toast.toast-info {
  background-color: cornflowerblue;
}

/***********************************************/
/********  Rules for scrollable table   ********/
/***********************************************/
.fixed_headers {
  width: 642px;
  table-layout: fixed;
  border-collapse: collapse;
  border: solid black .1em;
}

.fixed_headers th {
  height: 50px;
}

.fixed_headers th:first-child,
.fixed_headers td:first-child {
  border-left: none;
}

.fixed_headers th,
.fixed_headers td {
  text-align: center;
  border-left: solid black .1em;
  font-size: 13px;
}


.fixed_headers thead {
  background-color: lightgrey;
  border-bottom: solid black .1em;
}

.fixed_headers thead tr {
  display: block;
  position: relative;
}

.fixed_headers tbody {
  display: block;
  overflow-y: scroll;
  overflow-x: hidden;
  width: 100%;
  max-height: 419px;
}

.fixed_headers tr {
  width: 100%;
  display: block;
  border-bottom: solid black .1em;
}

.fixed_headers tr:last-child {
  border-bottom: none;
}

.fixed_headers td:last-child i {
  width: 100%;
  margin: auto;
}

.fixed_headers th:last-child {
  padding-left: 4px;
}

/***********************************************/
/*****  End of rules for scrollable table  *****/
/***********************************************/

.fa-arrow-circle-up:hover,
.fa-arrow-circle-down:hover,
.fa-play-circle:hover,
.fa-times-circle:hover,
.fa-minus-square:hover,
.fa-plus-square:hover,
#record:hover,
input:hover {
  cursor: pointer;
}

#record:hover {
  background: #A0D1FF;
}

.fa-minus-square:hover,
.fa-plus-square:hover,
.fa-play-circle:hover {
  color: #A0D1FF;
}

i.fa-arrow-circle-down:hover,
i.fa-arrow-circle-up:hover,
i.fa-times-circle:hover {
  color: #444444;
}

/* Increment/Decrement buttons */
.fa-arrow-circle-up,
.fa-arrow-circle-down,
.fa-times-circle {
  color: black;
}

/* disabled increment/decrement buttons */
#table tbody tr:first-child .fa-arrow-circle-up,
#table tbody tr:last-child .fa-arrow-circle-down {
  color: grey;
  cursor: auto;
}
