/* Layout */
* {
	padding: 0;
	margin: 0;
	}
	
html, 
body {
	background: #E5DFD7;
	background-image:url(/img/bg_back.jpg);
	background-repeat: repeat-x;
	text-align: left; /*IE 5*/
	font-family: Arial, Helvetica, sans-serif;
	margin: 0 auto;
	color: #999999;
	}
	
body { 
	font-size:62.5%;
	}

#wrap {
	width: 100%;
	height: 100%;
	background-image:url(/img/bg_front.jpg);
	background-repeat:no-repeat;
	background-position:center top;
	}

#container {
	width: 850px;
	margin: 0 auto;
	padding-top: 20px;
	}	
	
#header {
	width: 850px;
	height: 175px;
	margin: 0 auto;
	padding: 0 auto;
	background-image:url(/img/home_header02.jpg);
	background-repeat:no-repeat;
	background-position:right top;
	}
	
img {
float: left;
display: block;
margin: 0;
padding: 0;
}
	
#main {
	width: 850px;
	height: 350px;
	background-color: #FFFFFF;
	background-image: url(/img/bg_home.jpg);
	background-position:center top;
	background-repeat:no-repeat;
	margin: 0 auto;
	padding: 0 auto;
	}
	
	#content {
	float: left;
	font-size:  1.1em;
	}	
	
	
	#main_qs {
	float: left;
	width: 200px;
	margin-top: 44px;
	margin-left: 13px;
	}
	
	* html #main_qs {
		margin-top: 48px;
		margin-left: 7px;
		}

	
	#main_text {
	float: left;
	width: 235px;
	margin-top: 60px;
	margin-left: 42px;
	text-align:justify;
	}
	
	* html #main_text {
		margin-top: 60px;
		margin-left: 38px;
		}
		
	#large {
	width: 126px;
	font-size:11px;
	margin: 3px;
	}
	#small {
	width: 60px;
	font-size:11px;
	margin: 3px 0 3px 3px;
	}
	#qsbutton {
	border: none;
	cursor: pointer;
	padding-left: 2px;
	padding-top: 5px;
	}
	
	#main_fp {
	float: left;
	width: 250px;
	margin-top: 26px;
	margin-left: 55px;
	}
	
	* html #main_fp {
	margin-left: 52px;
	}
	
	
		.fp_pow {
		width: 245px;
			}
			
		.fp_row {
		width: 245px;
			}
			
			.fp_pow #featureImage {
				padding: 3px;
				border: 1px solid #DBD2C7;
				background-color: #F2EDE6;
				width: 117px;
				float: left;
				margin-right: 13px;
			}
			
			.fp_row #featureImage {
				padding: 3px;
				border: 1px solid #DBD2C7;
				background-color: #F2EDE6;
				width: 117px;
				float: left;
				margin-right: 13px;
			}
	
#footer {
	width: 850px;
	background-color: #FFFFFF;
	}
	
	#footer #footer_txt {
		font-size:  1.1em;
		color: #D2CABF;
		text-align: right;
		padding-top: 10px;
		padding-right: 40px;
		padding-bottom: 10px;
		}
		
	#footer #footer_txt img {
	float: none;
	display: inline;
	}
		
	#footer a {
		color: #D2CABF;
		text-decoration:none;
		}
		
	#footer a:hover{
		color: #D2CABF;
		text-decoration:underline;
		}
		
		
/*MENU STYLES
---------------------------------------------*/			
		
#menu {
	width: 850px;
	height: 32px;
	margin: 0 auto;
	padding: 0 auto;
	background: #E5DFD7;
	}	

.menu ul {
	list-style-type: none;
	}

.menu li {
	float: left;
	display: block;
	position: relative;
	z-index: 99999;
	min-height: 32px;
	}	
	
.menu li li {
	min-height: 22px;
	margin-left: 8px;
	}	

* html .menu li {
	height: 32px;
	}	
	
* html .menu li li {
	height: 5px;
	margin-left: 5px;
	}	

.menu span {
	display: none;
	}	

#menu .menu a:hover {
	background-position: 50% -32px;
	}	

/*grouped elements from main buttons*/
#mm_home,
#mm_buying,
#mm_selling,
#mm_renting,
#mm_commercial,
#mm_open,
#mm_about,
#mm_contact {
	display: block;
	height: 32px;
	background-position: 50% 0;
	background-repeat: no-repeat;
	background-color: #E5DFD7;
	}	

/*main menu buttons*/
#mm_home {
	background-image: url(/img/mm_home.gif);
	width: 74px;
	}

#mm_buying {
	background-image: url(/img/mm_buying.gif);
	width: 70px;
	}

#mm_selling {
	background-image: url(/img/mm_selling.gif);
	width: 66px;
	}
	
#mm_renting {
	background-image: url(/img/mm_renting.gif);
	width: 71px;
	}

#mm_commercial {
	background-image: url(/img/mm_commercial.gif);
	width: 99px;
	}

#mm_open {
	background-image: url(/img/mm_open.gif);
	width: 94px;
	}

#mm_about {
	background-image: url(/img/mm_about.gif);
	width: 78px;
	}

#mm_contact {
	background-image: url(/img/mm_contact.gif);
	width: 90px;
	}
	
/* second-level lists */		
.menu li ul { 
	position: absolute; 
	text-transform: lowercase;
	padding:0; 
	margin:0;
	width: 120px;
	}

.menu ul li { /* all list items */
	width: 10em; /* width needed or else Opera goes nuts */	
	}

.menu ul li a {
	display: block; 
	width: 120px; 
	padding: 4px;
 	border: 1px solid #FFF8EF;
 	background: #E3DBD1;
	color: #6F6353;
	text-decoration: none; 
	min-height: 15px;
	-moz-opacity:.9;
    filter:alpha(opacity=90);	
	}

* html .menu ul li a {
	height: 15px;
	}
		
.menu li ul a:hover {
	background: #FAEE28;
	color: #000;
	text-decoration: none; 
	}



	
/*Activates main button*/
body#home #mm_home,
body#buying #mm_buying,
body#selling #mm_selling,
body#renting #mm_renting,
body#commercial #mm_commercial,
body#open #mm_open,
body#about #mm_about,
body#contact #mm_contact {
	background-position: 50% -32px;
	}	
	
	
form legend {
	margin: 0 0 0 0; padding: 0 10px 0 10px;
	font-size: 12px; font-weight: bold;
	color: #8A8986;
	}
	

	

		