/*  
Theme Name: Real Estate
Theme URI: http://www.whitespacemedia.com.au
Description: Custom Real Estate theme.
Version: 1.0
Author: Matt Heyes & White Space Media
Author URI: http://www.whitespacemedia.com.au

*/

/***** LAYOUT ****/
body {
	margin:0;
	padding:0;
	background:#f2f2f2;
	text-align:center;
	font-size:12px;
	font-family:Arial, Helvetica, sans-serif;
	color:#6b6b6b;
	line-height:1.5em;
        position:static !important;	
}

 #CB_Window tbody {



         position:absolute !important;
		 margin:auto;

}

#wrapper {
	width:980px;
	text-align:left;
	margin:0 auto;
	padding:0 10px 20px 10px;
	background:#ffffff;
	position:relative;
}

#header {
	height:130px;
	width:980px;
	background:url(images/bg-header.png) #1c4b8d top left no-repeat;
	position:relative;
	margin:0 0 10px 0;
	z-index:100;
}

#header img.logo { float:left; position:relative; top:25px; left:20px; }
#header img.to_sell { position:absolute; float:right; top:10px; right:25px; }

#footer { width: 980px; min-height: 70px; border-top: 1px solid #d8dcdf; margin: 10px 0 0 0; }
#left_footer { width: 528px; float: left; display: inline; padding: 10px 0 0 10px; }
#right_footer { width: 340px; float: right; display: inline; text-align: right; padding: 0 20px 0 0; }
#left_footer a { margin-left: 15px;}
#right_footer img.qld { float:left; margin-top:15px; }

#masthead {
	width:980px;
	height:283px;	
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;	
	overflow:hidden;
	margin:0 0 10px 0;
}


#main_content {
	float:right;
	width:630px;
	position:relative;
	padding:0 10px 20px 10px;	
}

#main_content h1 {
	margin:0 0 20px 0;
	padding:15px 0 0 20px;
	font-weight:normal;
	font-size:20px;
	color:#ffffff;
	background:url(images/bg-h1.png) #1b498c top left no-repeat;
	display:block;
	height:30px;
	width:630px;
	position:relative;
	left:-10px;
	
}

/***** SIDEBAR ***/

#sidebar {
	width:320px;
	margin-right:10px;
	float:left;
}

.sidebox {
	position:relative;
	padding:0 20px 20px 20px;
	background:url(images/bg-sidebox.png) #ececec bottom left no-repeat;
	margin-bottom:10px;
}

.sidebox h2 {
	margin:0;
	padding:15px 0 0 20px;
	font-weight:normal;
	font-size:20px;
	color:#ffffff;
	background:url(images/bg-side-h2.gif) #a6a8b1 top left no-repeat;
	display:block;
	height:30px;
	width:300px;
	position:relative;
	left:-20px;
}

.sidemap {
	position:relative;
	padding:0;
	margin-bottom:10px;
}

.sidemap h2 {
	margin:0;
	padding:15px 0 0 20px;
	font-weight:normal;
	font-size:20px;
	color:#ffffff;
	background:url(images/bg-side-h2.gif) #a6a8b1 top left no-repeat;
	display:block;
	height:30px;
	width:300px;
	position:relative;
}

iframe.google_map {
	-moz-border-radius-bottomright: 10px;
	-moz-border-radius-bottomleft: 10px;	
	-webkit-border-bottom-left-radius: 10px;
	-webkit-border-bottom-right-radius: 10px;	
	display:block;
	overflow:hidden;
	width:320;
	height:235px;
}

/****FORM ***/
.sidebox form { padding:10px 0 0 0; min-height:180px; }
.sidebox label { float:left; clear:both; display:block; margin:5px; width:100px; }
.sidebox select { margin:5px; width:160px; }
.sidebox button { border:1px solid #ccc; background:#f5f5f5; font-weight:normal; padding:3px 7px; 	-moz-border-radius: 4px; -webkit-border-radius: 4px; color:#333; margin-top:10px;	 }


/***** TYPOGRAPHY ****/
a { color:#6b6b6b; text-decoration:underline }
a:hover { text-decoration:none}

h2 {
	font-weight:normal;
	font-size:20px;
}

h2.subber {
	background:#e0edff;	
}

h2.feat {

}

a.gallery_item { display:none; } 

/***** MENU ****/

div.menu-main-menu-container {
	position:relative;
	top:101px;
	float:right;
	right:20px;
}


#dropmenu, #dropmenu ul {margin:0; padding:0; list-style-type:none; list-style-position:outside; position:relative; line-height:1.5em; z-index:999; width:100%; background:none; font-weight:bold;}

#dropmenu a {display:block; padding:5px 7px 5px 7px; text-decoration:none; color:#fff;  }

#dropmenu a { 	
	font-size:14px;
	font-weight:bold;
	margin:0 3px;	
	 border-style: solid;
	 border-width: 1px 1px 0 1px;
	 border-color:transparent;	
	}
#dropmenu a:hover { 
	font-size:14px;
	font-weight:bold;
	-moz-border-radius-topright: 7px;
	-moz-border-radius-topleft: 7px;	
	-webkit-border-top-left-radius: 7px;
	-webkit-border-top-right-radius: 7px;		
	 border-style: solid;
	 border-width: 1px 1px 0 1px;
	 border-color: #12315e;
	background: #204f91;
	background: -webkit-gradient(linear, left top, left bottom, from(#3365ad), to(#204f91));
	background: -moz-linear-gradient(top,  #3365ad,  #204f91);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#3365ad', endColorstr='#204f91');
}

#dropmenu ul, #dropmenu ul li { background:#fff; z-index:999; }

#dropmenu ul a, #dropmenu ul a:hover { color:#686868; background:#ffffff;
	-moz-border-radius-topright:0px;
	-moz-border-radius-topleft:0px;	
	-webkit-border-top-left-radius:0px;
	-webkit-border-top-right-radius:0px;		
	 border-style: solid;
	 border-width: 0px 1px 0px 1px;
	 border-color:transparent;	
	 font-size:12px;
	 font-weight:normal;
	 border-bottom:1px dashed #CCC;
	  z-index:999;
}
#dropmenu ul a:hover {background:#888; color:#fff;
	background: #888 !important;
	background: -webkit-gradient(linear, left top, left bottom, from(#888888), to(#888888));
	background: -moz-linear-gradient(top,  #888888,  #888888);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#888888', endColorstr='#888888');
}
#dropmenu li {float:left; position:relative;}
#dropmenu ul {position:absolute; display:none; width:12em; top:29px; left:-1px;}
#dropmenu ul a { }
#dropmenu li ul { width:14.1em;}
#dropmenu li ul a {width:12em; height:auto; float:left; }
#dropmenu ul ul {top:auto;}
#dropmenu li ul ul {left:12em; margin:0px 0 0 10px;}
#dropmenu li:hover ul ul, #dropmenu li:hover ul ul ul, #dropmenu li:hover ul ul ul ul {display:none;}
#dropmenu li:hover ul, #dropmenu li li:hover ul, #dropmenu li li li:hover ul, #dropmenu li li li li:hover ul {display:block; z-index:1000; }



ul.main_menu { 
	margin:0 20px 0 0; padding:0;
	list-style:none;
	position:relative;
	top:100px;
	float:right;
}

ul.main_menu li { 
	margin:0; padding:0;
	list-style:none;
	display:block;
	height:37px;
	float:left;
	font-size:14px;
	font-weight:bold;
}

ul.main_menu li a {
	color:#ffffff;
	display:block;
	height:37px;
	text-decoration:none;
	margin:0 3px;
}

ul.main_menu li a:hover { color:#f3f3f3; background:url(images/bg-menu-left.png) top left no-repeat; }

ul.main_menu li a span {
	margin-left:9px;
	display:block;
	height:30px;
	padding:7px 14px 0 5px;	
}

ul.main_menu li a:hover span {
	background:url(images/bg-menu-right.png) top right no-repeat;
}


/*** Property Listing ***/

.property {
	clear:both;
	border-top:1px solid #e9e9e9;
	display:block;
	padding:10px 0;
	margin:10px 0 20px 0;
}

.property h2 {
	margin:0;
	padding:0 0 7px 10px;
	line-height:24px;
	font-weight:normal;
	font-size:20px;	
}

.property h2 a { text-decoration:none; }

.property a img.property_thumb {
	border:3px solid #e9e9e9;
	float:left;
}

.property a:hover img.property_thumb {
	border:3px solid #1c4b8d;
}

.property_info {
	float:right;
	width:385px;
	padding:0 10px;
}

p.meta { 
	border-top:1px solid #e9e9e9;
	border-bottom:1px solid #e9e9e9;
	padding:10px 0;
	margin:0 0 10px 0;
}

p.meta span { float:right }

.property_gallery {
	height:280px;
	width:648px;
	overflow:hidden;
	position:relative;
	left:-10px;
	margin-bottom:10px;
}

a.gallerylink {
	position:absolute;
	display:block;
	height:280px;
	width:320px;
	top:0px;
	left:160px;
	z-index:99;
	background:url(images/view-gallery.png) no-repeat;
	background-position:200% 200%;
}

a.gallerylink:hover {
	background:url(images/view-gallery.png) center center no-repeat;
}

.contact_map {
	width:455px;
	height:195px;
	float:right;
}

ul.features {
	margin:15px 10px; padding:0;
}

ul.features li {
	width:112px;
	float:left;
	padding:2px 0;
	margin:0  8px 0 8px;
}

/***** CAROUSEL ****/

.anyClass_sales, .anyClass_rentals, .anyClass_complex { margin:0 auto; }

#sale_carousel, #rental_carousel, #complex_carousel {
	height:190px;
	width:960px;
	background:#174484;
	margin-bottom:15px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;	
	padding:10px;
    position: relative; 
    overflow: hidden; 	
}

img#prev_prop { cursor:pointer }
img#next_prop { cursor:pointer }

div#previous { float:left; width:49px; padding-right:5px; position:relative; top:80px; margin-right:5px; }
div#next { float:right; width:49px; padding-left:5px; position:relative; top:80px; }

ul#carousel { list-style:none; padding:0; margin:0 auto; float:left; width:960px; height:190px; overflow:hidden; float:left; }
ul#carousel li.carousel_item  { list-style:none; padding:5px; margin:0 10px; border:2px solid #cccccc; width:125px; overflow:hidden; float:left; display:inline-block; height:175px; line-height:18px; background:#fff; }
ul#carousel li.carousel_item a { text-decoration:none; }
ul#carousel li.carousel_item a b  { /*color:#ff9900 !important;*/ }
ul#carousel li.carousel_item a img.carousel_img { float:left; border:1px solid #cccccc; margin-bottom:5px; width:125px; height:80px; }
ul#carousel li.carousel_item a:hover { text-decoration:underline; }
ul#carousel li.carousel_item a:hover img.carousel_img { border:1px solid #174484; }
ul#carousel li.carousel_item span { font-size: 12px;  }

ul.carousel_changer { 
	margin:0 0 0 30px;; padding:0;
	list-style:none
}

ul.carousel_changer li { 
	margin:0; padding:0;
	list-style:none;
	float:left;
	font-size:14px;
	font-weight:bold;
}

ul.carousel_changer li a {
	display:inline-block;
	margin:0; padding:0;
	background:#0c5fad;
	color:#fff;
	float:left;
	text-decoration:none;
	-moz-border-radius-topright: 7px;
	-moz-border-radius-topleft: 7px;	
	-webkit-border-top-left-radius: 7px;
	-webkit-border-top-right-radius: 7px;	
	padding:7px 15px;
	margin:0 2px;
}

ul.carousel_changer li a.current, ul.carousel_changer li a:hover { background:#174484; }
ul.carousel_changer li a.notcurrent { background:#0c5fad !important; }
a img.feat_thumb { border:3px solid #dddddd; margin-top:20px; }
a:hover img.feat_thumb { border:3px solid #1b498c; }

h2.smallh2 {
	font-size:16px;
	font-weight:bold;
	margin:0 0 15px 0;padding:10px 0 0 10px;
	border-top:1px solid #D8DCDF;
	color:#999;
}

/* == WordPress WYSIWYG Editor Styles == */

.entry-content img {
	margin: 0 0 1.5em 0;
	}
.alignleft, img.alignleft {
	margin-right: 1.5em;
	display: inline;
	float: left;
	}
.alignright, img.alignright {
	margin-left: 1.5em;
	display: inline;
	float: right;
	}
.aligncenter, img.aligncenter {
	margin-right: auto;
	margin-left: auto;
	display: block;
	clear: both;
	}
.alignnone, img.alignnone {
	/* not sure about this one */
	}
.wp-caption {
	margin-bottom: 1.5em;
	text-align: center;
	padding-top: 5px;
	}
.wp-caption img {
	border: 0 none;
	padding: 0;
	margin: 0;
	}
.wp-caption p.wp-caption-text {
	line-height: 1.5;
	font-size: 10px;
	margin: 0;
	}
.wp-smiley {
	margin: 0 !important;
	max-height: 1em;
	}
blockquote.left {
	margin-right: 20px;
	text-align: right;
	margin-left: 0;
	width: 33%;
	float: left;
	}
blockquote.right {
	margin-left: 20px;
	text-align: left;
	margin-right: 0;
	width: 33%;
	float: right;
	}

/* Captions */
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}
/* End captions */
