body {
	font-family: arial, sans-serif;
	background-image: url('../img/head.jpg');
	background-position: top;
	background-repeat: no-repeat;
	background-color: #272727;
}
#wrapper {
	width: 960px;
	margin: 0 auto;
}

.clear {
	line-height: 0;
	font-size: 0;
	clear: both;
}

#header {
	height: 120px;
	/*position: relative;*/
}

#header div {
	/*position: absolute;
	top: 25%;*/
	padding-top: 16px;
}
/* colonna sinistra */

#navigation-sx {
	width: 220px;
	float: left;
}
#navigation-sx ul { margin-bottom: 5px; }
#navigation-sx ul li {
	/*background-color: #990000;
	margin-bottom: 2px;
	padding: 4px 2px;*/
	height: 27px;
}

#navigation-sx ul li a {
	color: #fff;
	text-decoration: none;
	font-weight: bold;
	display: block;
	width: 216px;

	background-color: #990000;
	margin-bottom: 2px;
	padding: 4px 2px;
}

#navigation-sx ul li a:hover, #navigation-sx ul li a.selected {
	background-color: #660000;
	background-image: url('../img/freccia.png');
	background-position: 97% 50%;
	background-repeat: no-repeat;
}

.roundbottom {
	border-bottom-right-radius: 5px;
	border-bottom-left-radius: 5px;
	-webkit-border-bottom-right-radius: 5px;
	-webkit-border-bottom-left-radius: 5px;
	-moz-border-radius-bottomright: 5px;
	-moz-border-radius-bottomleft: 5px;
	padding-bottom: 3px;
	font-size: 96%;
	color: #4b4b4b;
}

.roundbottom .testo {
	line-height: 1.1em;
	padding: 5px;
	text-align: justify;
}
.roundbottom .province {
	text-align: center;
}
.roundbottom .province a {
	text-decoration: underline;
	color: #111111;
}
.roundbottom .province a:hover { text-decoration: underline; }

#eventi, #corso-primo-livello, #corso-secondo-livello, #corso-terzo-livello, #rivista, #programma-corsi, #folder-eventi {
	background-color: #fff;
	margin-bottom: 8px;
}
/* titoli h3 */
.boxtitle {
	color: #fff; padding: 4px 2px;
}

.bg-home {background-color: #660000;}
.bg-eventi {background-color: #000033;}
.bg-corso1 {background-color: #669900;}
.bg-corso2 {background-color: #336600;}
.bg-corso3 {background-color: #006600;}
.bg-rivista {background-color: #ff9900;}
.bg-programma-corsi {background-color: #660099;}
.bg-folder-eventi {background-color: #339966;}
.bg-news {background-color: #6699CC;}
#programma-corsi h3 { letter-spacing: -0.05em; }
#folder-eventi h3 { letter-spacing: -0.05em; }

h3 a {color: #ffffff; text-decoration: none;}
h3 a:hover {text-decoration: none;}

/*#eventi h3 { background-color: #000033; }
#corso-primo-livello h3 { background-color: #669900; }
#corso-secondo-livello h3 { background-color: #336600; }
#corso-terzo-livello h3 { background-color: #006600; }
#rivista h3 { background-color: #ff9900; }
#programma-corsi h3 { background-color: #660099; letter-spacing: -0.05em; }
#folder-eventi h3 { background-color: #339966; letter-spacing: -0.05em; }*/


#rivista p img, #programma-corsi p img, #folder-eventi p img { float: left; margin-right: 4px; }

/* colonna destra */

#navigation-dx {
	width: 220px;
	float: left;
}
#partners { margin-bottom: 8px; }
#partners p { margin-bottom: 3px; }
#partners p a img { width: 220px; }

#side-news { background-color: #fff; }
.sidenews { background-color: #fff; padding-left: 5px; padding-bottom: 6px; margin-bottom: 2px; margin-top: 4px; clear: both;}
.sidenews img { float: left; width: 50px; margin-right: 4px; }
.sidenews span.data { color: #6699CC; font-weight: 700; }
.sidenews a.titolo { font-weight: bold; text-decoration: none; color: #4B4B4B; }
.sidenews a.titolo:hover {text-decoration: underline;}
.sidenews div.testo {text-align: justify; min-height: 75px; }

/* contenuti colonna centrale */

#content {
	width: 480px;
	margin-left: 20px;
	margin-right: 20px;
	float: left;
	background-color: #ffffff;

	border-bottom-right-radius: 5px;
	border-bottom-left-radius: 5px;
	-webkit-border-bottom-right-radius: 5px;
	-webkit-border-bottom-left-radius: 5px;
	-moz-border-radius-bottomright: 5px;
	-moz-border-radius-bottomleft: 5px;
}

#content h1 { color: #fff; padding: 4px 10px; text-transform: uppercase; }
#content .news h2 { color:#660000; }
.news {background-color: #fff; margin-bottom: 16px;}
.news img { width: 480px; }
.news h2 { padding: 4px 10px; text-transform: uppercase; font-size: 120% }
.news div { padding: 0 10px;}
.news .text { line-height: 1.1em; text-align: justify; }

#pager {
	text-align:center;
	padding-bottom: 8px;
}

#pager a { color: #660000;}


#content .content-text {
	padding: 10px;
	text-align: justify;
	color: #4b4b4b;
}

#content .delegazione {
	clear: both;
}
#content .delegazione .provincia {
	text-transform: uppercase;
	color: white;
	background-color: #ff9900;
	height: 22px;
	padding-top: 4px;
	padding-left: 4px;
}
#content .delegazione .scheda-wrapper {
	margin-bottom: 4px;
	height: 70px;
}
#content .delegazione .scheda-wrapper .foto {
	float: left;
	width: 64px;
	height: 64px;
	margin: 4px;
}
#content .delegazione .scheda-wrapper .testo {
	float: left;
	width: 406px;
	font-size: 95%;
	color: #4b4b4b;
	margin-top: 4px;
}
#content .delegazione .scheda-wrapper .testo a {
	color: #4b4b4b;
}

#content-news {
	padding: 10px;
	text-align: justify;
}
#content-news img {
	float: left;
	margin-right: 6px;
}

#archivionews {
	padding: 10px;
	text-align: justify;
}
#archivionews a {
	display: block;
	color: #4b4b4b;
	margin-bottom: 6px;
}

/* calendario */
h3.mesecalendario {
	margin: 10px 0 ;
	padding-left: 4px;
	background-color: #000033;
	color: white;
	height: 22px;
	padding-top: 4px;
	text-align: center;
}
#calendar {
	width: 80%;
	text-align: center;
	margin: 0 auto;
}
#content_calendario table {
	width: 100%;
}
#content_calendario table tr td {
	font-size: 1.4em;
	text-align: center;
	padding: 2px 0;
	color: #4b4b4b;
}

#content_calendario table tr td span.giorni_vuoto {
	display: block;
	background-color: lime;
}
#content_calendario table tr td.selezionato {
	color: #660000;
	font-weight: bold;
	text-decoration: underline
}
#content_calendario table tr td a.giorni {
	display: block;
	font-weight: bold;
	color: #660000;
	text-decoration: none;
}
#content_calendario table tr td.navigation a {
	color: #000033;
	text-decoration: none;
	font-weight: bold;
}

#eventicalendario {
	padding: 10px;
	color: #4b4b4b;
	
}
#eventicalendario .evento-container {
	margin-bottom: 10px;
}
#eventicalendario .evento-container .data { font-style: italic; line-height: 1.2em; }
#eventicalendario .evento-container .titolo { font-size: 110%; font-weight: bold; line-height: 1.2em; }
#eventicalendario .evento-container .luogo { font-style: italic; line-height: 1.2em;}
#eventicalendario .evento-container .testo { padding-top: 4px; text-align: justify; }
/* fine calendario */

.testicorsi p {
	margin-bottom: 10px;
}
.testicorsi p a {color: #4b4b4b;}

#form p {
	padding-bottom: 1em;
}
#form p.privacy {
	font-size: 80%;
	padding-bottom: 0;
}
#form input.input, #form label, #form textarea {
	padding:0 1em;
	padding-top: 3px;
	margin-bottom: 2px;
}
#form input.input, #form textarea {
	width: 280px;
}
#form label { 
	display: block;
	float: left;
	width: 110px;
	text-align: right;
	height: 20px;
}
#form input.input {
	border: 1px solid #4b4b4b;
	height: 18px;
}

.content-links a {
	color: #4b4b4b;
	text-decoration: none;
}
.content-links a:hover {
	text-decoration: underline;
}
.content-icone {
	text-align: center;
	margin-bottom: 1px;
}




/* footer */
#footer {
	background-color: transparent;
	margin-top: 24px;
	margin-bottom: 12px;
}
#footer .copyright {
	text-align: center;
	color: white;
}
