/*  
Theme Name: WP-RealEstate
Theme URI: http://www.wp-realestate.ca
Description: A premium layout for Wordpress powered Real Estate web sites with multiple functionalities based on the Brantford Magazine theme by Michael Oesler. Please note that the post-template, custom fields, loan and mortgage, and image functionality is specific to the use of specific plug-ins as listed in the styles.css header.

Required Plugins:

* wp-post-skin - http://blog.thedezine.com/pro/?p=1661
* More Fields - http://labs.dagensskiva.com/plugins/more-fields/
* Mortgage Loan Calculator - http://www.mlcalc.com/wp-widget.htm
* NextGEN Gallery - http://alexrabe.de/?page_id=80

Suggested Plugins:

* Revision Diet - http://www.davidjmiller.org/revision-diet/
* Contact Form plugin - your choice
* Newsletters by Tribulant Software - http://tribulant.com/products/view/1/wordpress-mailing-list

Version: 2.0 (released 2010-10-01)
Author: Peter Fullerton
Author URI: http://www.digitalsynergy.ca
Compatibility: tested to wp v.2.9.

The CSS, XHTML and design is released under GPL:
http://www.opensource.org/licenses/gpl-license.php

Credits
=======

For the plugin that makes this all possible - wp-post-skin written by Kaloyan K. Tsvetkov  - http://kaloyan.info/ - 
which makes possible to use POST TEMPLATES for formatting layout of common-themed posts in much the same way as
PAGE TEMPLATES work.

The "Superior animated feed icon" at http://abdussamad.com/archives/93-How-to-mess-with-your-readers.html

Thanks to Darren Hoyt and his "Mimbo" theme which has been a great inspiration in the use of custom fields.

Thanks to Patrick Griffiths for the dropdown menus script. - http://www.htmldog.com/articles/suckerfish/dropdowns/

THANK YOU ALL!!!


/******************************************
*   HTML Elements                         
******************************************/

* {
	margin:0;
	padding:0;
	}

body,html {
	min-height:101%;
	}
	
body {
	background: #333;
	color: #333;
	padding: 13px 0 25px 0;
	}

body, select, input, textarea {
	line-height:1.5em;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	}
	
p {	
	margin: 15px 0;
	}

a:link, a:visited {
	color: #840000;
	text-decoration:none
	}

a:hover, a:active {
	color:#333;
	text-decoration:underline;
	}

hr {
	display: block;
	height:1px;
	background:#333;
	border:0;
	}

small {
	font-size: 0.9em;
	padding:3px 6px;
	}

/****** Images ****************************/

/*img, a:link img, a:visited img{
	padding:1px;
}
img.left,img.center,img.right,img.norm{ margin:5px 12px 5px 0; border:1px solid #999; padding:1px;}
img.left{ float:left; margin:0 12px 5px 0; }
img.center{ display:block; margin:0 auto 5px auto; }
img.right{ float:right; margin:0 0 5px 12px; }
img align left{ float:left; margin:0 12px 5px 0; } */


img.alignright {float:right; margin:0 0 1em 1em} 
img.alignleft {float:left; margin:0 1em 1em 0} 
img.aligncenter {display: block; margin-left: auto; margin-right: auto} 
a img.alignright {float:right; margin:0 0 1em 1em} 
a img.alignleft {float:left; margin:0 1em 1em 0} 
a img.aligncenter {display: block; margin-left: auto; margin-right: auto}
	
		
/******************************************
*   General Structure                         
******************************************/

#page { /*the main container*/
	width:900px;
	margin:0 auto;
	font-size:1em;
	background-color: #CCCCCC;
	padding: 10px 25px 35px 25px;
	border:3px double #333;
	}
	
#header {/*the header*/
	margin-top: 15px;
}

#branding {/*where the logo sits*/
	width:625px; /* default:625px */
	height:200px;
	padding-bottom:15px;
	/* background:url(images/backgrounds/bg_branding.png) no-repeat; */
	}

.left {
	float:left;
	}

.right {
	float:right;
	}
	
.navigation {
	height: 30px;
}

.navleft {
	float:left;
	width: 200px;
	}
	
.navright {
	float:right;
	width: 200px;
	text-align: right;
	}
	
#sidebar {/*you guessed it: it�s the sidebar container*/
	width: 250px;
	float:right;
	background-color: #CCCCCC;
	}

#leftcol {/*the left homepage column carrying the "New Listings" section*/
	width:615px; /*default = 287*/
	/*border-right:1px solid #b6b6b6;*/
	padding-right:10px; /*default = 18px*/
	}

#leftcol, #rightcol {
	margin-top:10px;
	float:left
	}	
	
#rightcol {/*actually the column in the middle of the homepage, the "Real Estate News" section)*/
	width:280px; /*default value: 277px*/
	padding-left:18px;
	margin-top: 10px; /*default value: -2px*/
	text-align:justify;
	}


		
/******************************************
*   Sidebar                         
******************************************/

.subnav li {/*.subnav is mainly the categories list*/
	list-style:none;
	}

.subnav li a:link, .subnav li a:visited {
	background: #fff;
	display:block;
	padding:4px 4px 4px 20px;
	border-bottom: 1px solid #999;
	font: 0.9em Arial, Helvetica, sans-serif;
	letter-spacing:0.3em;
	text-transform: uppercase;
	}
		
.subnav li a:hover, .subnav li a:active {
	text-decoration:none;
	background-color: #E5E5E5;
	}
	
#sidelist li {
	list-style:none;
	}
	
.bullets li {
	margin:0 0 5px 15px;
	list-style:square; 
	}
	
#sidelist .bullets li {
	list-style:square;
	margin-bottom:5px;
	
	margin-left:22px;
	}

#sidelist .children {
	background:#F4F4EC; 
	}

#sidelist .children li {
	background: #F4F4EC;
	list-style: none;
	margin-left:15px;
	padding-left:15px;
	border-bottom:1px solid #fff;
	}
	
#sidelist .children li a, #sidelist .children li a:visited {
	padding:2px 2px 2px 0px;
	border:0;
	background:#F4F4EC;
	color: #666;
	}

#sidelist .children li a:hover, #sidelist .children li a:active	{				
	color:#000;
	}

#sidelist .feed li{
	margin-bottom:5px;
	padding-left:20px;
	background:url(images/feed-icon.gif) no-repeat;
	}
	
/*************************************
* Vacation Listings formatting
**************************************/

.vacationlistphoto {
	margin-top: 5px;
	margin-right: 10px;
	float: none;
	text-align: center;
}

.vacationfeature {
	background: url(images/backgrounds/bg_featured.jpg) repeat-x #F4F4EC;
	border: 1px solid #ccc;
	padding-top: 15px;
	padding-right: 15px;
	padding-bottom: 20px;
	padding-left: 15px;	/*height: 160px;*/
	}

	
/******************************************
*   Headlines                         
******************************************/

.blogtitle, .blogtitle a {
	color: #000;
	font-size: 1.8em;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-weight: normal;
	padding-top: 20px;
	padding-right: 0px;
	padding-bottom: 20px;
	padding-left: 10px;
	}

h1 {
	color: #840000;
	font-size: 1.8em;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-weight: bold;
	margin: 0px 10px 0px 0px;
	padding: 20px 0px 0px 10px;
	}
	
h2 {
	color: #840000;
	font: 1.8em Georgia, "Times New Roman", Times, serif;
	padding-bottom:8px;
	border-bottom:1px solid #666;
	margin: 20px 0;
	}

h3 {
	font: bold 14px Arial, Helvetica, sans-serif;
	text-transform:uppercase;
	letter-spacing:0.3em;
	margin-bottom:4px;
	color:#840000;
	text-shadow: 1px 1px 1px #333;
	}

#sidebar h2, #sidebar h3 a {
	font: 0.9em Arial, Helvetica, sans-serif;
	letter-spacing:0.3em;
	text-transform:uppercase;
	margin-bottom:4px;
	font-weight:bold;
	color:#840000;
	}

#sidebar h3, #sidebar h2 {
	font-size:0.9em;
	border-top:3px double #999;
	border-bottom:1px solid #999;
	padding:5px 0 5px 2px;
	margin:20px 0 15px 0;
	color:#840000;
	}

h3#respond {
	font-size:1.1em;
	border-top:1px solid #666;
	margin-top:25px;
	padding-top:20px
	}

h3#comments {
	margin-top:32px
	}

h3 a:link, h3 a:visited {
	color: #666;;
	}

h4 {
	font-size:1.2em;
	margin-bottom:6px;
	}
	
	
	
/******************************************
*   Content                        
******************************************/

#content {
	width:605px;
	float:left;
	background-color: #CCCCCC;
	}
	
#widecontent {
	width:880px;
	float:left;
	background-color: #CCCCCC;
	}
	
.description {
	font-size: 1.3em;
	font-weight: bold;
	color:#999;
	padding-left: 30px;
	}


/*************************************
* New Listings formatting "leftcol" 
**************************************/

.feature {
	background: url(images/backgrounds/bg_featured.jpg) repeat-x #F4F4EC;
	padding:15px;
	border: 1px solid #ccc;
	height: 160px;
	}

.feature p, #leftcol p { margin:0;	}

.newlistphoto {
	margin-top: 5px;
	margin-right: 10px;
	float: left;
}

#leftcol img, #rightcol img {
	padding:1px;
	border:1px solid #999;
	}

#leftcol .feature {	margin-bottom: 15px; }

/* Formating of the Leadstory */
			
#leadpic {
	float:left;
	margin: 0 18px 8px 0;
	padding:1px;
	border: 1px solid #999;
	}

.title, a.title  {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size:1.1em;
	font-weight:bold;
	color: #840000;
	letter-spacing:normal;
	}
	
.newstitle, a.newstitle  {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size:1.1em;
	font-weight:bold;
	color: #840000;
	letter-spacing:normal;
	margin-top: 10px;
	margin-bottom: 10px;
	}
		
#lead p {
	margin-bottom:10px;
	}


/* Formating of Real Estate News, the "rightcol" */

.newsitem {
	background: url(images/backgrounds/bg_featured.jpg) repeat-x #F4F4EC;
	padding:15px;
	border: 1px solid #ccc;
	margin-bottom: 15px;
	}

.newsitem p, #rightcol p { 
    margin:0;	
	}

#rightcol img {
	float:left;
	margin:3px 10px 4px 0;
	}

#leftcol img {
	margin-bottom: 4px;
	display:block
	}
	
#rightcol .clearfloat {
	border-bottom:1px solid #999;
	padding:12px 0;
	}	
	


/* Post Formatting */

.entry {
	/*padding-bottom:28px;*/
	text-align:justify;
	}

.post blockquote {
	color:#666;
	background:#F4F4EC;
	padding:6px 14px;
	margin:18px 35px;
	border-right:1px solid #DDD;
	border-bottom:1px solid #DDD;
	}	

.post ul li {
	list-style:square;
	margin-bottom:5px;
	
	margin-left:42px;
	}

.post ol li {
	margin-bottom:5px;
	
	margin-left:48px;
	}
	
#tags {
	padding:3px;
	border-bottom:1px solid #DDD;
	border-top:1px solid #DDD;	
	}	
	
.postmetadata {
	font-size:0.9em;
	margin:0 0 10px 0;
	padding:5px 10px;
	background:#F4F4EC;
	border-top:1px solid #E6E3D3;	
	border-bottom:1px solid #E6E3D3;	
	}
				

/* Form Elements */

select {
	background:#f2f2f2;
	border:1px solid #9c9c9c;
	width:100%
	}
	

#searchform { 	padding:16px 5px 0 0; 	}

.button {
	padding: 1px;
	background:#333;
	color:#fff;
	border:none;
	}

.button:hover {
	background:#666;
	color:#FFF;
	text-decoration:none
	}

#commentform input {
	width: 170px;
	margin: 5px 5px 1px 0;
	}

#commentform textarea {
	width: 100%;
	margin-top:5px;
	}



/* Comments*/

.commentlist {
	padding-left:30px;
	}
	
.commentlist li {
	margin: 15px 0 3px;
	padding: 8px 15px 10px 15px;
	background:#F4F4EC;
	border:1px solid #E6E3D3;
	}

.commentlist blockquote {
	color:#666;
	background:#fff;
	padding:6px 14px;
	margin:18px 35px;
	border-right:1px solid #ccc;
	border-bottom:1px solid #ccc;
	}	

#commentform small {
	background:#FFF;
	font-weight:bold;
	padding:0;
	}
	
.commentmetadata {
	display: block;
	}

.commentlist small {
	background:#fff;
	border:1px solid #E6E3D3;
	}



/* Float Properties*/

.clearfloat:after {
	display:block;
	visibility:hidden;
	clear:both;
	height:0;
	content:".";
	}
	
.clearfloat {
	display:inline-block;
	}	

.clearfloat {
	display:block;
	}
	
	
/******************************************
*   Footer                        
******************************************/

#footer {
	margin: 0 auto;
	width: 900px;
	font-size:0.9em;
	text-align:center;
	padding-top:15px;
	color:#FFF;
	}

#footer a {
	color:#ededed;
	}

