@import url("https://fonts.googleapis.com/css?family=Arimo:400,400i,700,700i");
/* ==========================================================================
    Init
   ========================================================================== */
* {
  box-sizing: border-box;
}

*::before, *::after {
  box-sizing: border-box;
}

img {
  max-width: 100%;
}

.graph-container {
  margin: 0;
  font-family: "Arimo", "Helvetica", "Arial", sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: #232323;
  background: #5c5c5c;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
    Plotly Overrides
   ========================================================================== */
.modebar {
  display: none !important;
}

.plotly-notifier {
  display: none !important;
}

/* ==========================================================================
    Wrapper (These styles are just for show)
   ========================================================================== */
.container {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
}

.column {
  padding: 20px;
  background: #bdbdbd;
  border: 1px solid #6D6D6D;
  border-radius: 9px;
  box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
    Chart Styles
   ========================================================================== */
.chart {
  padding-bottom: 10px;
}

.chart__title {
  display: inline-block;
  width: 40%;
  margin: 0 auto;
  font-size: 1.2em;
  color: #232323;
}

.chart__caption {
  margin-top: 0;
  font-size: 12px;
  font-weight: 400;
  color: #ffffff;
}

.chart__wrapper {
  padding-top: 10px;
}

.chart__slider {
  display: inline-block;
  -webkit-appearance: none;
  width: 75px;
  height: 5px;
  background: #dedede;
  outline: none;
  opacity: 1;
  -webkit-transition: .2s;
  transition: opacity .2s;
  border-radius: 100px;
}

.chart__slider--wrapper {
  display: inline-block;
  width: 59%;
  padding-top: 0;
  text-align: right;
}

.chart__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 15px;
  height: 15px;
  background: #EBAF2F;
  cursor: pointer;
  border-radius: 100px;
}

.chart__slider::-moz-range-thumb {
  width: 25px;
  height: 25px;
  background: #EBAF2F;
  cursor: pointer;
}

.chart__slider--text {
  position: relative;
  top: 1px;
  display: inline-block;
  margin: 0;
  font-size: 1em;
  font-weight: 400;
}

/* ==========================================================================
    Select All Button
   ========================================================================== */
.selectall {
  display: inline-block;
  width: 50%;
  text-align: right;
  line-height: initial;
}

.selectall__checkbox {
  position: relative;
  display: inline-block;
  padding-right: 25px;
}

.selectall__checkbox label {
  -webkit-user-select: none;
  user-select: none;
  font-weight: 400;
}

.selectall__checkbox input {
  display: none;
}

.selectall__checkbox input:checked ~ .selectall__checkbox--check {
  background: #EBAF2F;
  box-shadow: none;
}

.selectall__checkbox input:checked ~ .selectall__checkbox--check::after {
  display: block;
}

.selectall__checkbox--check {
  position: absolute;
  top: -4px;
  right: 0;
  width: 19px;
  height: 19px;
  background: #bdbdbd;
  box-shadow: inset 0px 0px 4px 0px rgba(0, 0, 0, 0.45);
}

.selectall__checkbox--check::after {
  position: absolute;
  top: 1px;
  left: 6px;
  display: none;
  width: 7px;
  height: 14px;
  border: solid white;
  border-width: 0 2px 2px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  content: "";
}

/* ==========================================================================
    Legend Section
   ========================================================================== */
.legend {
  padding: 10px;
  background: #dedede;
}

.legend__linebreak {
  border: 1px solid #c5c5c5;
  margin-top: 0;
  margin-bottom: 12px;
}

.legend__title {
  display: inline-block;
  width: 49%;
  margin: 0 0 10px 0;
  font-size: 1.2em;
  font-weight: 7400;
  color: #232323;
}

.legend__btn {
  position: relative;
  display: block;
  width: 100%;
  padding: 5px 30px 6px 10px;
  margin-bottom: 10px;
  font-size: 1em;
  font-weight: 400;
  text-align: left;
  background: transparent;
  border: 2px solid #EBAF2F;
}

.legend__btn:nth-last-child(1) {
  margin-bottom: 0;
}

.legend__btn:active {
  color: #232323;
}

.legend__btn.unselected {
  color: #232323;
  border-color: #232323;
  opacity: 0.2;
}

.legend__btn span {
  position: absolute;
  top: 6px;
  right: 5px;
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 20px;
}
