html, body { height: 100%; margin: 0px; padding: 0px; border: 0px; }
html { background: #f5f5f5 url('../images/bg_f5f5f5.jpg') repeat-x fixed bottom left; }
body { background: url('../images/header_bg.png') repeat-x; height: 85px; text-align: center; font-family: Verdana, Tahoma, Arial, sans-serif; }

#header {
	background-image: url('../images/header.png');
	background-position: top center;
	background-repeat: no-repeat;
	width: 947px;
	height: 85px;
	margin-left: auto;
	margin-right: auto;
}

img { border: 0px; }
.button { position: relative; top: 20px; left: 229px; margin: 0px; }
.button a { text-decoration: none; }
.button img { width: 120px; height: 39px; background-position: top left; background-repeat: no-repeat; }
.button #logo { position: relative; top: 0px; left: -454px; }
.button #logo img { background-image: url('../images/logo.png'); width: 81px; height: 81px; }
.button #logo img:hover { background-image: url('../images/logo_hover.png'); }
.button #chisiamo img { background-image: url('../images/chisiamo_s.png'); position: relative; top: -43px; left: 120px; }
.button #chisiamo img:hover { background-image: url('../images/chisiamo_s_h.png'); }
.button #dovesiamo img { background-image: url('../images/dove_siamo.png'); }
.button #dovesiamo img:hover { background-image: url('../images/dove_siamo_hover.png'); }
.button #contatti img { background-image: url('../images/contatti_s.png'); }
.button #contatti img:hover { background-image: url('../images/contatti_s_h.png'); }
#container { width: 775px; position: relative; left: 2px; margin-left: auto; margin-right: auto; margin-top: 40px !important; margin-top: 30px; text-align: left;}

#main {
	text-align: left;
	width: 600px;
	background: #f0ece9 url('../images/main.jpg') scroll no-repeat;
	padding-top: 6px;
	float: left;
	min-height: 300px;
}
#main_area { 
	width: 600px !important; 
	width: 560px; 
	min-height: 620px;
	height: 100% !important;
	height: 620px;
	background-image: url('../images/main_border.gif');
	background-repeat: repeat-y;
	padding: 0px 20px;
}
#main_area a { color: #fcfcfc; text-decoration: none; }
#main_area a:hover { text-decoration: underline; }

#main_wrap {
	width: 600px; 
	height: 6px;
	background-color: #f5f5f5;
	background-image: url('../images/main_btm.jpg');
	background-repeat: no-repeat;
}

#banner_large {
	float: left;
	width: 600px;
	text-align: center;
	margin-top: 10px;
}

/******** MENU ****************/
.rightbar {
	width: 143px !important;	
	width: 113px;
	margin-left: 632px !important;
	margin-left: 629px;
	margin-bottom: 10px;
	margin-top: 0px;
	background: #efebe8 url('../images/nav.jpg') no-repeat scroll bottom left;
}
.rightbar_title {
	width: 143px !important;	
	width: 113px;
	height: 20px;
	
	background-image: url('../images/nav_top.jpg');
	background-repeat: no-repeat;
	font-family: Arial, Verdana, Tahoma, sans-serif;
	font-size: 12px;
	padding-left: 30px;
	padding-top: 3px;
}

.rightbar form {
	font-size: 10px;
	font-weight: bold;
	position: absolute;
	padding: 5px 8px; 
	line-height: 14px; 
	width: 124px;
}
.rightbar fieldset {
	display: inline;
	width: 124px;
	margin: 0px;
	padding: 0px;
	border: 0px;
}
.rightbar input {
	width: 119px;
	height: 16px;
	border: 1px solid black;
	font-size: 11px;
	padding: 1px 1px 0px 1px;
}

.rightbar select {
	width: 123px;
	height: 18px;
	border: 1px solid black;
	font-size: 11px;
	margin-bottom: 5px;
}

.rightbar #okbutton {
	display: block;
	text-align: right;
	border-bottom: 3px double black;
	height: 35px;
	margin-bottom: 5px;
	margin-top: -4px !important;
	margin-top: -8px;
}

.rightbar input#submit {
	width: 40px;
	height: 30px;
	margin-bottom: 10px;
	background: transparent url("../images/ok.png") no-repeat center top;
	border: 0px;
	cursor: pointer;
}
.rightbar input#submit:hover {
	background: transparent url("../images/ok_h.png") no-repeat center top;
}

#tutteproposte img { width: 120px; height: 29px; margin-left: 3px; background-position: top left; background-repeat: no-repeat;  background-image: url('../images/tutte.png'); width: 120px; height: 29px; }
#tutteproposte img:hover { background-image: url('../images/tutte_h.png'); }

#bar_banner {
	background: none;
	text-align: center;
}

#bar_ricerca {
	height: 300px !important;
}

#bar_ricerca input#opminprezzo, #bar_ricerca input#opmaxprezzo {
	width: 57px;
}
#bar_ricerca input#opminprezzo {
	margin-right: 2px;
}

#bar_ricrif {
	height: 80px !important;
}

#bar_ricrif input#riferimento {
	width: 80px;
}

#bar_immobili{
	height: 250px;
}

#bar_admin {
	height: 80px;
}
.rightbar ul {
  list-style-type:none;
  padding: 0px;
  margin: 10px 0px 0px 0px;
  padding-left: 0px;
  font-size: 11px;
  width: 143px;
}
.rightbar li {
	list-style: inside square;
	margin: 0px;
	margin-bottom: 7px;
	padding: 0px 8px;
	border-bottom: 1px dotted black;
}
.rightbar li:hover {
	background-color: #ba7e7e;
	color: white;
}
.rightbar li:hover a{
	color: white;
	font-weight: bold;
	font-family: Verdana, Tahoma, Arial, sans-serif;
}
.rightbar a {
	color: black;
	font-family: Verdana, Tahoma, Arial, sans-serif;
	text-decoration: none;
}

/** Pagine descrittive **/
#descriptive {
	font-family: Arial, Verdana, Tahoma, sans-serif;
	font-size: 12px;
	color: #000;
	margin-top: 20px;
	text-align: justify;
}
#descriptive a { color: #000; text-decoration: underline; }
#descriptive a:hover { text-decoration: none; }

#descriptive table {
	background-color: #6a6a6a;
	color: white;
	border: 1px solid #000;
}
#descriptive table td { padding: 3px; }
#descriptive table tr.header { background-color: #4a4a4a; height: 30px; font-weight: bold; }
#descriptive td input.text {
	width: 150px;
}
#descriptive td textarea {
	width: 97%;
	height: 100px;
	font-size: 12px;
}


/******* Homepage **********/
h3 {
	display: inline;
	color: #cc1111;
	text-decoration: underline;
	font-variant: small-caps;
}
.mainleft {
	position: absolute;
	float: left;
	width: 260px;
	min-height: 300px;
}
.mainright {
	position: absolute;
	margin-left: 300px !important;
	margin-left: 300px;
	width: 260px;
}
#vetrina {
	top: 120px;
	min-height: 360px;
	height: auto !important;
	height: 360px;
}
#occasioni {
	top: 120px;
	min-height: 360px;
	height: auto !important;
	height: 360px;
}
#prestigio {
	top: 475px;
	min-height: 150px;
	height: auto !important;
	height: 150px;
}
#mare {
	top: 475px;
	min-height: 150px;
	height: auto !important;
	height: 150px;
}

/*********** TABLE **************/
/** Immobili **/
table.immobili { height: 1px; width: 570px; margin: 10px 0px; margin-left:-5px; }
table.immobili_big { height: 1px; }

table.immobili tr, table.immobili_big tr { padding-bottom: 10px; }
table.immobili td, table.immobili_big td,
table.immobili th, table.immobili_big th {
	vertical-align: middle;
	font-family: Arial, Verdana, Tahoma, sans-serif;
	font-size: 12px;
	color: #fcfcfc;
}

table.immobili td, table.immobili th { padding: 2px 3px 0px 6px; height: 30px; margin-right: 1px; }
/*table.immobili td { background-color: #7a7a7a; }
table.immobili tr.alt td { background-color: #6a6a6a; }*/
table.immobili td { background-color: #b56262; }
table.immobili tr.rowodd td { background-color: #a34141; }
table.immobili td { background-color: #6a6a6a; }
table.immobili tr.rowodd td { background-color: #4a4a4a; }
table.immobili tr.hidden td { background-color: #000000; }

table.immobili tr:hover td { background-color: #b56262; text-decoration: underline; cursor:pointer; }

table.immobili_big td {
	height: 100px;
	width: 245px;
	vertical-align: middle;
	background-image: url('../images/annuncio.png');
	background-repeat: no-repeat;
	background-position: center left;
	padding: 0px 0px 0px 15px;
}
table.immobili_big td div {
	display: table-cell; height: 100px; vertical-align: middle; 
}

table.grey td {
	background-image: url('../images/annunciog.png');
}

table.immobili_big tr.header td {
	height: 40px;
	background-position: top left;
}

table.immobili_big table {
	width: 245px;
	border: 0px solid black;
}
table.immobili_big table td {
	padding: 0px;
	vertical-align: middle;
	border: 0px solid black;
	background-image: none;
}
table.immobili_big table td.imgtd {
	width: 130px;
}

div#vetrina table.immobili_big tr.header td { background-image: url('../images/vetrina.png'); }
div#occasioni table.immobili_big tr.header td { background-image: url('../images/occasioni.png'); }
div#prestigio table.immobili_big tr.header td { background-image: url('../images/prestigio.png'); }
div#mare table.immobili_big tr.header td { background-image: url('../images/mare.png'); }

table.immobili_big tr.header td { padding: 0px; }
table.immobili_big tr.header td a { display: block; width: 100%; height: 100%; }
table.immobili_big tr.header td a:hover { text-decoration: none; }


table.immobili th, table.immobili_big th {
	background-color: #a34141;
	background-image: none;
	height: 35px;
	text-decoration: none;
}
table.immobili th:hover {
	background-color: #b56262;
	text-decoration: underline;
	cursor:pointer;
}
table.immobili th.foto:hover {
	text-decoration: none;
}

table.immobili th.sortasc,
table.immobili th.sortdesc {
    background: #932121 url('../images/down.gif') no-repeat center right;
}

table.immobili th.sortdesc {
    background-image: url('../images/up.gif');
}

table.immobili .integer{
	text-align: right;
	padding-right: 6px;
}

table.immobili #prezzo {
	width: 70px;
}

table.immobili td.foto { width: 60px; }
table.immobili img { width: 60px; }
 
table.immobili_big strong { font-size: 13px; }
/*table.immobili_big img { margin-right: 10px; border: 1px solid white; vertical-align: middle; margin-top: auto; margin-bottom: auto; float: left;}*/
table.immobili_big img { border: 1px solid white;}

span#azioni {
	display: block;
	width: 250px;
	background: #e1ddda;
	font-size: 12px;
	padding: 5px;
	margin-left: auto;
	margin-right: auto;
}
span#azioni a {
	color: black;
	background-color: #dcc;
	margin-right: 10px;
}
span#azioni a:hover {
	background-color: #caa;
}

/**************************************************/

/** Autocomplete menu **/
div.autocomplete, span.loader {
  position:absolute;
  
  background-color: #eee;
  border: 1px solid #888;
  margin: 0;
  padding: 0;
  width: 210px;
}
div.autocomplete ul {
  list-style-type:none;
  margin:0;
  padding:0;
}
div.autocomplete ul li.selected { background-color: #6a6a6a; color: #eee;}
div.autocomplete ul li {
  list-style-type:none;
  display:block;
  margin:0;
  padding:2px;
  height: 25px;
  cursor:pointer;
}
div.autocomplete ul li em {
	text-decoration: underline;
	font-weight: bold;
	font-style: normal;
}
span.loader {
	text-align: center;
	width: 124px;
}
