#wa-afhs {
	width: 100%;
	height: 900px;
}
.afhc-marker {
	width: 18px;
	height: 27px;
	background-repeat: no-repeat;
	background-size: 18px 27px;
	background-position: 0 0;
}

.afhc-marker.member {
	background-image: url(../images/tear-member.svg);
}

.afhc-marker.not-member {
	background-image: url(../images/tear-not-member.svg);
}

.afhc-marker.not-member.former-member {
	background-image: url(../images/tear-former-member.svg);
}

.afhc-cluster {
	display: flex;
	width: 46px;
	height: 46px;
	background-size: 46px 46px;
	background-repeat: no-repeat;
	justify-content: center;
	align-items: center;
	color: #fff !important;
	border-radius: 50%;
}

.afhc-cluster.mix {
	background-image: url('data:image/svg+xml,%3Csvg%20width%3D%2264%22%20height%3D%2264%22%20viewBox%3D%220%200%2046%2046%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Ccircle%20cx%3D%2223%22%20cy%3D%2223%22%20r%3D%2223%22%20fill%3D%22rgba%2820%2C80%2C160%2C0.4%29%22%20%2F%3E%3Ccircle%20cx%3D%2223%22%20cy%3D%2223%22%20r%3D%2219%22%20fill%3D%22rgba%2820%2C80%2C160%2C0.4%29%22%20%2F%3E%3Ccircle%20cx%3D%2223%22%20cy%3D%2223%22%20r%3D%2215%22%20fill%3D%22rgba%2820%2C80%2C160%2C0.4%29%22%20%2F%3E%3C%2Fsvg%3E');
}

.afhc-cluster.not-members {
	background-image: url('data:image/svg+xml,%3Csvg%20width%3D%2264%22%20height%3D%2264%22%20viewBox%3D%220%200%2046%2046%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Ccircle%20cx%3D%2223%22%20cy%3D%2223%22%20r%3D%2223%22%20fill%3D%22rgba%28240%2C180%2C40%2C0.4%29%22%20%2F%3E%3Ccircle%20cx%3D%2223%22%20cy%3D%2223%22%20r%3D%2219%22%20fill%3D%22rgba%28240%2C180%2C40%2C0.4%29%22%20%2F%3E%3Ccircle%20cx%3D%2223%22%20cy%3D%2223%22%20r%3D%2215%22%20fill%3D%22rgba%28240%2C180%2C40%2C0.4%29%22%20%2F%3E%3C%2Fsvg%3E');
}

.afhc-cluster.members {
	background-image: url('data:image/svg+xml,%3Csvg%20width%3D%2264%22%20height%3D%2264%22%20viewBox%3D%220%200%2046%2046%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Ccircle%20cx%3D%2223%22%20cy%3D%2223%22%20r%3D%2223%22%20fill%3D%22rgba%2820%2C160%2C20%2C0.4%29%22%20%2F%3E%3Ccircle%20cx%3D%2223%22%20cy%3D%2223%22%20r%3D%2219%22%20fill%3D%22rgba%2820%2C160%2C20%2C0.4%29%22%20%2F%3E%3Ccircle%20cx%3D%2223%22%20cy%3D%2223%22%20r%3D%2215%22%20fill%3D%22rgba%2820%2C160%2C20%2C0.4%29%22%20%2F%3E%3C%2Fsvg%3E');
}

.afhc-marker a {
	display: block;
	padding: 0 !important;
	width: 100%;
	height: 100%;
	border-top-left-radius: 12px !important;
	border-top-right-radius: 18px !important;
	border-bottom-right-radius: 12px !important;
	cursor: pointer;
	background-color: transparent;
	border: none;
}

.afh-map-header {
	margin: 12px 0;
	gap: 12px;
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	justify-content: space-between;
	align-items: center;
	position: relative;
	z-index: 0;
	font-size: 18px;
}

.afh-map-controls {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

#please-wait {
	position: absolute;
	bottom: -60px;
	left: 0;
	padding: 20px;
	z-index: 10;
}

.afh-map-header select {
	max-width: 200px;
}

.afh-map-legend {
	display: flex;
	gap: 12px;
	margin: auto 0 auto auto;
	font-size: 16px;
}

.afh-map-legend div {
	display: flex;
	align-items: center;
}

#all-afh-map * {
	box-sizing: content-box !important;
}

main article .elementor-element .all-afh-map .gm-style-mtc {
	margin-right: 2px;
}

main article .elementor-element .all-afh-map .gm-style-mtc button {
	border-radius: 2px !important;
}

.afh-map-legend .afhc-marker {
	margin-right: 4px;
}

#all-afh-map img {
	max-width: none !important;
	max-height: none !important;
}

.gmnoprint img {
	max-width: none !important;
}

#popup-afh {
	padding: 4px 12px;
	display: none;
	z-index: 100;
	width: 320px;
	max-width: 100%;
	background-color: #fff;
	position: absolute;
}

#popup-afh::after {
	content: "";
	display: block;
	position: absolute;
	top: -12px;
	left: calc(50% - 12px);
	width: 18px;
	height: 12px;
	z-index: 100;
	background-image: url(data:image/svg+xml,%3Csvg%20width%3D%2218%22%20height%3D%2212%22%20viewBox%3D%220%200%2018%2012%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpolygon%20points%3D%220%2C12%2018%2C12%209%2C0%22%20fill%3D%22white%22%2F%3E%3C%2Fsvg%3E);
}

button.popup-zoom-to {
	background-color: #fff !important;
	border: none !important;
	cursor: pointer !important;
	padding: 0 !important;
	color: #333333 !important;
	text-decoration: underline;
	text-transform: none !important;
}

.gm-style .gm-style-iw p {
	font-size: 14px !important;
	margin: 0 !important;
}

.gm-style-iw-ch {
	padding: 0;
	height: 2px;
}
.gm-style .gm-style-iw h5.popup-title {
	font-size: 16px !important;
	line-height: 1.75;
	margin: 0 !important;
}

.gm-style-iw-d {
	margin-top: -20px;
}

#icon-tooltip {
	position: absolute;
	display: none;
	pointer-events: none;
	background: #222222;
	color: #fff;
	padding: 4px 8px;
	border: 1px solid #fff;
	border-radius: 2px;
	font-size: 14px;
	overflow: visible;
	z-index: 2000000;

}

select {
	font-size: 16px;
	line-height: 24px;
	padding: 8px 8px;
	border-radius: 4px;
	border: solid 1px var(--color-gray-70);
}

#btn-export-visible:hover, #btn-export-visible:focus {
	background-color: #195980;
}

/* Display the control once it is inside the map. */
#wa-afhs .map-control {
	display: block;
}

.selector-control {
	font-size: 14px;
	line-height: 30px;
	vertical-align: baseline;
}

.elementor-element.elementor-widget-afh-public-map p.gm-style-mot {
	font-size: 32px !important;
	color: #fff !important;
	text-shadow: 1px 1px 1px #000, -1px -1px 1px #000;
}
