/*
Theme Name: AEI Wordpress Theme
Theme URI: http://standardmedia.ca/
Description: AEI Wordpress Theme
Version: 1.0
Author: Standard Media
Author URI: http://standardmedia.ca/
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td{
margin:0; padding:0; border:0; }

html {
	background: #dcf0f5 url("static/images/body-bg.png") repeat-x;
}

body {
	margin: 0;
	padding: 0;
	font: normal 12px 'Lucida Grande', 'Lucida Sans Unicode', 'Lucida Sans', Verdana, Arial, Helvetica;
	text-align: center;
	color: #444b53;
}

/********************************************
* GENERIC STYLES
*/

a {
	color: #63700d;
	text-decoration: none;
}

a:hover {
	color: #8fa500;
	text-decoration: underline;
}

h2 {
	color: #003468;
	font-weight: normal;
	font-size: 20px;
	letter-spacing: -1px;
	margin: 15px 0;
}

h3 {
	margin: 12px 0;
	color: #4B808D;
	clear: left;
}

.address h3,
.listing h3 {
	clear: none;
}

h3.filter {
	border-bottom: solid 1px #DCF0F5;
	padding: 0 0 3px;
}

h3 em {
	font-style: normal;
	color: #333;
}

p {
	margin: 9px 0;
}

/********************************************
* PAGE STRUCTURE
*/

#page {
	width: 900px;
	margin: 0 auto;
	text-align: left;
}

#header {
	height: 121px;
	position: relative;
	margin: 0 0 8px;
}

#footer {
	border-top: solid 1px #b4dae3;
	margin: 20px 0;
	overflow: hidden;
	clear: both;
}

#content {
	line-height: 140%;
	margin: 40px 0;
}

#content.narrowcolumn {
	float: right;
	width: 580px;
	padding: 20px;
	background: #fff;
	margin: 20px 0 40px;
	border-top: solid 10px #cbda3c;
}

#sidebar {
	width: 232px;
	float: left;
	margin: 40px 0 40px 43px;
}


/********************************************
* HEADER
*/

#header h1 {
	margin: 0 0 0 -50px;
	width: 330px;
	height: 121px;
	text-indent: -9999px;
	background: url("static/images/header-logo.png") no-repeat;
}

#header h1 a {
	display: block;
	height: 100%;
}

#header .description {
	display: none;
}

/********************************************
* HEADER > MAIN MENU
*/

#mainmenu {
	position: absolute;
	right: 0;
	bottom: 0;
	background: #67b0c1 url("static/images/mainmenu-bg.png") repeat-x bottom;
	margin: 0;
	padding: 0;
	list-style: none;
	overflow: hidden;
}

#mainmenu li {
	float: left;
	border-left: solid 1px #92ccd9;
}

#mainmenu li.first {
	border: none;
}

#mainmenu li a {
	display: block;
	width: auto;
	padding: 27px 10px 23px;
	color: #fff;
	font-weight: bold;
	text-decoration: none;
}

#mainmenu li a:hover {
	background: #6eabb9 url("static/images/mainmenu-on-bg.png") repeat-x bottom; 
	color: #003468;
}

#mainmenu li.current_page_item a,
#mainmenu li.current_page_ancestor a {
	background: #6eabb9 url("static/images/mainmenu-on-bg.png") repeat-x bottom; 
}

/********************************************
* HOME
*/

body.home {
	background: url("static/images/hero-bg.jpg") no-repeat center 129px;	
}

#callouts {
	overflow: hidden;
	list-style: none;
	margin: 0;
	padding: 261px 0 0;
}

#callouts li {
	float: left;
	width: 224px;
	margin: 0 1px 0 0;
	position: relative;
	background: #c7e7f0 url("static/images/callout-body-bg.png") repeat-x bottom;
}

#callouts h3 {
	position: absolute;
	margin: 0;
	top: -34px;
	overflow: hidden;
	background: url("static/images/callout-title-bg.png");
	_background: #cfecf5;
	width: 224px;
	height: 34px;
}

#callouts h3:hover {
	top: -37px;
	height: 37px;
}

#callouts h3 a {
	display: block;
	padding: 8px 10px 15px;
	color: #003468;
	text-decoration: none;
}

#callouts h3 a:hover {
	background: #fff;
}

#callouts p {
	padding: 95px 10px 10px;
	margin: 0;
	border-top: solid 1px #eee;
}

#callouts .apartments p { background: url("static/images/callout-apartments-bg.png") no-repeat top left; }
#callouts .property p { background: url("static/images/callout-property-bg.png") no-repeat top left; }
#callouts .tenant p { background: url("static/images/callout-tenant-bg.png") no-repeat top left; }
#callouts .owner p { background: url("static/images/callout-owner-bg.png") no-repeat top left; }

#callouts p a {
	color: #495d61;
	text-decoration: none;
	background: url("static/images/callout-link-bg.png") no-repeat bottom right;
	display: block;
	padding: 0 20px 5px 0;
	font-size: 14px;
}

#callouts p a:hover {
	color: #003468;
}

.home #content {
	padding: 0 0 0 295px;
	background: url("static/images/content-home-bg.png") no-repeat bottom left;
}

/********************************************
* CONTENT
*/

#content {
}

#content ul,
#content ol {
	padding: 0 30px;
	margin: 20px 0;
}

#content ul li,
#content ol li {
	margin: 2px 0;
}

/********************************************
* REGULAR POSTS
*/

.post .header-image {
	margin: -20px -20px 20px;
	height: 130px;
	overflow: hidden;
}


.post h2 {
	font-size: 24px;
	margin: 10px 0 -4px -20px;
	background: url("static/images/title-bg.png") no-repeat -29px;
	padding: 10px 0 10px 20px;
}

.post .date {
	color: #8cbecb;
	font-size: 11px;
	margin: 2px 0 10px;
}

.post .postmetadata {
	padding: 4px 0;
	border-bottom: solid 1px #DCF0F5;	
	font-size: 11px;
	margin: 15px 0 0;
	color: #8cbecb;
}

#comments {
	border-top: solid 1px #DCF0F5;	
	padding: 5px 0 0 55px;
	margin: 30px 0 0;
}

#content .commentlist {
	list-style: none;
	padding: 0;
	margin: 6px 0 20px;
}

.commentlist li {
	padding: 5px 0 0 55px;
	border-bottom: solid 1px #DCF0F5;
}

.commentlist li em {
	font-style: normal;
	padding: 2px;
	background: #ffb;
	margin: 5px 0;
	font-size: 11px;
}

.commentlist li .avatar {
	float: left;
	margin: 0 0 0 -50px;
	background: #f8f8f8;
	border: solid 1px #eee;
	padding: 3px;
}

.commentlist li cite {
	font-size: 11px;
	font-style: normal;
	font-weight: bold;
	color: #999;
}

.commentlist li .says {
	font-size: 11px;
	color: #8cbecb;
}

.commentlist li .commentmetadata {
	font-size: 11px;
}

#respond {
	margin: 0 0 0 55px;
}

.address {
	width: 40%;
	float: left;
	margin-bottom: 30px;
}

.navigation {
	overflow: hidden;
}

.navigation .alignleft,
.navigation .alignright {
	padding: 15px 0;
}

.navigation .alignleft {
	float: left;
}

.navigation .alignright {
	float: right;
}


/********************************************
* CONTENT > FORM
*/

ol.form,
.page .entry ol.form {
	list-style: none;
	margin: 1em 0;
	padding: 0;
}

ol.form li {
	overflow: hidden;
	padding: 4px 0;
	margin: 0 !important;
	background: none;
}

ol.form li label {
	display: block;
	float: left;
	width: 125px;
	text-align: right;
	font-size: 90%;
	margin: 5px 10px 0 0;
	color: #999;
	line-height: 125%;
}

ol.form li label em {
	font-style: normal;
	color: #c00;
}

ol.form li input {
	width: 200px;
}

ol.form li div.value {
	padding: 3px 0 0;
}

ol.form li small {
	display: block;
	clear: left;
	margin: 3px 0 10px 135px;
	font-family: verdana, arial, Helvetica;
	font-size: 80%;
	line-height: 115%;
	color: #bbb;
}

ol.form li.textarea small {
	margin-left: 0;
}

ol.form li.short input {
	width: 120px;
}

ol.form li textarea {
	width: 90%;
}

ol.form li input,
ol.form li textarea,
ol.form li select {
	background: #f8f8f8;
	padding: 2px;
	border-right: solid 1px #eee;
	border-bottom: solid 1px #eee;
	border-top: solid 1px #aaa;
	border-left: solid 1px #aaa;
	color: #222;
	font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Verdana, Helvetica, Arial, sans-serif;
	font-size: 100%;
}

ol.form li.radio label,
ol.form li.textarea label {
	float: left;
	width: 90%;
	text-align: left;
	margin: 8px 0;
}

ol.form li.radio input {
	width: auto;
	border: none;
	background: none;
	padding: 0;
}

ol.form li.radio span,
ol.form li.captcha {
	padding: 0 0 0 135px;
}

ol.form li.captcha img {
	margin: 3px 0 0;
}

ol.form li.radio span span {
	padding: 0;
}

ol.form li.submit {
	padding: 15px 0 0 135px;
	border: none;
}

ol.form li.submit input {
	background: #338B9F;
	padding: 4px;
	border-left: solid 1px #70AEBC;
	border-top: solid 1px #70AEBC;
	border-bottom: solid 1px #222;
	border-right: solid 1px #222;
	color: #fff;
	width: auto;
	font-size: 100%;
}

ol.form li.submit input.image {
	background: none;
	padding: 0;
	border: none;
}

ol.form li .wpcf7-not-valid-tip {
	color: #c00;
	top: -5px;
	left: 105%;
}

ol.form li.checkbox label {
	width: 85px;
}

ol.form li .wpcf7-checkbox {
	margin: 0 0 0 95px;
	display: block;
	overflow: hidden;
}

ol.form li.checkbox input {
	width: auto;
	border: none;
	background: none;
}

ol.form li .wpcf7-checkbox .wpcf7-list-item {
	display: block;
	float: left;
	width: 190px;
	_width: 200px;
}

/********************************************
* CONTENT > LISTINGS
*/

.post.listing {
	margin: 20px 0;
	padding: 0 0 0 180px;
	overflow: hidden;
}

.post.listing.summary {
	border-bottom: solid 1px #DCF0F5;
}

.post.listing .sidebar {
	float: left;
	margin: 0 0 20px -180px;
}

.post.listing .sidebar h4,
.post.listing .sidebar p {
	margin: 3px 0;
	line-height: 140%;
}

.post.listing .sidebar .more,
.post.listing .sidebar .photos,
.post.listing .sidebar .address,
.post.listing .sidebar .contact {
	font-size: 11px;
	text-align: right;
	margin: 0 6px 15px 0;
	clear: left;
	float: none;
	width: auto;
}

.post.listing .sidebar .photos {
	padding: 0 20px 0 0;
	background: url("static/images/pictures.png") no-repeat right;
}

.post.listing .sidebar .address {
	background: #ffb;
	padding: 5px 5px 0;
	border: solid 1px #eeb;
	margin-right: 0;
}

.post.listing .sidebar .address h4 {
	padding: 0 20px 0 0;
	background: url("static/images/map.png") no-repeat right;
}

.post.listing .sidebar .contact h4 {
	padding: 0 20px 0 0;
	background: url("static/images/find.png") no-repeat right;
}

.post.listing .sidebar .thumb {
	border: solid 1px #eee;
	background: #f8f8f8;
	padding: 6px;
	float: left;
	display: block;
	margin: 0 0 6px;
}

.post.listing h2,
.post.listing h3 {
	font-size: 19px;
	margin: 0 0 2px;
	padding: 10px 0 0;
}

.post.listing h2 {
	font-size: 24px;
	margin-bottom: 4px;
	background: none;
}

.post.listing .location {
	color: #8cbecb;
	font-size: 11px;
	margin: 2px 0 10px;
}

.post.listing .location strong {
	color: #555;
}

.post.listing ul.meta {
	list-style: none;
	overflow: hidden;
	margin: 10px 0;
	padding: 4px 0 0 !important;
	font-size: 11px;
	line-height: 120%;
	border-top: solid 1px #DCF0F5;
}

.post.listing ul.meta li {
	float: left;
	width: 90%;
	margin: 4px 5% 4px 10px;
	overflow: hidden;
}

.post.listing.summary ul.meta li {
	width: 45%;
	margin: 2px 5% 2px 0;
}

.post.listing ul.meta li strong {
	float: left;
	width: 90px;
	color: #8cbecb;
}

.post.listing .file {
	margin: 10px 0;
	padding: 4px 0 0;
	border-top: solid 1px #DCF0F5;
}

.post.listing .file a {
	padding: 2px 0 2px 20px;
	background: url("static/images/pdf.png") no-repeat left;
}

#content .testimonial ul {
	list-style: none;
	padding: 0;
	border-top: solid 1px #DCF0F5;
}

#content .testimonial ul li {
	border-bottom: solid 1px #DCF0F5;
	padding: 20px 0 5px 30px;
	background: url("static/images/quote-bg.png") no-repeat top left;
}

#content .testimonial span {
	font-size: 16px;
	display: block;
	margin: 0 0 10px;
}

#content .testimonial cite {
	color: #8cbecb;
	display: block;
	font-style: normal;
}

#content .testimonial .name {
	font-weight: bold;
}

#content .testimonial .source {
}

/********************************************
* SIDEBAR
*/

#sidebar {
	padding: 0 0 150px;
	background: url("static/images/content-home-bg.png") no-repeat bottom left;
}

#sidebar h3 {
	margin-top: 26px;
}

#sidebar ul.navigation {
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: right;
}

#sidebar ul.navigation li a {
	display: block;
	background: #cbda3c;
	padding: 6px 10px;
	margin: 0 12px 1px 20px;
	font-size: 14px;
	color: #fff;
}

#sidebar ul.navigation li a:hover,
#sidebar ul.navigation li.current_page_item a {
	margin-left: 10px;
	text-decoration: none;
	color: #003468;
}

#sidebar ul.navigation li.current_page_item a {
	color: #fff;
	background: #67b0c1 url("static/images/sidebar-item-selected-bg.png") no-repeat right;
	margin-right: 0;
	padding-right: 15px;
}

#sidebar form {
}

#sidebar form h4 {
	clear: both;
	margin: 10px 0 4px;
	float: left;
	border-bottom: solid 1px #bfe3ed;
	padding: 3px;
	width: 216px;
}

#sidebar form h4.button {
	cursor: pointer;
	background: url("static/images/arrow-collapsed.png") no-repeat 97% center;
}

#sidebar form h4.button:hover {
	background-color: #E5F7FB;
}

#sidebar form h4.button.expanded {
	background-image: url("static/images/arrow-expanded.png");
}


#sidebar form .submit {
	float: left;
	clear: left;
	background: #bfe3ed;
	display: block;
	text-align: right;
	width: 222px;
	margin: 5px 0 0;
}

#sidebar form .submit input {
	margin: 6px;
}

#sidebar form ul {
	list-style: none;
	margin: 10px 0 10px 10px;
	padding: 0;
	font-size: 11px;
}

#sidebar form ul.checkboxes li {
	clear: left;
}

#sidebar form ul.checkboxes li input {
	float: left;
	margin: 3px 6px 3px 0;
}

#sidebar form ul.checkboxes li label {
	float: left;
	display: block;
	padding: 3px 0 0;
}

#sidebar form ul li.parent {
	margin: 6px 0 0;
	font-weight: bold;
}

#sidebar form ul li.child {
	margin: 0 0 0 14px;
	font-size: 10px;
	color: #4B808D;
}

#sidebar ul.links {
	list-style: none;
}

#sidebar ul.links li {
	margin-bottom: 5px;
}

#sidebar ul.links li small {
	display: block;
	margin-bottom: 5px;
}

/********************************************
* SITEMAP
*/

#sitemap {
	border-top: solid 1px #b4dae3;
	padding: 15px 0 0;
	overflow: hidden;
	clear: both;
}

#sitemap a {
	color: #5d95a2;
}

#sitemap li {
	list-style: none;
	padding: 0 60px 0 0;
	float: left;
	font-weight: bold;
}

#sitemap li ul {
	margin-top: 6px;
}

#sitemap li li {
	float: none;
	width: 110px;
	padding: 0 0 3px;
	font-weight: normal;
	font-size: 11px;
}

/********************************************
* FOOTER
*/

#footer {
	font-size: 11px;
	color: #94b6bf;
}

#footer a {
	color: #94b6bf;
	text-decoration: underline;
}

#footer p {
	float: left;
	margin: 12px 0;
}

#sms-credit {
	margin: 20px 0 0;
	width: 153px;
	height: 17px;
	float: right;
	background: url("static/images/sms-logo.gif") no-repeat;
	text-indent: -9999px;
}

#sms-credit a {
	display: block;
	height: 100%;
}

