/* CSS files add styling rules to your content */

body {
  font-family: azo-sans-web, helvetica, arial, sans-serif;
margin: 2em;
}

h1 {
  font-weight: 700;
  color: black;
}


#hoverbox {
  position: fixed;
  top: 0;
  left: 0;
  padding: 10px;
  border: 2px solid black;
  background-color: rgb(255,255,255);
  z-index: 999;
  border-radius: 2px;
  display: none;
  box-shadow: 2px 2px 1px rgba(0,0,0,0.4);
}

#hoverbox .small {
  font-size: 0.85rem;
  font-style: italic;
  
}

#table-container {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  z-index: 1;
  position: relative;
}

.table-label {
  position: absolute;
  width: 85px;
  background-color: rgba(255,255,255,0.9);
  padding: 5px;
  border: 1px solid black;
  box-shadow: 1px 1px 1px rgba(0,0,0,0.2);
  z-index: 9999;
}

.table-label p {

  font-size: 0.9rem;
  line-height: 0.9rem;
}

.table-label-text {
  font-weight: 700;
}

#table-label-top {
  text-align: left;
  top: -15px;
  left: -40px;
}

#table-label-bottom {
  text-align: right;
  bottom: 15px;
  right: -40px;
}

#table-label-bottom p {
  float: right;
}

#table-guts {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  width: 100%;
  height: 572px;
}

.district {
  width: auto;
  height: 9px;
  background-color: black;
  margin: 0 8px 4px 0;
  cursor: pointer; 
  opacity: 0.4;
}

.district:hover {
  box-shadow: inset 0 0 3px black;
  opacity: 1.0;
}

.district-r {
  background-color: red;
}

.district-d {
  background-color: blue;
}

.district-i {
  background-color: #ccc;
}

footer .small-logo { height: 50px; width: auto; }

#sorting-modal {
  position: absolute;
  left: calc(50% - 50px);
  top: calc(50% - 20px);
  background-color: rgba(255,255,255,0.9);
  padding: 20px;
  border: 1px solid black;
  box-shadow: 1px 1px 1px rgba(0,0,0,0.2);
  z-index: 9999;  
  font-weight: 700;
  font-size: 1.3em;
}

.heading {
  font-weight: 900;
  letter-spacing: 2px;
  color: rgba(118, 11, 11, 1.00);
  text-shadow: 2px 2px 0 rgba(199, 209, 203, 1.00);
}

.top-matter p {
  font-weight: 500;
}

.variable-selector {
    background-image: linear-gradient(45deg, #fdfdfd 37.50%, #f5f5f5 37.50%, #f5f5f5 50%, #fdfdfd 50%, #fdfdfd 87.50%, #f5f5f5 87.50%, #f5f5f5 100%);
background-size: 5.66px 5.66px;
}

#lmec-logo {
  height: 2.5em;
  margin-right: 5px;
  width: auto;
}