/* Style the tab */
.tab {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
  }
  
  /* Style the buttons inside the tab */
  .tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    font-size: 17px;
  }
  
  /* Change background color of buttons on hover */
  .tab button:hover {
    background-color: #ddd;
  }
  
  /* Create an active/current tablink class */
  .tab button.active {
    background-color: #ccc;
  }
  
  /* Style the tab content */
  .tabcontent {
    display: none;
    padding: 1000px 1200px;
    border: 1px solid #ccc;
    border-top: none;
  }
/* Style the tab */
.tab {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
  }
  
  /* Style the buttons inside the tab */
  .tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    font-size: 17px;
  }
  
  /* Change background color of buttons on hover */
  .tab button:hover {
    background-color: #ddd;
  }
  
  /* Create an active/current tablink class */
  .tab button.active {
    background-color: #ccc;
  }
  
  /* Style the tab content */
  .tabcontent {
    display: none;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-top: none;
  }

.map-container {
    position: relative;
    height: 1000px; 
    width: 1200px;
}

.main-map-container {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%
}

.geocoder {
  position: relative;
  margin: 10px 0 10px;
}

.navbar {
  z-index: 1;
}


.legend {
  position: absolute;
  display: block;
  background-color: #fff;
  border-radius: 3px;
  bottom: 0;
  margin-bottom: 30px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); /*horizontal shadow, vertical shadow, size of shadow, color*/
  font: 12px/20px 'Helvetica Neue', Arial, Helvetica, sans-serif;
  padding: 10px;
  right: 10px;
  z-index: 1;
}

.legend h4 {
  margin: 0 0 10px;
}

.legend-key {
  display: inline-block;
  border-radius: 50%; /*curve border to make a circle*/
  height: 10px; /*size of circle*/
  width: 10px;
  margin-right: 5px; /*position of circle*/
}

.map-overlay {
  position: relative;
  font: 14px/20px 'Helvetica Neue', Arial, Helvetica, sans-serif;
  background: #fff;
  top: 0;
  left: 0;
  width: 350px;
  margin: 10px 10px 0 10px;
  padding: 10px;
  overflow: visible;
  border-radius:8px;
}


.mapboxgl-ctrl.mapboxgl-ctrl-group { position: absolute; top: 60px; right: 5px;}


#neighborhood-legend {
  display: none;
  right: 260px;
}


