/* MAIN */
html, body{
	margin: 0;
	padding:0;
	background:#fff;
	font-family: Verdana, sans-serif;
}

form, p, h1, h2{
	margin:0;
	padding:0;
}

img{
	border:0;
}

#container{
	position:relative;
	top:0;
	left:0;
	width: 990px;
	margin: 0 auto; 
	text-align: left; 
}

body>#container{
	height: auto; 
	min-height: 100%;
}

/* HEADER */
#header{
	height:100px;
}

#header #logo{
	margin-top:10px;
	margin-left:8px;
	margin-bottom:-8px;
}

#header #agenzie{
	position:absolute;
	top:0;
	right:0;
}

#bar{
	position:relative;
	background:#2f6dc1;
	height:17px;
	border-bottom: solid 1px #4C7EC2;
	margin-top:-1px;
}

/* INDEX */
#index, #menupanel{
	position:relative;
	height:33px;
	width:415px;
	background: url(../images/bgmenu.jpg) bottom repeat-x;
	font-size:12px;
}

#index ul, #menupanel ul{
	background: url(../images/whitecorner.jpg) no-repeat right bottom;
	margin:0;
	padding:0;
	height:100%;
	padding-left:30px;
}

#index li, #menupanel li{
	display:inline;
	margin:0;
	padding-right:15px;	
	line-height:40px;
}

#index .selected, #menupanel .selected{
	background: url(../images/tab.gif) no-repeat bottom;
	padding-top:6px;
	padding-bottom:3px;
	padding-left:27px;
	padding-right:25px;
	font-size:17px;
	margin-right:-9px;
	margin-left:-30px;
	color:#fff;
}

#index .big, #menupanel .big{
	background: url(../images/tabbig.gif) no-repeat bottom;
	margin-right:-15px;
	margin-left:-34px;
	padding-left:31px;
	padding-right:28px;
}

#index .middle, #menupanel .middle{
	background: url(../images/tabmiddle.gif) no-repeat bottom;
	margin-right:-15px;
	margin-left:-32px;
	padding-left:31px;
	padding-right:30px;
}

#index .little, #menupanel .little{
   margin-right:-15px;
   margin-left:-32px;
   padding-left:35px;
   padding-right:35px;
}

#index a, #menupanel a{
	color:#626161;
	text-decoration:none;
}

#index a:hover, #menupanel a:hover{
	color:#8A8989;
}

#menupanel{
	width:550px;
}

/* CONTENT */
#content{
	padding-top:33px;
	position:relative;
}

/* BODY */
#body{
	width:618px;
	float:left;
}

#body p, #pannello p{
	margin-bottom:10px;
	font-size:12px;
	text-align:justify;
}

#body h1, #pannello h1{
	font-size:16px;
}

#body a, #pannello a{
	color: #2f6dc1;
}

#body a:hover, #pannello a:hover{
	text-decoration:none;
}

/* HOME */
#home{
	float:left;
}

#home #table{
	height:181px;
	width:690px;
	border-top: solid 2px #EBEBEB;
	border-left: solid 1px #DDDDDD;
	border-bottom: solid 2px #EBEBEB;
	border-right: solid 1px #DDDDDD;
	padding:2px;
	margin-bottom:10px;
}

#home #table .item{
	float:left;
	padding:2px;
}

#home #table .item p{
	background:#BED1EB;
	margin:0;
	padding:5px;
	font-size:12px;
	text-align:center;
}

/* RICERCA */
#ricerca{
	border: solid 2px #EBEBEB;
	padding:7px;
	width:320px;
	margin-bottom:10px;
	margin-right:5px;
	float:left;
	height:184px;
}

#ricerca p{
	margin-bottom:5px;
}

#ricerca label{
	font-size:12px;
	color:#4F4F4F;
	font-weight:bold;
	width:80px;
	display:block;
	float:left;
	line-height:17px;
}

#ricerca select{
	width:240px;
	height:20px;
	font-size:10px;
	margin:0;
	padding:0;
}

#ricerca .radio{
	display:inline;
	float:none;
	color:#4F82C7;
	font-size:11px;
}

#ricerca #find, #ricercaSpecifica #findButt{
	text-align:right;
	margin-bottom:0;
	margin-top:7px;
}

#ricerca button, #ricercaSpecifica button{
	background:url(../images/ricerca.jpg) no-repeat right;
	width:99px;
	height:22px;
	border:0;
	cursor:pointer;
}

#ricerca #categoria{
	width:97px;
}

#ricerca #tipologia{
	width:137px;
}

/* BOX */
#box{
	position:relative;
	float:left;
	width:353px;
	height:202px;
}

h1{
	font-size:18px;
	font-weight:normal;
	color:#2A68BC;
	text-align:left;
}

h2{
	font-size:10px;
	font-weight:normal;
	color:#4F4F4F;
	text-align:left;
}

#cercaCasa{
	border: solid 1px #EDEDED;
	padding-left:5px;
	padding-bottom:0;
	margin-bottom:5px;
	text-align:center;
	background:url(../images/cercaCasabg.jpg) bottom repeat-x;
}

#cercaCasa img{
	margin-top:10px;
}

#box #newsletter{
	position:absolute;
	bottom:0;
	border: solid 1px #EDEDED;
	padding:5px;
	padding-top:0;
	padding-bottom:0;
	background:url(../images/newsletterbg.jpg) repeat-x bottom;
	width:342px;
}

#box #newsletter h2{
	margin-bottom:5px;
}

#box #newsletter #email{
	width:286px;
	border: solid 1px #818996;
	padding:2px;
}

#box #newsletter #submit{
	margin:0;
	padding:1px;
	background:#BED1EB;
	border: solid 1px #2160B5;
	color:#2160B5;
	width:33px;
	margin-left:10px;	
}

#box #newsletter label{
	font-size:11px;	
	color:#fff;
	font-weight:bold;
}

#box #newsletter p{
	margin-bottom:5px;
}

/* PANNELLO */
.button{	
	background:#2f6dc1;
	width:100px;
	height:25px;
	color:#fff;
	border-top: solid 2px #174B91;
	border-left: solid 2px #174B91;
	border-right: solid 2px #B6CDEC;
	border-bottom: solid 2px #B6CDEC;
	font-weight:bold;
	cursor:pointer;
}

.button:hover{
	background:#7da6dc;
}

.button2{
	background:#2f6dc1;
	width:140px;
	height:25px;
	color:#fff;
	border-top: solid 2px #174B91;
	border-left: solid 2px #174B91;
	border-right: solid 2px #B6CDEC;
	border-bottom: solid 2px #B6CDEC;
	font-weight:bold;
	cursor:pointer;
}

.button2:hover{
	background:#7da6dc;
}


/* FORM LOGIN*/ 
.login{
   width:342px;
} 

.login label, .form label{
   width:75px;
   float:left;
}

.login #email, .login #password{ 
   width:260px;
}

.login .button{
   float:right;
}

/* PAGINA DI RICERCA */
#risultati, #dettagli{
	float:left;
	margin-bottom:8px;
}

#risultati p{
	font-size:12px;
}

#risultati .navigation{
	text-align:right;
}

#risultati #top .navigation{
	margin-top:-20px;
	margin-right:2px;
}

#risultati .dati{ 
   width:100%; 
}

.navigation a{
	text-decoration:none;
	color:#215fb4;
}

.navigation a:hover{
	text-decoration:underline;
}

#risultati .ricerca{
	border-top: solid 2px #EBEBEB;
	border-left: solid 2px #DDDDDD;
	border-bottom: solid 2px #EBEBEB;
	border-right: solid 2px #DDDDDD;
	width:618px;
	margin-bottom:5px;
	margin-top:10px;
}

#risultati .ricerca img{
	border:solid 1px #EBEBEB;
}

#risultati .ricerca a{
	color:#4C7EC2;
	text-decoration:underline;
	font-weight:bold;
}

#risultati .ricerca a:hover{
	text-decoration:none;
}

#risultati .ricerca td{
	vertical-align:top;
	padding:10px;
	padding-bottom:0;
}

#risultati p{
	margin-top:5px;
}


#risultati .agenzia{
	color:#626161;
	text-align:right;
	padding-bottom:10px;
}

#risultati .agenzia p{
	padding-bottom:10px;
}

#risultati .agenzia p, #risultati .dati p{
	font-size:10px;
}

#risultati .ricerca h1{
	font-size:10px;
}

#risultati h2{
	text-align:right;
	font-weight:bold;
	color:#626161
}

/* DETTAGLI */
#dettagli{
	width:618px;
	font-size:12px;
}

#dettagli img{
	border: 1px solid #EBEBEB;
}

#dettagli a{
	color:#4C7EC2;
	text-decoration:none;
}

#dettagli a:hover{
	text-decoration:underline;
}

#dettagli #back{
	text-align:right;
	margin-top:-20px;
	margin-right:2px;
}

#dettagli #dati{
	float:left;
	width:340px;	
}

#dettagli #description{
	clear:both;
	text-align:justify;
}

#dettagli p{
	margin-bottom:5px;
}

#dettagli label{
	font-weight:bold;
	display:block;
	float:left;
	width:140px;
}

.frame{
	border-top: solid 2px #EBEBEB;
	border-left: solid 2px #DDDDDD;
	border-bottom: solid 2px #EBEBEB;
	border-right: solid 2px #DDDDDD;
	margin-top:10px;
	padding:10px;
}

#dettagli #gallery{
	text-align:center;
	padding-left:20px;
	padding-right:20px;
}

#dettagli #agenzia{
	height:100%;
}


#dettagli h2{
	font-size:16px;
	color:#2A68BC;
	margin-top:10px;
	margin-bottom:5px;
}


/* BANNERS */
#destra{
	float:left;
	margin-left:13px;
	margin-bottom:8px;
}

#destra #banner{
	text-align:center;
	margin-top:7px;
}

#destra #ricerca{
	float:none;
	width:334px;
	padding-left:14px;
	margin-right:-1px;
	height:214px;
}

#destra #ricerca #frazione{
	width:236px;
	font-size:10px;
}

#destra #ricerca #find {
	margin-right:15px;
}

/* FOOTER */
#footer{
	clear:both;
	width:100%;
	height:18px;
	margin:0;
	padding:0;
	background: url(../images/footer.jpg);
	text-align:center;
	font-size:7pt;
	vertical-align:middle;
}

#footer ul{
	margin:0;
	padding:0;
	height:100%;
}

#footer li{
	display:inline;
	margin:0 auto;
	padding:0;
	padding-right:25px;	
	padding-left:25px;
	line-height:180%;
}

#footer a{
	font-weight:bold;
	text-decoration:none;
	color:#fff;
}

#footer a:hover{
	text-decoration:underline;
}

#copyright p{
	text-align:right;
	font-size:7pt;
	color:#626161;
}

#copyright a{
	color:#626161;
	text-decoration:none;
}

#copyright a:hover{
	text-decoration:underline;
}

/*************************** MODIFICATO DA DAMIANO **************************/

#ordinamento{
   text-align: right;   
   line-height: 20px; 
   height: 20px;
   width: 618px;
}

/* DIMENSIONI FORM */
.select_uno{
   width: 250px;
}

.select_due{
   width: 210px;
}

.text_uno {
   width: 300px;
}

.text_due {
   width: 240px;
}

.text_prezzo{
   width: 75px;
}

.text_tre{
   width: 50px;
}

.text_quattro{
   width: 40px;
}

.textarea_uno{
   width: 380px;
   height: 250px;
}

.textarea_due{
   width: 600px;
   height: 250px;
}
.textarea_tre{
   width: 450px;
   height: 100px;
}
.textarea_quattro{
   width: 450px;
   height: 30px;
}
/* FORMATTAZIONE TESTI */
.errore{
   color:#C24C4C;
   font-weight:bold;
}
.conferma{
   color:#3E8B43;
   font-weight:bold;
}
.label{
   font-size:11px;
}
.titolo{
   font-size:14px;
   font-weight:normal;
   color:#2A68BC;
   text-align:center;
   font-weight:bold;
}
.titolo2{
   font-size:14px;
   font-weight:normal;
   color:#2A68BC;
   text-align:left;
   font-weight:bold;
   width: 350px;
}
.titolo3{
   font-size:14px;
   font-weight:normal;
   color:#2A68BC;
   font-weight:bold;
   width: 90px;
}
.titolo4{
   font-size:14px;
   font-weight:normal;
   color:#2A68BC;
   font-weight:bold;
   width: 70px;
}

.titolo5{
   font-size:14px;
   font-weight:normal;
   color:#2A68BC;
   font-weight:bold;
   width: 60px;
}

.titolo_img{
   width: 50px;
}
.titolo_spazio{
   width: 80px;
}
.testo_corsivo{
   font-size:11px;
   font-style:italic;
}

/* LINK */
.link{
   font-size:11px;
}

/* FOTO */
.img{
border: solid 1px #EBEBEB;
}

/* POSIZIONAMENTO */
.center{
   text-align:center;
}
