body {
  font-family: "Montserrat", sans-serif;
  font-size: .9rem;
  line-height: 1.1rem;
  font-weight: 300;
  color: #262626;
}

h1 {
  /*  color: #d96d02; */
  color: #262626;
  font-weight: 700;
  font-size: 2.5rem;
  font-family: "Montserrat", sans-serif;
  line-height: 2rem;
}

h2 {
  color: #262626;
  font-weight: 700;
  font-size: 1.5rem;
  font-family: "Montserrat", sans-serif;
  /* text-align: center;
  vertical-align: middle;
  align-items: center; */
}

h3 {
  color: #262626;
  font-weight: 700;
  font-size: 1rem;
  /* text-align: center; */
  vertical-align: middle;
  align-items: center;
}

h4 {
  color: #262626;
  font-weight: 700;
  font-size: .6rem;
  /* text-align: center; */
  vertical-align: middle;
  align-items: center;
}

h5 {
  color: #262626;
  font-weight: 500;
  font-size: .8rem;
  font-family: "Montserrat", sans-serif;
  /* text-align: center; */
  vertical-align: middle;
  align-items: center;
}

a {
  color: #262626;
  ;
}

a:hover {
  color: #8B8078;
}

#map {
  height: 100vh;
  background-color: rgb(220, 220, 220);
}


.leaflet-overlay-pane {
  z-index: 10; /* previously 4 */
}

.legend {
  font-family: Montserrat, sans-serif;
  padding: 6px 8px;
  font-size: 1em;
  background: #f5f1e5;
  color: #262626;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  width: 150px;
  opacity: 1; /* change when fixing opacity issue */ 
}

.legend h3 {
  font-size: 1.1em;
  font-weight: bold;
  line-height: 1em;
  color: #262626;
  margin: 0;
}

.legend h3 span {
  font-size: 1.3em;
  margin: 0 20px 0 0;
}

.legend ul {
  list-style-type: none;
  padding: 0;
  margin: 12px 4px 0;
}

.legend li {
  list-style-type: none;
  height: 22px;
}

.legend span {
  width: 30px;
  height: 20px;
  float: left;
  margin-right: 10px;

}

#content {
  background: #f5f1e5
}


#ui-controls {
  font-family: Montserrat, sans-serif;
  width: 150px;
  padding: 8px 25px 8px 15px;
  background: #f5f1e5;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  color: #262626;
}

#ui-controls .min {
  float: left;
}

#ui-controls .max {
  float: right;
  margin-right: -15px;
}

.year-slider {
  width: 100%;
}


label {
  font-size: 1.1em;
  font-weight: bold;
}


.legend-large,
.legend-small {
  border-radius: 50%;
  border: 1px solid #000;

}

.leaflet-container {
  font-family: "Open Sans", sans-serif;
  font-size: 0.9rem;
  line-height: 1.4rem;
  font-weight: 300;
}

hr.small,
hr.large {
  width: 83px;
  position: absolute;
  top: -8px;
  left: 55px;
  border: 1px dashed #ccc;
  margin-top: 8px;
}

table,
th,
td {
  border: .5px solid #262626;
  /* border-collapse: collapse; */
}

#infoButton {
  position: relative;
  display: flex;
  top: 20px;
  left: 20px;
  padding: 10px;
  z-index: 600;
  background: #f5f1e5;
  color: #262626;
  font-family: Montserrat, sans-serif;
  border: none;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  
  
}




/* When screen is 768px and wider. */
@media screen and (min-width: 768px) {
  #map {
    border-top: none;
  }

  .leaflet-legend {
    display: block;
  }

  .infobutton {
    display: none;
  }
}