/* Local Leaflet layout styles. Kept with the app so tiles are positioned
   correctly even when a browser blocks cross-origin stylesheets. */
.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane > svg,
.leaflet-pane > canvas,
.leaflet-zoom-box {
  position: absolute;
  left: 0;
  top: 0;
}

.leaflet-container {
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  background: #ddd;
  outline-offset: 1px;
}

.leaflet-container.leaflet-touch-zoom { touch-action: pan-x pan-y; }
.leaflet-container.leaflet-touch-drag { touch-action: none; touch-action: pinch-zoom; }
.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom { touch-action: none; }

.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow {
  user-select: none;
  -webkit-user-drag: none;
}

.leaflet-tile::selection { background: transparent; }
.leaflet-marker-icon,
.leaflet-marker-shadow { display: block; }

.leaflet-container .leaflet-overlay-pane svg,
.leaflet-container .leaflet-marker-pane img,
.leaflet-container .leaflet-shadow-pane img,
.leaflet-container .leaflet-tile-pane img,
.leaflet-container img.leaflet-image-layer,
.leaflet-container .leaflet-tile {
  max-width: none !important;
  max-height: none !important;
}

.leaflet-container.leaflet-touch-zoom { touch-action: pan-x pan-y; }
.leaflet-container.leaflet-touch-drag { touch-action: none; }
.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom { touch-action: none; }

.leaflet-tile {
  filter: inherit;
  visibility: hidden;
}

.leaflet-tile-loaded { visibility: inherit; }
.leaflet-zoom-box {
  width: 0;
  height: 0;
  box-sizing: border-box;
  z-index: 800;
}

.leaflet-overlay-pane svg { user-select: none; }
.leaflet-pane { z-index: 400; }
.leaflet-tile-pane { z-index: 200; }
.leaflet-overlay-pane { z-index: 400; }
.leaflet-shadow-pane { z-index: 500; }
.leaflet-marker-pane { z-index: 600; }
.leaflet-tooltip-pane { z-index: 650; }
.leaflet-popup-pane { z-index: 700; }
.leaflet-map-pane canvas { z-index: 100; }
.leaflet-map-pane svg { z-index: 200; }

.leaflet-control {
  position: relative;
  z-index: 800;
  pointer-events: auto;
}

.leaflet-top,
.leaflet-bottom {
  position: absolute;
  z-index: 1000;
  pointer-events: none;
}

.leaflet-top { top: 0; }
.leaflet-right { right: 0; }
.leaflet-bottom { bottom: 0; }
.leaflet-left { left: 0; }
.leaflet-control { float: left; clear: both; }
.leaflet-right .leaflet-control { float: right; }
.leaflet-top .leaflet-control { margin-top: 10px; }
.leaflet-bottom .leaflet-control { margin-bottom: 10px; }
.leaflet-left .leaflet-control { margin-left: 10px; }
.leaflet-right .leaflet-control { margin-right: 10px; }

.leaflet-fade-anim .leaflet-popup { opacity: 0; transition: opacity 0.2s linear; }
.leaflet-fade-anim .leaflet-map-pane .leaflet-popup { opacity: 1; }
.leaflet-zoom-animated { transform-origin: 0 0; }
.leaflet-zoom-anim .leaflet-zoom-animated { transition: transform 0.25s cubic-bezier(0, 0, 0.25, 1); }
.leaflet-zoom-anim .leaflet-tile,
.leaflet-pan-anim .leaflet-tile { transition: none; }
.leaflet-zoom-anim .leaflet-zoom-hide { visibility: hidden; }

.leaflet-interactive { cursor: pointer; }
.leaflet-grab { cursor: grab; }
.leaflet-crosshair,
.leaflet-crosshair .leaflet-interactive { cursor: crosshair; }
.leaflet-popup-pane,
.leaflet-control { cursor: auto; }
.leaflet-dragging .leaflet-grab,
.leaflet-dragging .leaflet-grab .leaflet-interactive { cursor: grabbing; }

.leaflet-bar {
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.leaflet-bar a {
  width: 32px;
  height: 32px;
  display: block;
  border-bottom: 1px solid #ccc;
  color: #1e3037;
  background-color: #fff;
  text-align: center;
  text-decoration: none;
  line-height: 32px;
}

.leaflet-bar a:first-child { border-radius: 6px 6px 0 0; }
.leaflet-bar a:last-child { border-bottom: none; border-radius: 0 0 6px 6px; }
.leaflet-bar a:hover,
.leaflet-bar a:focus { background-color: #f4f7f7; }
.leaflet-bar a.leaflet-disabled { color: #bbb; background-color: #f4f4f4; cursor: default; }
.leaflet-touch .leaflet-bar a { width: 34px; height: 34px; line-height: 34px; }

.leaflet-control-zoom-in,
.leaflet-control-zoom-out {
  font: bold 20px "Lucida Console", Monaco, monospace;
  text-indent: 1px;
}

.leaflet-control-attribution {
  margin: 0;
  padding: 2px 6px;
  color: #465b63;
  background: rgba(255, 255, 255, 0.8);
  font-size: 10px;
  line-height: 1.4;
}

.leaflet-control-attribution a { color: #08735f; text-decoration: none; }
.leaflet-control-attribution a:hover { text-decoration: underline; }

.leaflet-popup {
  position: absolute;
  margin-bottom: 20px;
  text-align: center;
}

.leaflet-popup-content-wrapper {
  padding: 1px;
  border-radius: 12px;
  background: #fff;
  text-align: left;
}

.leaflet-popup-content { margin: 13px 24px 13px 20px; line-height: 1.3; }
.leaflet-popup-tip-container {
  width: 40px;
  height: 20px;
  position: absolute;
  left: 50%;
  margin-top: -1px;
  margin-left: -20px;
  overflow: hidden;
  pointer-events: none;
}

.leaflet-popup-tip {
  width: 17px;
  height: 17px;
  margin: -10px auto 0;
  padding: 1px;
  background: #fff;
  transform: rotate(45deg);
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip { box-shadow: 0 3px 14px rgba(0, 0, 0, 0.2); }
.leaflet-container a.leaflet-popup-close-button {
  position: absolute;
  top: 0;
  right: 0;
  padding: 4px 4px 0 0;
  border: none;
  color: #66777d;
  background: transparent;
  font: 18px/24px Tahoma, Verdana, sans-serif;
  text-align: center;
  text-decoration: none;
}

.leaflet-tooltip {
  position: absolute;
  padding: 6px;
  border: 1px solid #fff;
  border-radius: 3px;
  color: #222;
  background-color: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
}
