﻿body {
	margin: 0;
	background-image: url(../immagini/sfondo2.webp);
	background-repeat: repeat;
	background-position: center top;
	background-color: #F7F3ED;
	text-align: left;
}

a:link { color:blue; } 
a:visited { color: #6A0888; }
a:hover { background-color: #FFFFFF; }

.titolo1 { color: #4E3F2E; font-weight: bold; font-size: 18px; font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif; }
.titolo2 { color: #4E3F2E; font-weight: normal; font-size: 12px; font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif; }

h1 { color:#4E3F2E; font-weight:bold; font-size:24px; margin-top:0; }
h2 { color:#4E3F2E; font-weight:bold; font-size:20px; margin:24px 0px 14px 0px; }
h3 { color:#4E3F2E; font-weight:bold; font-size:18px; }
h4 { color:#4E3F2E; font-weight:bold; font-size:14px; }
h5, h6 { color:#4E3F2E; font-weight:normal; font-size:14px; }

hr { width:100%; height:3px; background-image:url(../immagini/riga.png); background-repeat:repeat-x; border:0; margin:8px 0px; }

.menu { color: #4E3F2E; font-weight: bold; font-size: 14px; font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif; }
td.menu { background-position: center center; background-repeat: no-repeat; background-image: url(../immagini/sfondo_menu.png); }
.menu a { color: #4E3F2E; text-decoration:none; }

.testo { color: #4E3F2E; font-weight: normal; font-size: 14px; font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif; }
.testo p { margin:12px 0px; }

.lato1 { color:#4E3F2E; font-weight:bold; font-size:15px; font-family:'Trebuchet MS', Arial, Helvetica, sans-serif; }
.lato2 { color:#4E3F2E; font-weight:bold; font-size:14px; font-family:'Trebuchet MS', Arial, Helvetica, sans-serif; }
.lato3 { color:blue; font-weight:normal; font-size:14px; font-family:'Trebuchet MS', Arial, Helvetica, sans-serif; }

.lato1 a:link, .lato1 a:visited,
.lato2 a:link, .lato2 a:visited { color:#4E3F2E; text-decoration:none; font-weight:bold; }
.lato3 a:link, .lato3 a:visited { color:blue; text-decoration:underline; font-weight:normal; }
.lato1 a:hover, .lato2 a:hover { text-decoration:none; }

/* MODIFICHE RESPONSIVE */
#page_container { width: 980px; margin: 0 auto; }
.main_logo, .riga { max-width: 100%; height: auto; }
.col_contenuto { width: calc( 100% - 270px ); }
#menu_lato {
	width:250px; background-image:url(../immagini/sfondo_menu3.png);
	padding-top:10px; padding-bottom:10px; box-sizing: border-box;
}
@media screen and (max-width:1020px) {
	#page_container { width: auto; margin: 0 20px; }
	#main_menu tr { text-align: center; }
	#main_menu td { display: inline-block; height: 30px; margin: 0 2px 6px; }
	#main_menu td.spazio { display: none; visibility: hidden; }
	#main_menu .menu a {
		height: 30px; display: flex; flex-direction: column;
		justify-content: center; box-sizing: border-box; padding: 0 10px;
	}
}
@media screen and (max-width:767px) {
	#main_menu td { height: 24px; }
	#main_menu .menu { font-size: 13px; }
	#main_menu .menu a { height: 24px; }
	.col_lato { display: block; width: auto; }
	.col_spazio { display: none; visibility: hidden; }
	.col_contenuto { display: block; width: auto; box-sizing: border-box; padding: 30px 0 0; }
	#menu_lato { margin: -16px auto 0; }
	#menu_lato .lato1 { font-size: 13px; }
}

/* PAGINA CITTA' */
.scheda_citta table { width: 100% !important; }

/* PAGINA AUTORE */
#scheda_autore img { max-width: 100%; height: auto; }
#scheda_autore table { width: 100% !important; }

/* PAGINA EVENTI */
.pagina_eventi  img { max-width: 100%; height: auto; }

/* PAGINA PREMI */
.premi_col_sx { width: 58%; }
@media screen and (max-width:550px) {
	.premi_col_sx { display: block; width: auto; }
	.premi_col_dx { display: block; width: auto; }
}
