/* required styles */

.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane > svg,
.leaflet-pane > canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
	position: absolute;
	top: 0;
	left: 0;
}

.leaflet-container {
	overflow: hidden;
}

.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow {
	-moz-user-select: none;
	-webkit-user-select: none;
	user-select: none;
	-webkit-user-drag: none;
}

/* Prevents IE11 from highlighting tiles in blue */
.leaflet-tile::selection {
	background: transparent;
}

/* Safari renders non-retina tile on retina better with this, but Chrome is worse */
.leaflet-safari .leaflet-tile {
	image-rendering: -webkit-optimize-contrast;
}

/* hack that prevents hw layers "stretching" when loading new tiles */
.leaflet-safari .leaflet-tile-container {
	width: 1600px;
	height: 1600px;
	-webkit-transform-origin: 0 0;
}

.leaflet-marker-icon,
.leaflet-marker-shadow {
	display: block;
}

/* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */
/* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */
.leaflet-container .leaflet-overlay-pane svg {
	max-width: none !important;
	max-height: none !important;
}

.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 {
	width: auto;
	max-width: none !important;
	max-height: none !important;
	padding: 0;
}

.leaflet-container.leaflet-touch-zoom {
	-ms-touch-action: pan-x pan-y;
	touch-action: pan-x pan-y;
}

.leaflet-container.leaflet-touch-drag {
	-ms-touch-action: pinch-zoom;
	/* Fallback for FF which doesn't support pinch-zoom */
	touch-action: none;
	touch-action: pinch-zoom;
}

.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {
	-ms-touch-action: none;
	touch-action: none;
}

.leaflet-container {
	-webkit-tap-highlight-color: transparent;
}

.leaflet-tile {
	visibility: hidden;
	filter: inherit;
}

.leaflet-tile-loaded {
	visibility: inherit;
}

.leaflet-zoom-box {
	z-index: 800;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	width: 0;
	height: 0;
}

/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */
.leaflet-overlay-pane svg {
	-moz-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-vml-shape {
	width: 1px;
	height: 1px;
}

.lvml {
	position: absolute;
	display: inline-block;
	behavior: url(#default#VML);
}


/* control positioning */

.leaflet-control {
	position: relative;
	z-index: 800;
	pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
	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;
}


/* zoom and fade animations */

#map.leaflet-fade-anim .leaflet-popup {
	transition: opacity 0.2s var(--ease);
	opacity: 1 !important;
}

#map.leaflet-fade-anim .leaflet-popup .popup-content {
	transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
	transform: translateY(6px);
	opacity: 0;
}

#map.leaflet-fade-anim .leaflet-popup[style*="opacity: 1"] .popup-content {
	transform: translateY(0);
	opacity: 1;
}

.leaflet-fade-anim .leaflet-popup[style*="opacity: 0"] .popup-pin {
	transform: scale(1);
}

.leaflet-fade-anim .leaflet-popup[style*="opacity: 0"] .popup-pin svg {
	color: #838A8F;
}

.leaflet-fade-anim .leaflet-popup[style*="opacity: 0"] .popup-local .popup-pin svg {
	color: var(--navy);
}

.leaflet-fade-anim .leaflet-popup[style*="opacity: 0"] .popup-local .pin-icon-count,
.leaflet-fade-anim .leaflet-popup[style*="opacity: 0"] .popup-local .pin-icon-filler {
	background: var(--navy);
}

#map:has(.leaflet-marker-icon:hover).leaflet-fade-anim .leaflet-popup[style*="opacity: 0"] .popup-pin svg,
#map:has(.leaflet-marker-icon.pin-hover).leaflet-fade-anim .leaflet-popup[style*="opacity: 0"] .popup-pin svg {
	color: var(--pink);
}

#map:has(.leaflet-marker-icon:hover).leaflet-fade-anim .leaflet-popup[style*="opacity: 0"] .pin-icon-count,
#map:has(.leaflet-marker-icon.pin-hover).leaflet-fade-anim .leaflet-popup[style*="opacity: 0"] .pin-icon-count,
#map:has(.leaflet-marker-icon:hover).leaflet-fade-anim .leaflet-popup[style*="opacity: 0"] .pin-icon-filler,
#map:has(.leaflet-marker-icon.pin-hover).leaflet-fade-anim .leaflet-popup[style*="opacity: 0"] .pin-icon-filler {
	background: var(--pink);
}


#map.leaflet-fade-anim .leaflet-popup[style*="opacity: 0"] .popup-pin {
	transition: transform 0.2s var(--ease);
}

.pin-icon-filler {
	transition: transform 0.15s var(--ease), background-color 0.2s var(--ease);
	transform: scaleY(0);
	transform-origin: bottom;
}

#map.leaflet-fade-anim .leaflet-popup .pin-icon-count {
	transition: transform 0.2s var(--ease), background-color 0.2s var(--ease), opacity 0.2s var(--ease);
}

#map.leaflet-fade-anim .leaflet-popup[style*="opacity: 0"] .popup-pin svg {
	transition: color 0.2s var(--ease);
}

.leaflet-fade-anim .leaflet-popup[style*="opacity: 1"] .pin-icon-count {
	transform: scale(1.5);
	opacity: 0;
}

.leaflet-fade-anim .leaflet-popup[style*="opacity: 1"] .pin-icon-filler {
	transform: scale(1);
}


.leaflet-fade-anim .leaflet-popup[style*="opacity: 1"] .popup-pin svg {
	color: var(--pink);
}

.leaflet-fade-anim .leaflet-popup[style*="opacity: 1"] .pin-icon-count,
.leaflet-fade-anim .leaflet-popup[style*="opacity: 1"] .pin-icon-filler {
	background: var(--pink);
}

#map.leaflet-fade-anim .leaflet-popup[style*="opacity: 1"] .popup-pin {
	transition: none;
}

#map.leaflet-fade-anim .leaflet-popup[style*="opacity: 1"] .popup-pin svg {
	transition: color 0.2s var(--ease);
}

.leaflet-fade-anim .leaflet-map-pane .leaflet-popup {
	opacity: 1;
}

.leaflet-zoom-animated {
	-ms-transform-origin: 0 0;
	-webkit-transform-origin: 0 0;
	transform-origin: 0 0;
}

svg.leaflet-zoom-animated {
	will-change: transform;
}

.leaflet-zoom-anim .leaflet-zoom-animated {
	-moz-transition: -moz-transform 0.25s cubic-bezier(0, 0, 0.25, 1);
	-webkit-transition: -webkit-transform 0.25s cubic-bezier(0, 0, 0.25, 1);
	transition: transform 0.25s cubic-bezier(0, 0, 0.25, 1);
}

.leaflet-zoom-anim .leaflet-tile,
.leaflet-pan-anim .leaflet-tile {
	-moz-transition: none;
	-webkit-transition: none;
	transition: none;
}

.leaflet-zoom-anim .leaflet-zoom-hide {
	visibility: hidden;
}


/* cursors */

.leaflet-interactive {
	cursor: pointer;
}

.leaflet-grab {
	cursor: -webkit-grab;
	cursor: -moz-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,
.leaflet-dragging .leaflet-marker-draggable {
	cursor: move;
	cursor: -webkit-grabbing;
	cursor: -moz-grabbing;
	cursor: grabbing;
}

/* marker & overlays interactivity */
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-image-layer,
.leaflet-pane > svg path,
.leaflet-tile-container {
	pointer-events: none;
}

.leaflet-marker-icon.leaflet-interactive,
.leaflet-image-layer.leaflet-interactive,
.leaflet-pane > svg path.leaflet-interactive,
svg.leaflet-image-layer.leaflet-interactive path {
	pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
	pointer-events: auto;
}

/* visual tweaks */

.leaflet-container {
	outline-offset: 1px;
	background: #ddd;
}

.leaflet-zoom-box {
	border: 2px dotted #38f;
	background: rgba(255, 255, 255, 0.5);
}


/* general typography */
.leaflet-control-attribution {
	font-size: 12px;
}


/* general toolbar styles */

.leaflet-bar {
	border-radius: 4px;
	box-shadow: 0 1px 5px rgba(0, 0, 0, 0.65);
}

.leaflet-bar a {
	line-height: 26px;
	display: block;
	width: 26px;
	height: 26px;
	text-align: center;
	text-decoration: none;
	color: black;
	border-bottom: 1px solid #ccc;
	background-color: #fff;
}

.leaflet-bar a,
.leaflet-control-layers-toggle {
	display: block;
	background-repeat: no-repeat;
	background-position: 50% 50%;
}

.leaflet-bar a:hover,
.leaflet-bar a:focus {
	background-color: #f4f4f4;
}

.leaflet-bar a:first-child {
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
}

.leaflet-bar a:last-child {
	border-bottom: none;
	border-bottom-right-radius: 4px;
	border-bottom-left-radius: 4px;
}

.leaflet-bar a.leaflet-disabled {
	cursor: default;
	color: #bbb;
	background-color: #f4f4f4;
}

.leaflet-touch .leaflet-bar a {
	line-height: 30px;
	width: 30px;
	height: 30px;
}

.leaflet-touch .leaflet-bar a:first-child {
	border-top-left-radius: 2px;
	border-top-right-radius: 2px;
}

.leaflet-touch .leaflet-bar a:last-child {
	border-bottom-right-radius: 2px;
	border-bottom-left-radius: 2px;
}

/* zoom control */

.leaflet-control-zoom-in,
.leaflet-control-zoom-out {
	font: bold 18px 'Lucida Console', Monaco, monospace;
	text-indent: 1px;
}

.leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out {
	font-size: 22px;
}


/* layers control */

.leaflet-control-layers {
	border-radius: 5px;
	background: #fff;
	box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
}

.leaflet-control-layers-toggle {
	width: 36px;
	height: 36px;
	background-image: url(../images/leaflet/layers.png);
}

.leaflet-retina .leaflet-control-layers-toggle {
	background-image: url(../images/leaflet/layers-2x.png);
	background-size: 26px 26px;
}

.leaflet-touch .leaflet-control-layers-toggle {
	width: 44px;
	height: 44px;
}

.leaflet-control-layers .leaflet-control-layers-list,
.leaflet-control-layers-expanded .leaflet-control-layers-toggle {
	display: none;
}

.leaflet-control-layers-expanded .leaflet-control-layers-list {
	position: relative;
	display: block;
}

.leaflet-control-layers-expanded {
	padding: 6px 10px 6px 6px;
	color: #333;
	background: #fff;
}

.leaflet-control-layers-scrollbar {
	overflow-x: hidden;
	overflow-y: scroll;
	padding-right: 5px;
}

.leaflet-control-layers-selector {
	position: relative;
	top: 1px;
	margin-top: 2px;
}

.leaflet-control-layers label {
	font-size: 13px;
	font-size: 1.08333em;
	display: block;
}

.leaflet-control-layers-separator {
	height: 0;
	margin: 5px -10px 5px -6px;
	border-top: 1px solid #ddd;
}

/* Default icon URLs */
.leaflet-default-icon-path { /* used only in path-guessing heuristic, see L.Icon.Default */
	background-image: url(../images/leaflet/marker-icon.png);
}


/* attribution and scale controls */

.leaflet-container .leaflet-control-attribution {
	margin: 0;
	background: #fff;
	background: rgba(255, 255, 255, 0.8);
}

.leaflet-control-attribution,
.leaflet-control-scale-line {
	line-height: 1.5;
	padding: 0 5px;
	color: #333;
}

.leaflet-control-attribution a {
	text-decoration: none;
}

.leaflet-control-attribution a:hover,
.leaflet-control-attribution a:focus {
	text-decoration: underline;
}

.leaflet-attribution-flag {
	display: inline !important;
	width: 1em;
	height: 0.6669em;
	vertical-align: baseline !important;
}

.leaflet-left .leaflet-control-scale {
	margin-left: 5px;
}

.leaflet-bottom .leaflet-control-scale {
	margin-bottom: 5px;
}

.leaflet-control-scale-line {
	line-height: 1.1;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding: 2px 5px 1px;
	white-space: nowrap;
	border: 2px solid #777;
	border-top: none;
	background: rgba(255, 255, 255, 0.8);
	text-shadow: 1px 1px #fff;
}

.leaflet-control-scale-line:not(:first-child) {
	margin-top: -2px;
	border-top: 2px solid #777;
	border-bottom: none;
}

.leaflet-control-scale-line:not(:first-child):not(:last-child) {
	border-bottom: 2px solid #777;
}

.leaflet-touch .leaflet-control-attribution,
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	box-shadow: none;
}

.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	border: 2px solid rgba(0, 0, 0, 0.2);
	background-clip: padding-box;
}


/* popup */

.leaflet-popup {
	position: absolute;
	margin-bottom: 24px;
	padding-top: 0.5rem;
	text-align: center;
}

.leaflet-popup-content-wrapper {
	overflow: auto;
	text-align: left;
}

.leaflet-popup-content {
	max-width: 20rem;
	min-height: 1px;
}

.leaflet-popup-scrolled {
	overflow: auto;
}

.leaflet-oldie .leaflet-popup-content-wrapper {
	-ms-zoom: 1;
}

.leaflet-oldie .leaflet-popup-tip {
	width: 24px;
	margin: 0 auto;
	-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";
	filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);
}

.leaflet-oldie .leaflet-control-zoom,
.leaflet-oldie .leaflet-control-layers {
	border: 1px solid #999;
}


/* div icon */

.leaflet-div-icon {
	border: 1px solid #666;
	background: #fff;
}


/* Tooltip */
/* Base styles for the element that has a tooltip */
.leaflet-tooltip {
	position: absolute;
	padding: 6px;
	background-color: #fff;
}

.leaflet-cluster-anim .leaflet-marker-icon, .leaflet-cluster-anim .leaflet-marker-shadow {
	-moz-transition: -moz-transform 0.3s ease-out, opacity 0.3s ease-in;
	-o-transition: -o-transform 0.3s ease-out, opacity 0.3s ease-in;
	-webkit-transition: -webkit-transform 0.3s ease-out, opacity 0.3s ease-in;
	transition: transform 0.25s cubic-bezier(0, 0, 0.25, 1), opacity 0.25s cubic-bezier(0, 0, 0.25, 1);
}

/*
.leaflet-cluster-spider-leg {
	!* stroke-dashoffset (duration and function) should match with leaflet-marker-icon transform in order to track it exactly *!
	-webkit-transition: -webkit-stroke-dashoffset 0.3s ease-out, -webkit-stroke-opacity 0.3s ease-in;
	-moz-transition: -moz-stroke-dashoffset 0.3s ease-out, -moz-stroke-opacity 0.3s ease-in;
	-o-transition: -o-stroke-dashoffset 0.3s ease-out, -o-stroke-opacity 0.3s ease-in;
	transition: stroke-dashoffset 0.3s ease-out, stroke-opacity 0.3s ease-out;
}
*/
