/* CSS Document */

* {
	padding: 0;
	margin: 0;
}

body {
	background: url(../images/page_bg.gif) top repeat-y;
	font: 100% Georgia, "Times New Roman", Times, serif;
}

h1,h2,h3,h4,h5,h6 {
	font-size: 1.4em;
	color: #954977;
	border-bottom: 1px solid #000;
	padding-bottom: 0.2em;
}

p {
	padding: 0.5em 0;
	line-height: 1.5em;
}

a {
	text-decoration: none;
	color: #B98EB9;
}

a:hover {
	text-decoration: underline;
}

img.right {
	float: right;
	padding: 1em;
}

#container {
	width: 760px;
	overflow: hidden;
	margin: 0 auto;
}

	#header {
		background: url(../images/header_bg.jpg);
		height: 165px;
	}
	
	#navcontainer {
		height: 40px;
		background: url(../images/nav_bg.gif) repeat-x;
		position: relative;
	}
		#nav {
			width: 730px;
		}
		
		#nav, #nav ul { /* all lists */
			padding: 0;
			margin: 0;
			list-style: none;
			line-height: 1;
		}
		
		#nav a {
			display: block;
			text-decoration: none;
			color: #fff;
			height: 40px;
			line-height: 40px;
			border-right: 1px solid #9B4D7D;
			width: 6em;
			text-align: center;
		}
		
		#nav a:hover {
			background: #9B4D7D;
		}
		
		#nav li { /* all list items */
			float: left;
		}
		
		#nav li ul { /* second-level lists */
			position: absolute;
			background: #954278;
			width: 10em;
			left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
			border: 1px #000 solid;
			margin-top: -1px;
			font-size: 0.8em;
		}
		
			#nav li ul a {
				width: 10em;
				padding: 0;
				text-indent: 1em;
				height: 30px;
				line-height: 30px;
				border: 0;
				border-bottom: 1px solid #000;
				text-align: left;
			}
			
			#nav li ul a:hover {
				background: #B98EB9;
			}
		
		#nav li:hover ul, #nav li.sfhover ul { /* lists nested under hovered list items */
			left: auto;
		}
	
	#content {
		padding: 1em 1.5em;
		font-size: 0.9em;
		overflow: hidden;
	}
	
/* Feature Property */
	
		#feature {
			width: 50%;
			float: right;
			margin: 0.5em 0;
			background: #f8f8f8;
			padding: 0.5em;
			border: 1px solid #efefef;
		}
		
			#feature h2 {
				font-size: 0.9em;
				border: none;
			}
			
				a.button {
					display: block;
					border: 1px solid #efefef;
					background: #fff;
					padding: 0.5em;
					overflow: hidden;
					height:6.886em;
				}
				
				a.button:hover {
					background: #B98EB9;
					border: 1px solid #914875;
					text-decoration: none;
				}
				
					a.button span {
						display: block;
						padding: 0.2em 0;
						color: #000;
						overflow: hidden;
					}
					
					a.button span.image {
						float: left;
						width: 100px;
						margin-right: 0.5em;
						overflow: hidden;
					}
					
						a.button span.image img {
							border: none;
							overflow: hidden;
						}
						
					a.button span.features {
						width: 100px;
						background: #914875;
						overflow: hidden;
						padding: 0;
					}
					
						a.button span.bed {
							float: left;
							margin:0 1em;
							color: #fff;
						} 
						
						a.button span.bath {
							float: left;
							color: #fff;
						}
						
						span.bed img, span.bath img {	
							border: 0;
							vertical-align: middle;
						}
					
					a.button span.heading {
						font-weight: bold;
						color: #904274;
						padding-top: 0;
						
					}
					
					a.button span.location {
						font-size: 0.8em;
						font-weight:normal;
					}
					
					a.button span.price {
						color: #000;
						font-weight: bold;
					}
					
					a.button span.description {
						font-size: 0.75em;
						font-weight:normal;
					}
					
/* Property Listings */
					
		#properties {
			list-style: none;
		}
		
			#properties li {
				width: 45%;
				float: left;
				margin: 0.5em;
			}
			
		p.pages {
			font-size: 1.1em;
			clear:left;
		}
		
			p.pages a {
				padding: 0.2em;
				background: #954278;
				color: #fff;
			}
		
			p.pages a:hover {
				background: #000;
			}
			
		a#search {
			float: right;
			background: #fff;
			padding: 0 0.2em;
		}
		
		a#search img {
			border: none;
			vertical-align: middle;
		}
			
/* Detail of properties */

	#detail {
		
	}
		
		#images {
			width: 48%;
			float: left;
			text-align: center;
			margin: 1em 0;
			padding: 10px 0 0 0;
			background: #efefef;
		}
		
			#images img.mainImage {
				padding: 0.5em;
			}
		
			#images a {
				padding: 0.1em;
				display: block;
				width: 110px;
				height: 85px;
				float: left;
			
			}
			
			#images a:hover {
				background: #954278;
			}
			
				#images a img {
					padding: 5px;
				}
				
		#detailInfo {
			float: right;
			width: 50%;
			
		}
		
		#detailInfo dl {
			background: #efefef;
			overflow: hidden;
			float: right;
			width: 100%;
		}
		
		#detailInfo dt {
			float: left;
			clear:left;
			font-weight: bold;
			width: 6em;
			padding: 0.2em 0.5em;
		}
		
		#detailInfo dd {
			float: right;
			clear: right;
			padding: 0.2em 0.5em;
		}
		
		#bedbath {
			background: #954278;
			color: #fff;
			clear: both;
		}
		
			#bedbath img {
				padding: 0.2em 0.5em;
				vertical-align: middle;
			}
		
/* Homepage list of links */
			
		#homeList {
			list-style: none;
			float: left;
		}			
		
			#homeList a {
				display: block;
				background: url(../images/button.gif) bottom;
				width: 259px;
				height: 48px;
				line-height: 48px;
				text-indent: 70px;
				color: #fff;
			}
			
			#homeList a:hover {
				background-position: top;
				text-decoration: none;
			}			
	
/*	Form Stylin'	*/
		
		#search_form {
			float: right;
			width: 50%;
		}
			
			#search_form fieldset {
				padding: 0.5em;
				border: 1px solid #efefef;
				margin-bottom: 0.5em;
			}
		
			#search_form legend {
				font-size: 1.4em;
				color: #954977;
				padding-right: 0.5em;
			}
			
				#search_form legend img {
					vertical-align: middle;
				}
				
			#search_form label {
				float: left;
				clear: left;
				width: 8em;
				padding: 0.5em 0;
			}
			
			#search_form select {
				float: left;
				margin: 0.5em 0;
				font-family: Georgia, "Times New Roman", Times, serif;
			}
			
			#search_form input.button {
				width: 100%;
				font-family: Georgia, "Times New Roman", Times, serif;
				background: #954278;
				color: #fff;
				border: none;
				padding: 0.5em;
			}
			
			
			
		#contact_form {	
			font-size: 0.8em;
			margin-top: 1em;
		}
		
					
			#contact_form fieldset {
				padding: 1em;
				border: 1px solid #efefef;
				margin-bottom: 0.5em;
			}
		
				#contact_form fieldset legend {
					padding: 0 0.5em;
					font-size: 1.2em;
					color: #984478;
				}
		
					#contact_form fieldset label {
						display: block;
						width: 10em;
						float: left;
						clear: left;
						font-size: 1.2em;
					}
		
					#contact_form fieldset input {
						float: left;
						margin: 0 0 0.5em 0;
						font: 1em Georgia, "Times New Roman", Times, serif;
						color: #333;
					}
		
					#contact_form fieldset textarea {
						font: 1em Georgia, "Times New Roman", Times, serif;	
						color: #333;		
					}
		
			#contact_form input.formBtn {
				font-size: 1.2em;
				color: #984478;
				font-family: Georgia, "Times New Roman", Times, serif;
			}
			
/* About Page */

	img.aboutImg {
		float: left;
		padding: 0.5em;
		border: 1px solid #efefef;
		margin: 0 0.5em 0.5em 0;
	}
	
	p.aboutHeader {
		font-weight: bold;
		color: #984478;
	}

	#listingTable {	
		font-size: 0.7em;
		font-family:Arial, Helvetica, sans-serif;
	}
	#listingTable th{	
		font-size: 1.2em;
		font-weight: bold;
		font-family:Arial, Helvetica, sans-serif;
	}							
/* footer */

	#footer {
		font-size: 0.7em;
		color: #999;
		border-top: 1px solid #EEF2F2;
		padding: 0 1em;
		clear: both;
	}
	
		#footer img {
			float: right;
		}
		
		#footer p {
			line-height: 30px;
		}
		
.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
/* End hide from IE-mac */