
.axis line,
.axis path {
  fill: none;
  stroke: #000;
  shape-rendering: crispEdges;
}

div.tooltip {
  top: -1000px;
  position: absolute;
  padding: 10px;
  background: rgba(255, 255, 255, .90);
  border: 1px solid lightgray;
  pointer-events: none;
  font-size: 14px;
  font-family: "BWHaasText-55Roman","Helvetica";
  z-index: 10;
}
.tooltip-hidden{
  opacity: 0;
}

text {
  xpointer-events: none;
  text-shadow: 0 1px 0 #fff, 1px 0 0 #fff, 0 -1px 0 #fff, -1px 0 0 #fff;
  font-family: "BWHaasText-55Roman","Helvetica";
  font-size: 14px;
  color: #767676;
  cursor: pointer;
}
#distrubution text, #grouped-bars text{
  cursor: default;
}
.title{
  font-family: "BWHaasText-65Medium", Arial, Helvetica;
  font-size: 18px;
  color: #262626;
  cursor: default;
}

.mid{
  stroke: lightgrey;
}

.quad{
  font-size: 21px;
  line-height: 25px;
  font-family: "HaasDisplayBold","Helvetica";
}

.annotation{
  xpointer-events: none;
}

div.annotation, #sections > div{
  border: 4px solid grey;
  padding: 20px;
  font-family: "BWHaasText-65Medium", Arial, Helvetica;
  font-size: 17px;
  line-height: 22px;
  text-align: left;
  width: 300px;
}

.annotation h3{
  font-family: "HaasTextBold", Arial bold, Helvetica bold;
  font-size: 21px;
  line-height: 25px;
  font-weight: bold;
  text-align: left;
  margin-bottom: 14px;
}
.annotation p{
  font-family: "BWHaasText-65Medium", Arial, Helvetica;
  font-size: 17px;
  line-height: 22px;
  color: #767676;
  text-align: left;
  margin: 0px;
}

#distAnnotations{
  display: none;
}

.red-job{
  font-weight: bold;
  color: rgb(255,67,  61);
}
.green-job{
  font-weight: bold;
  color: rgb(0, 220, 60);
}
.blue-job{
  font-weight: bold;
  color: rgb(0, 185, 231);
}
.orange-job{
  font-weight: bold;
  color: rgb(246,178, 33);
}
.purple-job{
  font-weight: bold;
  color: rgb(92, 66, 171);
}
circle {
  opacity: 1;
  stroke-width: 0px;
}
#scatter circle{
  opacity: 0.6;
  stroke-width: 0px;
}
circle {
  fill: #999;
}
circle.tooltipped{
  stroke-width: 2px;
  opacity: 1 !important;
}
circle:hover{
  opacity: 1;
}

#container{
  position: relative;
  /*overflow: hidden;*/
  padding-bottom: 20px;
}

#distrubution{
  margin-bottom: 50px !important;
}

#container .section-title{
  margin-top: 10px
}

#sections{
  width: 0px;
  padding-top: 250px;
  margin-left: calc(100% - 810px);
  display: inline-block;
  z-index: 10;
  position: relative;
  pointer-events: none;
}

#sections > div{
  background: white;
  opacity: .2;
  margin-bottom: 300px;
  font-family: "BWHaasText-65Medium", Arial, Helvetica;
  font-size: 17px;
  line-height: 22px;
  text-align: left;
}

#sections > div:first-child{
  /*opacity: 0 !important;*/
  /*margin-bottom: 100px;*/
  /*margin-top: 200px;*/
  margin-top: -80px;
}


#sections > div:last-child{
  margin-bottom: 640px;
}

#scatter-fixed{
  position: absolute;
  top: 0px;
  z-index: 0;
  margin: 40px auto 80px auto;
  max-width: 800px;
  width: 100%;
}

#scatter-fixed.graph-scroll-fixed{
  position: fixed;
  top: 0px;
}

#scatter-fixed.graph-scroll-below{
  position: absolute;
  bottom: 0px;
  top: auto;
  height: 593px;
}

#scatter{
  padding-top: 20px;
  padding-bottom: 20px;
}

#sections > div.graph-scroll-active{
  opacity: 1;
}

.mobile-annotation{
  display: none;
  opacity: 0;
  font-family: 'HaasText';
}

@media only screen and (max-width: 767px) {
  #sections div{
    display: none;
  }
  #sections{
    height: 700px;
  }

  .annotation{
    display: none;
  }

  .mobile-annotation{
    display: block
  }

  #scatter-fixed{
    position: absolute !important;
    top: 0px !important;
    bottom: auto !important;
    margin: 40px auto 80px auto !important;
  }

}


/* MOBILE window less than 568px wide */
@media only screen and (max-width: 767px) {
  .title{
    font-size: 17px;
  }
  div.annotation, #sections > div{
    border: 3px solid grey;
    padding: 14px;
    font-size: 16px;
    line-height: 20px;
  } 
  .annotation h3{
    font-size: 18px;
    line-height: 22px;
    margin-bottom: 10px;
  }
  .annotation p{
    font-size: 16px;
    line-height: 20px;
  }
  #sections > div{
    font-size: 16px;
    line-height: 20px;
  }
  .quad{
    font-size: 17px;
    line-height: 20px;
  }
  .title{
    font-size: 17px;
  }
}

@media only screen and (max-height: 568px){ 
  #distrubution {
    margin-bottom: 170px !important;
  }
  #container .section-title{
    margin-top: -150px
  }
}

@media only screen and (max-width: 430px) {
  text {
    font-size: 13px;
  }
  .title{
    font-size: 16px;
  }
  div.annotation, #sections > div{
    border: 3px solid grey;
    padding: 10px;
    font-size: 15px;
    line-height: 19px;
  } 
  .annotation h3{
    font-size: 17px;
    line-height: 22px;
    margin-bottom: 10px;
  }
  .annotation p{
    font-size: 15px;
    line-height: 19px;
  }
  #sections > div{
    font-size: 15px;
    line-height: 19px;
  }
  .quad{
    font-size: 16px;
    line-height: 19px;
  }
  div.tooltip{
      font-size: 13px;
      width: 50%;
  }
  #scatter-fixed.graph-scroll-below{
    height: auto;
  }
}