html,
body {
  margin: 0;
  padding: 0;
  overflow: hidden;
}

p {
  color: #445979;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.1px;
  line-height: 26px;
  text-align: left;
}

h4 {
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
}

h5 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.1px;
  line-height: 26px;
  margin-bottom: 1rem;
  margin-top: 0;
}

.visualization {
  color: #153057;
}

.row {
  font-family: Calibre, sans-serif;
  font-size: 16px;
  margin-bottom: 2rem;
  max-width: 100%;
}

.chart {
  background: white;
  border-radius: 6px;
  box-sizing: border-box;
  box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.1),
    0px 1px 1px rgba(0, 0, 0, 0.14), 0px 1px 3px rgba(0, 0, 0, 0.2);
  padding: 24px 32px;
  width: 100%;
}

.controls {
  display: flex;
  margin-bottom: 1rem;
  height: 16px;
}

.controls > span {
  align-items: center;
  color: #6e7f99;
  display: block;
  flex: 1;
  font-size: 14px;
  letter-spacing: .25px;
}

.controls > #spot-slider {
  flex: 4;
  transform: translateY(6px);
}

/* --- Slider styles overrides --- */
.noUi-target {
  background: #6e7f99 !important;
  border-radius: 20px !important;
  border: none !important;
  box-shadow: none !important;
}

.noUi-horizontal {
  height: 4px !important;
}

.noUi-handle {
  border: solid 4px !important;
  box-shadow: none !important;
  height: 20px !important;
  top: -8px !important;
  width: 20px !important;
}

.noUi-horizontal .noUi-handle {
  background: white !important;
  border-radius: 10px !important;
}

.noUi-handle::after,
.noUi-handle::before {
  display: none !important;
}

.mapWrap {
  margin-bottom: 2rem;
}

#scatterplot3d {
  display: flex;
  flex-direction: column;
}

#svg3d {
  order: 2;
}

.btn {
  background: #FFFFFF;
  border: 1px solid #DCE0E6;
  border-radius: 50%;
  box-sizing: border-box;
  cursor: pointer;
  height: 28px;
  margin-right: 8px;
  width: 28px;
}

.btn-in {
  background: url("./assets/zoom-in.svg") no-repeat center center;
}

.btn-out {
  background: url("./assets/zoom-out.svg") no-repeat center center;
}

.btn-reset {
  background: url("./assets/reset.svg") no-repeat center center;
}

/* --- Table --- */
.tableWrap {
  background: white;
  border-radius: 6px;
  box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.1),
    0px 1px 1px rgba(0, 0, 0, 0.14), 0px 1px 3px rgba(0, 0, 0, 0.2);
  height: 500px;
  overflow: auto;
  width: 100%;
}

table {
  border-collapse: collapse;
  font-size: 16px;
  width: 100%;
}

thead > tr {
  background: #f7f9fc;
}

thead > tr > th {
  text-align: left;
  font-size: 16px;
  font-weight: 600;
}

tbody > tr {
  font-weight: 400;
  cursor: pointer;
}

tbody > tr > td:hover {
  color: #0071d9;
}

tbody tr:nth-child(odd) {
  background: #f7f9fc;
}

@media (min-width: 750px) {
  .row {
    display: flex;
  }

  .chart {
    display: flex;
  }

  .mapWrap {
    flex: 1;
    margin-bottom: 0;
    margin-right: 36px;
  }

  .plotWrap {
    flex: 1;
  }

  .tableWrap {
    height: 342px;
  }
}
