body {
	font: 12px Arial, Helvetica, sans-serif;
	background: #FFFFFF;
	margin: 0; /* è buona norma impostare a zero i valori margin e padding dell'elemento body per tenere conto delle diverse impostazioni predefinite dei browser*/
	padding: 0;
	text-align: center; /* centra il contenitore nei browser IE 5*. Il testo viene quindi impostato con l'allineamento predefinito a sinistra nel selettore #container */
	color: #000000;
	background-image: url(img/glossymetal.jpg);
	background-repeat: repeat;
	background-position: top;
}
a, a:visited {
	text-decoration: none;
	color: #0000FF;
}
a:hover {
	text-decoration: underline;
	color: #0000FF;
}
h3 {
	color: #00CC00;
}
form {
	margin: 0;
	padding: 0;
}
.oneColFixCtrHdr #container {
	width: 960px;  /* utilizzando 20 px in meno rispetto alla dimensione piena di 800 px lascia spazio per gli elementi grafici e strutturali del browser ed evita che venga visualizzata una barra di scorrimento orizzontale */
	background: #FFFFFF;
	margin: 20px auto; /* i margini auto (insieme a una larghezza) centrano la pagina */
	border: 1px solid #CCCCCC;
	text-align: left; /* sostituisce l'impostazione text-align: center nell'elemento body. */
	box-shadow: 5px 5px 20px #333;
}
.oneColFixCtrHdr #header {
	background: url(img/sitelogo.png) top no-repeat;
	height: 90px;
	/* padding: 0 10px 0 20px;  questo padding corrisponde all'allineamento a sinistra degli elementi nei div sottostanti. Se in #header viene utilizzata un'immagine anziché un testo, può essere utile rimuovere il padding. */
}
.oneColFixCtrHdr #header h1 {
	margin: 0; /* azzerando il valore margin dell'ultimo elemento del div #header si evita la compressione del margine, con la creazione di uno spazio inspiegabile tra i div. Se il div è circondato da un bordo, questo accorgimento non è necessario perché anche il bordo impedisce la compressione del margine */
	padding: 69px 0 0 157px; /* l'uso del valore padding al posto di margin consente di distanziare l'elemento dai bordi del div */
	color: #CCCCCC;
	font-size: 12px;
}
.oneColFixCtrHdr #mainContent {
	background: url(img/main_content_bg.png) top no-repeat;
	padding: 0 5px; /* ricordare che i valori padding e margin corrispondono rispettivamente allo spazio interno ed esterno al riquadro div  */
	clear: both;
}
.oneColFixCtrHdr #footer {
	padding: 0 10px; /* questo padding corrisponde all'allineamento a sinistra degli elementi nei div sovrastanti. */
	text-align: center;
	font-size: 10px;
	background-image: url(img/sfondo_menu.gif);
	background-repeat: repeat-x;
}
.oneColFixCtrHdr #validator {
	background-image: url(img/footer_bg.png);
	background-position: top;
	background-repeat: no-repeat;
	height: 50px;
	text-align: center;
	margin: 2px;
}
.oneColFixCtrHdr #footer p {
	margin: 0; /* azzerando il valore margin del primo elemento del footer si evita il rischio di compressione del margine, con la creazione di uno spazio tra i div */
	padding: 8px 0; /* il padding di questo elemento crea uno spazio, così come avverrebbe specificando un valore margin, senza il problema della compressione del margine */
}
#menu {
	background-color: #CCCCCC;
	border-top: 1px solid #EEEEEE;
	border-bottom: 1px solid #AAAAAA;
	margin-bottom: 15px;
	box-shadow: 0px 5px 10px #BBB;
}
#MenuBar1 >li > a {
	border-top: none;
}
.message {
	font-weight: bold;
	color: #FF0000;
	text-align: center;
	font-size: 14px;
	margin: 50px;
}
.table {
	background-color: #FFFFFF;
	width: 100%;
	font-size: 11px;
}
.table th {
	background-image: url(img/sfondo_menu.gif);
	background-repeat: repeat-x;
	background-position: bottom;
	padding-bottom: 4px;
}
.table td {
	padding: 2px;
}
.table .pulsante {
	font-size: 9px;
}
.search_loading {
	background-image: url(img/loading.gif);
	background-repeat: no-repeat;
	background-position: 99% top;
}
.ajax_loading {
	background-image: url(img/loading.gif);
	background-repeat: no-repeat;
	background-position: 99% 50%;
}
.table_loading {
	background-image: url(img/loading.gif);
	background-repeat: no-repeat;
	background-position: 50% 50%;
}
#searchbox {
	padding: 20px 0;
	margin: 2px;
	background-image: url(img/sfondo_menu.gif);
	background-repeat: repeat-x;
	background-position: bottom;
}
#searchbox label {
	font-weight: bold;
	color: Gray;
}
#searchbox legend {
	font-weight: bold;
	color: #00CC00;
	margin-bottom: 5px;
}
#searchbox fieldset {
	border: none;
	padding: 3px;
	margin: 0;
	height: 35px;
}
#searchbox input[type='text'], #searchbox select {
	font: 12px Arial, Helvetica, sans-serif;
	padding: 5px;
	margin: 3px 0;
	border: 1px solid #CCCCCC;
	background-color: #EEEEEE;
	box-shadow: inset 1px 1px 3px #CCC;
}
#searchbox select {
	padding: 4px !important;
}
.pulsante {
	background-color: #006699;
	padding: 1px;
	border-top-width: 2px;
	border-right-width: 2px;
	border-bottom-width: 2px;
	border-left-width: 2px;
	border-top-style: solid;
	border-top-color: #FFFFFF;
	border-right-color: #003366;
	border-bottom-color: #003366;
	border-left-color: #FFFFFF;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	background-image: url(img/table_th_bg.gif);
	background-repeat: repeat-x;
	cursor: pointer;
	font-size: 12px;
}
.required {
	color: #FF0000;
}
.error_message {
	position: absolute;
	top: -2px;
	left: 227px;
	background: #FF6666;
	color: #FFFFFF;
	border: 1px solid Gray;
	z-index: 1000;
	padding: 0 5px;
	width: auto;
	text-align: center;
	display: none;
	white-space: nowrap;
}
/* set the image to use and establish the lower-right position */
.cssbox, .cssbox_body, .cssbox_head, .cssbox_head h2 {
	background: transparent url(img/img.png) no-repeat bottom right
}
.cssbox {
	/* intended total box width - padding-right(next) */
    width:300px !important; /* IE Win = width - padding */
	width: 285px;
	/* the gap on the right edge of the image (not content padding) */
    padding-right:15px; /* use to position the box */
	margin:20px auto;
}
/* set the top-right image */
    .cssbox_head {
	background-position:top right;
	/* pull the right image over on top of border */
      margin-right:-15px;
	/* right-image-gap + right-inside padding */
      padding-right:30px
}
/* set the top-left image */
    .cssbox_head h2 {
	background-position:top left;
	font-size: 14px;
	font-weight: bold;
	color: #663300;
	margin:0; /* reset main site styles*/
	border:0; /* ditto */
	/* padding-left = image gap + interior padding ... no padding-right */
    padding: 25px 0 0px 30px;
	height:auto !important;
	height:1%
} /* IE Holly Hack */
/* set the lower-left corner image */
    .cssbox_body {
	background-position:bottom left;
	margin-right:25px; /* interior-padding right */
	padding:15px 0 15px 30px;
} /* mirror .cssbox_head right/left */

#tabella_partecipanti table {
	width: 400px;
}

.clear {
	clear: both;
}

fieldset {
	border: 1px solid #CCCCCC;
	margin: 20px;
}

legend {
	background-color: #FFFFFF;
    border: 1px solid #AAAAAA;
    border-radius: 2px 2px 2px 2px;
    box-shadow: 3px 3px 15px #BBBBBB;
    color: #444444;
    font-weight: bold;
    padding: 5px 10px;
	margin-left: 10px;
}

ol.form {
	list-style: none;
	position: relative;
}

ol.form li {
	display: block;
	clear: both;
}

.form label {
	display: block;
	width: 20%;
	float: left;
	text-align: right;
	padding-right: 20px;
	border-bottom: 1px solid #EEEEEE;
	line-height: 1.8em;
	margin-top: 6px;
}

.form input[type=text], .form input[type=password], .form textarea, .form select, .form div, .form input[type=file], .form input[type=date] {
	font: 12px Arial, Helvetica, sans-serif;
	padding: 5px;
	margin: 3px 0;
	float: left;
	box-shadow: inset 1px 1px 3px #CCC;
}

.form input[type=text], .form input[type=password], .form textarea, .form select, .form input[type=file], .form input[type=date] {
	border: 1px solid #CCCCCC;
	background-color: #EEEEEE;
}


ol.form textarea {
	width: 72%;
}

.sfondo_rosso {
	background-color: #FF0000 !important;
	color: #FFFFFF !important;
	background-image: none !important;
}

.dialog {
	display: none;
	border: 1px solid #333333;
	background: #CCCCCC;
	color: #000000;
	width: 400px;
	height: 100px;
	line-height: 100px;
	font-weight: bold;
	position: absolute;
	font-size: 14px;
}

#note_div {
	background-color: #EEEEEE;
	font-size: 0.8em;
	position: absolute;
	width: auto;
	overflow: auto;
	border: 1px solid #CCCCCC;
	color: #666666;
	text-align: left;
	padding: 5px;
	display: none;
}

.border_red {
	border: 1px solid #FF0000 !important;
	background-color: #FFDDDD  !important;
}

.border_green {
	border: 1px solid #00FF00 !important;
	background-color: #DDFFDD  !important;
}

.border_orange {
	border: 1px solid #FFCC00 !important;
	background-color: #FFFF99 !important;
}

.border_blue {
	border: 1px solid #66CCFF !important;
	background-color: #66FFFF !important;
}

.border_silver {
	border: 1px solid #DDDDDD !important;
	background-color: #FFFFFF !important;
}

.border_gray {
	border: 1px solid #666666 !important;
	background-color: #CCCCCC !important;
}

#upload_div {
	background-color: #EEEEEE;
	width: 600px;
	height: auto;
	overflow: auto;
	border: 3px solid #DDDDDD;
	color: #333333;
	text-align: left;
	padding: 5px;
	display: none;
	position: absolute;
}

#upload_div label {
	border-color: #FFFFFF;
}

#upload_div input[type=text], #upload_div select, #upload_div input[type=file] {
	border: 1px solid #CCCCCC;
	background-color: #FFFFFF;
}

#close_window_div {
	top: 0;
	right: 0;
	font-weight: bold;
	font-size: 14px;
	border: 3px solid #DDDDDD;
	position: absolute;
	width: 20px;
	height: 20px;
	line-height: 20px;
	text-align: center;
}

#close_window_div a {
	color: #FF0000;
	display: block;
}

.last_send {
	font-size: 10px;
	font-weight: bold;
	color: #666666;
	background-image: url(SpryAssets/SpryMenuBarRight.gif);
	background-position: 0% 50%;
	background-repeat: no-repeat;
	padding-left: 6px;
}

#loading {
	width: 35px;
	height: 35px;
	position: absolute;
	top: 5%;
	left: 40%;
	display: none;
}

#calendario .giorno_container {
	width: 16%;
	position: relative;
}

#calendario .giorno a {
	display: block;
	width: 100%;
}

#calendario .fest {
	background-color: #DDDDDD;
}

#login {
	margin: 30px auto;
	padding: 120px;
	text-align: center;
	background-image: url(img/sfondo_logo_big.jpg);
	background-repeat: no-repeat;
	background-position: center;
}
.loginform {
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
	text-align: left;
	width: 350px;
	border: 1px solid Silver;
	padding: 10px;
	background-color: #EEEEEE;
    border-radius: 12px 12px 12px 12px;
    box-shadow: 3px 3px 15px #BBBBBB;
	font-weight: bold;
}
.loginform {
	background: url(img/1px_semi_trasparente.png) repeat scroll 0 0 transparent;
}
.loginform_loading {
	background-image: url(img/loading.gif) !important;
}
.loginform fieldset {
	border: 0;
	margin: 0;
	padding: 0;
	background-image: url(img/key.gif);
	background-repeat: no-repeat;
	background-position: 98% center;
}
.loginform legend {
	font-weight: bold;
	color: #00CC00;
	margin-bottom: 10px;
}
.loginform input {
	background-color: #FFFFFF !important;
}
#foto {
	position: absolute;
	width: 180px;
	height: 180px;
	border: 1px solid #CCCCCC;
	background-color: #DDDDDD;
	top: 0;
	right: 37px;
	padding: 0;
}
#warning {
	display: none;
}
#operatore {
	color: #CCCCCC;
	font-size: 11px;
	padding: 0 5px;
	text-align: right;
}
#posti_disponibili {
	color: #009900;
	font-weight: bold;
	font-size: 14px;
	text-align: center;
}
.session_column {
	width: 35px;
	float: left;
}
.session_column select, .session_column input[type=text], .session_column textarea {
	font: 12px Arial, Helvetica, sans-serif;
	padding: 2px;
	margin: 0;
	float: left;
	border: 1px solid #CCCCCC;
	background-color: #EEEEEE;
	box-shadow: inset 1px 1px 3px #CCC;
}
.session_column th {
	height: 35px;
}
.session_column td {
	height: 27px;
	line-height: 25px;
	margin: 0;
	padding: 0;
}
#session_container {
	width: 620px;
	height: 100%;
	overflow: scroll;
}
#div_modify, #div_modify2 {
	width: 300px;
	position: absolute;
	display: none;
	padding: 10px;
	background: url(img/1px_semi_trasparente.png) repeat scroll 0 0 transparent;
	border: 1px solid Silver;
	padding: 10px;
    	border-radius: 12px 12px 12px 12px;
    	box-shadow: 3px 3px 15px #BBBBBB;
}
#simplemodal-container a.modalCloseImg {
	background:url(img/x.png) no-repeat; /* adjust url as required */
	width:25px;
	height:29px;
	display:inline;
	z-index:3200;
	position:absolute;
	top:-15px;
	right:-18px;
	cursor:pointer;
}
