@charset "UTF-8";

#map {
	width: 100%;
	height: 100%;
}

#map-tool #fields input.hidden {
	display: none;
}

#map-tool #map-scroller {
	display: none;
	position: absolute;
	background: #ffffff;
	right: 0;
	bottom: 15px;
}

@media only screen and (max-device-width: 767px) {
	#map-tool #map-scroller {
		position: unset;
	}
}

#map-tool #map-scroller .wrapper {
	height: 491px;
}

#map-tool #centers-map {
	width: 100%;
	clear: both;
	height: 540px;
	background: #de004b;
	position: relative;
}

@media only screen and (max-device-width: 767px) {
	#map-tool #centers-map {
		height: 300px;
	}
}

.map-place-baloon-content {
	width: 500px;
	height: 170px;
	overflow: hidden;
}

	.map-place-baloon-content strong {
		color: #de004b;
	}

.map-place-baloon {
	overflow: hidden;
	height: 100%;
	width: 100%;
}

#map-tool #map-scroller .container {
	height: 449px !important;
	overflow-x: hidden;
	overflow-y: scroll;
}

/*.disabled {
	background: #AAA9A5;
}*/


#map-tool #fields input#cap {
	width: 55%;
}



@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:landscape) {
	/* Landscape */
	#map-tool #fields input#province {
		width: 50%;
	}
}

#map-tool #fields #reset-centers {
	display: none;
}
/*.gm-sm,.gm-style-iw {
	display: none !important;
}
.gm-style-iw:parent { display: none !important; }*/
#search-map-message {
	background: #f3f3f3;
	min-height: 55px;
	border: 2px solid #de004b;
	display: none;
	padding: 5px;
	margin-bottom: 5px;
}

@media only screen and (max-device-width: 767px) {
	#search-map-message {
		position: unset;
	}
}

#search-map-message p {
	padding: 0;
	margin: 0 5px;
}

	#search-map-message p strong {
		color: #de004b;
		font-size: 20px;
	}

#search-map-message .result-item {
	border: 2px solid transparent;
	padding: 1px 1px 50px;
	display: block;
	min-height: 130px;
	vertical-align: top;
	color: #fff;
	font-size: 12px;
	background-color: #de004b;
	background-clip: padding-box;
	text-decoration: none;
	cursor: pointer;
	-moz-transition: 0.2s;
	-o-transition: 0.2s;
	-webkit-transition: 0.2s;
	transition: 0.2s;
}

@media only screen and (max-device-width: 767px) {
	#search-map-message .result-item {
		width: 100%;
	}
}

#search-map-message .result-item::after {
	content: "Scopri di più";
	text-align: center;
	text-decoration: underline;
	font-weight: bold;
	display: block;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	padding: 0 0 0.1em;
	font-size: 1.5em;
}
#search-map-message .result-item.active::after {
	display: none;
}

#search-map-message .locality-item {
	width: auto;
	border: 1px solid #de004b;
	margin: 3px;
	padding: 5px 10px;
	display: inline-block;
	height: auto;
	color: #FFF83F;
	font-size: 18px;
	background: #de004b;
	text-decoration: none;
	cursor: pointer;
	-moz-transition: 0.2s;
	-o-transition: 0.2s;
	-webkit-transition: 0.2s;
	transition: 0.2s;
	box-shadow: 0px 1px 0px #AAA9A5;
}

#search-map-message .result-item:hover,
#search-map-message .result-item.active {
	color: #de004b;
	background: #ffffff;
	border-color: #de004b;
}

#search-map-message .locality-item:hover {
	color: #de004b;
	background: #ffffff;
}

#search-map-message .result-item span {
	float: left;
	width: 20px;
	font-size: 14px;
	height: 100%;
	margin-right: 15px;
	margin-left: 5px;
	color: #ffffff;
	margin-top: 5px;
}

#search-map-message .result-item legend {
	float: left;
	width: 80%;
	font-size: 1.5em;
	min-height: 160px;
	margin: 0;
	padding: 5px 0;
	line-height: normal;
	border-bottom: 0;
	color: white;
}

#search-map-message .result-item:hover span,
#search-map-message .result-item.active span {
	color: #de004b;
}
#search-map-message .result-item:hover legend,
#search-map-message .result-item.active legend {
	color: black;
}

#search-map-message .result-item .details {
	max-height: 0;
	overflow: hidden;
	transition: all 0.4s ease;
}
#search-map-message .result-item.active .details {
	max-height: 1500px;
}

#search-map-message .result-item .details h4 {
	font-size: 1.15em;
	font-weight: bold;
	border-bottom: 1px solid black;
}
#search-map-message .result-item .details a[href^=http] {
	word-break: break-all;
}
#search-map-message .result-item .details a[href^=http]::before {
	content: "Sito web: ";
	color: black;
}
#search-map-message .result-item .details a[href^=mailto] {
	word-break: break-all;
}
#search-map-message .result-item .details a[href^=mailto]::before {
	content: "Email: ";
	color: black;
}

#search-map-message .result-item .details ul li {
	font-size: inherit;
}

#search-map-message .result-item.pediatrico legend::after {
	content: "";
	display: block;
	position: absolute;
	right: 5px;
	bottom: 5px;
	width: 50px;
	height: 50px;
	background: transparent url("/images/centri-specialistici/22A1171_LOGO PSO PED_50px.png") center center / contain no-repeat !important;
	
	/* Force to print in print layout */
	-webkit-print-color-adjust: exact !important;
	color-adjust: exact !important;
}

#search-map-message .locality-list {
	width: 100%;
	height: 85px;
	overflow-x: hidden;
	overflow-y: scroll;
	margin-top: 10px;
}

#search-map-message .more {
	float: none;
	text-align: center;
	color: #de004b;
	background-color: #ffecf1;
	font-size: 18px;
	border: 2px solid #de004b;
	padding: 5px;
	margin: 1em auto 0;
}
#search-map-message .more:hover {
	background-color: #de004b;
	color: #ffecf1;
}

#search-map-message .print {
	float: none;
	text-align: center;
	background-color: green;
	color: white;
	font-size: 18px;
	border: 2px solid green;
	padding: 5px;
	margin: 1em auto 0;
	text-transform: uppercase;
}
#search-map-message .print:hover {
	color: green;
	background-color: lightgreen;
}

/*MAP TOOL*/
#map-tool {
	display: block;
	width: 100%;
	height: auto;
	position: relative;
}

	#map-tool #fields {
		width: 100%;
		/*float: left;*/
		/*background:#0C3;*/
	}



		#map-tool #fields label {
			display: block;
			font-size: 20px;
			/*float: left;
			padding-right: 10px;*/
			cursor: text;
			color: #4D4D4D;
			margin-bottom: 0;
		}

		#map-tool #fields .field {
			/*height: 70px;*/
			float: left;
			height: 100%;
			padding-right: 10px;
			padding-top: 20px;
		}

			#map-tool #fields .field span {
				float: left;
			}



		#map-tool #fields input {
			border-top: none;
			border-left: none;
			border-right: none;
			width: 60%;
			float: left;
			display: inline-block;
			font-size: 20px;
			color: #737373;
			border-bottom: 1px solid #737373;
			border-radius: unset;
		}

			#map-tool #fields input#center-name {
				width: 79%;
			}

@media only screen and (width: 768px) {

	#map-tool #fields .field span {
		float: unset;
	}

	#map-tool #fields input#cap {
		width: 66%;
	}
}


@media only screen and (max-device-width: 767px) {
	#map-tool #fields input#center-name {
		width: 100%;
	}
}



#map-tool #fields input.error {
	/*background: url(/img/icon-fail.png) no-repeat center right #ffebef;
				border-color: #ff0000;*/
}

#map-tool #fields input:focus {
	box-shadow: unset;
}

#map-tool #fields #search-centers, #map-tool #fields #reset-centers {
	border: 1px solid #de004b;
	/*width: 203px;
			height: 48px;
			box-shadow: 0px 1px 0px #AAA9A5;
			cursor: pointer;
			float: left;
			margin-right: 20px;*/
}

#map-tool #fields #search-centers, #map-tool #fields #search-centers {
	border: 1px solid #de004b;
	margin: 10px 0;
}

#map-tool #fields .field .form-error {
	font-size: 10px;
	color: #de004b;
	display: block;
	line-height: 100%;
	margin: 2px 0 0 0;
}

#map-tool #fields #search-centers label, #map-tool #fields #reset-centers label {
	color: #ffffff;
	background: #de004b;
	text-align: center;
	/*font-weight: bold;
			font-size: 16px;
			background: #ffbfd1;
			width: 193px;
			height: 38px;
			margin: 5px 0 0 4px;
			display: block;
			line-height: 40px;*/
	cursor: pointer;
	-moz-transition: 0.2s;
	-o-transition: 0.2s;
	-webkit-transition: 0.2s;
	transition: 0.2s;
	margin-bottom: 0;
	padding: 5%;
}

	#map-tool #fields #search-centers label span, #map-tool #fields #reset-centers label span {
		font-size: 26px;
		font-weight: normal;
		line-height: 100%;
	}

	#map-tool #fields #search-centers label:hover, #map-tool #fields #reset-centers label:hover {
		color: #de004b;
		background: #ffffff;
		cursor: pointer;
		-moz-transition: 0.2s;
		-o-transition: 0.2s;
		-webkit-transition: 0.2s;
		transition: 0.2s;
	}



#map-tool #centers-map .loading {
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0px;
	top: 0px;
	background: url(/img/ajax-loader.gif) no-repeat center center #de004b;
}



#map-tool #map-scroller .wrapper {
	height: 475px;
	position: relative;
	width: 100%;
	box-shadow: inset 0 -10px 16px -10px rgba(0, 0, 0, 0.5);
}

#map-tool #map-scroller .container {
	height: auto;
	width: 100%;
	position: relative;
	padding-bottom: 30px;
}

	#map-tool #map-scroller .container .item {
		width: 100%;
		padding: 10px 0;
		height: auto;
		border-bottom: 1px solid #999999;
	}

		#map-tool #map-scroller .container .item h3 {
			font-size: 12px;
			color: #000000;
			margin: 0 0 2px 0;
			padding: 0px 14px;
			margin: 0 0 2px 0;
			font-weight: bold;
		}

		#map-tool #map-scroller .container .item h4 {
			font-size: 14px;
			color: #de004b;
			padding: 0px 14px;
			margin: 10px 0 3px 0;
		}

		#map-tool #map-scroller .container .item h5 {
			font-size: 12px;
			color: #353535;
			padding: 0px 14px;
			margin: 0 0 3px 0;
		}

		#map-tool #map-scroller .container .item p {
			font-size: 12px;
			color: #999999;
			padding: 0px 14px;
			margin: 0 0 5px 0;
			line-height: 20px;
		}

#map-tool #map-scroller .title {
	line-height: 30px;
	min-height: 30px;
	padding: 10px 0;
	font-size: 20px;
	font-weight: bold;
	color: #de004b;
	border: none;
	background: #f3f3f3;
	text-align: center;
	box-shadow: 0 10px 16px -10px rgba(0, 0, 0, 0.5);
}
#map-tool #map-scroller a[href^=http] {
	word-break: break-all;
}
#map-tool #map-scroller a[href^=http]::before {
	content: "Sito web: ";
	color: #999999;
}
#map-tool #map-scroller a[href^=mailto] {
	word-break: break-all;
}
#map-tool #map-scroller a[href^=mailto]::before {
	content: "Email: ";
	color: #999999;
}
/*END MAP TOOL*/
