/* Reset problematic default styles */
* { margin: 0; padding: 0; }
img { border: 0; }

dt { margin: .5em 0 0; }

/* Layout */
body {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 75%;
	background: #FFF url(images/page-bg.jpg) 0 0 repeat-x;
	color: #61604D;
	padding: 15px 0;
	}

#content {
	width: 700px;
	margin-left: auto;
	margin-right: auto;
	}

#secondary {
	width: 275px;
	float: left;
	}

#nav, .featured-listings {
	border: 1px solid #BFBEB1;
	margin: 0 0 15px 0;
	}

body#home #nav {
	margin-top: 15px;
	}

#nav ul, .featured-listings dl {
	border: 3px solid #FFF;
	}

#nav {
	background: #A10000 url(images/nav-bg.gif) 0 0 repeat-x;
	color: #FFF;
	}

#nav ul {
	list-style-type: none;
	}

#nav ul li:hover {
	background: transparent url(images/nav-bg.gif) 0 0 repeat-x;
	}

#nav ul li a {
	border-bottom: 1px solid #9D0000;
	background: transparent url(images/nav-bullet.gif)  25px 50% no-repeat;
	}

#nav ul li#logo a {
	background-image: none;
	}
	
#nav ul li a {
	display: block;
	padding: 8px 8px 8px 35px;
	color: #EFE0E0;
	font-family: "Times New Roman", Times, serif;
	text-decoration: none;
	font-size: 1.2em;
	}
	
#nav ul li#logo a {
	display: block;
	width: 267px;
	height: 90px;
	background: transparent url(images/cbah-logo.gif) 50% 22px no-repeat;
	padding: 0;
	}

.featured-listings dl {
	background-color: #B4B3A3;
	color: #FFF;
	}

.featured-listings h2 {
	color: #FFF;
	padding: 9px;
	border-bottom: 1px solid #C5C4B8;
	font-size: 1.3em;
	}

.featured-listings div.linkarea-hover {
background-color: #9B9A8D;
}

.featured-listings dl dt {
	font-weight: bold;
	padding: 9px 9px 0;
	margin: 0;
	}

.featured-listings dl dd {
	display: block;
	border-bottom: 1px solid #C5C4B8;
	padding: 0 9px 9px;
	}

.featured-listings dl img {
	border: 1px solid #FFF;
	float: right;
	margin: 2px 0 3px 3px;
	}

.featured-listings dl a {
	display: block;
	padding: 9px;
	text-align: right;
	}

.featured-listings dl * a {
	display: inline;
	padding: 0;
	text-align: left;
	}

* html .featured-listings a {
	width: 231px;
	}
	
#main {
	margin-left: 290px;
	}

body#home #main {
	background: transparent url(images/chattanooga-photos.jpg) 0 0 no-repeat;
	padding-top: 328px;
	margin-top: -15px;
	}

#contact {
	margin: 15px 0;
	border-top: 3px solid #C5C4B8;
	border-bottom: 1px solid #C5C4B8;
	background-color: #F1F2EA;
	padding: 5px;
	clear: right;
	}

#footer {
	font-size: 80%;
	width: 540px;
	}

/* Section styling, misc. */

#area {
	height: 13.33em;
	overflow: auto;
	border: 1px groove #61604D;
	}

#search-nav {
	font-weight: bold;
	padding: 1em;
	}

form#featuring {
	background-color: #D78B8B;
	border: 1px solid #670000;
	color: #670000;
	padding: 4px 0 8px;
	text-align: center;
	font-size: 1.2em;
	margin-bottom: .5em;
	}

form#featuring input {
	position: relative;
	top: 3px;
	}

form#featuring.featured {
	background-color: #89CB74;
	border: 1px solid #405F37;
	color: #405F37;
	}

/* Typography, etc... */

h1, h2, h3, h4 {
	color: #8E0000;
	font-family: "Times New Roman", Times, serif;
	font-weight: normal;
	}

h1 { font-size: 2em; }

#main h2 { 
	font-size: 1.4em;
	margin: .25em 0;
	}

h3 {
	font-size: 1em;
	font-weight: bold;
	font-family: Arial, Helvetica, sans-serif;
	}

h4 {
	font-size: 1em;
	font-weight: bold;
	font-family: Arial, Helvetica, sans-serif;
	color: #61604D;
	}

a {
	color: #0078B0;
	}

label {
	font-weight: bold;
	}

input {
	margin: 3px;
	}

select {
	width: 7em;
	}

#main p {
	line-height: 1.5em;
	margin: .75em 0;
	}

#contact p {
	line-height: 1.5em;
	margin: 0 1em;
	}

#main #results p {
	margin: .25em 1em;
	}

small.meta {
	display: block;
	}

#main img {
	padding: 2px;
	background-color: #FFF;
	border: 1px solid #BFBEB1;
	float: right;
	margin: 3px 0 3px .5em;
	clear: right;
	}

#main img.left {
	float: left;
	margin: 3px .5em 3px 0;
	clear: none;
	}

#main ol, #main ul {
	margin: .75em 0 .75em 1.5em;
	line-height: 1.5em;
	}

#main ol li, #main ul li {
	margin: .5em 0;
	line-height: 1.5em;
	}

#main form#morgcalc table {
	border-top: 3px solid #C5C4B8;
	border-bottom: 1px solid #C5C4B8;
	background-color: #F1F2EA;
	padding: 5px;
	margin: 1em 0;
	}

#main form#morgcalc thead {
	font-size: 1.2em;
	}

#main form#morgcalc table th,
#main form#morgcalc table td {
	vertical-align: middle;
	}

#main form#morgcalc table mc_btn {
	float: right;
	}

#main form#morgcalc .result {
	text-align: center;
	font-weight: bold;
	}
	
#main form#morgcalc .result #MonthlyPayment {
	font-size: 1.6em;
	text-align: center;
	font-weight: normal;
	}

#main div.sb-pagemenu {
	width: 150px;
	font-size: 80%;
	border-top: 3px solid #C5C4B8;
	border-bottom: 1px solid #C5C4B8;
	background-color: #F1F2EA;
	padding: 5px;
	float: right;
	clear: right;
	margin: .75em 0 5px 1em;
	}

#main div.sb-pagemenu h2 {
	font-size: 1.3em;
	}
	
#main div.sb-pagemenu ul {
	margin: .2em 0;
	list-style-type: none;
	}

#main div.sb-pagemenu ul li {
	margin: .3em 0;
	line-height: 1.25em;
	}
	
#main div.sb-pagemenu a {
	display: block;
	padding-left: 17px;
	background: transparent url(images/page-nav-bullet.gif) 0 -2px no-repeat;
	}

#main div.sb-pagemenu a.page-up {
	background: transparent url(images/page-nav-back.gif) 0 -1px no-repeat;
	}

#main div.linkarea {
	margin: 3px 0;
	padding: 7px;
	}

#main div.linkarea-hover {
	background-color: #E6E7D7;
	border: 1px solid #B4B3A3;
	padding: 6px;
	color: #4B4A38;
	}

* html #main div.linkarea-hover {
	background-color: transparent;
	border-width: 3px;
	padding: 4px;
	}

#main div.linkarea h2 {
	margin-top: 0;
	}

#single-listing th {
	width: 75px;
}

#single-listing #morgcalc th {
	width: auto;
}

#single-listing th,
.contactform th {
	vertical-align: top;
	text-align: right;
	padding: .2em;
	}

.contactform th.group_th {
	text-align: left;
	font-size: 1.2em;
	padding-top: 1em;
	}

#single-listing thead th {
	text-align: center;
	}

#single-listing td {
	vertical-align: top;
	text-align: left;
	padding: .2em;
	}
	
#single-listing td ul,
#single-listing td li {
	list-style-type: none;
	margin: 0;
	padding: 0;
	}

/* CSS Hackery */

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

.clearfix.listing:after {
	clear: right;
	}

.clearfix {display: inline-block;}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */

/* Thanks to Mark Wiens for updated MIR: http://markwiens.net/gab/article/16/updates */
.mir { letter-spacing : -1000em; }
/*\*/
* html .mir {
text-indent: -999em;
overflow: hidden;
}
html>body .mir {
letter-spacing: normal;
text-indent: -999em;
overflow: hidden;
}/**/

/* Begin Contact Form CSS */
.contactform {
	position: static;
	overflow: hidden;
}

.contactleft {
	width: 25%;
	text-align: right;
	clear: both;
	float: left;
	display: inline;
	padding: 4px;
	margin: 5px 0;
}

.contactright {
	width: 70%;
	text-align: left;
	float: right;
	display: inline;
	padding: 4px;
	margin: 5px 0;
}

.contacterror {
	border: 1px solid #ff0000;
}

.contactsubmit {
}
/* End Contact Form CSS */

/* ====================
Lightbox v2
=====================*/
#lightbox{
	position: absolute;
	top: 40px;
	left: 0;
	width: 100%;
	z-index: 100;
	text-align: center;
	line-height: 0;
	}

#lightbox a img{ border: none; }

#outerImageContainer{
	position: relative;
	background-color: #fff;
	width: 250px;
	height: 250px;
	margin: 0 auto;
	}

#imageContainer{
	padding: 10px;
	}

#loading{
	position: absolute;
	top: 40%;
	left: 0%;
	height: 25%;
	width: 100%;
	text-align: center;
	line-height: 0;
	}
#hoverNav{
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 10;
	}
#imageContainer>#hoverNav{ left: 0;}
#hoverNav a{ outline: none;}

#prevLink, #nextLink{
	width: 49%;
	height: 100%;
	background: transparent url(/wp-content/themes/cbah/images/lightbox/blank.gif) no-repeat; /* Trick IE into showing hover */
	display: block;
	}
#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover { background: url(/wp-content/themes/cbah/images/lightbox/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(/wp-content/themes/cbah/images/lightbox/nextlabel.gif) right 15% no-repeat; }


#imageDataContainer{
	background-color: #fff;
	color: #666666;
	margin: 0 auto;
	line-height: 1.4em;
	}

#imageData{
	padding:0 10px;
	}
#imageData #imageDetails{ width: 70%; float: left; text-align: left; }	
#imageData #caption{ font-weight: bold;	}
#imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em;	}			
#imageData #bottomNavClose{ width: 66px; float: right;  padding-bottom: 0.7em;	}	
		
#overlay{
	position: absolute;
	top: 0;
	left: 0;
	z-index: 90;
	width: 100%;
	height: 500px;
	background-color: #000;
	filter:alpha(opacity=60);
	-moz-opacity: 0.6;
	opacity: 0.6;
	}
