html,body {
	height:100%;
	margin:0;
	padding:0;
	}
body {
	font: 12px/120% Arial, Helvetica, sans-serif;
	line-height: 17px;
	background: #33454D url("img/bgbody.jpg") repeat-y  fixed top center;
	}
#prewrapper {
	width:1024px;
	margin:0 auto;
	padding-left: 4px;
	}
#wrapper {
	
	background-color:#FFFFFF;
	padding:0;
	position: relative;
	width:760px;
	height: 100%;
	margin:0 auto;
	text-align: left;
	}
* html #wrapper {
	height: 100%;
	}
body>div#wrapper{height:auto;min-height:100%}

#prehead {
	margin-top:3px;
	height: 30px;
/*	border-bottom: 1px solid #666;
*/	}
#preheaddx {
	margin-top:6px;
	width: 250px;
	height:30px;
	float: left;
/*	margin-left: 1px;
	background-color:#666633;
*/	margin-left:233px;
	}
#head {
	margin-top:10px;
	height: 130px;
/*	border-top: 1px solid #666;
*/	padding:0;
	}
*:first-child+html #head  /* solo IE 7.0 */
{
margin-top: 34px!important;
}

#preheadsx {
	width: 740px;
	height:64px;
	float: left;
	}
/*#preheaddx {
	width: 588px;
	height:34px;
	float: left;
	margin-left: 1px;
	}*/
#headsx {
	clear:both;
	width: 164px;
	height:130px;
	background-image: url("img/header.jpg");
	background-repeat: no-repeat;
	float: left;
	}
#headdx {
	width: 754px;
	height:128px;
	float: left;
	margin-left: 1px;
	background-color:#FFFFFF;
	}
#head h1 {
	color: #6BADFF;
	padding-left: 50px;
	}
#head h2 {
	color: #6BFF7C;
	padding-left: 100px;
	}
#head h3 {
	color: #E5FF6B;
	padding-left: 150px;
	}
#menu {
	clear: both;
	float: left;
	margin-left: 3px;
	width: 160px;
	height: 800px;
	padding-top: 8px;
	}
*:first-child+html #menu  /* solo IE 7.0 */
{
margin-left: 7px!important;
}

#menu a {
	padding-top: 5px;
	display: block;
	height: 20px;
	text-align: left;
	color: #FF6304;
	font-weight: bold;
	text-decoration: none;
	background: #fff url(img/border.gif) bottom left no-repeat;
	text-transform:uppercase;
	}
#menu a.top:hover {
	color: #666666;
	padding-top:6px;
	height: 20px;
	background-image: url(img/border_hover.gif);
	background-position:top left;
	background-repeat:no-repeat;
	background-color: #e8e8e8;
	font-weight:bold;
	}
#menu a:visited {
	color: #FF6304;
	height: 20px;
	font-weight:bold;
	}
#extra {
	clear: right;
	float: right;
	margin-right: 3px;
	width: 185px;
	/*height: 800px;
	border:1px solid #CCCCCC;
*/	text-align:center;
	background-color: #F2F2F2;
	margin-top:8px;
	border: 1px solid #ABABAB;
	}

h3  {font-size:14px;}

#content h2  {
	font: 170%/1.25em Verdana, Arial, Helvetica, sans-serif;
	margin: 0 0 4px 0; color: #505050;
	}
#extra p.tophead {
	background: #638A9A;
	height: 20px;
	text-align: left;
	font-weight: bold;
	color: #fff;
	text-decoration: none;
	padding-left:4px;
	padding-top:4px;
	margin:0;
	margin-top:3px;
	font-size:14px;
	border:1px solid #D2D2D2;
	width:177px;
	}
#video {
	clear: right;
	float: right;
	margin-right: 3px;
	width: 150px;
	height: 64px;
	text-align:center;
	}
#video a {
	padding-top: 5px;
	display: block;
	height: 20px;
	text-align: left;
	color: #FF6304;
	font-weight: bold;
	text-decoration: none;
	text-transform:uppercase;
	}
#video a:visited {
	color: #FF6304;
	height: 20px;
	font-weight:bold;
	}

p.topmenu {
	background: #638A9A;
	height: 20px;
	text-align: left;
	font-weight: bold;
	color: #FFFFFF;
	text-decoration: none;
	padding-top:4px;
	padding-left:4px;
	margin:0;
	margin-top:3px;
	font-size:14px;
	}

#extra p.middlehead {
	height: 20px;
	text-align: left;
	font-weight: bold;
	color: #505050;
	text-decoration: none;
	padding-left:4px;
	padding-left:4px;
	padding-top:4px;
	margin: 0;
	margin-top:3px;
	font-size:14px;
	}
#extra p.bottomhead {
	background: #FFF;
	height: 20px;
	text-align: left;
	font-weight: bold;
	color: #505050;
	text-decoration: none;
	padding-left:4px;
	padding-left:4px;
	padding-top:4px;
	margin: 0;
	margin-top:3px;
	font-size:14px;
	}
#extra p {
	padding-left: 10px;
	padding-right: 10px;
	}
#extra p.topbox {
	text-align: left;
	background-color: #638A9A;
	margin:0 0 18px 0;
	color:#FFFFFF;
	font-size:11px;
	padding-bottom:8px;
	padding-top: 8px;
	}
#extra p.middlebox {
	text-align: left;
	background-color: #E7FFB1;
	margin:0 0 18px 0;
	color: #666666;
	font-size:11px;
	padding-bottom:8px;
	padding-top: 8px;
	}
#extra p.bottombox{
	text-align: left;
	background-color: #FFC418;
	margin:0 0 18px 0;
	color: #333333;
	font-size:11px;
	padding-bottom:8px;
	}
#content {
	margin-left: 160px;
	/*margin-right: 10px;*/
	height: 800px;
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 8px;
	color: #505050;
	width:364px;
	}
*:first-child+html #content  /* solo IE 7.0 */
{
margin-top: 0px!important;
}
#footer {
	clear:both;
	text-align:right;
	}	
.inevidenzah2 {
	background-color: #EAEAEA;
	margin:0;
	padding:0;
	}

.inevidenza {
	padding: 4px;
	border: 1px solid #ABABAB;
	background-color: #F2F2F2;
	}
#content p {
	margin: 0;
	}
p.foot {
	text-align: center;
	color: #505050;
	font: 11px/120% Arial, Helvetica, sans-serif;
	}
a.foot {
	color: #7f2f28;
	text-decoration: none;
	border-bottom: 1px solid #eaeaea;
	border-bottom:1px dotted #0099ff;
	}
a.foot:hover {
	color: #CC0000;
	border-bottom:1px dotted #cc0000;
	}
a.foot:visited {
	color: #7f2f28;
	}
#content a {
	color: #244183;
	text-decoration: none;
	border-bottom:1px dotted  #666666;
	font-weight: bold;
	}
#content a:hover {
	border-bottom:1px dotted #000;
/*	background-color: #E8e8e8;
*/	color: #666;
	}
#content a:visited {
	color: #244183;
	}
#extra a {
	color: #666666;
	text-decoration: none;
	font-weight:bold;
	border-bottom:1px dotted #505050;
	}
#extra a:hover {
	border-bottom:1px dotted #505050;
	color: #003333;
	font-weight:bold;
	}
#extra a:visited {
	border-bottom:1px dotted #505050;
	font-weight:bold;
	}
#Contatti {
	float:left;
	width:50%;
	margin-bottom:10px;
	}
#Contatti a:hover {
	background: #FFC418;
	color: #333;
	}
.Box_sx {
	margin-bottom: 15px;
	}
#searchbox {
	margin:0 0 0 0;
	padding:0;
	float: right;
	text-align:right;
	padding-top:7px;
/*	background-color:#CCCCFF;
*/	}
.searchp { 
	background: #638A9A;
	height: 20px;
	text-align: left;
	font-weight: bold;
	color: #fff;
	text-decoration: none;
	padding-left:4px;
	padding-left:4px;
	padding-top:4px;
	margin:0;
	/*margin-top:3px;*/
	font-size:14px;
	width:175px;
}
*:first-child+html .searchp  /* solo IE 7.0 */
{
width: 166px; !important;
}


.form { 
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10px;
	color:  #6c6c6c;
	background-color: #FFFFFF;
	width:150px;
	margin:0;
	padding:0;
	text-align:center;
}

.input {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10px;
	color:  #DF5D0F;
	background-color: #FAFAFA;
	width:120px; height: 15px;
	TEXT-INDENT: 0px;
	border:1px solid #E6E6E6; 
	font-style: normal;
	FONT-WEIGHT: normal;
	padding-top:2px;
	padding-left:6px
	}
.input:hover {background: #F3F3F3;}
.input:focus {background: #ffffff;}
.input:focus:hover {background: #fff;}

.bottoni{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10px;
	color:  #DF5D0F;
	background-color: #fff;
	height: 20px;
	width:50px;
	TEXT-INDENT: 0px;
	border:1px solid  #E6E6E6;
	font-style: normal;
	FONT-WEIGHT: normal;
	background-image:url(img/lnte.gif);
	background-repeat:no-repeat;
	background-position: right;
	text-align:left;
	}
.checkbox{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10px;
	font-color:  #000000;
	background-color: #FFFFFF;
	height: 15px;
	TEXT-INDENT: 0px;
	BORDER-RIGHT: #FFFFFF 0px solid;
	BORDER-LEFT: #FFFFFF 0px solid;
	BORDER-TOP: #FFFFFF 0px solid;
	BORDER-BOTTOM: #FFFFFF 0px solid;
	font-style: normal;
	FONT-WEIGHT: normal;
	}

.textarea{ font-family: Arial, Helvetica, sans-serif;
	font-size: 10px;
	font-color:  #000000;
	background-color: #FFFFFF;
	height: 15px;
	TEXT-INDENT: 0px;
	BORDER-RIGHT: #FFFFFF 0px solid;
	BORDER-LEFT: #FFFFFF 0px solid;
	BORDER-TOP: #FFFFFF 0px solid;
	BORDER-BOTTOM: #FFFFFF 0px solid;
	font-style: normal;
	FONT-WEIGHT: normal;
	}
.select{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10px;
	font-color:  #000000;
	background-color: #FFFFFF;
	height: 15px; 
	TEXT-INDENT: 0px; 
	BORDER-RIGHT: #FFFFFF 0px solid;
	BORDER-LEFT: #FFFFFF 0px solid;
	BORDER-TOP: #FFFFFF 0px solid;
	BORDER-BOTTOM: #FFFFFF 0px solid;
	font-style: normal;
	FONT-WEIGHT: normal;
	}
.boxid {
	background-color:#FFFF33;
	}
.news div.immagine {
padding: 1px;
float: left;	
}

/* aggiustamenti per mozillone

----------------------------------------------- */

body[id=scampia] .bottoni{
	width:58px;
	padding-left: 2px;
}
body[id=scampia] .searchp { 
	width:166px;
}
body[id=scampia] #content { 
	margin-top: 25px;
}
