/* HTML css */
svg:not(:root) {
  overflow: hidden;
}
html {
  overflow-y: scroll;
}
ul, div.nav {
  pointer-events: none;
}
li {
  pointer-events: all;
}
.catGroup h2 {
  border-bottom: 1px solid #e3e3e3;
  padding-bottom: 5px;
  margin-bottom: 5px;
  text-transform: uppercase;
  font-size: 20px;
  letter-spacing: 1px;
}
.hideMe {
  display: none;
}
.tempHide, .unhighlight {
  fill-opacity: 0 !important;
}
.noMouse {
  pointer-events: none;
}
#document {
  margin: 0 auto;
  font: 12px/1.4em 'Roboto', 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;
  margin: 1.5px;
}
select:disabled, option:disabled, li.disabled {
  background: silver;
  background-color: silver !important;
  font-style: italic;
  pointer-events: none;
  color: gray !important;
}
option.default {
  color: red;
  font-style: italic;
}
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;
}
.geography path {
  stroke-linejoin: round;
}
g.place path {
  stroke-width: 0.5px;
  stroke: white;
  fill: black;
}
g.place text {
  font-size: 4px;
  fill: black;
}
g.place text.fore {
  font-size: 4px;
  fill: black;
}
g.place text.back {
  font-size: 4px;
  fill: none;
  stroke: white;
  stroke-linejoin: round;
}
g.place.capital path {
  stroke: white;
  fill: black;
}
g.place.capital text {
  fill: black;
}
.click {
  stroke: none;
  fill: none;
  pointer-events: all;
  cursor: pointer;
  stroke-linejoin: round;
}
.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;
}
.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;
  pointer-events: none;
}
rect.legendRect {
  shape-rendering: crispEdges;
}
line.legendLine {
  shape-rendering: crispEdges;
  stroke: #565656;
  stroke-width: 1px;
  pointer-events: none;
}
text.legendText, path.arrowHead, text.arrowText {
  fill: #565656;
}
.legendGroup:first-of-type .legendLine,
.legendGroup:first-of-type .legendText {
  display: none;
}
.legendGroup.show:first-of-type .legendLine,
.legendGroup.show:first-of-type .legendText,
.legend .extreme {
  display: inline;
  fill: #565656;
}
text.legendTop, text.legendBottom {
  text-anchor: middle;
  font-size: 16px;
  font-weight: bold;
  text-rendering: optimizeLegibility;
}
text.legendNatVal {
  font-size: 14px;
  text-rendering: optimizeLegibility;
  font-weight: bold;
}
g.legend text.legendTop {
  fill: #1b7837;
}
g.legend text.legendBottom {
  fill: #762a83;
}
text.legendInteractionText {
  text-decoration: underline;
  fill: blue;
  cursor: pointer;
  pointer-events: all;
}
text.legendLabel {
  font-weight: bold;
}
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;
}
text.natText.back {
  stroke: white;
  stroke-width: 2px;
  stroke-linejoin: round;
}
rect.backRect {
  fill: #f2f2f2;
  stroke: #cccccc;
}
.agree text, .disagree text {
  fill: white;
}
text.name {
  font-size: 15px;
}
line.halfLine {
  stroke:  #919191;
}
text.halfText {
  font-size: 10px;
  fill: #919191;
}

.aboutDiv {
  margin-top: 40px;
  line-height: 150%;
  min-height: 20px;
  padding: 19px;
  margin-bottom: 20px;
  background-color: #f5f5f5;
  border: 1px solid #e3e3e3;
  border-radius: 4px;
  box-shadow: inset 0 1px 1px rgba(0,0,0,.05);
}
.aboutDiv h4 {
  font-size: 18px;
  margin: 12px auto;
}
.aboutDiv h5 {
  font-size: 14px;
  margin: 0 auto;
}

.imputed-block {
  display: none;
}

.imputed {
  display: inline-block;
  font-size: 10px;
}
#partners {
  float: right;
  margin-top: 11px;
}

#partners img {
  margin-right: 10px;
}

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