@font-face {
  font-family: 'Publico';
  src: url("./fonts/publico/Publico-Roman.otf"); }

@font-face {
  font-family: 'Publico-Black';
  src: url("./fonts/publico/Publico-Black.otf"); }

@font-face {
  font-family: 'Boomer';
  src: url("./fonts/boomer/Boomer-Regular.otf");
  font-weight: 400; }

@font-face {
  font-family: 'Boomer';
  src: url("./fonts/boomer/Boomer-Bold.otf");
  font-weight: 700;
  font-style: normal; }

@font-face {
  font-family: 'Boomer-Light';
  src: url("./fonts/boomer/Boomer-Light.otf");
  font-style: normal; }

/********
Begin mixins
********/
/********
End mixins
*********/
/******************
BEGIN PAGE STYLES
*******************/
html, body {
  margin: 0;
  box-sizing: border-box;
  overflow: auto;
  width: auto;
  height: auto; }

#main {
  position: relative;
  overflow: hidden;
  top: 0;
  padding: 10px; }

#loading {
  position: absolute;
  width: 100%;
  height: 800px;
  background-color: white;
  padding-top: 100px;
  font-family: 'Arial';
  font-size: 2em;
  color: #CCCCCC;
  text-align: center;
  z-index: 9999; }

/******************
END PAGE STYLES
*******************/
/******************
BEGIN MAP STYLES
*******************/
#map-box {
  box-sizing: border-box;
  position: relative;
  width: 100%;
  padding: 0px 15px; }

#map {
  height: 800px;
  width: 100%; }

.leaflet-interactive {
  z-index: 99999; }

#data-source {
  font-family: 'Arial';
  font-size: .7em;
  font-color: #999999; }

.precinct-default {
  stroke: white;
  stroke-width: 1;
  stroke-opacity: .5;
  fill-opacity: .5; }

.precinct-selected {
  stroke: black;
  stroke-width: 3px;
  stroke-opacity: 1; }

.precinct-hidden {
  stroke-opacity: 0;
  fill-opacity: 0; }

/******************
END MAP STYLES
*******************/
/************************
BEGIN SUMMARY TABLE STYLE
*************************/
.results-summary {
  top: 0;
  right: 0;
  width: 100%;
  margin-bottom: 20px;
  z-index: 9999999;
  background: white;
  opacity: .9;
  border-radius: 10px; }

.eln-summary-table {
  font-family: 'Arial';
  border-collapse: collapse;
  font-size: 12px;
  background: white;
  width: 100%; }
  .eln-summary-table tr {
    border-bottom: 1px solid #e2e2e2;
    line-height: 30px; }
    @media (max-width: 400px) {
      .eln-summary-table tr {
        line-height: 1.5; } }
  .eln-summary-table td {
    border-bottom: 1px solid #e2e2e2; }

.results-summary-title, .section-title {
  font-size: 1.5em;
  font-family: 'Arial'; }
  @media (max-width: 400px) {
    .results-summary-title, .section-title {
      margin-bottom: 8px; } }

#info {
  display: none;
  position: absolute;
  width: 200px;
  z-index: 999999;
  font-family: 'Arial';
  font-size: 12px;
  background: white;
  border-radius: 5px;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.8);
  padding: 6px 8px; }
  #info tr {
    line-height: 1.5; }
  #info.fixed {
    left: 25px !important;
    top: auto !important;
    bottom: 10px; }
    @media (max-width: 600px) {
      #info.fixed {
        height: 100px;
        opacity: .9;
        width: 100%;
        left: 0 !important;
        bottom: 0;
        border-radius: 0;
        border: 1px solid linen; } }

#close-button {
  display: none;
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  top: 5px; }
  .fixed #close-button, .sticky #close-button {
    display: block; }

.gop-party-tag, .dem-party-tag {
  width: 10px;
  height: 10px;
  display: inline-block;
  opacity: .7; }

.dem-party-tag {
  background-color: #10b7ef; }

.gop-party-tag {
  background-color: #72c442; }

h4.candidate-table-title {
  font-size: 1.3em;
  text-align: left; }

h4.tooltip-title {
  margin: 2px; }

.participation {
  font-size: .7em;
  font-family: 'Arial';
  color: grey;
  line-height: 20px; }

/**********************
END SUMMARY TABLE STYLES
***********************/
/***************************
BEGIN ADDRESS SEARCH STYLES
****************************/
#search-bar {
  margin-bottom: 40px; }
  @media (max-width: 400px) {
    #search-bar {
      margin-bottom: 15px; } }

label {
  font-family: 'Arial'; }

/***************************
BEGIN ADDRESS SEARCH STYLES
****************************/
/***************************
BEGIN FILTER OPTION STYLES
****************************/
#left {
  padding-right: 20px;
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 800px; }
  @media (min-width: 1200px) {
    #left {
      position: initial;
      float: left;
      width: 300px; } }
  @media (max-width: 1200px) {
    #left {
      padding: 15px;
      left: 50%;
      transform: translateX(-50%); } }

.filter-table-head {
  text-align: left;
  font-family: Arial;
  color: #999999; }

#filter-select, #county-select {
  font-size: 1em;
  line-height: 15px;
  text-align: center; }
  #filter-select label, #county-select label {
    font-size: 1em; }

#filters {
  display: none; }

.filter-bar, .filter-selected {
  opacity: .5;
  cursor: pointer;
  font-family: 'Arial';
  text-align: left;
  width: 100%;
  height: 30px;
  background-color: #F5A9A9;
  border-radius: 5px;
  margin-bottom: 10px; }

.filter-title {
  pointer-events: none;
  position: absolute;
  top: 0;
  padding: 6px 4px;
  font-size: 1em;
  border-radius: 3px;
  color: black; }

.filter-bar:hover {
  opacity: 1; }

.filter-selected {
  opacity: 1; }

/***************************
END FILTER OPTION STYLES
****************************/
/***************************
BEGIN RANKING TABLE
****************************/
.rank-table-holder {
  max-width: 1100px;
  position: relative;
  margin-bottom: 150px;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 10px;
  padding-top: 20px; }
  .rank-table-holder .out-link {
    width: 100%;
    display: block;
    font-size: 1em;
    text-align: center;
    cursor: pointer; }

.top-precincts {
  position: relative;
  clear: both;
  max-width: 800px;
  text-align: left;
  left: 50%;
  transform: translateX(-50%); }

#top-precincts-title {
  font-family: 'Arial';
  font-size: 1.3em;
  text-align: center; }

#rank-table-dem > table, #rank-table-rep > table {
  margin: 10px;
  width: 100%; }
  #rank-table-dem > table th, #rank-table-rep > table th {
    font-family: 'Boomer-Light';
    color: #999999; }
  #rank-table-dem > table td, #rank-table-rep > table td {
    font-family: 'Arial';
    padding: 3px; }
  #rank-table-dem > table td.rank, #rank-table-rep > table td.rank {
    width: 10%; }
  #rank-table-dem > table td.neighborhood, #rank-table-rep > table td.neighborhood {
    width: 70%; }
  #rank-table-dem > table td.proportion, #rank-table-rep > table td.proportion {
    width: 20%; }

.rank-sub-county, .sub-county {
  display: block;
  color: #999999;
  font-size: 8px; }

.table-title, .table-title {
  font-family: 'Arial';
  font-size: 1.2em;
  margin: 10px 0px;
  border-bottom: 1px solid; }

#dem-rank-title {
  color: #10b7ef;
  opacity: .7; }

#rep-rank-title {
  color: #72c442; }

#ranking-subhed {
  display: block;
  color: #999999;
  font-size: .7em; }

/**************************
/* END RANKING TABLE STYLES
/**************************/
/*********************
/* BEGIN BYLINE STYLES
/********************/
.byline {
  position: relative;
  max-width: 1100px;
  left: 50%;
  transform: translateX(-50%);
  clear: both;
  padding: 20px 5px 100px 5px;
  font-family: 'Arial';
  color: #999999; }

/********************
/* END BYLINE STYLES
/********************/
.foreground-bar {
  height: 30px;
  border-radius: 5px 0px 0px 5px;
  background-color: #A9E2F3; }

.filter-bar-holder {
  position: relative; }

.flex-container {
  display: flex;
  flex-flow: row wrap; }

.flex-item:first-child {
  padding-right: 10px; }

.flex-item:last-child {
  padding-left: 10px; }

.flex-container .flex-item {
  flex: 1 0 300px; }

.explanation {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  max-width: 800px; }

.address-input-holder {
  margin: 20px 0px 10px 0px; }

.out-link {
  margin-bottom: 200px; }

.year-toggle {
  font-size: 2em;
  font-weight: bold;
  text-align: right; }
  @media (max-width: 600px) {
    .year-toggle {
      text-align: center; } }

.inactive-year-toggle {
  color: #e2e2e2; }

.year-toggle {
  cursor: pointer; }

.rank-row:hover {
  background-color: #e2e2e2;
  cursor: pointer; }

.meta {
  font-size: .8em; }

.instructions {
  font-size: .8em;
  color: #999999; }
