h4 {
  line-height: 1.5;
}

/* Mapbox Geocoder Styling */
.mapboxgl-ctrl-geocoder {
  box-shadow: none;
  width: 100%;
  max-width: 100%;
  min-width: 100%;
  position: relative;
  z-index: 1;
}

#commute-start-container,
#commute-end-container {
  position: relative;
  z-index: 2;
}

#commute-start-container:focus-within {
  z-index: 10;
}

#commute-end-container:focus-within {
  z-index: 10;
}

.mapboxgl-ctrl-geocoder input[type="text"] {
  padding: 6px 35px;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.25rem;
  border: 1px solid #ced4da;
  height: calc(1.5em + 0.75rem + 2px);
}

.mapboxgl-ctrl-geocoder input[type="text"]:focus {
  border-color: #80bdff;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.mapboxgl-ctrl-geocoder--input:focus {
  outline: none;
}

.mapboxgl-ctrl-geocoder .mapboxgl-ctrl-geocoder--icon-search {
  top: 11px;
  left: 11px;
}

.mapboxgl-ctrl-geocoder .suggestions {
  border-radius: 0.25rem;
  margin-top: 4px;
  z-index: 100;
  position: absolute;
}

/* Validation styling */
.mapboxgl-ctrl-geocoder input.is-invalid {
  border-color: #dc3545;
  padding-right: calc(1.5em + 0.75rem);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.mapboxgl-ctrl-geocoder input.is-invalid:focus {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.result-sentence {
  font-size: 20px;
  padding: 15px 0;
}

.result-number {
  padding: 8px;
  background: #f9e458;
}

.result-trees {
  font-size: 70px;
  line-height: 86px;
}

.result-trees span {
  float: left;
  overflow: hidden;
}