/*************
MG website
XHTML, CSS and code developed by Serena Villa
designed by Giuseppe Farina
**************/

/*---homepage e struttura generale----*/

html, body {height:100%;}
* {margin: 0; padding:0 ;}
body {
	margin:0;
	padding:0;
	text-align:center;
	background: url('/images/bg-texture.png');
	font-family: helvetica, arial, sans-serif;
	font-size:12px;
}

a {text-decoration:none; color: #AEC9D7;}

.clear {clear:both;}

#wrap {
	text-align:left;
	width:960px;
	min-height: 100%;
	margin: 20px auto 0 auto;
	background: url('/images/bg-layout.jpg');
}
#main {overflow:auto;
	width: 960px;
	padding-bottom: 120px;
}  

#footer {
	width:960px;
	margin:0 auto;
	background: url('/images/bg-footer.jpg') no-repeat;
	position: relative;
	margin-top: -120px; 
	padding-top:40px;
	height: 80px;
	clear:both;
	line-height:14px;
	text-align:left;} 
	
#footer-left {
	height:55px;
	color: #464A9A;
	width:200px;
	margin-left:20px;
	float:left;
	text-align:center;
	border-top: 1px solid #90B9C6;
	}
#footer-left .bordertrick {
	width:100%;
	height:0;
	border-bottom: 1px solid #BBDAE5;
	}

#footer-right {
	height:55px;
	color: #6D6E70;
	padding-top:5px;
	width: 680px;
	margin-left:20px;
	border-top:1px solid #AEC9D7;
	float:left;
	}
#footer-right .indirizzofooterleft {
width:335px;
margin-right:10px;
float:left;
}
.p_iva {font-size:11px;}
#footer-credits {
	
	width:940px;
	padding:4px 0;
	text-align:right;
	font-size:10px;
	color:#A6A8AB;}
#footer-credits a {
color:#A6A8AB;}
/*Opera Fix*/
body:before {
	content:"";
	height:100%;
	float:left;
	width:0;
	margin-top:-32767px;/
}

#header {
	
	width:960px;
	height:100px;
	background: url('/images/bg-header.jpg');
}

#logo img {border: 0;}

#logo {
	float:left;
	width:180px;
	padding-left:40px;
	padding-top:20px;
	height:80px;}

#header-text {
	float:left; 
	color:#BBBDBF;
	font-family: 'Oswald', sans-serif;
	margin-left:20px;
	padding-top:20px;
	border-bottom:1px solid #AEC9D7;
	width:680px;
	height:80px;
	font-size:15px;
	line-height:20px;
}

#sidebar {
	width:200px;
	padding-left:20px;
	float:left;
}

ul#menu {
	list-style-type: none;
	border-top: 1px solid #90B9C6;
	border-bottom:1px solid #BBDAE5;
	
}
#menu li {margin:0;padding:0;}
#menu a {
	display:block;
	padding-left:20px;
	height:28px;
	font-size:13px;
	border-top: 1px solid #BBDAE5;
	border-bottom: 1px solid #90B9C6;
	line-height:28px;
	color: #EBEEEF;
	width:180px;
}
#menu a:hover {
	color:#464A9A;
}
#menu a.current {
	height:31px;
	line-height:31px;
	background: url('/images/menu-a.png');
	border:0;
	margin-top:-1px;
}
#menu a:hover.current {
	color:#EBEEEF;
}


#submenu a, #submenu-amministrazione a, #submenu-chisiamo a {
	background:url('/images/menu-dropdown-content.png');
	color:#ffffff;
}
#submenu a:hover, #submenu-amministrazione a:hover, #submenu-chisiamo a:hover {
	color:#464A9A;
}

#menu .current-title {
	background:url('/images/menu-dropdown-title.png');
	color:#464A9A;
}
#submenu a.current,#submenu-amministrazione a.current, #submenu-chisiamo a.current {color: #EBEEEF;}


#menu #submenu, #menu #submenu-chisiamo, #menu #submenu-amministrazione {display:none;}

#content {float:left;
	width:680px;
	margin-left:20px;
	margin-top:29px;
}
#home_icone {
margin-top:30px;
float:left;
width:100%;
color: #6D6E70;
font-size:14px;
}
#home_icone img {
	float:left;
	border:0;
}
#home_icone h3 a {
	display:block;
	margin-top:15px;
	margin-bottom:10px;
	font-size:16px;
	font-weight:bold;
	color: #465A9A;
	text-transform:uppercase;

}
#home_icone .icona_amministrazione {
border-right:1px solid #AEC9D7;
width:339px;
float:left;
}
#home_icone .icona_valutazione {
width:339px;
float:left;
}

#home_searchbox {
	width:680px;
	height:211px;
	background-image:url('/images/bg-search.png');
	background-position:bottom;
	background-repeat:no-repeat;
}
#home_searchbox select,#home_searchbox option {
	width:170px;
	display:block;
	height:20px;
	
	color:#404041;
	font-size:12px;
}
#home_searchbox select {
	float:left;
	margin-bottom:10px;
}
#home_searchbox label {
	float:left;
	width: 160px;
	margin-left:10px;
	color:#6D6E70;
	font-size:14px;
	margin-bottom:10px;
}
#home_searchbox .button_cerca {
	float:left;
	margin: -3px 0 0 20px;
	width:70px;
	height:30px;
	background-image:url('/images/button-cerca.png');
	padding:0;
	border:0;
	cursor:pointer;
	background-color:transparent;
}
#home_searchbox .button_cerca:hover {
	background-position:0 -30px;
}
.searchbox_tab {
	font-size:18px;
	text-align:center;
	font-weight:bold;
	line-height:32px;
	width:340px;
	height:32px;
	float:left;
	color:#AEC9D7;
	cursor:pointer;
}
.tab_vendita {
	background-image:url('/images/tab-search-vendita.png');
	background-position:0 -32px;
}
.tab_affitto{
	background-image:url('/images/tab-search-affitto.png');
	background-position:0 -32px;
}
/*#tab_affitto:hover {
	background-position:0 -64px;
	color: #465A9A;
}*/
.searchbox_tab_on {
	background-position:0 0;
	cursor:auto;
	color: #465A9A;
}
#ricerca_text h2 {
	font-size:20px;
	font-weight:bold;
	color:#BBBDBF;
	padding: 29px 10px 15px 10px;

	display:block;
}
.left {float:left;}
.right {float:right;}

/*---risultati----*/

.risultato h3, .risultato_codice {
	font-size:18px;
	font-weight:bold;
	color: #465A9A;
}
.risultato a {
	color: #465A9A;
}

.risultato_info {
	position:absolute;
	bottom:15px;
}
.risultato_dp {
	color: #404041;
	font-size:14px;
	
}

.risultato {
	margin-bottom:15px;
	padding-bottom:15px;
	color: #6D6E70;
	border-bottom: 1px solid #AEC9D7;
	position:relative;
	font-size:12px;
	height:162px;
}
.risultato_anteprima {
	float:left;
	margin-right:30px;
	border:1px solid #465A9A;
	width:220px;
	height:160px;
}
.risultato_right {
	float:left;
	width:428px;
}
.risultato_dettagli {
	bottom:15px;
	position:absolute;
	right:0;
	width:124px;
	height:30px;
}
.risultato_dettagli a {
	display:block;
	width:100%;
	height:100%;
	background-image:url('/images/button-dettagli.png');
	background-repeat:no-repeat;
}
.risultato_dettagli a:hover {
	background-position: 0 -30px;
}
.divisore10 {height:10px;width:1px;}
.divisore5 {height:5px;width:1px;}

#box_filtro {
	width:660px;
	padding: 0 10px;
	height:121px;
	margin-bottom:30px;
	background-image:url('/images/box-result.jpg');
	background-repeat:no-repeat;
	color: #6D6E70;
	font-size:12px;
}
#box_filtro .quantita {
	font-size:14px;
	line-height:30px;
	height:30px;
}
#box_filtro .parametro {
	float:left;
	margin-right:27px;
	line-height:30px;
	height:30px;
}
#box_filtro label  {
margin-right:10px;}
#box_filtro select, #box_filtro option {
	width:130px;
	height:20px;
	font-size:12px;
	color:#404041;
}
#box_filtro .nomargin {margin:0;}
#box_filtro .right {float:right;}
#box_filtro .button_aggiorna{
	
	float:right;
	width:70px;
	height:20px;
	background-image:url('/images/button-aggiorna.png');
	padding:0;
	border:0;
	cursor:pointer;
	background-color:transparent;
	margin-top:4px;

}

#box_filtro .button_aggiorna:hover {
	background-position:0 -20px;
}
#box_dettagli .title, #dettagli_immobile .title {
	font-size:12px;
	color: #6D6E70;
}

#dettagli_immobile, #box_dettagli .dettaglio {
	position:relative;
	font-size:14px;
	
	color:#404041;
}
#dettagli_immobile .grande {
	border: 1px solid #465A9A;
	margin-right:20px;
	float:left;
	width:440px;
	height:320px;
}
/*#dettagli_immobile #button_richiedi {
	position:absolute;
	bottom:0;
	right:68px;
	width:150px;
	height:30px;
	background-image:url('/images/button-richiedi.png');
	cursor:pointer;
	
}*/
#dettagli_immobile #button_classe {
	position:absolute;
	bottom:0;
	right:0;
	width:219px;
	height:60px;
	margin-bottom:-10px;
	
}
#button_richiedi {
	margin-top:20px;
	margin-left:10px;
	width:219px;
	height:41px;
	background-image:url('/images/button-richiedi-big.png');
	cursor:pointer;
	
}
#button_richiedi:hover {
	background-position: 0 -41px;
	
}
#anteprime {
	margin-top:20px;
	float:left;

}
#anteprime .button-foto {
	width:190px;
	height:20px;
	background-image:url('/images/button-foto.png');
}
#anteprime .button-foto:hover {
	background-position: 0 -20px;
}
#anteprime .anteprimeimg {
	margin-right:20px;
	margin-bottom:20px;
	border: 1px solid #465A9A;
	float:left;
	width:55px;
	height:40px;
}

#anteprime .ingrandire a:hover {
	background-position: 0 -20px;
}

#box_dettagli {
	background: url(/images/box-details.jpg);
	width:680px;
	height:181px;
	margin-bottom:30px;
	font-size:12px;
	color: #6d6e70;
}
#box_dettagli .inside {
	padding: 5px 10px 0 10px;
}
#box_dettagli .button_torna a {
	background: url(/images/button-torna.png);
	width:130px;
	height:20px;
	display:block;
}
#box_dettagli .button_torna a:hover {
	background-position: 0 -20px;
}
#box_dettagli h1 {
float:left;
margin-top:10px;
font-size:20px;
color:#465A9A;
font-weight:bold;
}
#codice {
float:right;
margin-top:10px;
text-align:right;
line-height:27px;
}
#codice .thecode {
	color:#465A9A;
	font-size:18px;
	font-weight:bold;
}
#box_dettagli .box_info {
float:left;
width:210px;
padding-right:10px;
height:26px;
line-height:26px;
margin-bottom:3px;
}
#richiedi_immobile {
display:none;
background:url(/images/box-request-flip.jpg);
width:230px;
margin-top:20px;
height:348px;
color:#6d6e70;
font-size:14px;
}
#richiedi_immobile .searchbox_tab{
width:220px;
padding-left:10px;
}
#richiedi_immobile .title {
font-size:12px;
color: #465a9a;
margin:7px 0 17px 19px;
font-weight:bold;
height:16px;
}
#richiedi_immobile .codice {
margin-left:19px;
margin-bottom:9px;
}
#richiedi_immobile label {
margin-left:19px;
display:block;
margin-bottom:1px;


}
input[type="text"], textarea {
border-bottom:1px solid #ccc;
border-right:1px solid #ccc;
border-top:1px solid #ccc;
border-left:1px solid #ccc;
border-radius: 4px; 
-moz-border-radius:4px;
-webkit-border-radius:4px
color:#404041;
font-size:12px;
}
#richiedi_immobile input[type="text"] {
width:195px;
height:20px;
margin-left:19px;
margin-bottom:2px;

}
#richiedi_immobile input[type="submit"]{
	width:199px;
	height:30px;
	background:url(/images/button-invia-long.png);
	cursor:pointer;
	border:0;
	padding:0;
	margin: 10px 0 0 19px;
}
#richiedi_immobile input[type="submit"]:hover, #thebox input[type="submit"]:hover{
	background-position: 0 30px;
}
#result  {
	display:none;
	margin-top:10px;
	font-size:13px;
	color: #465a9a;
	line-height:30px;
	padding-left:10px;
}
#result .box_error {
	background-image:url('/images/box-error.jpg');
	width:193px;
	height:30px;
	color:#CE1717;
	padding-left:27px;
}
#result .box_conferma {
	background-image:url('/images/box-conferma.jpg');
	width:193px;
	padding-left:27px;
	height:30px;
	color:#617A1C;
}
/*--pagine statiche---*/
#page h1 {
	font-size:20px;
	color:#AEC9D7;
	margin-top:0;
	margin-bottom:25px;
	font-weight:bold;
}
#page h2 {
	border-bottom:1px solid #AEC9D7;
	font-weight:bold;
	color:#465A9A;
	font-size:12px;
	margin:15px 0 10px 0;
	padding-bottom:10px;
}
#page h3 {
	
	font-weight:bold;
	color:#465A9A;
	font-size:12px;
	line-height:20px;
	
}
#page {
	font-size:14px;
	color:#6D6E70;
}
#page .specialtext {
	margin:20px 0;
	color:#404041;
}
#page .boxalto {
	width:100%;
	height:120px;
	margin-bottom:30px;
	background-color:#cccccc;
}
.thebox_top {
	background-image:url('/images/box-top.jpg');
	background-repeat:no-repeat;
	width:680px;
	height:32px;
}
.thebox_center{
	background-image:url('/images/box-center.jpg');
	background-repeat:repeat-y;
	width:660px;
	padding: 0 10px;
}
.thebox_bottom {
	background-image:url('/images/box-bottom.jpg');
	background-repeat:no-repeat;
	width:680px;
	height:5px;
}
#thebox ul {
	padding:0;
}
#thebox li {
	display:block;
	width:660px;
	border-top:1px solid #FFFFFF;
	border-bottom:1px solid #BBBDBF;
	height:28px;
	line-height:28px;
}
#thebox li.first {
	border-top:0;
}
#thebox li.last {
	border-bottom:0;
}
#thebox input[type="submit"]{
	width:125px;
	height:30px;
	background:url(/images/button-invia.png);
	cursor:pointer;
	border:0;
	padding:0;
	margin-top:10px;
	float:right;
}
#thebox .floatingbox {
	width:320px;
}
#thebox .title {
	height:28px;
	line-height:28px;
	font-size:12px;
	border-bottom:1px solid #BBBDBF;
	color:#465A9A;
	font-weight:bold;
}
#thebox input[type="text"]{
	margin-bottom:10px;
	line-height:20px;
	width:200px;
	height:20px;
	float:right;
}
#thebox label {
	float:left;
	display:block;
	height:20px;
	line-height:20px;
	margin-bottom:10px;
}
#thebox textarea {
	width:320px;
	height:85px;
}
#page #result {float:right;}
#thebox .bordertrick {
	width:100%;
	margin-top:0;
	height:4px;
	border-top: 1px solid #FFFFFF;
	}
.box_ingrandimento {
	margin-top:5px;
	width:340px;
	height:30px;
	background-image:url(/images/box-visualizzazione.jpg);

}
.box_ingrandimento a {
	color:#465A9A;
	text-align:left;
	line-height:30px;
	padding-left:30px;
	font-size:13px;
}
.persona .nome {
	color:#404041;
}
.persona {
	width:335px;
}
.persona img {
float:left;
margin-right:10px;
width:120px;
height:150px;
}
/*---paginazione----*/

div.pagination {
width:625px;
clear:both;
padding:10px 0 10px 0;
margin:0px;
text-align:center;
float:left;
clear:both;
font-size:11px;
}

div.pagination a {
padding: 2px 5px 2px 5px;
margin-right: 2px;
border: 1px solid #465A9A;
text-decoration: none; 
color: #465A9A;
}
div.pagination a:hover, div.pagination a:active {
border:1px solid #465A9A;
color: #fff;
background-color: #465A9A;
}
div.pagination span.current {
padding: 2px 5px 2px 5px;
margin-right: 2px;
border: 1px solid #465A9A;
font-weight: bold;
background-color: #465A9A;
color: #FFF;
}
div.pagination span.disabled {
padding: 2px 5px 2px 5px;
margin-right: 2px;
border: 1px solid #f3f3f3;
color: #ccc;
}
.nofloat {float:none;}
.specialbold {
	color:#464A9A;
	font-weight:bold;
}
.linkinterno {
	color:#464A9A;
}
.elenco {padding-left:15px;}
