/* HTML css */
svg:not(:root) {
  overflow: hidden;
}
html {
  overflow-y: scroll;
}
.catGroup h2 {
  border-bottom: 1px solid #e3e3e3;
  padding-bottom: 5px;
  margin-bottom: 5px;
  text-transform: uppercase;
  font-size: 20px;
  letter-spacing: 1px;
}
.condensed {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.hideMe {
  display: none;
}
.noMouse {
  pointer-events: none;
}
#document {
  margin: 0 auto;
  font: 12px/1.4em "Helvetica Neue", Helvetica, Arial, sans-serif;
}
#mapTitle {
  font-size: 28px;
  font-weight: normal;
  line-height: 100%;
}
#barTitle {
  font-size: 28px;
  font-weight: normal;
  line-height: 100%
}
#model {
  font-size: 14px;
  margin-bottom: 8px;
}
#shareables {
  float: right;
}
ul.social-buttons {
  margin: 0;
}
ul.social-buttons li {
  display: inline;
  list-style-type: none;
}
#linkButton {
  float: right;
  padding: 0.25em;
  font-size: 14px;
  font-weight: normal;
}
select {
  border: 1px solid #D3D3D3;
  color: #555555;
  font-weight: normal;
  white-space: nowrap;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  padding: 0.25em;
  font-size: 14px;
}
ul.tabs {
  list-style: none;
  padding: 35px 10px;
  margin: 0;
}
ul.tabs li {
  border: 1px solid #D3D3D3;
  color: #555555;
  font-weight: normal;
  font-size: 14px;
  list-style: none outside none;
  margin: 5px 0 5px 5px;
  padding: 0.25em 0.25em;
  top: 0;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  background-color: white;
  text-align: center;
}
ul.tabs li:hover {
  color: #212121;
  cursor: pointer;
  box-shadow: 0 14px 14px -14px #CCCCCC inset;
}
ul.tabs li.active, ul.tabs li.active:hover {
  background-color: #7A7A7A;
  color: #F8F8F8;
  box-shadow: 0 14px 14px -14px #969696 inset;
  cursor: default;
  font-weight: bold;
}
div#tooltip {
  z-index: 10;
  color: #666666;
  position: absolute;
  width: 200px;
  padding: 5px;
  background: rgba(255, 255, 255, 0.85);
  border: thin solid black;
  -webkit-border-radius:  3px;
  -moz-border-radius:     3px;
  border-radius:          3px;
  -webkit-box-shadow: 0 0 5px 0 rgba(50, 50, 50, 0.75);
  -moz-box-shadow:    0 0 5px 0 rgba(50, 50, 50, 0.75);
  box-shadow:         0 0 5px 0 rgba(50, 50, 50, 0.75);
  pointer-events: none;
  text-align: center;
  opacity: 0;
}
#tooltip header {
  font-size: 16px;
  font-weight: bold;
  border: none;
  padding: 4px;
}
#tooltip .question {
  font-size: 12px;
}
#tooltip .percent {
  font-size: 15px;
  font-weight: bold;
}
#tooltip .counts {
  font-size: 10px;
}
#tooltip hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #999;
  margin: 3px 0;
  padding: 0;
}
div.map {
  position: relative;
}


/* SVG css*/

text {
  pointer-events: none;
}
.axis text {
  font-size: 14px;
}
.axis path, .axis line {
  fill: none;
  stroke: #000;
  shape-rendering: crispEdges;
}
.tick line {
  stroke: #C0C0C0;
  stroke-dasharray: 5,10;
  stroke-linecap: round;
}
.y.axis .domain {
  display: none;
}
.county.shape, .cd.shape, .county.block, .cd.block{
  stroke: gray;
  stroke-opacity: 1;
  stroke-linejoin: round;
  fill: none;
}
.national.shape {
  stroke: #373737;
  fill: none;
  stroke-linejoin: round;
}
.state.shape, .state.block {
  stroke: black;
  fill: none;
  cursor: pointer;
  stroke-linejoin: round;
}
g.stateBlocks text.state {
  font-size: 14px;
  fill: #808080;
}
.click {
  stroke: none;
  fill: none;
  pointer-events: all;
  cursor: pointer;
  stroke-linejoin: round;
  stroke-width: .7px;
}
.click:hover {
  fill: white;
  fill-opacity: .25 !important;
  stroke: red;
  stroke-opacity: .35;
}
.click.active,
.click.active:hover {
  stroke: red;
  stroke-opacity: 1;
}
.click.zoomState {
  stroke: black;
  stroke-opacity: 1;
  stroke-width: .5px;
}
.highlight {
  fill: white !important;
}
.chartTitle {
  font-size: 20px;
  font-weight: bold;
}
.barGroup rect {
  stroke: white;
  stroke-width: 1px;
}
text.name {
  margin-bottom: 15px;
}
text.bar.label {
}
text.label {
  font-size: 12px;
  font-weight: normal;
}
text.bar.value {
  font-size: 14px;
}
rect.legendBack {
  fill: white;
  fill-opacity: 0.8;
  stroke: none;
}
rect.legendRect {
  shape-rendering: crispEdges;
}
line.legendLine {
  shape-rendering: crispEdges;
  stroke: #565656;
  stroke-width: 1px;
  pointer-events: none;
}
text.legendText {
  fill: #565656;
}
.legendGroup:first-of-type .legendLine,
.legendGroup:first-of-type .legendText {
  display: none;
}
g.backBtn rect {
  fill: #DFDFDF;
  stroke: black;
  stroke-width: 0.5px;
  cursor: pointer;
}
g.backBtn rect:hover {
  fill: #BFBFBF;
}
g.backBtn path {
  pointer-events: none;
}
text.chartTitle {
  font-weight: bold;
  font-size: 24px;
}
text.chartTitle.front {
  fill: black;
}
text.chartTitle.back {
  fill: white;
  stroke: white;
  stroke-width: 3px;
}
.legend .y.axis text {
  font-size: 10px;
}
.x.axis text, .x.axis .domain {
  display: none;
}
text.natText {
  font-size: 42px;
}
rect.backRect {
  fill: #C0C0C0;
  stroke: #858585;
}
.agree rect {
  fill: #700000;
  stroke: #480000;
}
.disagree rect {
  fill: #03005E;
  stroke: #010033;
}
.agree text, .disagree text {
  fill: white;
}
text.name {
  font-size: 15px;
}
line.halfLine {
  stroke:  #919191;
}
text.halfText {
  font-size: 10px;
  fill: #919191;
}

@media print {
  .moreCharts {
    page-break-after: always;
  }
}