/* ---- Container & legend ---- */

.pellets_map_container {
	position: relative;
}

.pellets_map-legend {
	display: contents;
	color: #555;
}

.pellets_map-legend .mp-legend-scale {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
}

.pellets_map-legend .mp-legend-title {
	font-weight: bold;
	margin-right: 6px;
}

.pellets_map-legend ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 4px 14px;
}

.pellets_map-legend li {
	display: flex;
	align-items: center;
	gap: 5px;
	margin: 0;
}

.pellets_map-legend .mp-swatch {
	display: inline-block;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	border: 1px solid rgba( 0, 0, 0, 0.15 );
}

.pellets_map-legend .mp-legend-verified {
	display: flex;
	align-items: center;
}

.pellets_map-legend .mp-verified-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #fff;
	color: #2e7d32;
	font-size: 11px;
	font-weight: bold;
	box-shadow: 0 1px 2px rgba( 0, 0, 0, 0.3 );
	margin-right: 6px;
}

.pellets_map-legend .mp-verified-badge svg {
	width: 11px;
	height: 11px;
}

.pellets_map-footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 6px 22px;
	margin-top: 10px;
	font-size: 13px;
}


.pellets_map-download {
	color: #00736D;
	text-decoration: none;
}

.pellets_map-download:hover {
	text-decoration: underline;
}

@media ( max-width: 600px ) {
	.pellets_map-footer {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	.pellets_map-download {
		display: inline-block;
	}
}

/* ---- Markers ---- */

.mp-marker-wrap {
	background: transparent;
	border: 0;
}

.mp-marker {
	position: relative;
	width: 30px;
	height: 34px;
}

.mp-pin {
	position: absolute;
	left: 4px;
	top: 2px;
	width: 22px;
	height: 22px;
	box-sizing: border-box;
	border: 2px solid #fff;
	border-radius: 50% 50% 50% 0;
	transform: rotate( -45deg );
	box-shadow: 0 2px 4px rgba( 0, 0, 0, 0.45 );
}

.mp-badge {
	position: absolute;
	top: -2px;
	right: -1px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 15px;
	height: 15px;
	color: #2e7d32;
	background: #fff;
	border-radius: 50%;
	box-shadow: 0 1px 2px rgba( 0, 0, 0, 0.4 );
}

.mp-badge svg {
	width: 10px;
	height: 10px;
}

/* ---- Clusters (SVG icon) ---- */

.mp-cluster-wrap {
	background: transparent;
	border: 0;
}

/* ---- Info window (popup) ---- */

.ic-gs2m-mp-iw {
	padding-bottom: 6px;
	font-size: 1.08em;
}

.ic-gs2m-mp-iw h4 {
	color: #00736D;
	font-weight: normal;
	margin: 0 0 2px;
	font-size: 1.25em;
}

.ic-gs2m-mp-iw .mp-verified {
	color: inherit;
}

.ic-gs2m-mp-iw .mp-verified svg {
	width: 0.85em;
	height: 0.85em;
	vertical-align: -0.12em;
}

.ic-gs2m-mp-iw .mp-date {
	margin: 0 0 2px;
	color: #888;
	font-size: 0.9em;
}

.ic-gs2m-mp-iw .mp-coords {
	margin: 0 0 8px;
	color: #aaa;
	font-size: 0.78em;
}

.ic-gs2m-mp-iw .mp-copy {
	display: inline-flex;
	align-items: center;
	margin-left: 6px;
	padding: 0;
	border: 0;
	background: none;
	color: #aaa;
	cursor: pointer;
	vertical-align: middle;
	line-height: 1;
}

.ic-gs2m-mp-iw .mp-copy:hover {
	color: #00736D;
}

.ic-gs2m-mp-iw .mp-copy.is-copied {
	color: #2e7d32;
}

.ic-gs2m-mp-iw .mp-copy svg {
	width: 13px;
	height: 13px;
}

/* Two-column layout when a photo is present. */
.ic-gs2m-mp-iw .mp-iw-cols {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}

.ic-gs2m-mp-iw .mp-iw-data {
	flex: 1 1 44%;
	min-width: 0;
}

.ic-gs2m-mp-iw .mp-iw-media {
	flex: 0 0 52%;
}

.ic-gs2m-mp-iw .mp-thumb {
	display: block;
	margin: 0;
}

.ic-gs2m-mp-iw .mp-thumb img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 4px;
	cursor: zoom-in;
}

.ic-gs2m-mp-iw dl {
	margin: 0;
	padding: 0;
}

.ic-gs2m-mp-iw dt {
	text-transform: uppercase;
	font-size: 0.78em;
	color: #999;
	margin-top: 8px;
}

.ic-gs2m-mp-iw dd {
	margin: 0;
	font-size: 1em;
	color: #444;
}

/* ---- Lightbox ---- */

.mp-lightbox {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba( 0, 0, 0, 0.85 );
	cursor: zoom-out;
}

.mp-lightbox img {
	max-width: 92%;
	max-height: 92%;
	border-radius: 4px;
	box-shadow: 0 4px 30px rgba( 0, 0, 0, 0.6 );
}

.mp-lightbox-close {
	position: absolute;
	top: 14px;
	right: 22px;
	color: #fff;
	font-size: 40px;
	line-height: 1;
	cursor: pointer;
	font-family: Arial, sans-serif;
}
