.d3-tip {
  background: #ffffff;
  padding: 15px;
  border: 2px solid #D8D8D8;
  border-radius: 4px;
  min-width: 115px;
  max-width: 300px;
  z-index: 99999;
}
.d3-tip:after {
  /* content: '';
  background: url(../img/icon--tooltip-arrow.svg) no-repeat;
  width: 17px;
  height: 21px;
  display: block;
  position: absolute;
  bottom: -19px;
  left: calc(50% - 10px); */
  content: '';
  display: block;
  width: 19px;
  height: 15px;
  border-right: 2px solid #ced4da;
  border-top: 2px solid #ced4da;
  transform: rotate(113deg) skew(-40deg, 0deg) translate(-7px, -10px);
  position: absolute;
  right: 50%;
  bottom: -5px;
  background: #fff;
}
.d3-tip.s:after {
  content: '';
  display: block;
  width: 19px;
  height: 15px;
  border-right: 0;
  border-top: 0;
  border-left: 2px solid #ced4da;
  border-bottom: 2px solid #ced4da;
  transform: rotate(113deg) skew(-40deg, 0deg) translate(-7px, -10px);
  position: absolute;
  right: 50%;
  top: -15px;
  background: #fff;
}
.d3-tip.d3-tip-scatterplot {
  max-width: 500px;
}
.d3-tip .scatterplot-tip {
  max-width: 250px;
}
.d3-tip .scatterplot-tip:nth-child(2) {
  margin-left: 20px;
}
.d3-tip .details {
  margin-bottom: 8px;
  line-height: 18px;
  font-size: 16px;
  letter-spacing: 1px;
}
.d3-tip .details:last-of-type {
  margin-bottom: 0;
}
.d3-tip .details.footnote {
  font-size: 12px;
  word-break: break-word;
}
div.table-tooltip {
  width: 75px;
  float: left;
}
.d3-tip div.details.footnote {
  width: 60px;
  float: left;
}
@media screen and (max-width: 768px) {
  .d3-tip {
    display: none;
  }
}
.d3-tip .details.value {
  font-size: 18px;
}
.d3-tip .gender {
  display: inline-block;
  text-transform: lowercase;
}
.d3-tip .gender:first-letter {
  text-transform: uppercase;
}
