/* Stile infobox personalizzato (per vecchie api con classe aggiuntiva infoBox)*/
.elf-map-infobox-wrapper {
	display: none;
}
.elf-map-infobox {
	min-width: 240px !important; 
	max-width: 300px !important; 
	width1: auto !important;
	width: 280px;
	background-color: #fff;
	height: 64px;
	padding: 10px;
	border-radius: 8px;
	overflow1: hidden;
	box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5);
}
/* Down arrow (senza immagini esterne -> great) */
.elf-map-infobox:after {
	content: "";
	position: absolute;
	width: 0;
	height: 0;
	bottom: -20px;
	left: 50%;
	margin-left:-14px;
	box-sizing: border-box;

	border: 10px solid #fff;
	border-color: transparent transparent #fff #fff;

	transform-origin: 0 0;
	transform: rotate(-45deg);

	box-shadow: -3px 3px 3px 0 rgba(0, 0, 0, 0.4);
}
.elf-map-infobox .elf-map-infobox-img {
	float:left;
	margin-right: 8px;
}




/* Stile infowindow personalizzato (posso usare questa nativa con le nuove API) */
.elf-map-infowindow-wrapper {
	display: none;
}
.elf-map-infowindow {
	background-color1: lightgrey !important;
}
.elf-map-infowindow .elf-map-infowindow-img {
	display: block;
	height: auto !important;
	width: 100% !important;
}

.elf-map-infowindow-body {
	text-align: center;
	font-size: 110%;
	background-color1: red !important;
}
.elf-map-infowindow-body p {
	padding: 0 4px 4px 4px;
	text-transform: lowercase !important;	
}



/* Sovrascrittuta stili di default */

/* volendo posso nascondere il bottone di chiusura */
.gm-style-iw.gm-style-iw-c button {
	display: none !important;
}
/* Contenitore esterno */
.gm-style-iw.gm-style-iw {
	padding:0;
	border-radius: 0;
}
.gm-style-iw .gm-style-iw-d {
	overflow: hidden !important; /* sovrascrive lo scroll ed evita il fix su desktop col margin-right -> GREAT */
}
/* fix margine extra a dx visibile solo so desktop -> attenzione all'opzione Safari richiedi sito desktop che sembra abilitata di defaul din iOS 13.1' */
 .elf-desktopOFF .gm-style-iw .gm-style-iw-d {
	margin-right: -18px !important;	
}




/* stile dello sfondo durante la comparsa del messaggio di avviso di usare due dita per le gesture */
.gm-style-pbc {
	background-color: rgba(0,0,0,0.5) !important;
	/* non posso mettere lo z-index altrimenti perdo i click sui cluster */
}

/* stile del messaggio di avviso di usare due dita per le gesture */
.gm-style-pbt {
	background-color: white !important;
	z-index: 999 !important;
	color1: #9b824c !important; /* HII accent color */
	color: #333 !important; /* HII accent color */
	padding: 8px !important;	
	width: 95% !important;
	margin: 0 auto !important;
	font-size: 150% !important;
	margin-top: 25% !important;
}
/* Sovrascrivo la freccia sotto la infowindow */ 
.gm-style-OFF .gm-style-iw-t::after {
	background: linear-gradient(45deg,#9b824c 50%,rgba(255,255,255,0) 51%,rgba(255,255,255,0) 100%)
}

/* Fix per bordo che si attiva come focus sulla mappa con certe versioni di API -> BUG risolto in api successive che però causano lo scroll della pagina quando appare la finestra infowindow */
.gm-style iframe + div {
	border:none!important;
}

/* FIX GIU 2024 per extra spazio bianco su intestazione -> nuove API ?*/
div.gm-style-iw.gm-style-iw-c > div.gm-style-iw-chr {
	display: none;
}