body {
  padding: 0;
  margin: 0;
  background-color: #FFF;
}

html,
body,
#map {
  height: 100%;
  width: 100vw;
  background-color: #FFF;
}

/*Legend specific*/
.legend {
  padding: 6px 8px;
  font: 14px Arial, Helvetica, sans-serif;
  background: white;
  background: rgba(255, 255, 255, 0.8);
  line-height: 24px;
  color: #555;
}

.legend h4 {
  text-align: center;
  font-size: 16px;
  margin: 2px 12px 8px;
  color: #777;
}

.legend span {
  position: relative;
  font-weight: 500;
  color: #333;
  margin-left: 7px;
}

.legend i {
  width: 18px;
  height: 18px;
  float: left;
  margin: 0 8px 0 0;
}

.legend i.icon {
  background-size: 18px;
  background-color: rgba(255, 255, 255, 1);
}

.legend .l-item {
  margin-bottom: 5px;
}

@media only screen and (max-width: 600px) {
  .l-item .l-img {
    width: 18px !important;
  }

  .legend span {
    color: #333;
    font-size: 12px;
  }
}

.box-style .leaflet-popup-content-wrapper {
  border-radius: 0;
}

.modal-backdrop.show {
  background-color: #FFF;
  opacity: 0.75;
}

table td {
  vertical-align: middle !important;
}

table p {
  margin: 0;
}

.modal-dialog .modal-content {
  max-height: 500px !important;
  overflow-y: auto;
}

#map .leaflet-top,
.leaflet-bottom {
  z-index: 800;
}