body {
  font-family: FFDINStdRegular;
  margin: 0 auto;
  text-align: center;
}

h2 {
  margin-bottom: 0px;
  padding-bottom: 0px;
}
.svg-container {
    display: inline-block;
    position: relative;
    width: 100%;
    padding-bottom: 50%; /* aspect ratio */
    vertical-align: top;
    overflow: hidden;
}
.svg-content-responsive {
    display: inline-block;
    position: absolute;
    top: 10px;
    left: 0;
}

.counties {
  fill: #d7d6d7;
	stroke: #000;
	stroke-width: .25;
	stroke-dasharray: 1, 1;
}

.background {
  fill: none;
}

.legend {
  margin: 10px;
  padding: 10px;
  position: absolute;
  left: 70%;
}

.legend p {
  font-family: FFDINStdRegular;
  text-decoration: underline;
  margin-bottom: 2px;
}


.d3-tip {
  line-height: 1;
  font-weight: bold;
  padding: 10px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  border-radius: 2px;
  pointer-events: none;
  text-align: center;
}

.d3-tip p{
  margin: 8px;
  text-align: left;
  font-size: 14px;
}

/* Creates a small triangle extender for the tooltip */
.d3-tip:after {
  box-sizing: border-box;
  display: inline;
  font-size: 10px;
  width: 100%;
  line-height: 1;
  color: rgba(0, 0, 0, 0.8);
  position: absolute;
  pointer-events: none;
}

/* Northward tooltips */
.d3-tip.n:after {
  content: "\25BC";
  margin: -1px 0 0 0;
  top: 100%;
  left: 0;
  text-align: center;
}

.county-name {
  font-family: FFDINStdBold;
  font-size: 14px;
}

@media only screen and (max-width: 500px) {
  h2 {
    font-size: 0.75em;
  }
}
