/* eViaggio: stile dei grafici della pagina Statistiche (migrato da header.php del parent 2.5.8) */
 
#header h2 {
	text-align:center;
	margin-left:auto;
	margin-right:auto;
	vertical-align: middle;
	font-size: 42px;
	font-weight: bold;
	text-decoration: none;
	color: #000;
}
#header {
	width:100%;
	position: relative;
	margin: auto;
	text-align:center;
} 
	.demo-container {
		position: relative;
		height: 400px;
	}

	#placeholder {
		width: 100%;
	}
	
	
.demo-container {
	box-sizing: border-box;
	width: 90%;
	padding: 20px 15px 15px 15px;
	margin: 15px auto 30px auto;
	border: 1px solid #ddd;
	background: #fff;
	background: linear-gradient(#f6f6f6 0, #fff 50px);
	background: -o-linear-gradient(#f6f6f6 0, #fff 50px);
	background: -ms-linear-gradient(#f6f6f6 0, #fff 50px);
	background: -moz-linear-gradient(#f6f6f6 0, #fff 50px);
	background: -webkit-linear-gradient(#f6f6f6 0, #fff 50px);
	box-shadow: 0 3px 10px rgba(0,0,0,0.15);
	-o-box-shadow: 0 3px 10px rgba(0,0,0,0.1);
	-ms-box-shadow: 0 3px 10px rgba(0,0,0,0.1);
	-moz-box-shadow: 0 3px 10px rgba(0,0,0,0.1);
	-webkit-box-shadow: 0 3px 10px rgba(0,0,0,0.1);
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	-webkit-tap-highlight-color: transparent;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
.pieLabel{
	
	
	font-size: 12pt !important;
}
.flot-tick-label
{
	font-size: 8pt !important;
}


.legend {
		display: block;
		-webkit-padding-start: 2px;
		-webkit-padding-end: 2px;
		border-width: initial;
		border-style: none;
		border-color: initial;
		border-image: initial;
		padding-left: 10px;
        padding-right: 10px;
        padding-top: 10px;
        padding-bottom: 10px;
}

.legendLayer .background {
    fill: rgba(255, 255, 255, 0.85);
    stroke: rgba(0, 0, 0, 0.85);
    stroke-width: 1;
}

.demo-placeholder {
	width: 100%;
	height: 100%;
	font-size: 14pt;
}

.tickLabel {
	line-height: 1.1;
}
fieldset {
		display: block;
		-webkit-margin-start: 2px;
		-webkit-margin-end: 2px;
		-webkit-padding-before: 0.35em;
		-webkit-padding-start: 0.75em;
		-webkit-padding-end: 0.75em;
		-webkit-padding-after: 0.625em;
		min-width: -webkit-min-content;
		border-width: 2px;
		border-style: groove;
		border-color: threedface;
		border-image: initial;
		padding: 10px;
}

 svg  {
                font-family: Verdana,sans-serif;
                font-weight: normal !important;
            }

            text {
                font-weight: normal !important;
                font-size: 15px !important;
                fill: #000 !important;
                stroke: none !important;
            }


/* Telefono: immagini, badge Visitatori e mappa Distribuzione restano dentro i riquadri */
.demo-container img,
p picture img,
p > a > img {
	max-width: 100%;
	height: auto;
}
/* i riquadri con immagini/mappa hanno height:100% e max-height:100vh inline: si allungano col contenuto */
.demo-container[style*="max-height"],
.demo-container > div[style*="max-height"] {
	height: auto !important;
	max-height: none !important;
}
.demo-container table svg {
	max-width: 100%;
	height: auto;
}
@media (max-width: 600px) {
	#header h2 {
		font-size: 28px;
	}
	.demo-container[style*="padding-left"] {
		padding-left: 15px !important;
		padding-right: 15px !important;
	}
	.demo-container table td {
		white-space: nowrap;
	}
}

/* Riquadri senza grafico (es. testo introduttivo + Visitatori): niente altezza fissa da 400px */
.post-content > .demo-container:first-child,
.demo-container:not(:has(.demo-placeholder)) {
	height: auto;
}
