.leaflet-map {
  width: 100%;
  height: 100%;
}

.leaflet-container {
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
}

.leaflet-control-custom a {
  display: flex !important;
  justify-content: center;
  align-items: center;

  .material-icons {
    font-size: 20px;
  }
}

.leaflet-control-geocoder-expanded {
  .leaflet-control-geocoder-alternatives li {
    border-bottom: 1px solid #ddd;

    a {
     background-color: unset;
    }

    &:last-child {
      border-bottom: 0;
    }

    &:hover {
      background-color: rgba(0, 0, 0, 0.05);
    }
  }
}

.dark .leaflet-control-geocoder-expanded {
  background-color: $overlay-color-dark-1;

  &.leaflet-control-geocoder-expanded .leaflet-control-geocoder-icon{
    background-color: $overlay-color-dark-1;
  }

  .leaflet-control-geocoder-alternatives li {
    border-bottom: 1px solid #9e9e9e;

    &:last-child {
      border-bottom: 0;
    }

    &:hover {
      background-color: rgba(255, 255, 255, 0.15);
    }
  }

  a {
    color: $text-color-dark;
  }

  .leaflet-control-geocoder-address-context {
    color: rgba(255, 255, 255, 0.5);
  }
}

.leaflet-marker-icon.marker-cluster {
  color: $text-color;
}

.leaflet-popup-content-wrapper {
  color: $text-color;
}

.dark .leaflet-popup-content-wrapper {
  background: $overlay-color-dark-1;
  color: $text-color-dark;
}

.dark .leaflet-popup-tip {
  background: $overlay-color-dark-1;
}

.leaflet-popup-content {
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
  font-size: 13px;

  .title {
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 500;
  }

  .disappear {
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
  }

  .info-container {
    margin-bottom: 10px;
  }

  .coordinates {
    @media (pointer: coarse) {
      margin-bottom: 10px;
    }
  }

  .link-button {
    margin-right: 10px;

    @media (pointer: coarse) {
      margin-right: 20px;
    }
  }

  .section-divider {
    margin: 13px 0;
    border-bottom: 1px solid #e6e6e6;
    height: 0px;
  }
}
