#content {width: 807px;}
#content.advancedsearch { width: 940px; }

#advanced_search_form {
position: relative;
overflow: hidden;
}

/*form keeps overlaping the h2 in IE6*/
* html #advanced_search_form form {
padding-top: 40px;
}
* html #advanced_search_form #search_right form { padding:0; }

#advanced_search_form form * {
zoom: 1;
}

#content ul#tabs {
list-style-type:none;
margin:0 0 10px 0;
overflow:hidden;
width:650px;
}

#tabs li {
width:150px;
height:26px;
float:left;
margin-right: 10px;
}

a:link, a:hover, a:visited, a:focus { outline: none; }

#tabs li a {
background: #f5f5f7;
-moz-border-radius: 8px;
-webkit-border-radius: 8px;
color:#036;
display:block;
text-align:center;
padding:4px 8px 4px 8px
}

#tabs .back, #tabs .front {
display:none;
float: left;
width:10px;
height:26px;
/*background:transparent url(/images/sprite-subnav.gif) repeat-x scroll 0 -17px;*/
padding:0;
}


#tabs .front {

}


#tabs .back {
background-position:-19px -17px;
}


#tabs li a:hover,
#tabs li a.active-tab {
background:#66f;
color:#FFFFFF;
}

li#tab1 {width: 150px;}

li#tab2 {width:150px;}

li#tab3 {width:155px;}

li#tab4 {width: 150px;}


#residential,
#rental,
#commsale,
#commlease
{
display:none;
}


#residential.active-tab-body,
#rental.active-tab-body,
#commsale.active-tab-body,
#commlease.active-tab-body
{
display:block;
}

/* legends are a waste of time to try to style to my satisfaction */
legend {
display:none;
}


.group_row_1 {
overflow:hidden;
}
	.group_location, .group_minmax {
	float: left;
	width: 300px;
	}


.group_row_2 {
overflow:hidden;
}

.group_lists div { float: left; width: 300px; }


.group_row_3 {
overflow:hidden;
}

.group_row_3 input.submit-go {
margin: 0 0 20px 411px
}



fieldset {
background:#f5f5f7 none repeat scroll 0 0;
border:0 none;
overflow:hidden;
padding:15px 0 0 15px;
width:632px;
-moz-border-radius: 8px;
-webkit-border-radius: 8px;
border-radius: 8px;
}

fieldset legend {font-weight:bold; padding-left:106px;}



fieldset form div.withphotos {
margin-left:105px;
line-height:25px;
}

div.withphotos input {
padding:0; margin:0;
}
div.withphotos label {
width:200px;
display:inline;
float:none;
text-align: left;
}



#search_right {
overflow:hidden;
position:absolute;
right:0px;
top:36px;
width:270px;
}


#search_right fieldset {
width: 248px;
margin:0 0 10px 0px;
padding: 11px;
font-family: arial;
font-size: 14px;
font-weight: normal;
color: #066;
}



#search_right form {
margin:0;
}

#search_right form div {
margin:0;
padding:0;
}


#search_right select, 
#search_right input {
border-color:#000033;
width: 240px;
height:18px;
margin:0 0 5px 0;
padding:0px;
}

#search_right input.submit-go {
display:block;
height:22px;
width:96px;
}



/*-------------------------------*/




form.cssform  div {
/*
	margin: 0.2em 0;
	padding: 0.2em 0;
*/
margin:0;
padding:0;
overflow:hidden;
position:relative;
}

form.cssform div.help {
color:#787878;
position:absolute;
top:30px;
text-align:right;
font-size:10px;
left:25px;
width:69px;

}

.cssform label {
	width:95px;
	line-height:24px;
	display:block;
	text-align:right;
	float:left;
}

.cssform select, .cssform input, .cssform textarea {
	width:150px;
	border:1px solid #94dbdb;
	padding:0.1em;
	overflow:auto;
	margin-left:1em;
}

.cssform select:hover,.cssform input:hover,.cssform textarea:hover {
	border:1px solid #aaa;
}

.cssform input.submit-go:hover {
	border: none
}

.cssform textarea {
	height:4em;
}

.omit {display:inline; float:none;}
.cssform input.omit {width:auto} /* for radio inputs */

.cssform .active {
	background-color:#eef;
}
.cssform .error {
	display:block;
	width:10em;
	color:#f00;
	width:21.2em;
	text-align:right;
}

.cssform .submit-go {
background:transparent url(../images/sprite-quicksearch.png) no-repeat scroll right -22px;
border:0 none;
height:23px;
margin:12px 0 0 95px;
padding:0;
width:96px;

}
