body {
  background-color: #333333;
  font-family: monospace;
  display: flex;
  justify-content: center;
}

select, button { height: 25px; }

a, a:visited { color: #008AD8; }

form {
  position: fixed;
  height: 25px;
  width: 100%;
  text-align: center;
}

.gridV, .gridH line { color: #555555; }

.yaxis, .xaxis, .yaxis line, .xaxis line { color: #FFFFFF; }

#tooltip {
  position: absolute;
  visibility: hidden;
  background-color: #999999;
  padding: 5px 10px 5px 10px;
  border: 1px white solid;
  width: 75px;
  text-align: center;
}

#uploadError { color: red; }

.barLabels, .barNums, .pieLabels, #pieKey, .label, .subhead { font-size: 10px; }

#modal, #modalBar, #modalVerticals, #modalUpload, #modalInfo, #modalPieLine { display: none; }

#modal, #modalBar, #modalVerticals, #modalUpload, #modalInfo, #modalStart, #modalPieLine {
  position: fixed;
  z-index: 5;
  bottom: 0;
  left: 0;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  padding-top: calc(25px + 5vh);
  background-color: #80808012;
}

.modal-content, .modal-content-graphs {
  background-color: #333333;
  margin: auto;
  padding: calc(12px + 0.35vw + 0.35vh);
  width: 67.5%;
  overflow: auto;
  overflow-y: auto;
  border: calc(0.15vw + 0.15vh) solid #000000;
  font-size: calc(8px + 0.75vw);
  text-align: left;
  color: #F5F5F5;
}

.modal-content-graphs, .slide { text-align: center; }

#modalStart { display: block; }

#vmins, #blank { width: 75%; }

.vertEx {
  float: left;
  padding-right: 10px;
}

#charts {
  display: inline-block;
  vertical-align: middle;
  width: 90%;
}

.close {
  float: right;
  font-size: calc(12px + 2.5vh);
  color: #000000;
  height: calc(40px + 1.5vh);
}

.close:hover, .clear:hover {
  color: #FFFFFF;
  text-decoration: none;
  cursor: pointer;
}

.clear {
  font-size: calc(8px + .25vw + .25vh);
  color: #000000;
}

.analysis {
  padding-right: calc(10px + 2vw);
  padding-bottom: 10px;
}

.verts {
  padding-right: 25px;
}

#pieBox {
  display: inline-block;
  vertical-align: middle;
}

#pieKey {
  padding-top: 25spx;
  padding-bottom: 25px;
  height: 200px;
  vertical-align: middle;
  line-height: 1em;
}

#pieKey td {
  padding-right: 10px;
  padding-bottom: 5px;
}

.und { text-decoration: underline; }

#dayFreqBarChart {
  width: 200px;
  float: left;
}

@media only screen and (max-width: 428px) {
  .modal-content, .modal-content-graphs {
    width: 85%;
  }
  .close {
    font-size: calc(8px + 1.5vh);
    height: calc(30px + 1vh);
  }
}
