body {
  padding: 0;
  margin: 0;
}
/*html, body, #map {
  height: 100%;
}*/
.turnout-map{
    height: 450px;
}
.precinct-map{
    height: 450px;
}
.info {
  padding: 6px 4px;
  /*font: 14px/16px Arial, Helvetica, sans-serif;*/
	font-family: 'PT Sans', sans-serif;
  background: white;
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
  border-radius: 5px;
  width: 100%;
  text-align: center;
}
.info h4 {
  margin: 0 0 5px;
  color: #777;
}
.leaflet-right {
	max-width: 450px;
  }
/*.leaflet-left {
    max-width: 450px;
}*/
.popupHeader {
  text-align: center;
  font-weight: bold;
  /*font-family: Georgia, Times, Arial;*/
	font-family: 'PT Sans', sans-serif;
  font-size: 16px;
  /*padding-bottom: 5px;*/
}
.popupDivHeader {
  /*font-family: Georgia, Times, Arial;*/
	font-family: 'PT Sans', sans-serif;
  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;
}
.victor-ind{
  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: 'PT Sans', sans-serif;
  font-size: 12px;
}
table.totals tr.totalsRow td {
  border-bottom: 1px solid #CCCCCC;
  height: 1.5em;
}
.totals-reporting {
  font-family: 'PT Sans', sans-serif;
  font-size: 12px;
  text-align: right;
  padding-right: 7px;
  color: #333333;
}
/*Democratic Party Squares(blue)*/
.demSquare {
  width: 10px;
  height: 10px;
  border: 1px solid #000;
  background-color: red;
}
/*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;
}
/* 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;
}
/* 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: 4px;
  opacity: 0.7;
}
.col-county-results i {
  width: 18px;
  height: 18px;
  float: left;
  margin-right: 4px;
  opacity: 0.7;
}
.turnout-legend i{    
  width: 18px;
  height: 18px;
  float: left;
  margin-right: 4px;
  opacity: 0.7;
  /*margin-left: 33%;*/
}
.swapped{
  display: none;
}
/* Start by setting display:none to make this hidden.
   Then we position it in relation to the viewport window
   with position:fixed. Width, height, top and left speak
   for themselves. Background we set to 80% white with
   our animation centered, and no-repeating */
.modal {
    display:    none;
    /*position:   absolute;*/
    z-index:    1000;
    /*top:        0;
    left:       0;*/
    height:     456px;
    width:      90%;
    background: url('https://resultscdn.sos.nd.gov/Images/loading.gif') 50% 50% no-repeat;
}

/* When the body has the loading class, we turn
   the scrollbar off with overflow:hidden */
div.loading {
    overflow: hidden;
}

/* Anytime the body has the loading class, our
   modal element will be visible */
div.loading .modal {
    display: block;
}
div.loading.modal {
    display: block;
}

.label-county {
    position: absolute;
    left: -15px;
    top: -10px;
    font-weight: bold!important;
    font-size: 7.5pt!important;
    color: #000000!important;
}

.label-leg-county {
    position: absolute;
    left: -30px;
    top: -25px;
    font-weight: bold!important;
    font-size: 7.5pt!important;
    color: #000000!important;
    text-align: center;
}

.label-district {
    position: absolute;
    left: -5px;
    top: -10px;
    font-weight: bold;
    font-size: 11.5pt;
    color: #000000;
}

.label-district-mobile {
    position: absolute;
    left: -30px;
    top: -10px;
    font-weight: bold;
    font-size: 11.5pt;
    color: #000000;
    text-align: center;
}

.dis-name {
    font-weight: bolder;
    font-size: 11pt;
}

.dis-name:hover {
    text-decoration: underline;
}

.label-district-jud {
    position: absolute;
    left: -35px;
    top: -18px;
    font-weight: bold!important;
    font-size: 9pt!important;
    color: #000000!important;
    text-align: center;
}

.slidingDiv-maps {
    height: 224px;
    width: 386px;
    margin-top: 3px;
    margin-left: 1px;
    border: 0px solid;
    border-bottom-left-radius: 18px!important;
    border-bottom-right-radius: 10px!important;
}

.label-county-turn {
    position: absolute;
    left: -30px;
    top: -10px;
    font-weight: bold!important;
    font-size: 8.5pt!important; /*this is for zoom level 7 -- at zoom level 6, the label size should be 7.5pt*/
    color: #000000!important;
    text-align: center;
}


.slidingDiv-maps-leg {
    /*float: left;*/
    width: calc(100% - 4px);
    /*height: 520px;*/
    border: 2px solid #A7A9AC;
    border-top: none;
    box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.3);
    /*-moz-border-radius-bottomleft: 10px;*/
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.legend-color-box {
    border: 0.1px solid #666666;
}

.link-map {
    height: 500px;
    width: 100%;
}

.no-click{
    cursor: default;
}

@media only screen and (max-width: 960px) {    
    .slidingDiv-maps {
        height: 224px;
        width: 99%;
    }
    .turnout-map{
        height: 250px;
    }
    .precinct-map{
        height: 250px;
    }
    .label-county-turn {
        font-size: 7.5pt!important;
    }
    .link-map {
        height: 250px;
    }
}
