
/*
	This program is distributed in the hope that it will be useful,
	but WITHOUT ANY WARRANTY; without even the implied warranty of
	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*/

mappress-map poi {
	display: none;
}

.mapp-layout {
	border: 1px solid lightgray;
	box-sizing: border-box;
	display: block;
	max-width: none;				/* Some themes limit, e.g. 2020 */
	min-width: 200px;
	opacity: 1 !important;			/* Some themes set to 0 */
	padding: 0px !important;		/* Some themes set */
}        

mappress-map.mapp-layout {
	display: flex !important;       /* Some themse override */
	flex-direction: column;
	position: relative;             /* Needed for filters with web component */
}

.mapp-layout * {
	box-sizing: border-box;
	color: black;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 13px;
}

/* Restore Leaflet zoom control font size overridden by the * rule above */
.mapp-layout .leaflet-control-zoom-in,
.mapp-layout .leaflet-control-zoom-out,
.mapp-layout .leaflet-control-zoom-in span,
.mapp-layout .leaflet-control-zoom-out span {
	font-size: 18px;
}
.mapp-layout .leaflet-touch .leaflet-control-zoom-in,
.mapp-layout .leaflet-touch .leaflet-control-zoom-out,
.mapp-layout .leaflet-touch .leaflet-control-zoom-in span,
.mapp-layout .leaflet-touch .leaflet-control-zoom-out span {
	font-size: 22px;
}

/* WP block editor interferes */
.mapp-layout p {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* GT .aligncenter interferes w/all text */
.mapp-layout.aligncenter {
	text-align: left;
}

.mapp-canvas {
	user-select: none;      
}

.mapp-wrapper {
	min-height: 50px;
	position: relative;
}

.mapp-content {
	display: flex;
	flex-direction: column;
	position: absolute;
	top: 0; left: 0; bottom: 0; right: 0;
}

.mapp-main {
	display: flex;
	flex: 1;
	overflow: hidden;
	position: relative;
}

.mapp-hidden {
	display: none;
}


/*
	-----------------------------------------------------------------------------------
	Prevent theme conflicts with Google maps.  The !important modifier is used because some
	themes use high-priority (very specific) selectors that interfere.
	-----------------------------------------------------------------------------------
*/

/* Map controls are rendered here, not on the canvas */
.mapp-canvas-panel {
	flex: 1;
	height: 100%;
	isolation: isolate;			/* Markers set their own z-index (10000 when highlighted): keep it inside the map, under the list in mini view */
	margin: 0px;
	overflow: hidden !important;
	padding: 0px !important;
	position: relative;			/* Need for initial dialog position */
}

.mapp-canvas {
	height: 100%;
	word-wrap: normal;			/* 2013 sets break-word, which interferes w/Google copyright in IE only */
}

.mapp-canvas img {
	background: none;
	border: none !important;
	box-shadow: none !important;        /* 2012 */
	border-radius: 0px !important;        /* 2012 */
	max-width: none !important;            /* themes cap img width, which collapses the Street View pegman sprite */
	padding: 0 !important;                /* 2011 pads img tags, which interferes with map markers and tiles */
	visibility: inherit !important;
}

.leaflet-container .leaflet-control-attribution, .leaflet-container .leaflet-control-attribution * {
	font-size: 8px !important;
}

/* Prevent theme interference with leaflet */
.leaflet-popup-close-button {
	box-shadow: none !important;			/* 2016, 2017 */
	text-decoration: none !important;		/* 2019 */
}

a.leaflet-control-zoom-in, .leaflet-control-zoom-out {
	text-decoration: none !important;
}

.mapp-spinner-overlay {
	align-items: center;
	background-color: #c0c0c0;
	justify-content: center;
	opacity: 0.5;
	padding: 10px;
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	z-index: 10001;
}

/* https://icons8.com/preloaders/en/circular# */
.mapp-spinner {
	background: transparent url(../images/loading.gif) no-repeat center center;
	background-size: 64px;
	display: inline-block;
	height: 64px;
	position: absolute;
	top: 50%; left: 50%;
	transform: translate(-50%,-50%);
	z-index: 10002;
	width: 64px;
}

/*
	-----------------------------------------------------------------------------------
	Controls
	Leaflet needs the inner div to get size right, so google was done the same way
	-----------------------------------------------------------------------------------
*/

.mapp-google-control {
	background-color: white;
	box-shadow: rgb(0 0 0 / 30%) 0px 1px 4px -1px;
	position: absolute;
}

.mapp-google-control > div {
	background-position: center;
	background-repeat: no-repeat;
	height: 40px;
	opacity: 0.6;
	width: 40px;
}

.mapp-google-control:hover { background-color: #f4f4f4; }
.mapp-google-control:hover > div { opacity: 1; }

.mapp-leaflet-control {
	border: 2px solid rgba(0,0,0,0.2);
	border-radius: 4px;
	position: absolute;
	z-index: 1000;
}

.mapp-leaflet-control > div {
	background-color: white;
	background-position: center;
	background-repeat: no-repeat;
	border-radius: 2px;
	height: 30px;
	line-height: 30px;
	opacity: 1;
	width: 30px;
}

.mapp-leaflet-control:hover > div {
	background-color: #f4f4f4;
	opacity: 1;
}

.mapp-google-fullscreen, .mapp-leaflet-fullscreen {
	top: 10px; right: 10px;
}

.mapp-google-fullscreen > div, .mapp-leaflet-fullscreen > div {
	background-image: url('../images/fullscreen.svg');
	background-size: 18px 18px;
}

.mapp-google-geolocate, .mapp-leaflet-geolocate {
	bottom: 120px; right: 10px;
}

.mapp-mini .mapp-google-geolocate, .mapp-mini .mapp-leaflet-geolocate {
	bottom: auto;
	top: 60px;
}

.mapp-google-geolocate > div {
	background-image: url('../images/geolocate.svg');
	background-size: 18px 18px;
}

.mapp-leaflet-geolocate > div {
	background-image: url('../images/geolocate.svg');
	background-size: 14px 14px;
}

/*
	-----------------------------------------------------------------------------------
	Sidebar
	-----------------------------------------------------------------------------------
*/

.mapp-sidebar {
	background-color: white;
	border-right: 1px solid lightgray;
	display: flex;
	flex-direction: column;
	max-width: 55%;
	position: relative;
	transition-property: all;
	transition-duration: .1s;
	width: 0;
}

.mapp-sidebar.mapp-sidebar-open {
	width: 300px;
}

/* List toggle, left layout only */
.mapp-sidebar-toggle {
	align-items: center;
	background-color: white;
	border: 1px solid lightgray;
	cursor: pointer;
	display: flex;
	height: 40px;
	justify-content: center;
	margin: auto;
	position: absolute;
	top: 0; left: 100%; bottom: 0;
	width: 20px;
	z-index: 1000;
}

.mapp-sidebar-toggle::before {
	width: 0;
	height: 0;
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
	border-left: 6px solid black;
	content: '';
}

.mapp-sidebar-open .mapp-sidebar-toggle::before {
	width: 0;
	height: 0;
	border-left: none;
	border-right: 6px solid black;
}

/* Sidebar inline */
.mapp-sidebar.mapp-sidebar-inline  {
	border: none;
	border-top: 1px solid lightgray;
	display: flex;
	max-height: 350px;
	max-width: none;
	width: auto;
}

.mapp-sidebar-inline .mapp-sidebar-toggle {
	display: none;
}

.mapp-sidebar-inline .mapp-directions {
	max-width: none;
	width: auto;
}

.mapp-sidebar-inline .mapp-list {
	display: flex;
	flex: 1;
	flex-direction: column;
}




/*
	-----------------------------------------------------------------------------------
	POI List (new)
	Structure:
		.mapp-list
			.mapp-list-header
			.mapp-items
				.mapp-item (one for each POI)
			.mapp-list-footer
				.mapp-paginate
	-----------------------------------------------------------------------------------
*/

.mapp-list {
	display: flex;
	flex-direction: column;
	flex: 1;
	overflow: hidden;
	position: relative;
}

.mapp-list .mapp-list-header {
	border-bottom: 1px solid lightgray;
	display: flex;
	flex-direction: column;
	padding: 5px;
	position: relative;		/* Needed to scroll list for selection */
}

.mapp-list-count {
	padding: 5px;
	text-align: center;
}

.mapp-list .mapp-items {
	flex: 1;
	overflow: auto;
}

.mapp-list .mapp-item {
	border-bottom: 1px solid lightgray;
	display: flex;
	cursor: pointer;
	overflow: hidden;
	padding: 10px;
}

.mapp-list .mapp-item.mapp-selected {
	background-color: #eaeaea;
}

.mapp-list .mapp-item:hover {
	background-color: #eaeaea;
}

.mapp-list .mapp-info {
	display: flex;
	flex: 1;
	flex-direction: column; 
	min-width: 0;
}

/* First line: the icon and the title.  Anything else the template prints goes underneath, at full width */
.mapp-list .mapp-info .mapp-template {
	align-content: center;
	align-items: center;
	display: flex;
	flex: 1;
	flex-wrap: wrap;
}

.mapp-list .mapp-info .mapp-template > .mapp-title {
	flex: 1;
	min-width: 0;
}

.mapp-list .mapp-info .mapp-template > *:not(.mapp-icon):not(.mapp-title):not(.mapp-dir):not(.mapp-distance) {
	flex: 0 0 100%;
	margin-top: 6px;
}

.mapp-list .mapp-title {
	flex: 1;
}

.mapp-list .mapp-item .mapp-icon {
	border: none;                   /* 2011 */
	max-width: 24px !important; 	/* 2012 tries to override */
	max-height: 24px;
	margin: 0 8px 0 0;
	padding: 0;                     /* 2011 */
}

.mapp-list-footer {
	border-top: 1px solid lightgray;
	display: flex;
	justify-content: center;
	padding: 10px;
}

/* Last line of a list item: directions and distance, when their settings are on */
.mapp-list .mapp-item-toolbar {
	align-items: center;
	display: flex;
	gap: 10px;
	margin-top: 6px;
}

/* Directions: quiet until pointed at */
.mapp-list .mapp-dir {
	align-items: center;
	color: #767676;
	cursor: pointer;
	display: inline-flex;
	font-size: 13px;
	gap: 4px;
	padding: 3px 0;
	white-space: nowrap;
}

.mapp-list .mapp-dir:hover, .mapp-list .mapp-dir:focus-visible {
	color: #4272db;
}

/*
	Directions link, in lists and popups: underlined when pointed at, darker while it's pressed.
	No box around it after a click (themes add one); the keyboard still gets it
*/
.mapp-list .mapp-dir:hover, .mapp-iw .mapp-dir:hover {
	text-decoration: underline;
}

.mapp-list .mapp-dir:active, .mapp-iw .mapp-dir:active {
	color: #24479a;
}

.mapp-list .mapp-dir:focus:not(:focus-visible), .mapp-iw .mapp-dir:focus:not(:focus-visible) {
	outline: none;
}

.mapp-list .mapp-dir:focus-visible, .mapp-iw .mapp-dir:focus-visible {
	border-radius: 2px;
	outline: 2px solid #4272db;
	outline-offset: 2px;
}

/* The drawing and the text take the link's colour (.mapp-layout * sets black on every element) */
.mapp-list .mapp-dir svg, .mapp-list .mapp-dir svg * {
	color: inherit;
}

/* Distance from the last search */
.mapp-list .mapp-distance {
	color: #767676;
	font-size: 13px;
	white-space: nowrap;
}

.mapp-list .mapp-item-toolbar .mapp-distance {
	margin-left: auto;
}

/*
	-----------------------------------------------------------------------------------
	Pagination
	For: poi list, library picker, and style modal
	-----------------------------------------------------------------------------------
*/

.mapp-paginate {
	align-items: center;
	display: flex;
}

/* Frontend buttons are divs to prevent theme interference w/styling */
.mapp-paginate-button {
	align-items: baseline;
	background-color: #eee;
	border: 1px solid lightgray;
	border-radius: 5px;
	cursor: pointer;
	display: inline-flex;
	font-size: 16px;
	height: 25px;
	justify-content: center;
	margin: 0 2px;
	width: 20px;
}

.mapp-paginate-button.mapp-disabled {
	color: #aaa;
}

.mapp-paginate-count {
	display: inline-block;
	min-width: 60px;
	text-align: center;
}

/*
	-----------------------------------------------------------------------------------
	Header
	- min-height to prevent popins
	-----------------------------------------------------------------------------------
*/
.mapp-header {
	align-items: stretch;
	background-color: white;
	border-bottom: 1px solid lightgray;
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	justify-content: right;     /* Right align filter button where no search box present */
	min-height: 50px;           /* Keep height stable while map initializes */
	padding: 5px;
}

/*
	-----------------------------------------------------------------------------------
	Search
	-----------------------------------------------------------------------------------
*/
.mapp-search-container {
	display: flex;
	flex: 1;
	min-width: 325px;
	position: relative;
}

/*
	-----------------------------------------------------------------------------------
	React autocomplete
	-----------------------------------------------------------------------------------
*/

.mapp-autocomplete {
	align-items: stretch;
	display: flex;
	flex: 1;
}

.mapp-autocomplete-wrapper {
	align-items: center;
	display: flex;
	flex: 1;
	position: relative;
}

.mapp-autocomplete input.mapp-places {
	background-color: white !important;		/* Algolia uses 240,240,240 */
	border: none;
	border: 1px solid #bbb ;
	box-shadow: none ;
	color: black ;
	flex: 1;
	height: 100%;
	line-height: 25px;
	margin: 0 ;
	padding: 5px 10px;
}

.mapp-autocomplete-button {
	background: url('../images/search_black.png') no-repeat center;
	background-size: contain;
	cursor: pointer;
	position: absolute;
	right: 10px;
	width: 20px;  
	height: 100%;
	background-size: contain;
}		

.mapp-autocomplete-button:hover {
	background: url('../images/search_blue.png') no-repeat center;
	background-size: contain;
}    


/* Themes like to set img padding/margin */
.mapp-autocomplete .mapp-submit-button img {
	margin: 0 !important;
}
	

.mapp-autocomplete-list {
	background-color: white;
	border: 1px solid lightgray;
	box-shadow: 0px 1px 2px grey;
	cursor: pointer;
	overflow-x: hidden;
	overflow-y: auto;
	position: absolute;
	top: 100%;
	width: 100%;
	z-index: 10000;
}

.mapp-autocomplete-item {
	background-color: inherit;
	border-bottom: 1px solid lightgray;
	border-top: none;
	border-right: none;
	border-left: none;
	box-shadow: none;
	color: inherit;
	cursor: inherit;
	font: inherit;
	margin: 0;
	padding: 8px;
}

.mapp-autocomplete-item:hover, .mapp-autocomplete-item.mapp-selected {
	background-color: #eaeaea;
}

.mapp-autocomplete-item {
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
}

/*
	-----------------------------------------------------------------------------------
	Filters
	mapp-dropdown mapp-filter
		mapp-dropdown-toggle
		mapp-dropdown-content
			mapp-filter-wrapper 
				mapp-filter-[name]
			mapp-filter-toolbar
	-----------------------------------------------------------------------------------
*/

.mapp-filter {
	display: flex;
	gap: 5px;
}

.mapp-filter .mapp-button {
	text-transform: uppercase;
}

.mapp-filter-spinner {
	background: transparent url(../images/spinner-2x.gif) no-repeat center center;
	height: 24px;
	width: 24px;
	margin-left: 10px;
	margin-right: 10px;
}

.mapp-filter-wrapper {
	display: flex;
	flex: 1;
	flex-direction: column;
	overflow: auto;
	padding: 5px 10px;
}

.mapp-filter-button {
	align-items: center;
	display: flex;
	justify-content: center;
}

.mapp-filter-values {
	line-height: normal;
	min-width: 100%;
	padding: 5px;
}

.mapp-filter-values .mapp-control {
	display: block;
}

.mapp-filter-toolbar {
	align-items: center;
	border-top: 1px solid lightgray;
	display: flex;
	justify-content: space-between;
	padding: 10px;
}

.mapp-filter-toolbar .mapp-filter-count {
	color: #777;
	margin-right: 5px;
	min-width: 100px;
	overflow: hidden;
	text-align: center;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mapp-filter-label {
	font-weight: bold;
	padding: 5px 0;
	text-transform: capitalize;
	white-space: nowrap;
}

.mapp-filter-values label {
	align-items: center;
	color: #666;
	display: flex;
	font-weight: normal;		/* 2017 */
	margin: 0;
}

.mapp-filter-values img.mapp-icon {
	display: inline;			/* 2020 sets display to block */
	margin-right: 5px;
}

/* Try to prevent interference from GT editor, theme */
.mapp-filter input, .mapp-filter input[type="text"], .mapp-filter input[type="search"] {
	border: 1px solid #bbb;
	border-radius: 0;
	box-shadow: none;
	line-height: 1;
	max-width: none;
	outline: none;
	padding: 5px 10px;
}

.mapp-filter input[type="radio"], .mapp-filter input[type="checkbox"] {    
	all: revert;
	border-radius: 0;
	box-shadow: none;
	line-height: 1;
	margin: initial;
	margin-right: 10px;
	outline: none;
}

.mapp-filter .mapp-filter-values select {
	border: 1px solid gray;
	border-radius: 0;
	box-shadow: none;
	line-height: 1;
	margin: initial;
	max-width: none;
	outline: none;
	width: 100%;
}

/* Standalone text filter should fill header height or sidebar width */
.mapp-header .mapp-filter-text label, .mapp-header .mapp-filter-text input {
	height: 100%;
}

.mapp-sidebar .mapp-filter-text .mapp-control, .mapp-sidebar .mapp-filter-text label {
	display: flex;
	flex: 1;
}

.mapp-sidebar .mapp-filter-text input {
	flex: 1;
	padding: 10px;
}

/*
	Filters in header/sidebar
*/
.mapp-header .mapp-filters {
	display: flex;
	gap: 5px;
}

.mapp-sidebar .mapp-filter {
	border-bottom: 1px solid lightgray;
	flex-direction: column;
}

.mapp-sidebar .mapp-filter-button {
	border: none;
}

.mapp-sidebar .mapp-filter .mapp-dropdown-content {
	border: none;
	height: 100%;
	right: 0; left: 0;
}

.mapp-sidebar .mapp-filter-text {
	padding: 5px;
}

/*
	------------------------------------------------------------------------------------------------------------
	Infobox (Popup)

	.mapp-ib-wrapper						- positioning element
		.mapp-ib-content					- box + tip
			.mapp-ib 						- box only, with border
				.mapp-iw 					- infowindow (popup content)
			.mapp-ib-tip						- triangle tip
	-----------------------------------------------------------------------------------------------------------
*/

/* Positioning element: width prevents clipping, height must be zero or it'll obscure canvas */
.mapp-ib-wrapper {
	bottom: 0;
	display: flex;
	left: 0;
	max-height: 60%;	/* Based on map size */
	max-width: 90%;		/* Based on map size */
	overflow: hidden;
	position: absolute;
}

.mapp-ib-content {
	cursor: pointer;
	display: flex;
	flex-direction: column;
	line-height: 0;		/* Prevent font from distorting tip */
	overflow: hidden;
	z-index: 1005;		/* Needed for Leaflet, above menu icon, below menu */
}

/* In fullscreen Google sets map z-index very high */
:fullscreen ~ .mapp-ib-wrapper { z-index: 10000000000; }
:-webkit-full-screen ~ .mapp-ib-wrapper { z-index: 10000000000; }
:-moz-full-screen ~ .mapp-ib-wrapper { z-index: 10000000000; }
:-ms-fullscreen ~ .mapp-ib-wrapper { z-index: 10000000000; }

.mapp-ib {
	background-color: white;
	border: 1px solid lightgray;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	line-height: normal;
	outline: none;
	overflow: hidden;
	box-shadow: 0 0px 7px 0px rgba(0,0,0,0.20);
}


.mapp-ib-tip {
	display: flex;
	flex: 0 0 auto;
	left: 50%;
	position: relative;
	top: -1px;
	width: 0;
}

.mapp-ib-tip:before {
	border: 10px solid transparent;
	border-top: 10px solid white;
	border-bottom: none;
	content: "";
	left: -10px;
	position: relative;
	width: 0;
}

/*
	-----------------------------------------------------------------------------------
	Popup contents
	-----------------------------------------------------------------------------------
*/

.mapp-iw {
	display: flex;
	flex-direction: column;
	min-width: 200px;
	overflow: hidden;
}

/* Selectivity needed to override GT editor */
.mapp-ib .mapp-iw * {
	font-size: 13px;
	line-height: normal;    
}

.mapp-iw p {
	margin: 0 !important;
	padding: 0;
}

/* Try to constrain oembeds to container */
.mapp-iw iframe {
	max-height: 100%;
	max-width: 100%;
}

/* Override theme link styles */
.mapp-iw a, .mapp-iw a:link, .mapp-iw a:active, .mapp-iw a:visited, .mapp-iw a:hover {
	border: none !important;
	box-shadow: none !important;			/* 2016, 2017 */
	color: #4272db !important;
	margin: 0;
	padding: 0;
	text-decoration: none !important;
}

.mapp-iw .mapp-info {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-height: 100px;			/* Used when IB is very small and thumbnail is on top */
	overflow: hidden;
	padding: 10px;
}

.mapp-iw .mapp-info .mapp-template {
	display: flex;
	flex: 1;
	flex-direction: column;
	overflow: hidden;
}

.mapp-iw .mapp-title {
	font-weight: bold;
	padding-bottom: 10px;
}

.mapp-iw .mapp-body {
	flex: 1;
	overflow: auto;
	overflow-wrap: break-word;
}

.mapp-iw .mapp-dir-wrapper {
	margin-top: 10px;
}

/* Make directions look like a link */
.mapp-iw .mapp-dir {
	align-items: center;
	color: #4272db;
	cursor: pointer;
	display: inline-flex;
	gap: 4px;
	padding-top: 10px;
	white-space: nowrap;
}

.mapp-iw .mapp-dir svg, .mapp-iw .mapp-dir svg * {
	color: inherit;
}

/* Workarounds for IE, which doesn't like flex */
.mapp-ie .mapp-iw {
	display: block;
	overflow: auto;
}

.mapp-ie .mapp-iw .mapp-body {
	flex: none;
}

/* Data table */
.mapp-iw .mapp-table {
	margin-top: 10px;
}

/* Opening hours in a list: one line for today, which opens to show the week */
.mapp-hours-details > summary {
	cursor: pointer;
}

.mapp-hours-details > summary:hover {
	color: #4272db;
}

/* No box around the line after a click (themes add one); the keyboard still gets it */
.mapp-hours-details > summary:focus:not(:focus-visible) {
	outline: none;
}

.mapp-hours-details[open] > summary {
	margin-bottom: 4px;
}

/* Opening hours field: a line for each group of days.  Times that don't fit wrap under the times, not under the days */
.mapp-hours-line {
	display: flex;
	gap: 8px;
}

.mapp-hours-days {
	flex: 0 0 auto;
	min-width: 70px;
}

.mapp-hours-times {
	flex: 1;
}

.mapp-iw .mapp-label {
	font-weight: 500;
}

.mapp-iw .mapp-cell {
	padding: 2px 10px;
}

/*
	-----------------------------------------------------------------------------------
	Thumbnail gallery
	-----------------------------------------------------------------------------------
*/
.mapp-iw .mapp-thumbnail {
	cursor: pointer;
}

.mapp-thumbnail {
	align-items: center;
	display: flex;
	justify-content: center;
	overflow: hidden;
	position: relative;
}

/* Display block removes extra whitespace @ bottom */
.mapp-thumbnail img {
	display: inline-block;
	max-width: none;
	object-fit: cover;
}

.mapp-thumbnail .mapp-gallery-previous, .mapp-thumbnail .mapp-gallery-next {
	align-items: end;
	background-color: white;
	border: 1px solid gray;
	border-radius: 40px;
	color: black;
	cursor: pointer;
	display: flex;
	font-size: 20px;
	height: 24px;
	justify-content: center;
	opacity: 0.5;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 24px;
}

.mapp-thumbnail .mapp-gallery-previous:hover, .mapp-thumbnail .mapp-gallery-next:hover {
	opacity: 1.0;
}

.mapp-thumbnail .mapp-gallery-previous { left: 5px; }
.mapp-thumbnail .mapp-gallery-next { right: 5px; }
.mapp-thumbnail .mapp-gallery-previous:after { content: "<"; }
.mapp-thumbnail .mapp-gallery-next:after { content: ">"; }

/*
	-----------------------------------------------------------------------------------
	Popup Thumbnail styles
	-----------------------------------------------------------------------------------
*/

.mapp-iw.mapp-thumb-top .mapp-thumbnail {
	text-align: center;
}

/* When thumbnails are on top AND an image is present, limit info section width to width of the image */
.mapp-iw.mapp-thumb-top.mapp-has-thumb .mapp-info {
	min-width: 100%;
	width: 0;
}

.mapp-iw.mapp-thumb-left .mapp-thumbnail, .mapp-iw.mapp-thumb-right .mapp-thumbnail {
	align-items: center;
}

/* Limit info section to height of featured image.  */
.mapp-iw.mapp-thumb-left .mapp-info, .mapp-iw.mapp-thumb-right .mapp-info  {
	min-width: 150px;
}

.mapp-iw.mapp-thumb-left {
	flex-direction: row;
}

.mapp-iw.mapp-thumb-right {
	flex-direction: row-reverse;
}

/*
	Narrow maps (mini view): a picture beside the text leaves the text too little room, so it goes on top,
	and each data field's label goes above its value
*/
.mapp-mini .mapp-iw.mapp-thumb-left, .mapp-mini .mapp-iw.mapp-thumb-right {
	flex-direction: column;
}

.mapp-mini .mapp-iw.mapp-has-thumb {
	min-width: 240px;
}

.mapp-mini .mapp-iw.mapp-has-thumb .mapp-thumbnail {
	height: 100px !important;
	width: 100% !important;
}

/* A narrow map is usually a short one too: let the popup use more of its height */
.mapp-mini .mapp-ib-wrapper {
	max-height: 80%;
}

.mapp-mini .mapp-iw.mapp-has-thumb .mapp-thumbnail img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.mapp-mini .mapp-iw .mapp-body {
	overflow-x: hidden;
}

.mapp-mini .mapp-iw .mapp-table, .mapp-mini .mapp-iw .mapp-table .mapp-row, .mapp-mini .mapp-iw .mapp-table .mapp-label, .mapp-mini .mapp-iw .mapp-table .mapp-cell {
	display: block;
}

.mapp-mini .mapp-iw .mapp-table .mapp-cell {
	padding: 0 0 6px 0;
}

/*
	-----------------------------------------------------------------------------------
	List thumbnail styles.  Thumbnail is prepended before item content.
	-----------------------------------------------------------------------------------
*/

/* Fill the .mapp-thumbnail container, where fixed dimensions are applied */
.mapp-list .mapp-thumbnail img, .mapp-list .mapp-thumbnail .mapp-embed, .mapp-list .mapp-thumbnail iframe {
	height: 100%;
	width: 100%;
}

/* Default is flex horizontal, use block to position image at top */
.mapp-list.mapp-thumb-top .mapp-item {
	display: block;
	padding: 10px;
}

.mapp-list.mapp-thumb-top .mapp-thumbnail {
	height: 150px;
	margin-bottom: 10px;
	text-align: center;
}

.mapp-list.mapp-thumb-left .mapp-thumbnail {
	height: 100px !important;
	width: 100px !important;
	margin-right: 10px;
}

.mapp-list.mapp-thumb-left .mapp-info .mapp-template {
	flex-direction: row-reverse;
}

.mapp-list.mapp-thumb-right .mapp-item {
	flex-direction: row-reverse;
}

.mapp-list.mapp-thumb-right .mapp-thumbnail {
	height: 100px !important;
	width: 100px !important;
	margin-left: 10px;
}




/*
	-----------------------------------------------------------------------------------
	IB Animations
	-----------------------------------------------------------------------------------
*/

@keyframes floatdown {
	from { margin-top: 0 }
	to { margin-top: 5px }
}

@keyframes floatup {
	from { margin-top: 0 }
	to { margin-top: -5px }
}

.mapp-ib-wrapper.mapp-ib-float {
	animation: floatup 0.4s forwards;
}

/*
	-----------------------------------------------------------------------------------
	Mini view
	-----------------------------------------------------------------------------------
*/

/* In mini view place the list under the map so it can scroll UP */
.mapp-mini .mapp-main {
	flex-direction: column-reverse;
}

.mapp-mini .mapp-sidebar {
	bottom: 0;
	height: 0;
	left: 0;
	max-width: none;
	position: absolute;
	right: 0;
	transition-property : all;
	transition-duration: .3s;
	width: auto;
	z-index: 10000;
}

.mapp-mini .mapp-sidebar.mapp-sidebar-open  {
	height: 100%;
}

.mapp-button.mapp-view-list, .mapp-button.mapp-view-map {
	align-items: center;
	border: none;
	justify-content: center;
	text-transform: uppercase;    
}

.mapp-view-list img, .mapp-view-map img {
	height: 16px !important;	/* GT editor interferes */
	margin-right: 5px;
}

.mapp-mini .mapp-directions {
	max-width: none;
	width: auto;
}

.mapp-footer {
	background-color: #f5f5f5;
	border-top: 1px solid lightgray;
}

.mapp-mini .mapp-filters .mapp-dropdown-content { 
	width: 100%;
	height: 100%;
}

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

.mapp-marker {
	cursor: pointer;
	filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.4));
	position: absolute;
	touch-action: none;		/* For dragdrop */
}

/* Label */
.mapp-marker img:nth-child(2) {
	height: 50%;
	position: absolute;
	top: 50%; left: 50%;
	transform: translate(-50%, -50%);
	width: 50%;
}

/* Image transforms base */
.mapp-marker img {
	transform-origin: 50% 100%;
	transition: transform .2s;
	width: 100%;
}

/* Scale image */
.mapp-marker-scale img {
	transform-origin: 50% 100%;
	transform: scale(1.2);
	perspective: 1001px;
}

/* Scale label - combine transforms */
.mapp-marker-scale img:nth-child(2) {
	transform: translate(-50%, -50%) scale(1.5);
}

.mapp-marker-circle {
	overflow: visible !important;
}

.mapp-marker-circle::before {
	background-color: rgba(255,255,255,0.7);
	border: 3px solid white;
	border-radius: 50%;
	box-sizing: border-box;
	content: "";
	left: -25%;
	top: -25%;
	width: 150%;
	height: 150%;
	position: absolute;
	z-index: -1;
}

/*
	-----------------------------------------------------------------------------------
	Directions
	-----------------------------------------------------------------------------------
*/

.mapp-directions {
	padding: 20px 10px 10px 10px;
}

.mapp-directions input {
	border: 1px solid gray;     /* 2020 */
	padding: 3px;
}

.mapp-dir-content {
	align-items: center;
	display: flex;
}

.mapp-dir-toolbar {
	margin-top: 10px;
}

.mapp-dir-from-to {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 8px;
}

.mapp-dir-from, .mapp-dir-top {
	line-height: normal ;
	width: 100%;
}

.mapp-dir-arrows {
	background: transparent url('../images/swapvert.svg') no-repeat center center;
	cursor: pointer;
	height: 30px;
	margin-left: 5px;
	opacity: 0.6;
	width: 30px;
}

.mapp-dir-arrows:hover {
	background-color: rgba(0,0,0,0.05);
	border-radius: 30px;
	opacity: 1;
}

/*
	-----------------------------------------------------------------------------------
	Custom controls
	-----------------------------------------------------------------------------------
*/

/* Extra selectivity because iframe defaults contents to color black */
.mapp-main .mapp-menu-toggle {
	background: white url('../images/menu-2x.png') no-repeat center center;
	background-size: 24px 24px;
	box-shadow: rgba(0, 0, 0, 0.298039) 0px 1px 4px -1px;
	color: #777;
	cursor: pointer;
	height: 40px;
	outline: none;
	outline: none;		/* Prevent focus outline */
	position: absolute;
	top: 10px; left: 10px; bottom: 0; right: 0;
	width: 40px;
	z-index: 1000;
}

.mapp-menu {
	background-color: white;
	border: 1px solid lightgray;
	color: #606060;
	cursor: default;
	display: flex;
	flex-direction: column;
	overflow: auto;
	padding: 5px 0 5px 0;
	position: absolute;
	top: 50px; left: 10px;
	width: 150px;
	z-index: 1010;
}

.mapp-menu-items {
	flex: 1;
}

.mapp-menu-item {
	cursor: pointer;
	line-height: 20px;
	padding: 5px 10px 5px 10px;
}

.mapp-menu-item:hover {
	background-color: #eaeaea;
	color: black;
}
.mapp-menu-item.mapp-active {
	background-color: #eaeaea;
	color: black;
	font-weight: bold;
}

.mapp-menu-separator {
	padding: 0;
	border-bottom: 1px solid lightgray;
}

.mapp-menu-footer{
	padding: 5px 10px;
	text-align: right;
}

.mapp-menu-help:hover {
	opacity: 1;
}


/*
	-----------------------------------------------------------------------------------
	Dialog / modal
	-----------------------------------------------------------------------------------
*/
.mapp-dialog {
	max-width: 90vw;
	max-height: 90vh;
	overflow: hidden;
	padding: 0;
}

/* Used to prevent scrolling on underlying body */
.mapp-dialog-noscroll {
	overflow: hidden;
}    

/* Must wait until open, otherwise flash of content */
.mapp-dialog[open] {
	display: flex;
	flex-direction: column;
}

.mapp-dialog::backdrop {
	background-color: black;
	opacity: 0.6;
}

@media screen and (max-width: 650px) {
	.mapp-dialog {
		height: 100vh;
		max-height: none;
		max-width: none;
		width: 100vw;
	}
}

.mapp-dialog-title {
	font-size: 20px;
	padding: 15px;
}

.mapp-dialog-content {
	display: flex;
	flex-direction: column;
	flex: 1;
	overflow: hidden;
	padding: 0 15px;
}

.mapp-dialog-toolbar {
	align-items: center;
	display: flex;
	justify-content: space-between;
	padding: 15px;
	border-top: 1px solid lightgray;
}

.mapp-dialog-toolbar > div {
	display: flex;
	gap: 5px;
}

.mapp-dialog-nopad .mapp-dialog-title, .mapp-dialog-nopad .mapp-dialog-content, .mapp-dialog-nopad .mapp-dialog-toolbar {
	padding: 0;
}

.mapp-dialog-close {
	color: black;
	cursor: pointer;
	display: inline-block;
	font-family: sans-serif;
	font-size: 36px;
	line-height: 36px;
	position: absolute;
	text-align: center;
	top: 10px; right: 10px;
	z-index: 1;
}

.mapp-dialog-close:hover {
	color: rgb(0,124,186);
}

/*
	-----------------------------------------------------------------------------------
	Mashup modal:
	-----------------------------------------------------------------------------------
*/

.mapp-dialog.mapp-modal {
	max-height: 80vh;
	max-width: 80vw;
	min-width: 400px;
}

.mapp-dialog.mapp-modal .mapp-dialog-content {
	padding-left: 0;
}

.mapp-modal-title {
	margin-bottom: 15px;
}

.mapp-modal-title h1 {
	margin: 0;
	padding: 0 0 15px 0;
}

.mapp-modal-template {
	display: flex;
	flex: 1;
	flex-direction: row;
}

/* Featured image displays on the left by default */
.mapp-modal-featured {
	max-width: 40%;
}

.mapp-modal-featured img {
	height: 100% !important;
	object-fit: cover;
	width: 100% !important;
	max-width: none !important;
}

.mapp-modal-article {
	display: flex;
	flex: 1;
	flex-direction: column;
	overflow: auto;
	padding: 20px;
}

.mapp-modal-meta {
	display: flex;
	font-size: 12px;
	justify-content: space-between;
	margin-top: 50px;
}

.mapp-modal-spinner-wrapper {
  transform: translate(-200%, -200%);
  width: 5px;
  height: 5px;
}

/* https://www.w3schools.com/howto/howto_css_loader.asp */
.mapp-modal-spinner {
	background: transparent url(../images/spinner-2x.gif) no-repeat center center;
	height: 40px;
	width: 40px;
	margin-left: 10px;
	margin-right: 10px;
	position: absolute;
	top: 50%; left: 50%;
}

/*
	-----------------------------------------------------------------------------------
	Iframe maps
	-----------------------------------------------------------------------------------
*/

/* Newer component iframe doesn't need position absolute because wrapper uses aspect-ratio instead of padding-bottom */
.mapp-component-iframe {
	background-color: rgba(221,221,221,1);    /* #ddd */
	border: none;
	max-height: none !important;        /* 2021 restricts */
	overflow: hidden;
	z-index: 1;
}

/* Non-component iframe.  Size only works with position absolute AND h/w=100%; z-index because 2020 page breaks appear over map */
.mapp-iframe {
	background-color: rgba(221,221,221,1);	/* #ddd */
	border: none;
	height: 100%;
	max-height: none !important;		/* 2021 restricts */
	overflow: hidden;
	position: absolute;
	top: 0; left: 0; bottom: 0; right: 0;
	width: 100%;
	z-index: 1;
}

.mapp-iframe-html, .mapp-iframe-body { 
	box-sizing: border-box;
	color: black;
	font-family: sans-serif;
	font-size: 13px;
	height: 100%;
	margin: 0;
	padding: 0;
}

.mapp-iframe-body .mapp-wrapper { 
	height: 100% !important;
	padding-bottom: 0 !important;
}

/*
	-----------------------------------------------------------------------------------
	Errors overlay
	-----------------------------------------------------------------------------------
*/
.mapp-errors-overlay {
	background-color: black;
	opacity: 0.7;
	position: absolute;
	top: 0; left: 0; bottom: 0; right: 0;
	z-index: 1100;	/* Just over mapp-ib */
}

.mapp-errors {
	background-color: white;
	border: 2px solid gray;
	color: black !important;
	overflow: auto;
	padding: 10px;
	position: absolute;
	top: 10%; left: 10%; bottom: 10%; right: 10%;
	z-index: 1101;
}

.mapp-errors * {
	font-size: 14px !important;
}
.mapp-errors-header {
	font-size: 18px !important;
	font-weight: bold !important;
	margin-bottom: 15px;
	text-align: center;
}

.mapp-errors-section {
	margin: 5px 0;
}

.mapp-errors-title {
	display: inline-block;
	border-bottom: 2px solid red;
	font-weight: 600 !important;
	margin: 10px 0;
}

.mapp-errors-toolbar {
	text-align: center;
}

.mapp-errors-apikey {
	background-color: #007CBA;
	border: 1px solid gray;
	color: white;
	cursor: pointer;
	display: inline-block;
	margin-top: 20px;
	padding: 10px;
}

.mapp-errors-apikey:hover {
	background-color: #006ba1;
}

.mapp-errors-apikey:active {
	box-shadow: inset 0 0 0 1px #fff, 0 0 0;
}

/*
	-----------------------------------------------------------------------------------
	Compliance
	-----------------------------------------------------------------------------------
*/

/* Complianz placeholder on the empty element to_html() adds while consent is pending: fill the map */
.mapp-layout > .cmplz-placeholder-element {
	height: 100% !important;
	width: 100%;
}

.mapp-layout.mapp-has-iframe { position: relative; }

.mapp-layout.mapp-has-iframe iframe,
.mapp-layout.mapp-has-iframe div.cmplz-blocked-content-container,
.mapp-layout.mapp-has-iframe [data-placeholder_class_index] {
	border: none;
	height: 100%;
	max-height: none !important;		/* 2021 restricts */
	overflow: hidden;
	position: absolute;
	top: 0; left: 0; bottom: 0; right: 0;
	width: 100%;
	z-index: 1;
}

/*
	-----------------------------------------------------------------------------------
	Tables
	-----------------------------------------------------------------------------------
*/

.mapp-table {
	border-collapse: collapse;
	display: table;
	table-layout: fixed;
}

.mapp-table .mapp-row { display: table-row; }
.mapp-table .mapp-cell { display: table-cell; }
.mapp-table .mapp-label { display: table-cell; }

/*
	-----------------------------------------------------------------------------------
	Generic controls
	-----------------------------------------------------------------------------------
*/

div.mapp-control {
	display: inline-block;
}

.mapp-control > label {
	align-items:center;
	display: inline-flex;
}

.mapp-label-left {
	margin-right: 5px;
}

.mapp-label-right {
	margin-left: 5px;
}

.mapp-label-top {
	margin-bottom: 3px;
}

/* Nested components (checkboxes & radios) */
.mapp-control-checkbox label, .mapp-control-radio label {
	margin-right: 20px;
}

/* Try to remove some WP styling */
.mapp-control input[type="radio"], .mapp-control input[type="checkbox"] {
	margin: 0;
}

.mapp-help-text {
	font-style: italic;
	padding: 5px 0;
}

.mapp-help-link {
	display: inline-block;
	text-decoration: none;
	vertical-align: baseline;
}

.mapp-help-warning {
	border: 1px solid lightgray;
	border-left: 4px solid #dba617;
	margin-top: 10px;
	padding: 10px;
}

.mapp-help-error {
	border: 1px solid lightgray;
	border-left: 4px solid #d63638;
	margin-top: 10px;
	padding: 10px;
}

/*
	-----------------------------------------------------------------------------------
	Sanity check errors
	-----------------------------------------------------------------------------------
*/

/* Shown in place of the map when a required library failed to load (see sanity() in mapp-map.js) */
.mapp-error-panel {
	align-items: center;
	background: #f6f7f7;
	color: #1e1e1e;
	display: flex;
	flex-direction: column;
	font-size: 13px;
	inset: 0;
	justify-content: center;
	line-height: 1.5;
	overflow: auto;
	padding: 16px;
	position: absolute;
	text-align: center;
	z-index: 1;
}

.mapp-error-title {
	font-weight: 600;
	margin-bottom: 8px;
}

.mapp-error-text {
	margin-bottom: 6px;
	max-width: 46em;
}

.mapp-error-note {
	color: #757575;
	font-size: 11px;
	margin-top: 8px;
}    

/*
	-----------------------------------------------------------------------------------
	Clustering
	-----------------------------------------------------------------------------------
*/

/* Cluster bubble, bucketed by child count: small (<10), medium (<100), large (100+). */

.mapp-cluster {
	cursor : pointer;                         /* Leaflet gives its markers this via .leaflet-interactive; Google doesn't */
	display : flex;
	align-items : center;
	justify-content : center;
	background-clip : padding-box;
	border-radius : 20px;
	width : 40px;
	height : 40px;
	transform : translate(-50%, -50%);        /* center on the pixel, so draw() needs no layout read */
}

.mapp-cluster-inner {
	display : flex;
	align-items : center;
	justify-content : center;
	width : 30px;
	height : 30px;
	border-radius : 15px;
	font : 12px "Helvetica Neue", Arial, Helvetica, sans-serif;
}

.mapp-cluster, .mapp-cluster-inner {
	transition : background-color 0.3s ease-out;
}

/* Cluster colors.  The count is !important so a site-wide rule like '.mapp-layout * { color : ... !important }' cannot make it unreadable */
.mapp-cluster-small { background-color : #C0DD97; }
.mapp-cluster-small .mapp-cluster-inner { background-color : #639922; color : #fff !important; }

.mapp-cluster-medium { background-color : #FAC775; }
.mapp-cluster-medium .mapp-cluster-inner { background-color : #BA7517; color : #fff !important; }

.mapp-cluster-large { background-color : #F5C4B3; }
.mapp-cluster-large .mapp-cluster-inner { background-color : #D85A30; color : #fff !important; }

.mapp-cluster, .mapp-cluster-inner { transition : background-color 0.3s ease-out, translate 0.3s ease-out; }

/* Cluster whose markers are fanned out. */
.mapp-cluster-faded { opacity : 0.3; }

/* Markers and bubbles surfacing from a cluster fade in.  Opacity only, deliberately: the standalone
   `scale` property is applied BEFORE `transform`, so on Leaflet -- which positions markers with
   transform: translate3d() -- scaling an element also scales its position and it slides in from the
   container corner.  `translate` is safe (translations add), which is why spiderfy uses it. */
@keyframes mapp-appear {
	from { opacity : 0; }
	to   { opacity : 1; }
}

.mapp-appear { animation : mapp-appear 0.28s ease-out; }
/*
	-----------------------------------------------------------------------------------
	Spiderfy
	-----------------------------------------------------------------------------------
*/

/* Spider list */
.mapp-stacked-items {
	max-height: 200px;
	overflow-y: auto;
}

.mapp-stacked-item {
	padding: 7px 10px;
	cursor: pointer;
	border-bottom: 1px solid #f1f3f3;
}

.mapp-stacked-item:last-child { border-bottom: 0; }
.mapp-stacked-item:hover { background: #f4f7f8; }

/* Spiderfy offsets markers with the standalone translate property.  Leaflet positions markers with
   transform and anchors them with margins, Google uses left/top -- translate is untouched by both,
   so this transition can never fire during a pan or zoom.  It is also GPU-composited. */
.mapp-marker, .leaflet-marker-icon {
	transition : translate 0.3s ease-out;
}
/*
	-----------------------------------------------------------------------------------
	Misc
	-----------------------------------------------------------------------------------
*/

.mapp-align-left { float: left; }
.mapp-align-right { float: right; }
.mapp-align-center { margin-left: auto; margin-right: auto; }
.mapp-align-default {}

.mapp-close {
	color: gray;
	cursor: pointer;
	display: inline-block;
	font-family: sans-serif;
	font-size: 18px;
	font-weight: bold;
	height: 20px;
	line-height: 20px;
	position: absolute;
	text-align: center;
	top: 0px; right: 0px;
	width: 20px;
	z-index: 1;
}

.mapp-close:after {
	content: "x";
}

.mapp-close:hover {
	color: black;
}

img.mapp-icon, .mapp-icon img {
	box-shadow: none !important;	/* 2012 applies box shadow to all images */
	filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.4));
	height: 32px;
	width: 32px;
	vertical-align: middle;
}


*[data-mapp-action] {
	cursor: pointer;
}

.mapp-max {
	width: 100%;
}

.mapp-caret:after {
	content: "";
	display: inline-block;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 5px solid black;
	border-bottom: none;
	margin-left: 5px;
	vertical-align: middle;
}

/* Pseudo-buttons, to avoid theme styles */
.mapp-button, .mapp-link-button, .mapp-submit-button {
	align-items: center;
	cursor: pointer;
	display: flex;
	justify-content: center;
	line-height: normal;
	padding: 10px;
	white-space: nowrap;
}

.mapp-link-button {
	color: #4285F4;
}

.mapp-button {
	background-color: white;
	border: 1px solid lightgray;
	user-select: none;    
}

.mapp-button:hover {
	background-color: #eee;
}

.mapp-submit-button {
	background-color: #4d90fe;
	border: 1px solid lightgray;
	color: white;
}

.mapp-submit-button:hover {
	background-color: #357ae8;
}

.mapp-button-disabled  {
	color: #aaa;
	pointer-events: none;
}

.mapp-button-busy:after {
	background: transparent url(../images/spinner-2x.gif) no-repeat center center;
	background-size: 20px 20px;
	content: '';
	height: 20px;
	margin-left: 10px;
	opacity: 0.5;
	width: 20px;
}

.mapp-button-caret:after {
	content: '';
	display: inline-block;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 5px solid black;
	border-bottom: none;
	margin-left: 10px;
}

.mapp-button-disabled.mapp-button-caret:after {
	border-top: 5px solid #aaa;
}

.mapp-dropdown-content {
	background-color: white;
	border: 1px solid lightgray;
	display: flex;
	flex-direction: column;   
	margin-top: 6px;
	overflow: hidden;
	position: absolute;
	top: 100%;
	z-index: 10000;
}
/*
	-----------------------------------------------------------------------------------
	User-submitted locations
	-----------------------------------------------------------------------------------
*/
.mapp-ul-add {
	border-radius: 3px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
	left: 10px;
	position: absolute;
	top: 10px;
	z-index: 1000;
}

.mapp-ul-disabled {
	opacity: 0.5;
}

.mapp-ul-bar .mapp-ul-error {
	flex: 1 1 100%;
}

.mapp-ul-bar {
	align-items: center;
	background: white;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	left: 10px;
	padding: 8px;
	position: absolute;
	right: 10px;
	top: 10px;
	z-index: 1000;
}

.mapp-ul-hint {
	flex: 1 1 100%;
	font-size: 14px;
}

.mapp-ul-search {
	flex: 1 1 200px;
	min-width: 0;
}

.mapp-ul-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.mapp-ul-buttons button, .mapp-ul-add, .mapp-ul-done button {
	border-radius: 3px;
	font-size: 14px;
	padding: 8px 12px;
}

.mapp-ul-done span {
	flex: 1;
	font-size: 14px;
}

.mapp-ul-form {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: min(360px, 70vw);
	padding: 0 20px 20px 20px;
}

.mapp-ul-field {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.mapp-ul-label {
	font-size: 14px;
	font-weight: 600;
}

.mapp-ul-field input[type="text"], .mapp-ul-field input[type="url"], .mapp-ul-field input[type="email"], .mapp-ul-field textarea, .mapp-ul-field select {
	border: 1px solid #8c8f94;
	border-radius: 3px;
	box-sizing: border-box;
	font-size: 16px;			/* 16px stops phones zooming in on focus */
	padding: 8px;
	width: 100%;
}

.mapp-ul-help {
	color: #555;
	font-size: 13px;
	margin-top: -8px;
}

.mapp-ul-consent {
	align-items: flex-start;
	display: flex;
	font-size: 14px;
	gap: 8px;
}

.mapp-ul-error {
	color: #b32d2e;
	font-size: 14px;
}

.mapp-ul-form .mapp-ul-buttons {
	justify-content: flex-end;
}

/* Trap field for bots: off-screen, not display:none, which some bots skip */
.mapp-ul-trap {
	height: 1px;
	left: -9999px;
	opacity: 0;
	position: absolute;
	width: 1px;
}

/* Extra controls inside the search box (the map editor's upload button).  They sit at the far right, and the search
   button moves left to stay next to the text it searches for */
.mapp-autocomplete-buttons {
	align-items: center;
	display: flex;
	height: 100%;
	position: absolute;
	right: 6px;
}

.mapp-autocomplete-buttons + .mapp-autocomplete-button {
	right: 46px;
}

.mapp-edit-upload {
	align-items: center;
	background: none;
	border: none;
	color: black;
	cursor: pointer;
	display: flex;
	height: 100%;
	padding: 0 4px;
}

.mapp-edit-upload:hover, .mapp-edit-upload:focus-visible {
	color: #1a73e8;
}
