/*

sd-maps.css
By: Chad Cooper, CooperGeoSolutions, LLC
November 2013

Styles for BPro South Dakota election maps.

*/

body {
  padding: 0;
  margin: 0;
}
           
html, body, #map {                
  height: 100%;                           
} 
    
.info {
  padding: 6px 8px;
  font: 14px/16px Arial, Helvetica, sans-serif;
  background: white;
  background: rgba(255,255,255);
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
  border-radius: 5px;
  width: 100%;
}

.info h4 {
  margin: 0 0 5px;
  color: #777;
}

.leaflet-right {
	max-width: 400px;
  }

.popupHeader {
  text-align: center;
  font-weight: bold;
  font-family: Georgia, Times, Arial;
  font-size: 16px;
  padding-bottom: 5px;
}

.popupDivHeader {
  font-family: Georgia, Times, Arial;
  font-size: 14px;
  text-align: center;
  border-bottom: 1px solid #CCCCCC;
  margin-bottom: 5px;
  padding-bottom: 5px;
}

.victor-rep {
  font-weight: bold;
  font-size: 12px;
  text-align: right;
}

.victor-dem {
  font-weight: bold;
  font-size: 12px;
  text-align: right;
}

.loser {
  font-size: 12px;
  text-align: right;
}

table {
  width: 100%;
  border-spacing: 0;
}

table table#results {
  width: 100%;
  border-spacing: 0;
}

table tr {
  padding: 18px;
}

.precincts {
  border-top: 1px solid #CCCCCC;
  margin-top: 5px;
  padding-top: 5px;
  font-family: Georgia, Times, Arial;
  font-size: 12px;
}

table.totals tr.totalsRow td {
  border-bottom: 1px solid #CCCCCC;
  height: 1.5em;
}

.totals-reporting {
  font-family: Georgia, Times, Arial;
  font-size: 12px;
  text-align: center;
}

/*Democratic Party Squares(blue)*/
.demSquare {
  width: 10px;
  height: 10px;
  border: 1px solid #000;
  background-color: blue;
}



/*Republic Party Squares(red)*/
.repSquare {
  width: 10px;
  height: 10px;
  border: 1px solid #000;
  background: #FC0000;
}


/* Green Party Squares(green)*/
.grnSquare {
  width: 10px;
  height: 10px;
  border: 1px solid #000;
  background: #089939;
}

/* Libertarian Party Squares(yellow)*/
.libSquare {
  width: 10px;
  height: 10px;
  border: 1px solid #000;
  background: #B28F00;
}

/* Legal Marijuana Now Party Squares(yellow)*/
.lmnSquare {
	width: 10px;
	height: 10px;
	border: 1px solid #000;
	background: #37B744;
}

/* Constitution Party Squares(cerulean)*/
.conSquare {
  width: 10px;
  height: 10px;
  border: 1px solid #000;
  background: #296652;
}

/* Independent Party Squares(purple)*/
.indSquare {
  width: 10px;
  height: 10px;
  border: 1px solid #000;
  background: #4C1A4C;
}

/* PET Party Squares Nebraska*/
.zzzSquare {
    width: 10px;
	height: 10px;
	border: 1px solid #000;
}

/* No Party Squares*/
.nonSquare {
    width: 10px;
	height: 10px;
	border: 1px solid #000;
}

/* No Candidate Squares */
.Square {
  width: 10px;
  height: 10px;
  border: 1px solid #000;
}

.total-winner-rep {
  background-color: #EB9B9B;
}

.total-winner-dem {
  background-color: #A8A3D9;
}

td.cand-name {
  min-width:140px;
}

.legend {
  text-align: left;
  line-height: 18px;
  color: #555;
}
.legend i {
  width: 18px;
  height: 18px;
  float: left;
  margin-right: 8px;
  opacity: 0.7;
}

.loading {
  margin-top: 15%;
  text-align: center;
  font-size: 2em;
  color: #2299DD;
}
