/* ==========================================================================
   General Page Styles 
   ========================================================================== */
/* Set automargin to maindiv so it sizes correctly on responsive displays */
#maindiv {
  margin: auto;
}

/* ==========================================================================
   General d3 SVG Styles
   ========================================================================== */
.axis path,
.axis line {
  fill: none;
  shape-rendering: crispEdges;
  stroke: #000;
}

.x.axis path {
  display: none;
}

.measures text {
  fill: white;
  font: 10px sans-serif;
  text-anchor: end;
}

.legend text{
  font-weight: bold;
}

/* Styles the tooltip when hover on viz bars or scatterplots */
.d3-tip {
  background: rgba(0, 0, 0, 0.8);
  border-radius: 2px;
  color: #fff;
  font-weight: bold;
  line-height: 1;
  padding: 12px;
}

/* Creates a small triangle extender for the tooltip at bottom of its box */
.d3-tip:after {
  box-sizing: border-box;
  color: rgba(0, 0, 0, 0.8);
  content: "\25BC";
  display: inline;
  font-size: 10px;
  line-height: 1;
  position: absolute;
  text-align: center;
  width: 100%;
}

/* Style northward tooltips differently */
.d3-tip.n:after {
  margin: -1px 0 0 0;
  top: 100%;
  left: 0;
}

/* Not sure if this is used now */
.imagef {
  fill: transparent;
  shape-rendering: crispEdges;
  stroke: black;
}

/* ==========================================================================
   Selection Lists - Drop Down Boxes at Top of Page
   ========================================================================== */
label {
  font-weight: bold;
}
.selections {
  text-align: center;
}
.sBoxes {
  margin: 0 1em 0 .25em;
}

/* ==========================================================================
   Tables
   ========================================================================== */
/* Table Sorter - Changes color */
.tablesorter thead tr th:not(.sorter-false)::after{
  content: " \021C5"; /*SXK Edit */
}
.tablesorter thead tr th:not(.sorter-false){
  cursor:pointer; /*SXK Edit */
}
table.tablesorter thead tr .headerSortUp::after {
 /* background-color: #96967e;*/
 content: " \021D1";
}

table.tablesorter thead tr .headerSortDown::after {
  /*background-color: #96967e;*/
  content: " \021D3";
}


/* ==========================================================================
   Set styles for IE Hack on svg @RESPONSIVE
   ========================================================================== */
canvas {
  display: block;
  visibility: hidden;
 width: 100%;   
}

#svg_bar , #svg_plot, #svg2, #svg_bar_nyc, #svg_plot_nyc, #svg1 , #svg3, #svg2 {
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}


/* ==========================================================================
   Hide sections on the print page 
   ========================================================================== */
.printonly  {
  display:none;
}


