.d3-tip {
  line-height: 1;
  font-weight: bold;
  padding: 12px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  border-radius: 2px;
}

html, body {
  width: 100%;
  height: 100%;
}

/* 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);
  content: "\25BC";
  position: absolute;
  text-align: center;
}

/* Style northward tooltips differently */
.d3-tip.n:after {
  margin: -1px 0 0 0;
  top: 100%;
  left: 0;
}

.graph{
  position:relative;
  height:0;
  width:100%;
  padding:0;
  padding-bottom:100%;
}

.graph > svg {
  position: absolute;
  height:100%;
  width:100%;
  left:0;
  top:0;
}

h2 {
  text-align:center;
  margin-top:1rem;
}

.col-8{
  padding-top: 1rem;
}

.col{
  /*background-color: #e6e6e6;*/
  padding-top:0.2rem;
}

#datadl{
  text-align:center;
  white-space:normal;
}

.container{
  padding-bottom:3rem;
}

.btn{
  margin-top:0.5rem;
}

.leg-item{
  white-space:nowrap;
}

#legend{
  margin-left:1rem;
  margin-right:1rem;
  padding-top:2rem;
}

#sidebar{
  background-color: #e3e3e3;
  padding-top:1rem;
}

#datadl{
  align-items:center;
  justify-content: center;
  vertical-align:middle;
}
