.tooltip {
  position: absolute;
  z-index: 9999;
  padding: 5px;
  line-height: 30px;
  font-size: 20px;
  font-family: Helvetica, Arial;
  opacity: 1;
  visibility: visible;
}

.tooltip.top {
  margin-top: -3px;
}

.tooltip.right {
  margin-left: 3px;
}

.tooltip.bottom {
  margin-top: 3px;
}

.tooltip.left {
  margin-left: -3px;
}

.tooltip-inner {
  max-width: 800px;
  padding: 3px 8px 3px 8px;
  color: #ffffff;
  text-decoration: none;
  background-color: #000000;
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;
}

.tooltip-arrow {
  position: absolute;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
}

.tooltip.top .tooltip-arrow {
  bottom: 0;
  left: 50%;
  margin-left: -5px;
  border-top-color: #000000;
  border-width: 5px 5px 0;
}

.tooltip.right .tooltip-arrow {
  top: 50%;
  left: 0;
  margin-top: -5px;
  border-right-color: #000000;
  border-width: 5px 5px 5px 0;
}

.tooltip.left .tooltip-arrow {
  top: 50%;
  right: 0;
  margin-top: -5px;
  border-left-color: #000000;
  border-width: 5px 0 5px 5px;
}

.tooltip.bottom .tooltip-arrow {
  top: 0;
  left: 50%;
  margin-left: -5px;
  border-bottom-color: #000000;
  border-width: 0 5px 5px;
}

.tooltip-title {
  text-align: center;
  font-weight: bold;
  white-space: nowrap;
  /* I don't understand why this doesn't work */
  text-overflow: ellipsis;
  overflow: hidden;
}

/* I don't understand why this doesn't work */
.tooltip-metric + .tooltip-metric {
  border-top: 1px solid #eee;
}

.tooltip-metric-name {
  padding-right: 15px;
}

.tooltip-metric-value {
  text-align: right;
}