.clear {
	clear: both;
}

/* ============================================================
	Amenities Search Form
============================================================ */

#amenities_search_form_container {
	padding: 0.5em;
}

#amenities_search_form_container h3 {
	font-weight: bold;
	margin-top: 0.5em;
	margin-bottom: 0.25em;
}

/* JS-activated H3s*/
#amenities_search_form_container.scripted h3.collapsable {
	background: transparent url("../images/right-triangle.jpg") right center no-repeat;
	cursor: pointer;
}

#amenities_search_form_container.scripted h3.collapsable.show {
	background: transparent url("../images/down-triangle.jpg") right center no-repeat;
}

#amenities_search_form_container form label,
#amenities_search_form_container div.radio {
	margin-bottom: 0.5em;
}

#amenities_search_form_container form label {
	cursor: pointer;
	display: block;
}

#amenities_search_form_container form label span {
	display: block;
	font-weight: bold;
}

/* Stand-alone checkbox */
#amenities_search_form_container form label.checkbox span {
	display: inline;
	font-weight: normal;
}

/* Select drop-downs */
#amenities_search_form_container form label.select select {
	width: 220px;
}

/* Text boxes */
#amenities_search_form_container form label.textbox input {
	width: 220px;
}

/* Checkbox group */
#amenities_search_form_container form ul.checkboxgroup {
	font-size: 90%;
}

#amenities_search_form_container.scripted form ul.checkboxgroup {
	display: none;
	/* height: 0;
	overflow: hidden; */
}

#amenities_search_form_container.scripted form ul.checkboxgroup.show {
	display: block;
	/* height: auto;
	overflow: auto; */
}

#amenities_search_form_container form ul.checkboxgroup input {
	margin-right: 0.5em;
}

/* Series of Radio buttons */
/*
#amenities_search_form_container div.radio span {
	display: block;
	font-weight: bold;
}

#amenities_search_form_container div.radio label {
	margin-bottom: 0.25em;
	margin-left: 0.5em;
}

#amenities_search_form_container div.radio label span {
	display: inline;
}
*/

/* ============================================================
	The Google Map
============================================================ */
#search_results_map {
	text-align: center;
	/* width: 300px; */
}

#search_results_map.scripted {
	border: 1px solid black;
	height: 250px;
}

#search_results_map h2,
#search_results_map .popup_content {
	font-size: 80%;
}

#search_results_map h2 {
	background: transparent url('../images/header-smaller.gif') right top no-repeat;
	margin-right: 14px;
}

#search_results_map h2 span {
	background: transparent url('../images/headercap-smaller.gif') left top no-repeat;
	display: block;
	font-size: 120%;
	padding-left: 7px;
	padding-right: 7px;
}

#search_results_map h2,
#search_results_map h2 span {
	height: 18px;
	line-height: 18px;
}

#search_results_map h2 a {
	color: white;
	text-decoration: none;
}

#search_results_map .popup_content {
	/* background-color: #f4fbfe; */
}

#search_results_map .address,
#search_results_map .location {
	display: block;
}

#search_results_map a {
	color: blue;
}


#content a {
	color: black;
}

#content h3,
#content .pagination,
#content .pagination2 {
	margin: 0.5em;
}

#content h3,
#content .pagination {
	width: 40%;
}

#content h3 {
	display: block;
	float: left;
}

#content h3 span {
	font-size: 130%;
	font-weight: bold;
}	

#content .pagination {
	float: right;
}

#content .pagination,
#content .pagination2 {
	text-align: right;
}

/* ============================================================
	The proper list of properties, properly.
============================================================ */
#content ul.matching_properties {
	clear: both;
	list-style-type: none;
	margin: 0;
	padding: 0;
}

#content ul.matching_properties li {
	/* clear: left; */
	margin: 0;
	padding: 0.5em;
	overflow: auto;
}

#content ul.matching_properties li.silver {
	background-color: #e2e8ef;
}

#content ul.matching_properties li.gold {
	background-color: #fef7ce;
}


#content ul.matching_properties li img {
	border: 1px solid #9bdfef;
	float: left;
	margin: 0 8px 8px 0;
}

/* Headers */
#content ul.matching_properties li h4 {
	/* background: transparent url('../images/header-double.gif') right top no-repeat; */
	background: transparent url("../images/search/header-right-endcap-bronze.jpg") right top no-repeat;
	color: white;
	font-size: 100%;
	font-weight: bold;
	margin: 0;
	margin-left: 110px;
}

#content ul.matching_properties li h4 span {
	/* background: transparent url('../images/headercap-double.gif') left top no-repeat; */
	background: transparent url("../images/search/header-left-endcap-bronze.jpg") left top no-repeat;
	display: block;
	padding-left: 8px;
	padding-right: 8px;
}

/* Gold headers */
#content ul.matching_properties li.gold h4 {
	background-image: url("../images/search/header-right-endcap-gold.jpg");
}
#content ul.matching_properties li.gold h4 span {
	background-image: url("../images/search/header-left-endcap-gold.jpg");
}

/* Silver headers */
#content ul.matching_properties li.silver h4 {
	background-image: url("../images/search/header-right-endcap-silver.jpg");
}
#content ul.matching_properties li.silver h4 span {
	background-image: url("../images/search/header-left-endcap-silver.jpg");
}

#content ul.matching_properties li h4,
#content ul.matching_properties li h4 span {
	height: 24px;
	line-height: 24px;
}

#content ul.matching_properties li h4 a {
	color: white;
	text-decoration: none;
}

#content ul.matching_properties li p.location {
	font-size: 80%;
	margin: 0;
	margin-left: 118px;
}

#content ul.matching_properties li p.location a {
	color: black;
	text-decoration: none;
}
#content ul.matching_properties li p.location a:hover {
	text-decoration: underline;
}

#content ul.matching_properties li .description a {
	color: #cc6d00;
	margin-left: 0.5em;
}

