/*--------------------Elementi--------------------*/

h1,h2,h3,h4,h5,h6,pre,form,body,html,p,blockquote,fieldset,input {
	margin:0;
	padding:0;
}

body {
	text-align: center;
	color:	#000000;
	background-color: #E7E4DB;
	font-family: Verdana, geneva, arial, sans-serif;
	font-size:80%;
	height: 100%;
}

a {
	text-decoration: none;
	overflow: hidden;
	color: #336699;
}

a:hover {
	color: #990000;
}

img {
	vertical-align: top;
	border: none;
}

input {
	background-color: #FFFFFF;
	border: 1px solid #336699;
}

textarea {
	background-color: #FFFFFF;
	border: 1px solid #336699;
}

input, select, textarea {
	margin: 5px 5px 5px auto;
}

small {
	color: #9F9F9F;
}

span.sc {
	font-variant: small-caps;
}


h1 {
	color: #990000;
	font-size: 1.7em;
	text-align: left;
	padding-top: 10px;
	margin-right: 20px;
	font-family: serif;
	font-variant: small-caps;
	border-bottom: 1px solid #336699;
}

h2 {
	color: #666666;
	font-size: 1.3em;
	text-align: center;
	padding-top: 10px;
	padding-bottom: 10px;
	/*font-family: serif;*/
	font-weight: normal;
}

h3 {
	color: #666666;
	font-weight: bold;
	font-size: 1.0em;
	padding-bottom: 10px;
}

p.sel {
	text-align: right;
	margin-bottom: 15px;
}

p.r {
	text-align: right;
}

p.l {
	text-align: left;
}

p.c {
	text-align: center;
}

p.avviso {
	text-align: center;
	color: #990000;
}

p.esito {
	text-align: center;
	color: #003366;
}

p.form1 {
	margin-top: 8px;
	text-align: left;
}

p.form2 {
	margin-top: 3px;
	text-align: left;
}

/*--------------------Struttura--------------------*/

div#container{
	width: 760px;
	margin: 10px auto 10px auto;
	text-align: center;
	background-image: url(../img/sfondo.corpo.jpg);
}

div#top {
	width: 760px;
	/*height: 40px;*/
	height: 30px;
	margin: 0px auto 0px auto;
	text-align: left;
	background-image: url(../img/top.jpg);
}

div#top img {
	margin: 16px 0px 0px 15px;
}

div#header {
	width: 760px;
	margin: 0px auto 0px auto;
	text-align: center;
	background-image: url(../img/sfondo.corpo.jpg);
}

div#cerca {
	width: 740px;
	margin: 0px auto 0px auto;
	text-align: right;
	background-image: url(../img/barra1.jpg);
	height: 30px;
}

div#cerca form{
	padding-top: 3px;
	padding-right: 10px;

}

input.ln {
	width: 100px;
}

div#header img {
	margin: 0px 0px 0px 0px;
}

div#autore {
	width: 760px;
	height: 30px;
	margin: 0px auto 0px auto;
	text-align: right;
	background-image: url(../img/sfondo.corpo.jpg);
}

#autore img {
	margin: 0px 10px 0px 0px;
}

#corpo {
	/*width: 760px;
	margin: 0px auto 0px auto;
	text-align: left;
	position: relative;
	background-image: url(../img/sfondo.corpo.jpg);
	height: 100%;*/
}

#colonna-sx {
	float: left;
	/*margin-right: 535px;*/
	width: 225px;
	text-align: center;
}

#colonna-sx .box {
	width: 183px;
	text-align: left;
	margin: 5px auto 0px auto;
	background-image: url(../img/sfondo.menu.jpg);
	background-repeat: no-repeat;
	padding-top: 8px;
}

#colonna-sx ul {
	list-style: none;
	margin:0;
	padding:0;
}


li.argomento {
	width: 183px;
	text-align: left;
	margin: 7px auto 7px auto;
	background-image: url(../img/sfondo.titolo.jpg);
	background-repeat: no-repeat;
	/*height: 22px;*/
	font-size: 1.0em;
	font-weight: bold;
	color: #666666;
	font-variant: small-caps;
	padding-left: 5px;
}

li.titolo {
	font-family: sans-serif;
	text-align: left;
	margin: 7px 0px 7px 0px;
	list-style-type: none;
	/*font-size: 0.9em;*/
	padding-left: 5px;
}

div#news {
	/*background: url(../img/sfondo.news.jpg) no-repeat bottom;*/
}

div#search {
	/*background: url(../img/sfondo.cerca.jpg) no-repeat bottom;*/
}

div#accesso {
	/*background: url(../img/sfondo.accesso.jpg) no-repeat bottom;*/
}

div.riquadro {
	width: 165px;
	margin: 23px auto 15px auto;
	/*border: 1px dashed #CDCDCD;*/
	/*border-right: 1px solid #CDCDCD;*/
	border-top: 3px solid #E7E4DB;
	border-bottom: 1px solid #E7E4DB;
	padding-top: 0px;
	font-size: 1.0em;
	text-align: center;
	min-height: 80px;
	height: auto !important;
	height: 80px;
	/*background-image: url(../img/sfondo.news.jpg);
	background-repeat: no-repeat;
	background-position: bottom;*/
	background-color: #FFFFFF;
}

div.riquadro img{
	/*margin: auto 3px 5px 2px;*/
	margin: 0px 0px 0px 0px;
}

div.riquadro form{
	text-align: center;
	font-size: 0.7em;
	color: #9F9F9F;
	padding-bottom: 7px;
}

div.riquadro input{
	background: transparent;
	margin: 4px auto 4px auto;
	/*border: 1px solid #CDCDCD;*/
}



#principale {
	/*float: right;*/
	/*margin-top: 0px;*/
	margin-left: 225px;
	text-align: center;
	/*width: 535px;*/
}

#title {
	text-align: right;
	line-height: 1.8em;
	font-size: 1em;
	/*margin: auto 20px 0px 20px;*/
	padding-top: 20px;
	padding-bottom: 20px;
}

p.required {
	text-align: left;
	color: #9F9F9F;
}

span.required {
  color: #990000;
}

#principale .box {
   line-height: 1.6em;
	width: 502px;
	text-align: justify;
	/*margin: auto 20px 0px 20px;*/
	padding-top: 20px;
	padding-bottom: 20px;
	padding-right: 25px;
	min-height: 500px;
	height: auto !important;
	height: 500px;
}


#principale  p {
	/*padding-bottom: 2px;*/
}

div.infopost {
	text-align: left;
	line-height: 1.8em;
	margin: 5px 30px 20px 30px;
	border-bottom: 1px solid #DCDCDC;
	font-size: 0.8em;
	color: #9F9F9F;
}

p.titolo {
	font-size: 1.2em;
	font-weight: bold;
	margin: 10px auto 10px auto;
}

p.titolocommenti {
	font-size: 1.0em;
	font-weight: bold;
	margin: 20px auto 10px auto;
	color: #666666;
	border-bottom: 1px dotted #DCDCDC;
	border-top: 1px dotted #DCDCDC;
}

p.desccat {
	font-style: italic;
}

div.corpocommenti {
	margin: 15px auto 10px 10px;
}


#footer {
	clear: both;
	width: 760px;
	height: 60px;
	margin: 10px auto 0px auto;
	background-image: url(../img/bottom.jpg);
	text-align: center;
}

#footer .box {
	padding: 2px 10px 2px 10px;
	color: #808080;
	font-size: 0.7em;
	margin: 0px auto 0px auto;
	text-align: center;
}

#w3c {
	margin: 5px auto 10px auto;
}

#w3c img {
	margin: auto 4px auto 4px;
}


p.titlework {
	margin: 15px auto 10px auto;
	/*color: #666666;
	border-bottom: 1px dotted #DCDCDC;*/
	border-top: 1px dotted #DCDCDC;
}

p.descwork {
	margin: 10px auto 10px 10px;
}

span.imgwork {
	float: right;
	margin: 10px auto 5px 10px;
	border: 1px solid #DCDCDC;
}

div.worktitolo {
	margin-top: 15px;
	background-color: #F6F6F6;
}

div.worktitolo img{
	text-align: right;
	margin-right: 0px;
	vertical-align: text-top;
}

div.worknote {
	margin-top: 8px;
	color: #868686;
}

div.workfile {
	margin: 10px auto 0px 10px;

}

div.workdesc {
	margin: 10px auto 0px 10px;

}

div.navigazione {
  padding-top: 8px;
  padding-bottom: 6px;
}

div.dx {
	float: right;
}

div.sx {
	float: left;
}

span.imghome {
	float: left;
	margin: 10px 10px 5px auto;
	border: 1px solid #DCDCDC;
}

span.error {
	color: #990000;
	margin: auto auto auto 10px;
}

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

/* Calendario JS */
div#calendario {
	width: 170px;
	margin: 5px auto 5px auto; 
	background-color: transparent;
	font-size: 0.7em;
}

#calendario p {
	position: relative;
	width: 170px;
	margin: 0;
	padding: 0;
	color: #000000;
	font-size: 1em;
	line-height: 2.5em;
}

#calendario p strong {
	display: block;
	padding: 0;
	text-align: center;
	font-weight: normal;
	font-size: 1.0em;
}

#calendario p a.prec {
	display: block;
	position: absolute;
	top: 0;
	left: 4px;
	text-decoration: none;
	font-size: 1.8em;
	font-weight: bold;
}

#calendario p a.succ {
	display: block;
	position: absolute;
	top: 0;
	right: 4px;
	text-decoration: none;
	font-size: 1.8em;
	font-weight: bold;
}

#calendario table {
	width: 170px;
	margin: 1px auto 2px auto;
	border: 1px solid #CCCCCC;
	border-collapse: collapse;
	border-spacing: 0;
	background-color: #FFFFFF;
}

#calendario table th {
	border: 1px solid #CCCCCC;
	padding: 0;
	text-align: center;
}

#calendario table td {
	border: 1px solid #CCCCCC;
	padding: 0;
	text-align: center;
}

#calendario table thead {
	background-color: #E7E4DB;
	/*background-color: #EDEDED*/
}

#calendario td span,#calendario td a {
	display: block;
	padding: 0;
	margin: 0;
	text-decoration: none;
}

#calendario td span {
	color: #555555;
}

#calendario td a {
	background-color: #336699;
	color: #FFFFFF;
}

#calendario td a:hover {
	text-decoration: none;
	background-color: #990000;
	color: #FFFFFF;
}

#calendario td.oggi,#calendario td.oggi a {
	/*background-color: #ebe6dd;*/
	background-color: #E7E4DB;
	color: #FFFFFF;
}

#calendario .domenica {
	color: #990000;
}

#calendario #calstato {
	display: none;
}

a#calendario {
	padding-left: 0;
}

a#calendario img {
	border: none;
}


