body { font:16px Arial, Helvetica, sans-serif; background:url(images/bg.gif) repeat-x #036;  margin:0; padding:0; }
img { border:0; }

h1 { font:bold 36px Arial, Helvetica, sans-serif; color:#333; margin:0 0 0 15px; }
h2 { font:bold 28px 'Trebuchet MS', Arial, Helvetica, sans-serif; color:#f63; margin:15px 0 0 15px; padding:0; }
h3 { font:normal 18px Arial, Helvetica, sans-serif; color:#000; margin:0 0 5px 0; }

#wrap { margin:0 auto; width:940px;  }
#backg { float:left;  }

/* HEAD  */
#topbar { float:left; width:940px; height:5px; }
#head {  float:left; width:940px; height:82px; }

#login { float:right; width:300px; padding-top:25px; font:11px Arial, Helvetica, sans-serif; color:#eee; }
#login a { color:#ccc;}

.logo { float:left; }

.log_input { width:102px; background:#64879D; border:1px solid #ccc; font:11px Arial, Helvetica, sans-serif; color:#ccc; padding:3px 4px; }
.log_butt { background:#fc0; font-weight:bold; color:#000; border:0; font-size:12px; padding-bottom:4px; }

#flags { float:left; height:15px; margin-top:50px; }



/* MENU  */
#menu { float:left; width:940px; background:#000; margin-right:-3px; }

#menu ul { padding-left: 0; margin-left: 0; background-color:#000; color:#fff; float:left; width:100%; font:bold 12px arial, helvetica, sans-serif; margin:0;  /* text-align: center; lovare float e settare altezza barra menu */ }
#menu ul li { display: inline; }
#menu ul li a { padding: 6px 12px; margin:6px 3px 0 3px; background-color:#000; color: #fff; text-decoration: none; float: left; }
#menu ul li a:hover { background-color:#fff; color:#333; }
#menu #active { background-color:#fff; color:#000; }

#alert { float:left; color:#fff; background:#9c6; padding:5px 8px; text-align:center; width:924px; margin-bottom:8px; margin-top:20px; font-size:14px; font-weight:bold;}

/* CORPO */
.row { float:left; width:940px; background:url(images/bg_bod.png) bottom no-repeat #fff;; padding-bottom:6px;}
.row_w { float:left; width:940px; background:url(images/bg_bod.png) bottom no-repeat #fff; padding-bottom:6px;}

.colsmall { float:left; width:220px; background:#ddd; margin-right:20px; }
.colsmall_end { float:left; width:220px; background:#ddd; margin-right:-3px; }
.colsmall_menu { float:left; width:220px; background:#ddd; }

.col { float:left; width:300px; margin-right:20px; background:#aaa;  }
.col_end { float:left; width:300px; background:#aaa; margin-right:-3px; }

.colmed { float:left; width:460px; background:#ddd; margin-right:20px; }
.colmed_end { float:left; width:460px; background:#ddd; margin-right:-3px; }

.colbig_dx { float:left; width:620px; background:#bbb; }
.colbig_sx { float:left; width:620px; background:#bbb; margin-right:20px; }

.colbody_sx { float:left; width:700px;  margin-right:20px; padding:0 10px; }
.colbody_dx { float:left; width:700px; background:#bbb; }

.colall { float:left; width:940px;  }

.colhead { width:920px; height:275px; margin:10px; background:url(images/bg_header.jpg) no-repeat;  }

.hometab { margin-left:30px; margin-top:35px; color:#fff; font-size:13px; }
.hometab h2 {font:bold 18px Arial, Helvetica, sans-serif; margin:18px 0 10px 0 ; padding:0; color:#fff; line-height:19px; color:#ff6; }
.hometab h1 {font:normal 19px Arial, Helvetica, sans-serif; margin:0; padding:0; color:#ccf; letter-spacing:0,4px;  }



.col p, .colbig_dx p, .col_end p, .colall p, .colbig_sx p, .colsmall p, .colsmall_end p, .colmed p, .colmed_end p, .colbody_dx p, .colbody_dx p{ padding:10px 15px; margin:0; }
#topbar p, #footer p, #head p { padding:5px 15px; margin:0; }



/* FOOTER */
#footer { float:left; width:940px; height:165px; margin-right:-3px; margin-top:5px; background:url(images/bg_foot.png) no-repeat; font-size:14px; color:#9cc;}
#footer2 { float:left; text-align:center; width:940px; margin-right:-3px; margin-top:15px; font:11px Arial, Helvetica, sans-serif;}

.contact { float:right; width:480px; font-size:12px; height:130px; margin:10px 10px 15px 0; padding:5px 20px 0 20px; border-left:1px solid #369;}
.contact h3 { margin:6px 0; color:#ff3; }
.contact p { padding:0; }
.contact a { color:#fff; }
.lettera {float:left; margin:10px 0 0 0;}


.img_l { float:left; margin:0 15px 15px 0; }
.img_r { float:right; margin:0 0 15px 15px; }

.menu { float:left;  }
#scrollers { float:left; width:335px; height:160px; margin-left:30px; margin-top:20px;}
.scroller {float:left; width:250px; height:150px; padding:5px; margin-right:10px; }

/* FORMS */

.reg { background:#FFFF99; padding:2px 4px; }


.fblock, .fblock_y, .fblock_n { float:left; width:600px; padding:15px; border-top:1px dotted #ccc; margin-bottom: 5px; margin-left:10px; }
.fblock {  color:#666; }
.fblock_y { background-color:#ffc; font-size:14px; color:#663; border-bottom-color:#996; background-image:none; }
.fblock_n { border:none; background-image:none; }
.blue { color:#000;}

.ftab { border:0; width:430px; float:right; }
.ftab th, .ftab td { vertical-align:top; }

.ftab_search { border:0; width:570px; float:right; }
.ftab_search th, .ftab_search td { vertical-align:top; font-weight:normal;}

.ftab_ris { width:730px; float:left; font-size:13px; }
.ftab_ris td { border-bottom:1px solid #eee; padding:8px 4px; font-weight:bold; color:#666;}
.ftab_ris td a:link, .ftab_ris td a:visited { color:#000; }
.ftab_ris td a:hover { color:#c30; text-decoration:none; }
.ftab_ris tr:hover { background:#ffc; }

.ris_title td { font-weight:bold; color:#c30; border-bottom:1px solid #c99; }
.ris_title_top td { font-weight:bold; color:#c30; border-top:1px solid #c99; }


.finput { margin-bottom:7px; margin-top:3px; padding:4px; border:1px solid #99CCCC; width:180px; font:14px Geneva, Arial, Helvetica, sans-serif; color:#000;  }

.ftitle { float:left; }
.fbutton { float:left; font-size:18px; font-weight:bold; padding:2px 5px; color:#666; }
.fcheck { font-size:12px; color:#666; margin-top:5px; }

.cal { margin-bottom:6px; }


.search { float:left; width:700px; padding:15px; margin-bottom: 5px; font-size:12px; color:#663; background:#ffc; }
.tags { width:600px; height:37px; }
.but1, .but2 { float:left; width:150px; padding:10px;  font-size:16px; font-weight:bold; text-align:center;  }

.but1 { background:#ffc; }
.but1 a:link, .but1 a:visited { color:#c90; text-decoration:none; }
.but1 a:hover { color:#333; text-decoration:none; }

.but2 { background:#fc6; color:#CC3300 }
.but2 a:link, .but2 a:visited { color:#c90; text-decoration:none;}
.but2 a:hover { color:#fff; text-decoration:none; }




/* General styling for both valid and invalid input */
.invalidInput,.validInput{

	padding-left:20px;
}
/* Style for invalid input */
.invalidInput{
	background:url(images/rd.gif) no-repeat;
}

/* Style for valid input */
.validInput{
	background:none;
}

/* Big box with list of options */
	#ajax_listOfOptions{
		position:absolute;	/* Never change this one */
		width:180px;	/* Width of box */
		height:250px;	/* Height of box */
		overflow:auto;	/* Scrolling features */
		border:1px solid #99CCCC;	/* Dark green border */
		background-color:#FFF;	/* White background color */
		text-align:left;
		font-size:0.9em;
		z-index:100;
	}
	#ajax_listOfOptions div{	/* General rule for both .optionDiv and .optionDivSelected */
		margin:1px;		
		padding:1px;
		cursor:pointer;
		font-size:0.9em;
	}
	#ajax_listOfOptions .optionDiv{	/* Div for each item in list */
		
	}
	#ajax_listOfOptions .optionDivSelected{ /* Selected item in the list */
		background-color:#99CCCC;
		color:#FFF;
	}
	#ajax_listOfOptions_iframe{
		background-color:#F00;
		position:absolute;
		z-index:5;
	}
	
	form{
		display:inline;
	}

.ftextarea { border:1px solid #99CCCC; font:14px Geneva, Arial, Helvetica, sans-serif; color:#000; width:400px;}
