/* browser reset */
* { margin: 0; padding: 0; } /* note: this is shorthand, we may want to come up with a more nuanced set of browser reset rules. */
ul, ul li { list-style: none; }
fieldset, img, a img, td { border: none; }

/* global elements */
.clear { clear:both; }

/* not_own hides listings which don't belong to the user. this should probably not be part of the theme css. */
.not_own { display:none; }

h1, h2, h3, h4, h5, h6, p { margin-bottom:1em; }


/*********************
layout 
**********************/


body {  }
.nested {
	display: block;
	position: relative;
	width: 960px;
	margin-left: -480px; /* negative half the value of the page width */
	left: 50%; }

/* header elements */
/* identity */
#identity { overflow:hidden; /*background:#000;*/ }
#identity .logo { float:left; }
#identity .brokerage { float:right; }
#identity .brokerage img { }
#identity a { }


/* navigation */
#nav {  }
#nav a.homelink { display: block; float:left; padding-right:1em; }
#nav ul { overflow: hidden; }
#nav li { float: left; }
#nav li a { padding-right:1em; }
#nav .nested { margin: 0 auto; left: 0; }

/* nav functions */

#nav .functions {
float: right;
margin: 12px 0 8px;
position: relative;
}

/* sub-navigation */


#submenu{
	display: none;
	position: absolute;
	z-index: 9950;
	width: 190px;
	background:#aaa;
}

.sm_listitem {
	display:block;
	height:20px;
	line-height:20px;
	overflow:hidden;
	padding:3px 0; }

#submenu li a {	
	color:#FFF;		
	padding:5px;
}

#submenu li span a{
	width: 7px;
}

.subactive{
    background:#888;
}

#submenu a {
   text-decoration:none;
}

.submenuitems{
	display: none;
}
	
.sm_handle{
	position: relative;
	width: 28px;
	height: 15px;
	background:url("/static/images/admin/admin_pos_line_nav.png") no-repeat scroll center center transparent;
	cursor:move;
	display: block;
	float: left;
}

/* page title */
#page_title { }
#page_title h1 { 
	display: block;
	width: 960px;
	margin: 0 auto; }


/* content area elements */
#content_area { overflow:hidden; }
#content {  }


/* columns */
.column1_2 { float: left; width: 512px; overflow: hidden; margin-right:32px; } /* note on naming convention : column1_2 means this is column one in a two-column layout. i.e. A three-column layout would have three associated styles: column1_3, column2_3, and column3_3 */
.column2_2 { float: left; width: 352px; color: #6d6d6d; }

#intro { overflow: hidden; padding-bottom:2em; }

.column2_2 .content { padding:16px 0; }

.contact_info { clear:both; }

/* footer elements */
#footer { }
#footer #disclaimer {
	width: 896px;
	min-height: 41px;
	border-top:1px solid #CCCCCC;
	clear:both;
	color:#666666;
	display:block;
	float:left;
	font-size:12px;
	padding:20px 0 20px 0;
}
	
#footer #disclaimer img {
	float:left;
	margin-right:15px;
}

#footer ul#footer_nav { overflow: hidden; padding-bottom:20px; }
#footer ul#footer_nav li { float: left; padding-right:1em; }

#footer #realty_ninja {
	float:right;
	clear:right;
}


/*********************
address
**********************/

.address .street_address { display:block; }
.address .city,
.address .province,
.address .zip { display:inline; }
.address .phone,
.address .email { display:block; }

/*********************
form elements
**********************/

input[type="text"] {
    width: 200px; }

textarea {
    border: 1px solid grey;
    width: 289px; }

input.submit { font-size:15px; vertical-align: top; margin-bottom: 0; float: right; }
input.submit: hover { cursor: pointer; cursor: hand; }

.form-right {
	float:right;
	width:252px; }

.form-left {
	float:left;
	width:252px; }

.form_error {
	border:1px solid #c04040;
	background:#fb5d5d;
	color:#FFF;
	padding:6px;
	margin-right:6px;
	margin-top:30px;
	font-size:12px; }

.form_success {
	border:1px solid #4df05c;
	background:#c2ffb9;
	color:#2c7a1f;
	padding:6px; }




/*********************
listings page
**********************/

table.listings { width: 894px; text-align: left; border: 1px solid #d1d1d1; background: #e7e7e7; }
table.listings thead { background: #e7e7e7; font-size: 12px; }
table.listings thead th { background: #e7e7e7 repeat-x bottom; padding:10px 15px 10px 5px; cursor:pointer; cursor:hand; }
table.listings tbody tr { vertical-align: middle; }
table.listings tbody td { vertical-align: middle; background: #F9F9F9 url('/static/theme01/images/listing-td-bg.gif') repeat-x bottom; }
table.listings td, table.listings th {padding: 7px; border-top: 1px solid #d1d1d1; border-left:1px solid #d1d1d1; }
table.listings td.image_cell { width: 102px; padding: 7px; border-left:0px; }
table.listings td.image_cell img {
	border:1px solid #e8e8e8;
	box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.35);
	-moz-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.35);
	-webkit-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.35);
	margin:6px; }
table.listings td a { text-decoration: none; }


.listings .header {
    background: url(/static/images/arrow_neutral.png) no-repeat right center;
	border-left: 1px solid #d1d1d1;
}

.listings .headerSortUp {
    background: url(/static/images/arrow_up_active.png) no-repeat right center; }
.listings .headerSortDown {
    background: url(/static/images/arrow_down_active.png) no-repeat right center; }

.listings .highlighted {
    background-color: #e4e4e4;
	background-image: none;
	cursor:pointer; }
	


/*********************
=listing_details page
**********************/

body.listing_details #content { /*padding: 24px 32px;*/ }
body.listing_details #main_img { margin: 0; border: 1px solid #d1d1d1; width: 510px; width:auto !important; max-width: 510px; height:384px; display:block; }
body.listing_details .image_list { overflow: hidden; padding: 5px 0; }
body.listing_details .listing-image { margin: 0 5px 5px 0; width: 78px; height: 58px; float: left; border: 1px solid #d1d1d1; cursor: pointer; }
body.listing_details table.details { width:350px; border-top: 1px solid #cfcfcf; border-right: 1px solid #cfcfcf; margin-bottom:14px; float:right; }
body.listing_details table.details td { border-bottom: 1px solid #cfcfcf; border-left: 1px solid #cfcfcf; padding: 7px; background: #fcfcfc url('/static/theme01/images/listing-detail-odd-bg.gif') repeat-x bottom; color: #3a3a3a; font-size: 12px; line-height: 18px; }
body.listing_details table.details label { font-weight: bold; width: 95px; display: block; }
body.listing_details table.details tr.even td { background: #eaeaea url('/static/theme01/images/listing-detail-even-bg.gif') repeat-x bottom;}
.info_request { padding: 9px; border: 1px solid #CFCFCF; background: #e8e8e8; overflow: hidden; }
.info_request h3 { color: #555; font-size: 16px; margin-bottom:16px; font-weight: normal; }
.info_request label { color: #3f3f3f; font-size: 12px; line-height: 32px; min-height: 32px; width: 87px; display: block; float: left; font-weight: bold; }
.info_request input[type="text"] { background:#fff; padding: 8px 5px 2px 5px; line-height: 20px; min-height: 20px; width: 233px; border: 1px solid #d0d0d0; vertical-align: top; margin-bottom: 5px; }
.info_request textarea { padding: 8px 5px 2px 5px; width: 323px; height:100px; border: 1px solid #d0d0d0; font-size: 12px; line-height: 15px; overflow-y: auto; float: left; margin-bottom: 5px; }
.info_request .form_error { margin-right:0; margin-bottom:8px; margin-top:0; }




/*********************
=feedback
**********************/

#content .success {
	border:1px solid #4df05c;
	background:#c2ffb9;
	color:#2c7a1f;
	padding:6px; }
.empty { display: none; }	
.singleitem { margin-left: 32px; }

.img_center {
	float: none;
	display:block;
	margin-left:auto;
	margin-right: auto; }
.img_left {
	float: left;
	margin-right: 18px;
	margin-left: 0px ; }
.img_right {
	float: right;
	margin-right: 0px;
	margin-left: 18px; }


/*********************
default styles for forms on static pages
**********************/

body.static .column1_2 form {
	overflow:hidden; }
body.static .column1_2 fieldset {
	float:left;
	display:block;
	min-height:64px; }
body.static .column1_2 fieldset.left {
	width:239px;
	padding-right:28px; }
body.static .column1_2 label {
	font-size:13px;
	font-weight:bold;
	display:block;
	padding-top:10px; }
body.static .column1_2 input[type="text"] {
	width:232px;
	min-height:20px;
	line-height:20px;
	border:1px solid #ccc;
	background: #fff url('/static/images/bg-input-generic.gif') repeat-x left top;
	padding: 6px; }
body.static .column1_2 select {
	width:237px;
	min-height:20px;
	line-height:20px;
	border:2px solid #ccc;
	padding: 6px 5px 4px; }
body.static .column1_2 select option {
	padding: 2px 5px; }
body.static .column1_2 form textarea {
	font-family: Arial, sans-serif;
	font-size:14px;
	border:1px solid #ccc;
	width:494px;
	height:100px;
	padding: 6px;
	background: #fff url('/static/images/bg-input-generic.gif') repeat-x left top;
	margin-bottom:10px; }


#form_overlay{
    background-color: white;    
    position: absolute;
    top: 20px;
    left: 0px;
    width: 100%;
    height: 400px;
    z-index: 25;
}