html, * { margin: 0; padding: 0; box-sizing: border-box; }
body { background: #fff; text-align: left; font-family: "Titillium Web", Tahoma, Verdana, Arial, sans-serif; color: #000; }

@media screen and (min-width: 320px) {
	div.delimiter { width: 320px; max-width: 320px; margin: 0 auto; padding: 0; }
}
@media screen and (min-width: 480px) {
	div.delimiter { width: 480px; max-width: 480px; margin: 0 auto; padding: 0; }
}
@media screen and (min-width: 768px) {
	div.delimiter { width: 768px; max-width: 768px; margin: 0 auto; padding: 0; }
}
@media screen and (min-width: 1024px) {
	div.delimiter { width: 1024px; max-width: 1024px; margin: 0 auto; padding: 0; }
}

a { text-decoration: none; }
a:hover { text-decoration: underline; }
a img, a:hover img, a img:hover { text-decoration: none; border: 0; }

ul { padding-left: 15px; }

h3:before {
	font-family: FontAwesome;
	font-size: 0.8em;
	content: '\f0c8';
	padding-right: 8px;
	color: #ab2525;
}





/* **************************************************************************************************** */





header { background: #eaeaea; color: #30373d; }
header .head { background: #30373d; }
header .head a { display: inline-block; font-size: 1.0em; font-weight: bold; padding: 10px 0px; color: #fff; }
header .head a#rt { margin-left: 5px; }
header .head a#spid { position: absolute; right: 0px; background: #0065cb; padding: 10px 15px; }
header .head a#spid span { font-size: 1.3em; margin-right: 10px; }

header .body #toggle-menu { display: block; float: left; margin-left: 10px; background: none; border: none; text-align: left; color: #30373d; font-size: 1.2em; cursor: pointer; }
header .body #toggle-menu .line { display: block; background-color: #30373d; width: 35px; height: 3px; border-radius: 1px; margin: 0px 0px 6px; }
header .body #toggle-menu .line:last-child { margin-bottom: 3px; }
header .body #toggle-menu:after {
	display: block;
	width: 35px;
	position: relative;
	content: "MENU";
	font-size: 0.6em;
	font-weight: bold;
	color: #30373d;
	text-align: center;
}

header .body .mixed { margin: 10px 10px 0px 0px; text-align: right; }
header .body .mixed .social { display: none; }
header .body .mixed .social .text { margin-right: 10px; display: inline-block; }
header .body .mixed .social .icon { display: inline-block; background: #30373d; color: #eaeaea; width: 30px; height: 30px; line-height: 30px; text-align: center; border-radius: 15px; }
header .body .mixed .social .icon:hover { background: #ab2525; }
header .body .mixed form input { display: inline-block; background: #fff; border: none; width: 200px; padding: 10px; font-size: 0.9em; }
header .body .mixed form button { display: inline-block; border: none; }
header .body .mixed form button span { background: #ab2525; color: #fff; font-size: 1.2em; padding: 10px 15px; }

header .body h1.logo { background: transparent url('/img/logo.png') 5px 10px no-repeat; background-size: 80px auto; min-height: 125px; padding: 35px 0px 0px 95px; font-size: 1.6em; line-height: 1.0em; }
header .body h1.logo a { color: #30373d; }
header .body h1.logo span { font-size: 0.6em; font-weight: lighter; }
header .body h1.logo span:before {
	content: "\A";
	display: block;
	height: 0;
	font-size: 0;
	line-height: 0;
	clear: both;
	visibility: hidden;
}

@media screen and (min-width: 768px) {
	header .body { padding: 10px 0px; }
	
	header .body #toggle-menu { margin: 35px 0px 0px 45px; }
	header .body #toggle-menu .line { width: 40px; margin: 0px 0px 7px; }
	header .body #toggle-menu:after { width: 40px; font-size: 0.7em; }
	
	header .body .mixed { float: right; }
	header .body .mixed .social { display: block; margin: 15px 0px 5px; }
	header .body h1.logo { float: left; }
	
	header .body:before {
		content: "";
		position: absolute;
		width: 120px;
		height: 158px;
		background: url('/img/logo.png') 0 -5px no-repeat;
		background-size: 120px auto;
		top: 45px;
		right: -10px;
		/**/
		-webkit-transform: rotate(20deg);
		-moz-transform: rotate(20deg);
		-ms-transform: rotate(20deg);
		-o-transform: rotate(20deg);
		transform: rotate(20deg);
		-webkit-filter: grayscale(100%);
		filter: grayscale(100%);
		opacity: 0.25;
		filter: alpha(opacity=25);
	}
	
	header .body:after {
		content: "\A";
		display: block;
		height: 0;
		font-size: 0;
		line-height: 0;
		clear: both;
		visibility: hidden;
	}
}





nav#accesso-rapido { display: block; /*border-width: 1px 0px 0px 0px; border-color: #fff; border-style: solid;*/ }
nav#accesso-rapido ul { padding: 0px; list-style-type: none; background: #fff; text-align: center; }
nav#accesso-rapido ul li { display: inline; }
nav#accesso-rapido ul li a { display: inline-block; background: #fff; color: #30373d; font-size: 1.1em; font-weight: bold; padding: 10px 30px; border-color: #eaeaea; border-width: 0px 0px 0px 1px; border-style: solid; }
nav#accesso-rapido ul li:first-child a { border: none; }
nav#accesso-rapido ul li a:hover { background: #ab2525; color: #fff; text-decoration: none; }
nav#accesso-rapido ul li:last-child:after {
	content: "\A";
	display: block;
	height: 0;
	font-size: 0;
	line-height: 0;
	clear: both;
	visibility: hidden;
}
@media screen and (max-width: 768px) {
	nav#accesso-rapido { display: none; }
}





nav#root-menu {
	display: block;
	width: 300px;
	height: 100%;
	position: absolute;
	top: 0px;
	left: -302px;
	z-index: 999;
	overflow-y: scroll;
	background: #fff;
	border-right: 2px solid #ccc;
}
nav#root-menu p { background: #222; color: #fff; font-size: 1.9em; font-weight: lighter; padding: 9px 15px; border-color: #ccc; border-width: 0px 0px 2px 0px; border-style: solid; }
nav#root-menu p a { float: right; color: #fff; }
nav#root-menu ul { padding: 0px; list-style-type: none; }
nav#root-menu ul li { border-color: #f7f7f7; border-width: 0px 0px 2px 0px; border-style: solid; }
nav#root-menu ul li a { display: block; color: #222; font-size: 1em; padding: 13px 15px; }
nav#root-menu ul li a:hover, nav#root-menu ul li a.selected { background: #f7f7f7; }
nav#root-menu ul li a.selected { color: #ab2525; }
nav#root-menu ul li a span.collapse-ctrl { float: right; margin: 5px 0px; }
nav#root-menu ul li ul { display: none; border-color: #222; border-width: 2px 0px 0px 0px; border-style: solid; }
nav#root-menu ul li ul li { background: #f7f7f7; border: none; }
nav#root-menu ul li ul li a { padding: 7px 15px; }





div#panorama { margin: 0px auto -50px; width: 100%; height: 400px; top: -50px; z-index: -999; }





/* **************************************************************************************************** */





aside#breadcrumbs { background: #eaeaea; font-size: 1.0em; font-weight: lighter; padding: 15px 0px; }
aside#breadcrumbs a { color: #30373d; margin: 0px 5px; }
aside#breadcrumbs a:first-child { margin-left: 0px; }
aside#breadcrumbs a span { margin-right: 5px; }



section#main { margin: 15px 0px; }
section#main h2, section#main article { padding: 5px 0px; margin: 5px 0px; border-color: #f7f7f7; border-width: 0px 0px 3px 0px; border-style: solid; }
section#main article figure img { width: 100%; }
section#main article p { margin: 5px 0px; }
section#main article a { color: #ab2525; }

section#main article table.attachments { margin-top: 20px; margin-bottom: 40px; font-size: 0.95em; }
section#main article table.attachments td { padding: 5px; }
section#main article table.attachments tr:nth-child(odd), section#main article table.attachments tr.odd { background: #f1f1f1; }
section#main article table.attachments tr:nth-child(even), section#main article table.attachments tr.even { background: #fff; }



nav#menu-sezione { margin: 15px 0px; padding: 15px; background: #eaeaea; color: #30373d; }
nav#menu-sezione ul { padding: 5px 0px 0px 5px; list-style-type: none; }
nav#menu-sezione ul li { padding: 3px 0px; }
nav#menu-sezione ul li:before {
	font-family: FontAwesome;
	font-size: 0.8em;
	content: '\f105';
	padding-right: 8px;
	color: #30373d;
}
nav#menu-sezione ul li a { color: #30373d; }



aside.social { background: #eaeaea; color: #30373d; font-size: 0.9em; padding: 15px; margin: 5px 0px 20px 0px; }
aside.social h3 { font-weight: bold; padding-bottom: 4px; }
aside.social a { color: #30373d; margin-right: 10px; }
aside.social a.addthis span { margin-right: 5px; }



@media screen and (min-width: 768px) {
	section#main { float: left; width: 509px; } 
	nav#menu-sezione { float: right; width: 234px; margin: 25px 0px 15px 25px; }
	aside.social { float: left; width: 509px; margin: 5px 0px 25px 0px; }
	.delimiter:after {
		content: "\A";
		display: block;
		height: 0;
		font-size: 0;
		line-height: 0;
		clear: both;
		visibility: hidden;
	}
}

@media screen and (min-width: 1024px) {
	section#main { width: 725px; }
	aside.social { width: 725px; }
	nav#menu-sezione { width: 274px; }
}





/* **************************************************************************************************** */





section#pp, section#buttons, section#news, section#banners { margin: 20px 0px; }
section#pp h3, section#buttons h3, section#news h3, section#banners h3 { display: inline-block; padding: 10px 20px; background: #eaeaea; font-size: 1.3em; width: 200px; }



section#pp a.archive, section#news a.archive { display: block; float: right; color: #000; font-size: 1.1em; margin: 15px 0px; }
section#pp a.archive span, section#news a.archive span { color: #ab2525; margin-right: 5px; }



section#pp div.content { width: 100%; overflow: hidden; }
section#pp ul { padding: 0px; list-style-type: none; width: 99999px; }
section#pp ul li { display: block; float: left; }
section#pp ul li:last-child:after {
	content: "\A";
	display: block;
	height: 0;
	font-size: 0;
	line-height: 0;
	clear: both;
	visibility: hidden;
}
section#pp ul li div { width: 256px; height: 180px; }
section#pp ul li div.picture a { display: block; width: 100%; height: 100%; }
section#pp ul li:nth-child(odd) div.picture a { background: url('/img/arrow-up.png') center 162px no-repeat; }
section#pp ul li:nth-child(even) div.picture a { background: url('/img/arrow-down.png') center -3px no-repeat; }
section#pp ul li div.text { background: #eaeaea; padding: 10px; }
section#pp ul li div.text p.datetime { font-size: 0.9em; }
section#pp ul li div.text p.datetime span { margin-right: 5px; }
/*section#pp ul li div.text h4, section#pp ul li div.text p.abstract {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 75ch;
}*/
section#pp ul li div.text h4 { font-size: 1.1em; }
section#pp ul li div.text h4 a { color: inherit; }
section#pp div.directions { display: block; }
section#pp div.directions span.prev, section#pp span.next { display: block; position: relative; top: -199px; width: 22px; height: 38px; text-indent: -99999px; cursor: pointer; }
section#pp div.directions span.prev { background: url('/img/arrow-left.png'); margin-left: -30px; }
section#pp div.directions span.next { background: url('/img/arrow-right.png'); margin-right: -30px; float: right; margin-top: -38px; }



section#buttons { background: #eaeaea; margin: -10px 0px 30px; padding: 0px; }
section#buttons ul { padding: 0px; }
section#buttons ul li { display: block; float: left; width: 50%; height: 100px; padding: 10px; border: 1px solid #fff; text-align: center; }
@media screen and (min-width: 480px) {
	section#buttons ul li { width: 33%; }
}
@media screen and (min-width: 768px) {
	section#buttons ul li { width: 25%; }
}
@media screen and (min-width: 1024px) {
	section#buttons ul li { width: 20%; }
}
section#buttons ul li:hover { background: #314918; color: #fff; }
section#buttons ul li span { display: block; color: #314918; font-size: 1.6em; margin-top: 5px; }
section#buttons ul li a { color: #000; }
section#buttons ul li:hover span, section#buttons ul li:hover a { color: #fff; }
section#buttons ul:after {
	content: "\A";
	display: block;
	height: 0;
	font-size: 0;
	line-height: 0;
	clear: both;
	visibility: hidden;
}



section#news div.content, section#banners div.content { border-width: 3px 0px 0px; border-color: #ab2525; border-style: solid; }



section#news ul { padding: 0px; }
section#news ul li { display: block; padding: 10px; }
section#news ul li img { width: 100%; }
@media screen and (min-width: 768px) {
	section#news ul li { width: 25%; float: left; padding: 0px 10px; margin: 10px 0px; border-width: 0px 1px 0px 0px; border-color: #eaeaea; border-style: solid; min-height: 200px; }
	section#news ul li:nth-child(4n) { border: none; }
	section#news ul li:last-child:after {
		content: "\A";
		display: block;
		height: 0;
		font-size: 0;
		line-height: 0;
		clear: both;
		visibility: hidden;
	}
}
section#news ul li h4 { font-size: 1.1em; }
section#news ul li h4 a { color: inherit; }
section#news ul li p.datetime { font-size: 0.9em; border-width: 0px 0px 2px 0px; border-color: #eaeaea; border-style: solid; }
section#news ul li p.datetime:before {
	content: "";
	position: absolute;
	width: 25px;
	height: 2px;
	background: #ab2525;
	margin-top: 23px;
}
section#news ul li a.next { display: block; color: #ab2525; text-align: right; font-weight: bold; text-transform: uppercase; font-size: 0.9em; }
section#news ul li a.next span { margin-right: 5px; }



section#banners ul { padding: 0px; }
section#banners ul li { display: block; padding: 10px; }
@media screen and (min-width: 768px) {
	section#banners ul li { width: 25%; float: left; }
	section#banners ul li:last-child:after {
		content: "\A";
		display: block;
		height: 0;
		font-size: 0;
		line-height: 0;
		clear: both;
		visibility: hidden;
	}
}
section#banners ul li a { display: block; padding: 0px; }
section#banners ul li a img { width: 100%; }





/* **************************************************************************************************** */





section#list h2 { padding: 20px 0px 5px; }
section#list article { padding: 20px 0px; border-width: 0px 0px 1px 0px; border-color: #eaeaea; border-style: solid; }
section#list article h3 { margin-bottom: 5px; }
section#list article h3 a { color: inherit; }
section#list article img.preview { float: left; margin: 0px 5px 5px 0px; }
section#list article p.datetime { font-size: 0.9em; }
section#list article p.datetime span { margin-right: 5px; }
section#list article a.next { display: block; color: #ab2525; text-align: right; font-weight: bold; text-transform: uppercase; font-size: 0.9em; }
section#list article a.next span { margin-right: 5px; }
section#list article a.next:after {
	content: "\A";
	display: block;
	height: 0;
	font-size: 0;
	line-height: 0;
	clear: both;
	visibility: hidden;
}

section#list p.pages { padding: 40px 0px; color: #30373d; text-align: center; }
section#list p.pages:before { content: 'pag.'; margin-right: 5px; }
section#list p.pages a { color: #ab2525; font-weight: bold; }
section#list p.pages span { font-weight: bold; }
section#list p.pages span:before { content: '['; }
section#list p.pages span:after { content: ']'; }

section#list p.no_results { padding: 20px 0px 30px; }





/* **************************************************************************************************** */





#medaglia { background: #ab2525; color: #fff; }
#medaglia div { font-size: 1.6em; line-height: 1.9em; letter-spacing: 1px; }
#medaglia div span:before {
	content: "";
	position: absolute;
	width: 40px;
	height: 53px;
	background: url('/img/logo.png') 0 -5px no-repeat;
	background-size: 40px auto;
	margin-left: -45px;
	/**/
	-webkit-transform: rotate(-20deg);
	-moz-transform: rotate(-20deg);
	-ms-transform: rotate(-20deg);
	-o-transform: rotate(-20deg);
	transform: rotate(-20deg);
	-webkit-filter: grayscale(100%);
	filter: grayscale(100%);
	opacity: 0.5;
	filter: alpha(opacity=50);
}
#medaglia div span { padding-left: 55px; }
@media screen and (max-width: 768px) {
	#medaglia { display: none; }
}





#map { height: 350px; }
@media screen and (max-width: 768px) {
	#map { display: none; }
}





footer { background: #30373d; color: #fff; padding: 25px 0px 50px; }
footer a { color: #65dde0; }
footer ul { padding: 0px; list-style-type: none; }
footer ul li { border-color: #fff; border-width: 0px 0px 1px; border-style: solid; padding: 5px 3px; }

footer div { padding: 10px 0px; }
footer div div { padding: 0px; border-color: #fff; border-width: 3px 0px 0px; border-style: solid; }
footer div div:first-child { border: none; }
footer div div.info { font-size: 0.9em; }
footer div div.info p { margin: 3px 0px; }
footer div div.info p.logo { margin-top: 0px; background: transparent url('/img/logo.png') left top no-repeat; background-size: 40px auto; padding-left: 50px; height: 60px; font-size: 1.4em; line-height: 1.2em; }
footer div div.info span { display: inline-block; width: 20px; text-align: center; }
footer div div.web_pa img { margin-top: 5px; }
footer div div.menu li:first-child { font-weight: bold; }

@media screen and (min-width: 768px) {
	footer div div { float: left; width: 31%; margin: 1%; }
	footer div:after {
		content: "\A";
		display: block;
		height: 0;
		font-size: 0;
		line-height: 0;
		clear: both;
		visibility: hidden;
	}
}





#toTop {
	display: block;
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 999;
	width: 40px;
	height: 40px;
	background-color: #ab2525;
	color: #fff;
	text-align: center;
	line-height: 30px;
	font-size: 1.3em;
	border: 2px solid #fff;
	border-radius: 20px;
	cursor: pointer;
}





/* **************************************************************************************************** */





aside.full_wide { padding: 100px 0px 200px; color: #30373d; margin-left: 50px; }
aside.full_wide span.fa { font-size: 6em; display: block; float: left; margin-right: 25px; }
aside.full_wide h2 { font-size: 2em; }





section form.gare { margin: 10px 0px; background: #ab2525; color: #fff; font-size: 0.9em; }
section form.gare div { padding: 5px 10px; }
section form.gare div:last-child { text-align: right; padding-left: 10px; padding-right: 10px; }
@media screen and (min-width: 768px) {
	section form.gare div { float: left; }
	section form.gare:after {
		content: "\A";
		display: block;
		height: 0;
		font-size: 0;
		line-height:0;
		clear: both;
		visibility: hidden;
	}
}
section form.gare input, section form.gare select, section form.gare button { padding: 2px; border: 1px solid #30373d; border-radius: 3px; max-width: 250px; }
section form.gare button { padding-left: 10px; padding-right: 10px; }

section article.gare dl { margin: 15px 5px; font-size: 0.9em; }
section article.gare dl dt { font-weight: bold; color: #ab2525; }
section article.gare dl dd { padding-bottom: 10px; }
@media screen and (min-width: 768px) {
	section article.gare dl { background: #ab2525;   border-width: 0px 1px 1px 0px; border-style: solid; border-color: #ab2525; }
	section article.gare dl dt { float: left; clear: left; width: 175px; text-align: right; color: #fff; padding: 5px; }
	section article.gare dl dt:after { content: ':'; }
	section article.gare dl dt:not(:first-child) { border-width: 1px 0px 0px 0px; border-style: solid; border-color: #fff; }
	section article.gare dl dd { margin-left: 175px; background: #fff; padding: 5px;   border-width: 1px 0px 0px; border-style: solid; border-color: #ab2525; }
	section article.gare dl dd p { padding: 0px 0px 5px; }
	section article.gare dl dd p:last-child { padding: 0px; }
	section article.gare dl dd:after {
		content: "\A";
		display: block;
		height: 0;
		font-size: 0;
		line-height:0;
		clear: both;
		visibility: hidden;
	}
}





ul.sitemap { padding: 10px 20px; }
ul.sitemap li { padding-bottom: 10px; }
ul.sitemap ul { padding-left: 20px; font-size: 0.9em; }
ul.sitemap li ul li { padding-bottom: initial; }
@media screen and (min-width: 768px) {
	ul.sitemap { column-count: 2; column-width: 50%; column-gap: 1em; -moz-column-count: 2; -moz-column-width: 50%; -moz-column-gap: 1em; -webkit-column-count: 2; -webkit-column-gap: 1em; }
}










.result { margin: 25px 0px !important; text-align: center; }
.result.ok { color: #096; font-style: italic; }
.result.error { color: #f00; font-weight: bold; }

.web-form p { margin: 10px 0px; }
.web-form label { display: block; font-weight: bold; }
.web-form label:after { content: ':'; }
.web-form input { padding: 2px; }
.web-form button { background: #ab2525; border: none; color: #fff; font-size: 1em; padding: 5px 10px; margin: 10px 0px; }




/*table { margin-top: 20px; margin-bottom: 40px; font-size: 0.95em;  border: 1px solid; } */
/*#pagopa td { padding: 5px; }
#pagopa tr:nth-child(odd), .pagopa tr.odd { background: #f1f1f1; }
#pagopa tr:nth-child(even), .pagopa tr.even { background: #fff; } */
