body{
  font-family: menlo, Consolas, 'Lucida Console', monospace; 
  margin: 0px;
}

.tooltip {
  top: -1000px;
  position: fixed;
  padding: 10px;
  background: rgba(255, 255, 255, .90);
  border: 1px solid lightgray;
  pointer-events: none;
}
.tooltip-hidden{
  opacity: 0;
  transition: all .3s;
  transition-delay: .1s;
}

@media (max-width: 590px){
  div.tooltip{
    bottom: -1px;
    width: calc(100%);
    left: -1px !important;
    right: -1px !important;
    top: auto !important;
    width: auto !important;
  }
}

svg{
  overflow: visible;
}

.domain{
  display: none;
}

text{
  pointer-events: none;
  text-shadow: 0 1px 0 #fff, 1px 0 0 #fff, 0 -1px 0 #fff, -1px 0 0 #fff;
}



#container{
  width: 960px;
  height: 500px;
  overflow: hidden;
}

#container > div{
  display: inline-block;
  vertical-align: top;
}

#left{
  width: 420px;
}

#right{
  width: 510px;
}

.axis-label{
  font-size: 12px;
}
.small-label{
  font-size: 11px;
}


.histogram > div{
  display: inline-block;
}


.student.active{
  stroke-width: 3;
  stroke: #000;
}


