/* modification of base elements, and classes dedicated to an element */

#home_back {
	background-color: #FFFFFF;
}

#home_back ul {
	width: 100%;
	margin: 0px;
	padding: 5px 0px 0px;
	list-style-type:none;
	text-align:center;
}

#home_back ul li {
	width: 115px;
	height: 30px;
	padding: 5px 35px 5px 33px;
}

#home_back ul li a:link, #home_back ul li a:visited {
	display:block;
	width: 115px;
	height: 30px;
	font-weight: bold;
	
}

li.homelink  {
	float: left;
	background: transparent url('../images/homebutton.jpg') top center no-repeat;
}

li.backlink  {
	float: right;
	background: transparent url('../images/backbutton2.jpg') top center no-repeat;
}

/*####################################################################*/
/* Listing pages */

#home_back {
	background-color: #FFFFFF;
	padding: 10px 5px 0px;
	font-family:Verdana, Arial, Helvetica, sans-serif;
}

#home_back a:link, #home_back a:visited {
	display:block;
	color:#666666;
	width:89px;
	height: 30px;
	text-decoration:none;
	padding: 2px 12px 0px 0px;
	text-align:right;
	background: transparent url('../../images/button2.jpg') top right no-repeat;
}

#advertisment {
	margin:0px;
	text-align:center;
	padding:0px;
}

#advertisment object {
	padding:0px;
	margin:0px;
}

.pbanner {
	margin: 0px 5px -5px;
}

.listing {
	position: relative;
	width: 100%;
	min-height: 100px;
	overflow:visible;
	margin:  5px;
	padding: 4px;
}

.l3 {
	background: url('../images/listing-gold-bg.jpg') top left repeat-x;
	border: 1px solid #C0CA00
}

.l2, .notice {
	background: url('../images/listing-silver-bg.jpg') top left repeat-x;
	border: 1px solid #DADADA;
}

.l1 {
	min-height: 50px;
	border: 1px solid #CCCCCC;
}

.listing img.banner, .listing object {
	position:relative;
	display: block;
	margin: -4px;
	margin-bottom: 0px;
	padding: 0px;
}

.listing img.logo {
	float: left;
	margin: 5px 5px 10px 5px;
}

.l3 img.logo {
	border: 1px solid #C0CA00;
}

.l2 img.logo {
	border: 1px solid #FFFFFF;
}

.l1 img.logo {
	border:none;
}

.listing h2 {
	font-size: 1.2em;
	width:auto;
	text-align: center;
	margin: 0px;
	padding: 0px;
}

#content .listing h2 a:link, #content .listing h2 a:visited {
	color: #9DA5AB
}

.listing ul {
	display:block;
	width: auto;
	margin: 0px;
	padding: 3px 0px 0px;
}

.listing li {
	display: block;
	float: left;
	width: 30%;
	margin-left: 0px;
}

.listing li img {
	vertical-align: middle;
}

.listing p.address {
	line-height: 1.5em;
	font-weight:bold;
}

.listing p.contacts {
	line-height: 1.5em;
}

.listing a {
	color: #0066CC;
	text-decoration: underline;
}
	
.listing a:visited {
	color: #0066CC;
}
	
.listing a:hover {
	color: #3366FF;
}

#listing_banner {
	border: 1px solid #CCCCCC;
	width: auto;
	overflow: hidden;
	margin: 0px 5px;
	padding: 0px;
}

* html #listing_banner img { margin-bottom: -2px;} /* IE 6 */
*+html #listing_banner img { margin-bottom: -2px;} /* IE 7 */

#listing_logo {
	position:relative;
	width: 768px;
	margin: 0px 5px;
	margin-top: 1em;
	padding: 0px;
	background: #FFFFFF;
	border: 1px solid #B7CDE2;
}

#listing_logo img {
	display:block;
	margin: 5px;
	float: left;
	border: 1px solid #CCCCCC;
}

#listing_logo h1 {
	text-align:center;
	padding: 10px 0px;
	font-size: 1.6em;
	width:auto;
}

#listing_contact_details {
	margin: 0px 5px;
	margin-top: 1em;
	padding:0px;
	width: 768px;
	background: #FFFFFF;
	border: 1px solid #CCCCCC;
}

#listing_contact_details h1 {
	padding: 0px 10px;
	font-size: 1.5em;
	width:auto;
}

#listing_contact_details div {
	float: left;
	margin: 0px;
	text-align: left;
}


#lcd_property {
	width: 64%
}

#lcd_property div {
	width: 50%;
}

#lcd_contact {
	width: 32%;
}

#listing_contact_details h2 {
	width: auto;
	padding: 2px 10px 3px;
	margin: 0px;
}

#listing_contact_details p {
	padding: 2px 10px;
	margin: 0px;
}

#listing_more_details {
	width: 768px;
	margin: 0px 5px;
	margin-top: 1em;
	padding: 0px;
	background: #FFFFFF;
	border: 1px solid #CCCCCC;
}

#listing_more_details div {
	float: left;
	width: 33%;
	margin: 0px;
	text-align: left;
}

#listing_more_details h2 {
	width: auto;
	padding: 5px 10px 0px;
	margin: 0px;
}

#listing_more_details p {
	padding: 2px 10px;
	margin: 0px;
}

#listing_info {
	width: 768px;
	margin: 0px 5px;
	margin-top: 1em;
	padding: 0px;
	background: #FFFFFF;
	border: 1px solid #CCCCCC;
}

#listing_info h2 {
	width: auto;
	padding: 5px 10px 0px;
	margin: 0px;
}

#listing_info p {
	padding: 2px 10px;
	margin: 0px;
}

#listing_form {
	width: 768px;
	margin: 0px 5px;
	margin-top: 1em;
	padding: 0px;
	background: #FFFFFF;
	border: 1px solid #CCCCCC;
}

#listing_form h2 {
	width: auto;
	padding: 5px 10px 0px;
	margin: 0px;
}

#listing_form label {
	width: 99%;
	display: block;	
}

#listing_form span.leftcol {
	float: left;
	clear:left;
	width: 20%;	
	text-align: right;
	font-weight: bold;
	padding: 4px;
}

#listing_form span.rightcol {
	float: left;
	padding: 4px;
}

#listing_gallery {
	position:relative;
	width: 768x;
	margin: 0px 5px;
	margin-top: 1em;
	padding: 0px;
	background: #FFFFFF;
	border: 1px solid #CCCCCC;
	z-index: 1;
}

#thumbnails {
	width: 390px;
	float: left;
	margin: 0px;
	padding: 0px;
	list-style-type:none;
	border: 0px solid #00FF00;
}

* html #thumbnails { /* IE 6 410 */
	position:relative;
	top: 0px;
	left: 0px;
	float:left;
	width: 410px;
	z-index:10;
}

#thumbnails li {
	display:block;
	float: left;
	width: 120px;
	height: 120px;
	text-align: center;
	margin: 5px;
	overflow: hidden;
	border: 0px solid #00FF00;
}

#thumbnails a img {border:none; }

#images {
	display: block;
	float: right;
	width: 360px;
	margin: 0px;
	padding: 5px;
	text-align:center;
	list-style-type: none;
	border: 0px solid #FF0000;
}

* html #images { /* IE 6 350 */
	position:relative;
	float: right;
	top:0px;
	right: 0px;
	width:320px;
	z-index: 10;
}

#images li {
	width: 100%;
	text-align: center;
	margin: 0px;
	padding: 0px;
	display: inline;
}

#images li img {
	display: none;
}

ul.paging {
	width: 100%;
	text-align: center;
	margin:1em 0px;
	padding: 0px;
}

ul.paging li {
	display: inline;
}

ul.paging a.current {
	font-weight: bold;
	font-size: 1.1em;
}

#filter {
	background-color: #FFFFFF;
	border: 1px solid #86B3DD;
	margin: 0px;
	padding: 5px;
}

.homelink {
	float:right;
	padding: 5px;
	z-index:10;
}

#search_left p a {
	font-weight:bold;
}

/*####################################################################*/
/*general styles/overrides - may have to overwrite any of above styles*/


.border {
	border: 1px solid #dadada;
}

.left {
	text-align: left;
}

.center {
	text-align:center;
}

.right {
	text-align: right;
}

.strong{
	font-weight:bold;
}

.alert {
	font-weight: bold;
	text-align: center;
	color: #FF0000;
}

.compact {
	 font-size:smaller; 
	 letter-spacing:-1px;
}

.clear {
	display: block;
	width: 100%;
	height: 1px;
	clear: both;
}
