 body {
    font: 16px 'Source Sans Pro';
    overflow: hidden;
 }
 @media (max-width: 500px) {
    body {
        font-size: 14px;
    }
    svg text {
        font-size: 11px;
    }
}

.source, .methodology {
    font-size: 0.75em;
    color: #7c7c7c;
}
.methodology {
    font-weight: 300;
}
 
 img {
    float: right;
 }
 .dot {
    stroke-width: 1px;
 }
 .axis path,
 .axis line {
     fill: none;
     stroke: #ccc;
     shape-rendering: crispEdges;
 }
.label {
    font-size: 0.9em;
}
.label.lt {
    font-size: 0.8em;
}
@media (max-width: 500px) {
    .label {
        font-size: 10px;
    }
    .label.lt {
        font-size: 9px;
    }
}
 .tick text {
    fill: #353535;
 }
 
 .input-center {
    width: 100%;
 }


 .typeahead,
 .tt-query,
 .tt-hint {
     width: 396px;
     height: 26px;
     padding: 2px 12px;
     font-size: 16px;
     line-height: 26px;
     border: 1px solid #b6b7b9;
     -webkit-border-radius: 1px;
     -moz-border-radius: 1px;
     border-radius: 1px;
     outline: none;
 }

 
 .typeahead {
     background-color: #fff;
 }
 
 .typeahead:focus {
     border: 1px solid #b6b7b9;
 }
 
 .tt-query {
     -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
     box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
 }
 
 .tt-hint {
     color: #999
 }
 
 .tt-menu {
     width: 394px;
     margin: 0;
     padding: 8px 0;
     background-color: #fff;
     border: 1px solid #ccc;
     border: 1px solid rgba(0, 0, 0, 0.2);
     -webkit-border-radius: 2px;
     -moz-border-radius: 2px;
     border-radius: 2px;
     -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
     -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
     box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
 }
 
 .tt-suggestion {
     padding: 3px 20px;
     font-size: 16px;
     line-height: 24px;
 }


 @media (max-width: 500px) {
    .typeahead,
    .tt-query,
    .tt-hint, .tt-suggestion {
        font-size: 14px;
        line-height: 18px;
        width: 300px;
    }
 }
 
 .tt-suggestion:hover {
     cursor: pointer;
     color: #fff;
     background-color: #0097cf;
 }
 
 .tt-suggestion.tt-cursor {
     color: #fff;
     background-color: #0097cf;
 }
 
 .tt-suggestion p {
     margin: 0;
 }

.d3-tip {
  line-height: 1.3;
  padding: 12px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  border-radius: 2px;
  pointer-events: none;
  font-weight: 300;
  font-size: 0.9em;
  width: 300px;
}

 @media (max-width: 500px) {
    .d3-tip {
        font-size: 10px;
        width: 220px;
    }
}

.d3-tip div {
    margin: 4px 0;
}
.d3-tip .instnm {
    font-weight: bold;
    padding-bottom: 2px;
    margin-bottom: 2px;
    border-bottom: 1px solid #8a8c8e;

}

/* 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;
}

/* Eastward tooltips */
.d3-tip.e:after {
  content: "\25C0";
  margin: -4px 0 0 0;
  top: 50%;
  left: -8px;
}

/* Southward tooltips */
.d3-tip.s:after {
  content: "\25B2";
  margin: 0 0 1px 0;
  top: -8px;
  left: 0;
  text-align: center;
}

/* Westward tooltips */
.d3-tip.w:after {
  content: "\25B6";
  margin: -4px 0 0 -1px;
  top: 50%;
  left: 100%;
}
