/* CSS STYLES

The following CSS rules are provided here as only
a starting point; these properties aren't required, and
you may modify them however you like (or remove them)

*/

* {
  box-sizing: border-box;
}

html, body {
  margin: 0px;
  padding: 0px;
  background-color: #20222c;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body {
  padding: 15px;
  padding-bottom: 3%;
}

h1 {
  text-align: left;
  font-family: "Helvetica", "Georgia", sans-serif;
  font-size: 16pt;
  color: white;
  font-weight: lighter;
  padding-top: 1%;
  margin-left: 25px;
  padding-bottom: 20px;
}

h2 {
  text-align: left;
  font-family: "Helvetica", "Georgia", sans-serif;
  font-size: 20pt;
  color: white;
  padding-top: 1%;
  font-weight: bold;
  margin-left: 30px;
}

h3 {
  text-align: left;
  font-size: 14pt;
  color: white;
  font-weight: lighter;
  font-family: "Helvetica", "Georgia", sans-serif;
}

#container {
  width: 100%;
  height: 80vh;
  padding-right: 10%;
  display: flex;
  flex-direction: row;
}

#options {
  flex: 1 0 15%;
  padding-left: 30px;
  font-size: 16pt;
  line-height: 40pt;
}

#chart-container {
  flex: 1 0 80%;
  background-color: white;
  border-top: 3px solid black;
  margin-left: auto;
  margin-right: auto;
  display: block;
  padding-bottom: 10px;
}

#chart {
  width: 100%;
  height: 80vh;
  margin: 0px;
  padding: 0px;
  padding-right: 20px;
  position: relative;
  background-color: white;
  border-left: 3px solid black;
  border-right: 3px solid black;
  border-bottom: 3px solid black;
}

.axisLabel {
  font-size: 19pt;
  font-family: "Helvetica", "Georgia", sans-serif;
  font-weight: bold;
}

.axis {
  font-size: 10pt;
}

.tooltip {
  position: absolute;
  left: 0px;
  top: 0px;
  width: 190px;
  visibility: hidden;
  font-size: 13pt;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 10px;
  line-height: 30px;
  pointer-events: none;
}

p {
  font-family: "Helvetica", "Georgia", "sans-serif";
  font-weight: 360;
  font-size: 18px;
  line-height: 24px;
  text-align: justify;
}

.explanation {
    background-color: #f9f6f6;
    padding-top: 3%;
    padding-bottom: 3%;
    margin-top: 30px;
    margin-left: 150px;
    margin-right: 150px;
    padding-left: 5%;
    padding-right: 5%;
    line-height: 26px;
}

a:link, a:visited {
  text-decoration: none;
  color: #376E6F;
}

a:hover {
  text-decoration: underline;
  color: #1C3334;
}

.checkcontainer {
  display: block;
  position: relative;
  color: white;
  padding-left: 40px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 20px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.checkcontainer input{
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
}

.checkcontainer:hover input ~ .checkmark {
  background-color: #ccc;
}

.checkcontainer input:checked ~ .checkmark {
  background-color: #2196F3;
}

.checkmarkcontainer:after {
  content: "";
  position: absolute;
  display: none;
}

.checkcontainer input:checked ~ .checkmark:after {
  display: block;
}

.checkcontainer .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}