.mapheader {
  text-align: center;
}

.mapheader a {
  color: rgb(26,172,186);
}

#map-footer {
  font-size: 13px;
  padding-top: 5px;
}

#map-footer #left {
  float: left;
  margin-right: 40px;
}

#map-footer #left a {
  font-family: var(--main-font);
}

#map-footer #right {
  float: right;
}

#mapbox {
  width: 100%;
  padding-bottom: 56.25%;
}

#footer-text {
  font-family: var(--main-font);
  vertical-align: top;
  margin-right: 15px;
}

.signup-button {
  margin-left: 10px;
}

.full-width {
  width: 100%;
}

@media only screen and (max-width: 760px) {
  #inmaplegend {
    display: none;
  }
}

@media only screen and (min-width: 760px) {
  #belowmaplegend {
    display: none;
  }
  #inmaplegend {
    width: 200px;
    bottom: 30px;
    position: absolute;
  }
}

.legend {
  background: #FFF;
  padding: 10px;
  margin: 5px;
  font-size: 10px;
  font-family: Arial, sans-serif;
  left: 10px;
  z-index: 1;
}

.caption {
  margin-bottom: 5px;
  line-height: 1.5;
}

.legend-title {
  font-size: 18px;
  color: #008b9a;
  font-weight: bold;
  margin-bottom: 5px;
}

.color {
  border: 1px solid;
  height: 12px;
  width: 12px;
  margin-right: 3px;
  float: left;
}

.color-small {
  display: inline-block;
  border: 1px solid;
  height: 10px;
  width: 10px;
  margin-right: 8px;
}

.green {
  background: #66DC57;
}

.blue {
  background: #989CF8;
}

.yellow {
  background: #FFFDA6;
}

.white {
  background: #FFFFFF;
}

.census-info-window h4 {
  margin-top: 4px;
  margin-bottom: 4px;
  text-align: center;
}

.census-info-window hr {
  border-color: blue;
  background-color: blue;
  margin: 2px;
}

.census-info-window .census-message {
  font-family: var(--main-font);
  text-align: center;
}

.census-info-window .census-message a {
  font-family: var(--main-font);
  font-weight: var(--semi-bold-font-weight);
}

.census-info-window .button-container {
  max-width: 280px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: stretch;
}

.census-info-window a {
  text-decoration: none;
  cursor: pointer;
}

.census-info-window .button-link-div {
  flex: 1 0;
  vertical-align: middle;
  margin: 5px;
}

.census-info-window .button {
  vertical-align: middle;
  word-wrap: break-word;
  height: 100%;
  color: white;
  background-color:orange;
  border-color: orange;
  border-style: solid;
  border-width: 1px;
}

.census-info-window .button:hover {
  color: orange;
  background-color: white;
}

.census-info-window .button-text {
  display: inline-block;
  padding: 8px;
  text-align: center;
  vertical-align: middle;
}

.census-info-window .inaccuracy-link {
  text-align: center;
  font-size: 11px;
}

#census-map .legend-offers-cs {
  background-color: #66DC57;
}

#census-map .legend-limited-cs {
  background-color: #989CF8;
}

#census-map .legend-inconclusive-cs {
  background-color: #FFFDA6;
}

#census-map .legend-no-data-cs {
  background-color: #FFFFFF;
}

.mapboxgl-map button {
  margin: 0px;
}
