#viz-elections {
  font-family: sans-serif;
}

#viz-elections h1,
#viz-elections h2,
#viz-elections h3,
#viz-elections h4 {
  text-transform: uppercase;
}

#viz-elections .img-container img,
#viz-elections .img-container object {
  display: block;
  max-width: 100%;
}

/* ALERTS */
#viz-elections .alert {
    background: #E5E5EA;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 1px;
    margin: 10px 0;
    padding: 10px;
}

#viz-elections .alert .close {
  display: inline-block;
  float: right;
}

#viz-elections .alert .close i {
  cursor: pointer;
  padding: 10px;
}

#viz-elections .alert p {
  margin: 0;
}

/* BUTTONS */
#viz-elections .btn {
  background: #FFF;
  border: 2px solid #000;
  border-radius: 1px;
  color: #000;
  cursor: pointer;
  display: inline-block;
  margin: 5px;
  padding: 10px;
  text-align: center;
  text-transform: uppercase;
}
#viz-elections .btn.btn-selected {
  background: #393939;
  border-color: #FFF;
  color: #FFF;
}

/* CHARTS */
#viz-elections .chart {
  background: #E5E5EA;
  display: flex;
  margin: 1rem 0;
  border-radius: 1px;
}

#viz-elections .bar {
  width: 100%;
  height: 40px;
  background: #393939;
  border-right: 2px solid #FFF;
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

#viz-elections .bar.bar-thin {
  height: 8px;
}

#viz-elections .bar.bar-medium {
  height: 16px;
}

#viz-elections .bar.bar-thick {
  height: 64px;
}

#viz-elections .bar.bar-extra-thick {
  height: 128px;
}

#viz-elections .bar.bar-short {
  width: 3px;
}

#viz-elections .bar.circle {
  border: none;
  border-radius: 50%;
  margin: 4px;
  width: 8px;
  height: 8px;
}

#viz-elections .bar.rect {
  border: none;
  border-radius: 0;
  margin: 2px;
  width: 12px;
  height: 12px;
}

#viz-elections .bar p {
  font-size: 0.8rem;
  letter-spacing: 1px;
  line-height: 1.0;
  margin: 0;
  padding: 0;
  text-align: center;
  text-transform: uppercase;
}
#viz-elections .bar p.overlay {
}

/* MAPS */
#viz-elections .mapbox-map {
  background: "red";
  height: 400px;
  width: 100%;
}

/* HELPERS */
#viz-elections .disabled {
  opacity: 0.25;
  pointer-events: none;
}

#viz-elections .flex {
  display: flex;
}

#viz-elections .flex-wrap {
  flex-wrap: wrap;
}

#viz-elections .hidden {
  display: none;
}

#viz-elections .invisible {
  opacity: 0;
}

#viz-elections .ghosted {
  opacity: 0.2;
}

#viz-elections .no-bg {
  background: none;
}

#viz-elections .o {
  outline: 1px solid #000;
}
