/* STYLE FOR SVG */
svg text {
  pointer-events: none;
}

text.back, text.back-state {
  stroke: #000;
}

[data-code=hmpb] { /* PAPER BALLOT */
  fill: #0f7442;
  background: #0f7442;
}

[data-code=bmds], [data-code=bmdn] { /* Ballot marking devices */
  fill: #fad565;
  background: #fad565;
}

[data-code=bmos] { /* Hybrid BMD/Tabulator */
  fill: #fff;
  background: #ee9154;
}

[data-code=mpdv] { /* mixed paper ballot with vvpat */
  fill: #31974d;
  background: #31974d;
}

[data-code=mpdn], [data-code=pbdn] { /* mixed paper ballot without vvpat */
  fill: #a0d464;
  background: #a0d464;
}

[data-code=drev] { /* DRE with VVPAT */
  fill: #d75438;
  background: #d75438;
}

[data-code=dren] { /* DRE NO VVPAT */
  fill: #b3302a;
  background: #b3302a;
}

[data-code=none] {
  fill: #fff;
  background: #fff;
}

[data-code=epoll-paper] {
  fill: #fff;
  background: #c1c1c1;
}

[data-code=epoll-house] {
  fill: #fff;
  background: #5FA3AC;
}

[data-code=epoll-commercial] {
  fill: #fff;
  background: #2B7079;
}

[data-code=epoll-none] {
  fill: #fff;
  background: #5e0008;
}

path[data-code=deselected], [data-code=deselected] {
  fill: #fff !important;
  background: #fff;
}

[data-code=selected] {
  fill: #339750 !important;
  stroke: #fff;
  background: #339750;
}

[data-code=pcvs] { /* Punchcard ballots, BMDs for accessibility (2006-2014) */
  fill: #eecf8b;
  background: #eecf8b;
}

[data-code=lvrm], [data-code=lvpb] { /* Mechanical Lever Machines (2006-2008) */
  fill: #5e0008;
  background: #5e0008;
}

.infolayer .legend rect {
  fill: none !important;
  fill-opacity: 0 !important;
}

/* text for areas */
text[data-code=pbvs], text[data-code=bmds], text[data-code=tbas], text[data-code=pbpc], text[data-code=pcvs], text[data-code=deselected] {
  stroke: #000;
}

path.navigate {
  stroke: #000;
}

path.map-on {
  stroke: #000;
  stroke-width: 3px;
}

path.greyed {
  fill: #EEC !important;
  stroke-width: 3px;
}

path.mapfader {
  fill: #EDEDED !important;
  stroke-width: 1px;
  stroke: #000;
}

path.navigate:hover, path.navigate.hover {
  /* stroke-width:3px; */
  stroke: #000 !important;
  stroke-width: 1px;
  /* fill:#EEC !important;  */
  cursor: pointer;
}
