body {
    	padding:0; margin:0 auto;
	text-align:center;
	background: #c9b696;
	background-image:url(img/bg.jpg);
background-repeat:repeat-x;
}


body, p, div, td {font: 11px Verdana, Arial, Helvetica, sans-serif; color:#222;}

h1, h2, h3, h4, h5, h6 {
	font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, Helvetica, sans-serif;
	margin: 0 0 15px 0; padding: 0;
	color: #516580;
	border-bottom: 1px solid #CCC;
	font-weight:normal;
	}
h1 {font-size:22px;}
h1 span {visibility:hidden;}
h2 {font-size:14px;border-bottom:none;margin-bottom:-10px;margin-top:30px;}
h2 span{visibility:hidden;}
h3 {font-size:14px;}
h3 span{visibility:hidden;}
h4 {font-size:13px;}
h4 span{visibility:hidden;}
h5 {font-size:12px;}
h5 span{visibility:hidden;}
h6 {font-size:10px;}
h6 span{visibility:hidden;}


/*Container and Header*/
#box {
    position:relative;
	margin:auto;
	width:746px;
	background-image:url(img/box-bg.jpg);
	background-repeat:repeat-x;
	background-color:#fff;
	border:4px solid #999;
}

#container {
    width:700px;
	position:relative;
	margin:auto;
	text-align:left;
	margin-left:20px;
	background-repeat:repeat-y;
}

*html #container {
    position:relative;
    width:700px;
	padding:0;
    margin-left:20px;
}
#header {
    padding:0; margin:0;
	position:relative;
	width:700px;
	height:95px;
	border-bottom:1px solid #A1A1A1;
	background-repeat:no-repeat;
	background-image:url(img/header.jpg);
}
#header span {visibility:hidden;}

/*Slideshow*/
#slideshow {
    position:relative;
	width:524px;
	height:180px;
	margin-top:10px;
	background-repeat:no-repeat;
}

.quick-search{
   position:relative;
	width:172px;
	height:180px;
	background-repeat:no-repeat;
	background-color:#516580;
	margin-top:-180px;
	margin-left:530px;
	display:block;
}

*html .quick-search{
   position:relative;
	width:172px;
	height:180px;
	background-repeat:no-repeat;
	background-color:#516580;
	margin-top:-180px;
	margin-left:530px;
	line-height:0.3em;
}

/*Top Navigation*/
#mainnav {
    position:relative;
	float:left;
	margin-top:10px;
	width:700px;
	height:28px;
	overflow:hidden;
	border-top:1px solid #A1A1A1;
	border-bottom:1px solid #A1A1A1;
}
#mainnav span{visibility:hidden;}
*html #mainnav {height:28px;}
#mainnav div {
    position:relative;
    width:700px;
	float:left;
	height:26px;
}
#mainnav ul {
    margin: 0;
	padding: 0;
	list-style:none;
}
#mainnav ul li {
    margin-left: 0px;
}
#mainnav a {
    display:block;
	color:#333;
	text-decoration:none;
	padding:9px 12px 3px;
	float:left;
	font-size:11px;
	border-bottom:5px solid #fff;
}
#mainnav a:hover {
    color:#333;
	border-bottom:5px solid #516580;
background-color:#f9f9f9;
}
/*Body Container*/
#bodycontainer {
   width:700px;
   position:relative;
   margin-top:52px;
   margin-bottom:7px;
   background-image:url(img/bodycontainerbg.gif);
   background-repeat:repeat-y;
   overflow:hidden;
}
*html #bodycontainer {
   margin-top:10px;
 }   
/*Body Text*/


#text {
    position:relative;
	width:500px;
	float:left;
	margin-right:20px;
	margin-bottom:10px;
font-family:Verdana, Arial, Helvetica, sans-serif;font-size:12px;line-height:18px;
}
*html #text {
    margin-right:7px;
	margin-top:15px;
}
#text a{color:#1c6991;text-decoration:none;border-bottom:1px solid #CCC;}
#text a:hover{background-color:#9ab5c2;color:#FFF;border-bottom:1px solid #FFF;}

/*Right side Nav*/
#rightnav {
    position:relative;
	float:right;
	width:168px;
}
#rightnav div{swidth:140px;float:left;left:-40px;margin-top:-10px;position:relative;z-index:1;}
*html #rightnav div{width:140px;float:right;position:relative;left: 10px;margin-top:-3px;z-index:1;}
*:first-child+html #rightnav div{swidth:140px;float:left;left:0px;margin-top:0px;position:relative;z-index:1;}
#rightnav ul, #rightnav li{display:block;float:left;list-style:none;margin-left:0;}
#rightnav ul ul{display:none;}
#rightnav li{border-bottom:1px solid #A1A1A1; float:left;background:#516580;}
*html #rightnav li{border-bottom:1px solid #A1A1A1;}
/*#rightnav li:hover {border-left:4px solid #890c08;}*/
#rightnav li a {font-size:11px;font-weight:normal;float:left;display:block; _display:inline-block;width:157px; border:0; margin:0; padding:5px 3px 5px 5px;text-decoration:none;background:#516580;color:#fff;border-left:4px solid #516580;}
#rightnav li a:hover {background-color:#e7e7e7; color:#000;border-left:4px solid #516580;}


/* Footer */
#footer { 
    position:relative;
	width:700px;
	height:85px;
	padding:0;
	clear:both;
	background-color:#FFF;
	border-top:1px solid #A1A1A1;
	text-align:left;
}
#footer p {
    font-size:10px;
	padding-top:8px;
	margin:0;
	text-align:left;
	color:#a6a6a6;
font-family:Verdana, Arial, Helvetica, sans-serif;
}
#footer p a {
    color:#a6a6a6;
	text-decoration:none;
}
#footer a:hover {
    color:#40728B;
}
*html #footer p{
    padding:-20px;
}
.rew-logo {font-size:9px;float:right;padding:7px;padding-right:0px;}
#mls-box{text-align:center;padding:10px;width:490px;height:44px;background-image:url(../img/search-mls.jpg);background-repeat:no-repeat;}
#mls-box a{text-decoration:none;border-bottom:none;color:#870C07;font-size:16px;font-weight:normal;	font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, Helvetica, sans-serif;line-height:40px;}
#mls-box a:hover{background-image:none;text-decoration:none;border-bottom:none;color:#A60807;background-color:transparent;}



/*find a home button*/

a.swapped:link, a.swapped:visited {
display:block; /*allows width and height settings to apply*/
width: 172px; /*match to width of the image*/
line-height: 180px; /*match to height of the image*/
text-indent:-100.0em; /*moves the text off screen*/
text-decoration:none; /*removes the underline*/
background:url(img/find-a-home.jpg) no-repeat; /*sets the unmoused image*/
}
a.swapped:link:hover, a.swapped:visited:hover {
background:url(img/find-a-home-over.jpg) no-repeat; /*changes to the moused image on hover*/
} 