/* Layout */
* {
	padding: 0;
	margin: 0;
	}
	
html, 
body {
	background: #D9D7CE;
	background-image:url(../img/bg_home.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%;
	}

#container {
	width: 850px;
	margin: 0 auto;
	padding-top: 70px;
	background-image:url(../img/img_header.jpg);
	background-repeat:no-repeat;
	background-position:right top;
	}	
	
#header {
	width: 850px;
	height: 186px;
	margin: 0 auto;
	padding: 0 auto;
	background-image:url(../img/ani_header00.jpg);
	background-repeat:no-repeat;
	background-position:right top;
	}
	
#main {
	width: 850px;
	height: 368px;
	background-color: #FFFFFF;
	background-image: url(../img/bg_homepage.jpg);
	background-position:center top;
	background-repeat:no-repeat;
	margin: 0 auto;
	padding: 0 auto;
	}
	
	#content {
	float: left;
	font-size:  1.1em;
	width: 850px;
	height: 368px;
	}	
	
	#main_fp {
	float: left;
	width: 200px;
	margin-top: 48px;
	margin-left: 71px;
	}
	
	* html #main_fp {
	margin-top: 47px;
	margin-left: 35px;
	}
	
	
		.fp_pow {
		width: 200px;
			}
			
			.fp_pow #featureImage {
				margin-bottom: 8px;
				width: 200px;
				height: 145px;
				float: left;
			}
			
			.fp_pow #featureImage2 {
				margin-bottom: 5px;
				width: 96px;
				height: 72px;
				float: left;
			}
			
			.fp_pow #featureImage3 {
				margin-bottom: 5px;
				width: 96px;
				height: 72px;
				float: right;
			}
			
			.fp_pow #featuretitle {
				font-size: 1.2em;
				color: #A49E7D;
				text-transform:capitalize;
			}
			.fp_pow #featuretext {
				margin-left: 1px;
			}
	
	#main_text {
	float: left;
	width: 235px;
	margin-top: 118px;
	margin-left: 62px;
	}
	
	#main_qs {
	float: left;
	width: 200px;
	margin-top: 64px;
	margin-left: 47px;
	}
	
	* html #main_qs {
		margin-left: 36px;
		}
		
			
#footer {
	width: 850px;
	background-color: #FFFFFF;
	}
	
	#footer #footer_txt {
		font-size:  1.1em;
		color: #D2CABF;
		text-align: right;
		padding-top: 6px;
		padding-right: 40px;
		padding-bottom: 6px;
		}
		
	#footer a {
		color: #D2CABF;
		text-decoration:none;
		}
		
	#footer a:hover{
		color: #D2CABF;
		text-decoration:underline;
		}
		
		
/*MENU STYLES
---------------------------------------------*/			
		
#menu {
	width: 850px;
	height: 34px;
	margin: 0 auto;
	padding: 0 auto;
	background: #FFF;
	}	

#nav ul {
	list-style-type: none;
	}

#nav li {
	float: left;
	display: block;
	position: relative;
	z-index: 99999;
	height: 34px;
	}	
	
#nav li li {
	height: 22px;
	margin-left: 0px;
	}	

* html #nav li {
	height: 34px;
	}	
	
* html #nav li li {
	height: 5px;
	margin-left: 0px;
	}	

#nav span {
	display: none;
	}	

#nav a:hover {
	background-position: 50% -34px;
	}	

/*grouped elements from main buttons*/
#mm_home,
#mm_buying,
#mm_selling,
#mm_auctions,
#mm_finance,
#mm_career,
#mm_news,
#mm_about,
#mm_contact,
#mm_renting {
	display: block;
	height: 34px;
	background-position: 50% 0;
	background-repeat: no-repeat;
	background-color: #FFF;
	}	

/*main menu buttons*/
#mm_home {
	background-image: url(../img/mm_home.jpg);
	width: 68px;
	}

#mm_about {
	background-image: url(../img/mm_about.jpg);
	width: 87px;
	}

#mm_buying {
	background-image: url(../img/mm_buying.jpg);
	width: 72px;
	}

#mm_auctions {
	background-image: url(../img/mm_auctions.jpg);
	width: 81px;
	}

#mm_selling {
	background-image: url(../img/mm_selling.jpg);
	width: 73px;
	}
	
#mm_finance {
	background-image: url(../img/mm_finance.jpg);
	width: 79px;
	}

#mm_career {
	background-image: url(../img/mm_career.jpg);
	width: 147px;
	}
#mm_renting {
	background-image: url(../img/mm_renting.jpg);
	width: 79px;
	}
	
#mm_news {
	background-image: url(../img/mm_news.jpg);
	width: 66px;
	}
	
#mm_contact {
	background-image: url(../img/mm_contact.jpg);
	width: 95px;
	}
	
/* second-level lists */		
#nav li ul { 
	position: absolute; 
	text-transform: lowercase;
	padding:0; 
	margin:0;
	width: 140px;
	left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
	}

#nav ul li { /* all list items */
	width: 10em; /* width needed or else Opera goes nuts */	
	}

#nav ul li a {
	display: block; 
	width: 140px; 
	padding: 4px;
 	border: 1px solid #D9D7C8;
 	background: #ADA787;
	color: #FFF;
	text-decoration: none; 
	min-height: 15px;
	-moz-opacity:.95;
    filter:alpha(opacity=95);	
	}

* html #nav ul li a {
	height: 15px;
	}
		
#nav ul li a:hover {
	background: #FAEE28;
	color: #000;
	}

#nav li ul ul { /* third-and-above-level lists */
	margin: -1.9em 0 0 141px;
	}

* html #nav li ul ul {/* For IE5*/
	margin: -1.9em 0 0 141px;
	}

#nav  li:hover ul ul, #nav li.sfhover ul ul {
	left: -999em;
	}

#nav li:hover ul, 
#nav li li:hover ul, 
#nav li.sfhover ul, 
#nav li li.sfhover ul { /* lists nested under hovered list items */
	left: auto;
	}	
	
/*Activates main button*/
body#home #mm_home,
body#buying #mm_buying,
body#selling #mm_selling,
body#auctions #mm_auctions,
body#finance #mm_finance,
body#career #mm_career,
body#news #mm_news,
body#about #mm_about,
body#contact #mm_contact,
body#renting #mm_renting {
	background-position: 50% -34px;
	}	
	
	

	


		
		
		
		
		