/*
The following document present the styles applied to the website.
The author of the document is @author = "Andrey Petrov"
It was created in @date="25 dic 2015"
*/
@import url(https://fonts.googleapis.com/css?family=Chivo:900italic);
@import url(https://fonts.googleapis.com/css?family=Lato:400,300);

/* Eric Meyer's CSS resetter*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figure,
figcaption, footer, header,menu, nav, output, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font: inherit;
	vertical-align: baseline;
}
body {

	line-height: 1;
	font-family: 'Lato', sans-serif;
}
a {
	display: inline-block;
}
ol, ul {
	list-style: none;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}
a[title^="saltare"] {
	display: block;
	height: 0;
	text-indent: -999999px;
}
a[title="torna-su"] {
	padding: 0.5em;
	float: right;
	clear: left;

	text-align: right;
}


a:hover {
	color: #002F82;
}

a:visited {
	color: #1b4998;
}
/* cambiato colore link visitati*/
a:link {
	color: #002F82;
}
/* cambiato colore link visitati*/

/*
* =======================================================
*/
/*Introoduciamo alcune classi ausiliarie*/
.nascondi-el {
	display: block;
	height: 0;
	text-indent: -999999px;
}
.stile-ul {
	width: 70%;
	margin: 0 auto;
}
.stile-li {
	margin: 0.5em 0;
	list-style: decimal;
	padding: 0 0.5em;
}
.stile-a {
	margin: 0.5em 0;
	padding:0.2em 0;
}
.testo-dx {
	text-align: right;
}
.dim-txt {
	font-size: 0.8em;
}
.bar-dec {
	width: 40%;
	margin: 0 auto;
	border-bottom:solid 4px grey;
}
.attenzione {
	padding: 1em;
	border:5px solid #eaeaea;
	box-shadow:2px 2px 8px rgba(0,0,0,0.9);
}
.errSug {
	display: block;
	color: red;
	font-style: italic;
}
/*
* =======================================================
*/
/* Regole riferenti allo stile dello Header*/
#header {
	display: table;
	width: 80%;
	margin: 0 auto;
	color: #002F82;
	
}
#header > div:first-child {
	width: 50%;
	float: left;
	font-size: 0.8em;
	padding: 1em 1em;
	margin: 1em 1em;
}
#header > div:last-child {
	float: right;
	width:40%;
	padding: 1em 0;
	margin: 1em 0;
	text-align: right;
	
}
#header div:last-child ul li {
	display: inline;
	padding-left: 0.3em;
	
}
#header div:last-child ul li:last-child:before {
	content: "|  ";
}
#header div:last-child ul li a {
	text-decoration: none;
	
}
#header div:last-child ul li a:hover {
	border-bottom: 1px solid #002F82;
}
#header div:first-child > h2 {
	font-family: 'Lato';
	font-size: 1.5em;
	padding: 0.5em 0;

}
#logo img{
	/*
	Questa regola ci permette di evitare che
	il logo si comporti	male al ridimensionamento
	della width
	*/
	height: 5.5em;
	display: inline-table;
}

/*
* =======================================================
*/
div#poster-slider {
	display: inline-table;
	width: 100%;
	border-bottom: inset;
    border-top: inset;
	margin-bottom: 1em;
	
}
div#poster-slider img {
	width:100%;
	height: auto;
}

/*
* =======================================================
*/
/* Regole riferenti allo stile del corpo centrale del sito*/
#content, #nav { /* -- Container --*/
	width: 90%;
	margin: 0 auto;
	
}

#nav {
	width: 85%;
}

div#nav p {
	background-color: #002F82;
	background: linear-gradient(#001e33,#002F82);
	color: white;;
	padding: 0.5em;
	font-weight: bold;
	line-height: 1.5em;
	margin-top: 1em;
	box-shadow:1px 1px 5px rgba(0,0,0,0.9);
}
/*-------------------------------------------------------*/
#menu { /*Parte a sinistra interno a #content*/

	float: left;
	width: 20%;
	height: auto;
	padding: 2em 0;
	margin-top: 1em;
	

}

#link-attivo {
	color: #002F82;
	font-weight: bold;
	border-left: solid 5px #002F82;
}
#menu > ul {
	width: 60%;
	margin:0 auto;
	text-align: left;

}
#menu > ul li {
	margin: 0.5em 0;
	padding: 0.5em 0;
	padding-left: 0.3em;

}
#menu > ul li a:not(:visited) {
	color: #002F82;
	font-weight: bold;

}

/*---------------------------------------------------*/
#central-context {
	width: 70%;
	margin-left: 22%;
	
}
#contenuto-testuale {
	padding: 2em 0;
	float: left;
	width: 75%;
	
}
#contenuto-testuale > div {
	padding: 1em 0;
}
#contenuto-testuale > div > h1, h2, h3, h4, h5, h6 {
	color: #002F82;
	font-family: 'Lato';
	font-weight: bold !important;
	padding-bottom: 1em;
	font-size: 1.5em;
	
}

	
#contenuto-testuale > div p {
	width: 80%;
	margin: 0 auto;
	text-align: justify;
}
#contenuto-testuale div > p > em {
	display: inline-block;
	font-style: italic;
	font-weight: bold;
	padding: 0.5em 0;
}
/*----------------------------------------------------*/
#info {
	text-align: left;
	float: right;
	width: 25%;
	padding: 2em 0;
	margin:0 auto;
}
#info > div {
	margin: 1.5em 0;
}
#info img {
	width: 1em;
	height: 1em;
	padding-left: 2%;
}
#notizie-pp h1, #news h1, #documenti h1, #por-fesr h1 {
	border: 1px solid #002F82;
	background-color: #002F82;
	background: linear-gradient(#001e33,#002F82);
	color: white;
	font-weight: bold;
	font-size: 1em;
	padding: 2%;
	line-height: 1.5em;
	box-shadow:2px 2px 5px rgba(0,0,0,0.9);

}
#notizie-pp dl dd, #news dl dd, #documenti dl dd {
	width: 95%;
	margin: 0 auto;
	padding: 3% 0;
}

#por-fesr-1 {
	min-width: 283px;
	min-height: 122px;
}

#img-banner-por {
	width: 100%;
}

.sidebc1{
	margin-top: 10px;
	font-weight: bold;
	text-align: center;
	width:100%;
}

.sidebc2 {
	margin-top: 10px;
	text-align: center;
	width:100%;
}
/*
* =======================================================
*/
/*Regole riferenti allo stile del footer*/

	div#footer {
	    clear: both;
	    background-color: #b3b3b3;
	    background: linear-gradient(#b3b3b3,#d9d9d9);
	    color: black;
		box-shadow:2px 2px 5px rgba(0,0,0,1);
		border-top: inset;
	}
/*cambiato colore sfondo footer*/

div#copy {
	width: 80%;
	margin: 0 auto;
}
div#copy dl {
	padding-top: 1em;
	width: 50%;
	margin: 0 auto;
	font-size: 0.9em;
}
div#copy dl > dt, dd { display: inline-block; }
div#copy > p {
	width: 50%;
	margin: 0 auto;
	text-align: center;
	padding: 0.5em 0;
}

/*
* =======================================================
*/
/* Stile relativo alle tabelle presenti nella pagina {Produzione}*/
#contenuto-testuale div div > table {
	display: block;
	width: 100%;
	padding-bottom: 0.5em;
}
#contenuto-testuale div div > table caption {
	margin: 0.5em;
	padding: 0.5em;
}
#contenuto-testuale div div > table thead th {
	font-weight: bold;
	color: white;
	background-color: #002F82;
	background: linear-gradient(#001e33,#002F82);
}
#contenuto-testuale div table tfoot {
	background-color: #232A2F;
	color: white;
}
#contenuto-testuale div table th, td {
text-align: center;
padding: 0.5em 0.5em;
}
#contenuto-testuale div table tr {
	width: 100%;
}
#contenuto-testuale div table tbody tr:nth-child(2n) {
	background-color: #d9d9d9;
}
#contenuto-testuale div table tbody td {
	padding: 0.2em;
	margin: 0.1em;
}
div#tab1 td, th {
	width: 0.333%;
}
div#tab2 td,th {
	width: 0.5%;
}
.tabgen {
	margin: 1em;
	margin-right: 2em;
}
/*
* =======================================================
*/
/* Regole di stile per il contenuto presente all'interno della pagina Contatti*/
#info-contatti > div {
	margin-bottom: 1em;
}
#info-contatti > dl {
	width: 90%;
	margin:0 auto;
}
#info-contatti > dl dt {
	font-weight: bold;
	font-size: 1.1em;
}
#info-contatti > dl dd {
	width: 80%;
	margin: 0 auto;
	text-align: left;
}
#info-contatti > dl dd ul {
	padding: 0.5em 0.5em;
}
#info-contatti div > p {
	width: 100%;
	font-weight: bold;
	font-size: 1.1em;
	margin-bottom: 0.5em;
}
#info-contatti form {
	border: inset;
    padding: 1em 0;
    width: 90%;
    margin: 0 auto;
    background-color: #b3b3b3;
    background: linear-gradient(#b3b3b3,#e6e6e6);
}
/*cambiato colore sfondo info-contatti*/
#info-contatti form fieldset {
	font-weight: bold;
	color:#002F82;
	margin: 1em 1em;
	padding: 0.2em 0.2em;
}
div#info-contatti form label {
	color: black;
}
/*cambiato colore div#info-contatti form label*/
#info-contatti form fieldset div {
	clear: both;
	padding: 0.5em 0;
}
#info-contatti form div input {
	float: right;
}
#info-contatti form p {
	font-size: 0.9em;
	font-weight: normal;
	color: black;
}
/*cambiato colore div#info-contatti form p*/
textarea[id="MessaggioInvio"] {
	float: right;
	width: 60%;
}
#info-contatti form input:hover, textarea:hover {
	border: orange 3px solid;
}
#info-contatti form input, textarea {
	border: #002F82 3px solid;
}
form#contatti fieldset > p {
	font-size: 0.8em;
}
/*
* =======================================================
*/
/*Stile associato agli elementi della pagina Area-Riservata*/
div#a-accesso {
	width: 80%;
	margin: 0 auto;
}
div#a-accesso form {
	width: 90%;
	margin: 0 auto;
}
div#a-accesso form  fieldset {
	width: 80%;
	margin: 0 auto;
	padding: 0.5em;
}
div#a-accesso form  fieldset legend {
	padding: 0.5em 0;
	font-weight: bold;
}
div#a-accesso form  fieldset div {
	padding: 0.5%;
}
div#a-accesso form  fieldset div > input {
	padding: 1%;
}
div#a-accesso form  fieldset div > input:hover {
	background-color: orange;
}
div#a-accesso form input[type="submit"]:hover,
								input[type="reset"]:hover {
	border: orange 0.2em solid;
}

div#noti-legali h3, h4, h5, h6 {
	font-weight: bold;
}
div#noti-legali h3 {
	font-size: 2em;
}
div#noti-legali h4 {
	font-size: 1.5em;
}

div#noti-legali h5 {
	font-size: 1em;
}

div#noti-legali h6 {
	font-size: 1em;
}

div#info-noti-legali h4 {
	color: #002F82;
	font-weight: normal;
}
div#info-noti-legali ul {
	padding-left: 2em;
	list-style: disc;
	line-height: 1.2em;
	font-size: 0.8em;
}
div#info-noti-legali ul li {
	list-style-position: inside;
	font-size: 1.3em;
	padding: 1% 0;
}
div#cookies, div#privacy, div#termini {
	padding: 1em 0;
}
div#cookies div  p, div#privacy div  p, div#termini  div  p {
	padding: 1em;
	margin: 0.5em;
	width: 100%;

}
/*
* =======================================================
*/
/*Regole di stile per dispositivi a schermo inferiore alle dimensioni schermo desktop*/
@media screen and (min-width: 665px) and (max-width: 815px) {
div#header,
div#content,
div#copy,
div#nav,
div#header-por,
div#central-context,
div#InformazioniAziendali dl,
div#copy p {
	width: 95%;
	margin: 0 auto;
}
div#header > div:first-child {
	margin: 0;
	width: 90%;
}
div#header > div:last-child {
	float: left;
	text-align: left;
	padding: 0 1em;
	width: 90%;
}
div#logo img{
	height: 5em;
}

div#menu {
	width: 100%;
	float: none;
	padding: 1em 0;
}
div#menu ul {
	width: 100%;
	text-align: left;
}
div#menu ul li {
	display: inline;
}
form#contatti {
	width: 100%;
}
#contenuto-testuale ,
#info {
	width: 45%;
}
}/*Fine della @media screen and (501px < w < 815px)*/

@media screen and (min-width: 1px) and (max-width: 665px) {
div#header {
	width: 100%;
}
div#header div:first-child {
	font-size: 0.8em;
	margin: 0;
	width: 86%;
}
div#header div:last-child {
	float: left;
	width: 90%;
	margin: 0 auto;
	text-align: left;
	padding-left: 10%;
}
div#poster-slider  {
	display: none;
}
div#contenuto-testuale {
	padding: 1em 0;
}
div#menu {
	float: none;
	width: 89%;

}
div#logo img{
	height: 5em;
}
div#logo h1 {
	font-size: 3em;
}
div#logo h2 {
	font-size: 1em;
}
div#logo span {
	display: inline-table;
	font-size: 0.77em;
}
div#menu ul {
	text-align: right;
	float: right;
}
div#menu ul li {
	padding-right: 2%;
}
#link-attivo {
	color: #002F82;
	font-weight: bold;
	border-left: none;
	border-right: solid 5px #002F82;
}
form#contatti {
	width: 100%;
}

#logopor {
    max-width: 200px;
    margin-left: 2em;
    margin-top: 2em;
}

#info, #contenuto-testuale {
	clear: both;
	width: 100%;
}
#content,
#copy,
#InformazioniAziendali {
	width: 100%;
}
#central-context,
#InformazioniAziendali dl,
#copy p {
	width: 95%;
	margin: 0 auto;
}
#contenuto-testuale div > table {
	float: left;
}
#google-maps  {
    position: relative;
    padding-bottom: 70%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}
/* iframe posizionato in maniera assoluta */
#google-maps iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
}	/*Fine sezione @media screen and (1px < w < 500px)*/






@media print {
body {
    font: 12pt "Times New Roman", "TimesNR", Times, serif;
}
* {
color: black !important;
background-color: white !important;
}
div#poster-slider,
#menu,
#info,
#link-attivo,
form#contatti,
div#header div:last-child,
a[title="torna-su"],
div#copy > p a  {
    display: none;
}

#menu, #info {
    float: none;
    display: block;
    height: 0;
    text-indent: -9999pt;
}

div#nav {
    visibility: visible;
}

div#contenuto-testuale > div {
    width: 350pt;
}
p {
    widows: 4;
    orphans: 4;
}
}
/*
Le seguenti due regole riferiscono alla gestione
dell' input.
Nel caso in cui si dovrebbero presentare errori
allora dobbiamo segnalare mediante un elenco
ordinato e decimale in un riquadro arancione,
al fine da evitare colori come verde, rosso e giallo
*/
#errs {
	width: 100%;
	border: solid orange 2px;
	text-align: justify;
	padding: 0.5em;
}
#errs  li {
	list-style: decimal;
	list-style-position: inside;
}
