/* Subpage Basic Layout Pieces
----------------------------------*/

div#columns_wrap {
	background: #000000 url(../images/subpage-content-bg.gif) no-repeat;
	margin-left: 1px;
	margin-right: 1px;
	padding-top: 10px;
	padding-left: 9px;
	padding-right: 9px;
	padding-bottom: 10px;
	/*
	border-left: 1px solid #FF7E40;
	border-right: 1px solid #FF7E40;
	padding: 10px;
	*/
	height: 1%;
	position: relative;
	}
	
div#main_content {
	background: #fff;
	color: #333;
	line-height: 160%;
	width: 704px;
	float: left;
	}
	
div#main_content a {
	color: #A25029;
	}
	
div#main_content ul li {
	list-style-type: square;
	list-style-position: inside;
	}
	
ul.tabs-nav {
	list-style-type: none !important;
	list-style: none !important;
	}
	
div#main_content div.cushion {
	padding-left: 15px;
	padding-right: 15px;
	padding-top: 20px;
	min-height: 500px;
	}
	
div#sub_content {
	margin-left: 720px;
	color: #fff;
	font-size: 80%;
	}
	
div#sub_content a img {
	border: 0;
	}
	
/* Rentals Page 
------------------------------*/

div.rental_button {
	margin-bottom: 1.0em;
	}
	
div.rental_button a {
	font-size: 150%;
	color: #222 !important;
	border: 3px solid #666;
	background-color: #ddd;
	display: block;
	padding: 25px;
	}
	
div.rental_button a:hover {
	color: #000 !important;
	background-color: #ccc;
	}

div#rental_container {
	/*min-height: 600px; turned off while layout decision is made */
	}

form#rental_form {
	border: 1px solid #ddd;
	background-color: #eee;
	padding: 10px;
	}
	
/* Agents Page
------------------------------*/

#agent_list {
	}
	
#agent_list dl {
	position: relative;
	min-height: 100px;
	border-top: 1px solid #ddd;
	padding-top: 20px;
	}
	
#agent_list dl dt.photo {
	float: left;
	margin-right: 20px;
	}
	
#agent_list dt.name {
	font-weight: bold;
	font-size: 120%;
	}
	
/* Agents Detail
-------------------------------*/

div.agent_info {
	position: relative;
	height: 1%;
	}

div.agent_info h1, div.agent_info p, div.agent_info div.agent_bio {
	margin-left: 200px;
	}

div.agent_info div.agent_photo {
	float: left;
	text-align: center;
	width: 199px;
	height: 100%;
	}
	
div.agent_photo img {
	padding-right: 20px;
	}
	
div.agent_info h1 {
	margin-bottom: 0.5em;
	}
	
div.agent_info p {
	font-size: 90%;
	}
	
div.back_links {
	font-size: 80%;
	border-bottom: 1px solid #ddd;
	margin-bottom: 1.0em;
	padding-bottom: 10px;
	}
	
div.back_links a {
	border: 1px solid #ddd;
	padding: 2px;
	background-color: #eee;
	}
	
/* Pages Index 
-----------------------------*/

div#pages dt {
	font-weight: bold;
	}

/* Sales List Page
-------------------------------*/

#sales_list table {
	border-collapse: collapse;
	width: 100%;
	}
	
#sales_list table thead {
	display: none;
	}

#sales_list td {
	padding: 10px;
	border-top: 1px solid #ddd;
	}

#sales_list td.photo {
	vertical-align: top;
	}

#sales_list td.photo a {
	position: relative;
	display: block;
	}
	
#sales_list td.photo a img, a.img img {
	border: 1px solid #333;
	}

#sales_list td.photo a span {
	position: absolute;
	top: 0;
	left: 0;
	height: 50px;
	width: 50px;
	}
	
#sales_list td.photo a span.sold {
	background: url(../images/banner-sold.gif) no-repeat;
	}
	
#sales_list td.photo a span.just_listed {
	background: url(../images/banner-just-listed.gif) no-repeat;
	}
	
#sales_list td.photo a span.under_contract {
	background: url(../images/banner-under-contract.gif) no-repeat;
	}
	
#sales_list td.info {
	vertical-align: middle;
	}
	
#sales_list td.info h3 {
	margin-bottom: 0;
	}
	
#sales_list td.info h3 a {
	text-decoration: none;
	display: block;
	}
	
#sales_list td.info h3 a:hover {
	text-decoration: underline;
	}
	
#sales_list td.info span.list_quick_facts {
	font-size: 80%;
	color: #555;
	}
	
#sales_list td.info span.list_quick_facts strong {
	color: #000;
	}
	
/* Sales Detail Page
-----------------------------------*/

div#sales_details {
	position: relative;
	height: 1%;
	}

div.photos {
	width: 420px;
	float: left;
	background: url(../images/ajax-loader.gif) no-repeat center;
	}
	
div.photos img.main_pic {
	width: 420px;
	height: 315px;
	margin-bottom: 10px;
	}
	
div.photos img.additional_pic {
	width: 60px;
	height: 45px;
	margin-left: 5px;
	margin-right: 5px;
	margin-bottom: 10px;
	}
	
/* Sales Map
---------------------------------*/

#sale_map {
	width: 240px;
	height: 315px;
	margin-left: 430px;
	}
	
#sale_map div span {
	display: none;
	}
	
/* Sales Facts
----------------------------------*/

#sales_facts {
	margin-left: 430px;
	font-size: 90%;
	padding-top: 5px;
	}
	
#sales_facts h4 {
	margin-bottom: 0;
	}
	
/* Property Description
---------------------------------*/

div#description {
	clear: left;
	}
	
/* Contact Page
--------------------------------*/

#agents_photo {
	width: 250px;
	float: left;
	margin-right: 20px;
	text-align: center;
	min-height: 400px;
	_height: 400px; /* IE Hack! */
	}
	
div#contact_info {
	margin-left: 290px;
	}
	
#idx #contact_info {
	margin-left: 0 !important;
	}
	
#idx #results h3 {
	clear: left;
	}
	
#idx li {
	list-style-type: none !important;
	}
	
#idx #top_links, #idx #bottom_links {
	background: #eee;
	padding: 10px;
	border: 1px solid #ddd;
	}

#map {
	width: 250px;
	height: 150px;
	margin-bottom: 1.0em;
	}
	
form#contact_form {
	clear: left;
	border: 1px solid #ddd;
	padding: 10px;
	background-color: #eee;
	margin-bottom: 1.0em;
	}
	
form#contact_form p {
	font-size: 90%;
	margin-bottom: 1.0em;
	}
	
form#contact_form legend {	
	font-weight: bold;
	}
	
form#contact_form fieldset div {
	height: 1%;
	position: relative;
	margin-bottom: 0.5em;
	}
	
form#contact_form label {
	display: block;
	float: left;
	width: 180px;
	padding-right: 20px;
	text-align: right;
	}
	
form#contact_form div.checkbox label {
	display: block;
	float: none !important;
	margin-left: 210px;
	width: auto !important;
	padding: 0 !important;
	text-align: left;
	}
	
form#contact_form div input {
	}
	
form#contact_form div.submit {
	margin-left: 210px;
	}
	
/* Form Errors
-------------------------------*/

div.form_error {
	border: 1px solid #640000;
	background-color: #fff;
	margin: 20px;
	padding: 20px;
	}
	
div.form_error span.error {
	display: block;
	color: #ff0000;
	}
	
fieldset div span.error {
	color: #ff0000;
	font-style: italic;
	font-size: 90%;
	}
	
/* Sub-column Links
-------------------------------*/

div#sub_content {
	padding-top: 30px;
	}
	
div#sub_content h3 {
	font-size: 110%;
	}

div#sub_content a {
	color: #fff;
	}
	
div#sub_content ul li {
	/*background: url(../images/subcol-link-divider.png) no-repeat;*/
	}
	
div#sub_content ul li a {
	display: block;
	text-decoration: none;
	background: url(../images/subcol-link-divider.png) no-repeat;
	padding: 5px;
	}
	
div#sub_content ul li a:hover {
	background: url(../images/subcol-link-highlight.png) repeat-y;
	}
	
/* Photo Galleries 
--------------------------------------------*/

div.gallery_photos {
	padding-left: 20px;
	height: 1%;
	position: relative;
	}
	
div.gallery_photo {
	float: left;
	width: 302px;
	margin-right: 20px;
	margin-bottom: 10px;
	min-height: 265px;
	_height: 265px; /* IE6 */
	}
	
div.gallery_photo span.caption {
	font-size: 75%;
	font-style: italic;
	color: #555;
	line-height: 100% !important;
	display: block;
	padding: 0 10px;
	}
	
/* Search Box
--------------------------------*/

div#mls_quick_search {
	height: 1%;
	position: relative;
	padding-top: 1.0em;
	width: 210px;
	margin-bottom: 1.0em;
	}

div#mls_quick_search ul, div#mls_quick_search li, div#mls_quick_search li a, div#mls_quick_search li a:hover {
	background-color: transparent !important;
	border: 0 !important;
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
	position: relative !important;
	background-image: none !important;
	}

div#mls_quick_search ul li.search {
	width: 210px;
	height: 46px;
	background: url(../images/highlight-subpage-mls.gif) no-repeat !important;
	}
	
div#mls_quick_search ul li.search a {
	height: 46px;
	display: block;
	position: relative;
	}
	
div#mls_quick_search ul li.search a span {
	background: url(../images/highlight-subpage-mls.gif) no-repeat 0 0;
	position: absolute;
	top: 0;
	left: 0;
	}
	
div#mls_quick_search ul li.search a span:hover {
	/* background-position: 0 -140px;*/
	}
	
area {
	border: 1px solid #ff0;
	}
	
/* Basic sidebar items */

div.sidebar_item {
	margin-bottom: 1.0em;
	}
	
/* Bullets for Agent bio pages */

div.agent_bio ul {
	list-style-type: square;
	list-style-position: inside;
	}
	
/*  Box in sidebar
-------------------------------------*/

dl#subpage_agent_block {
	height: 1%;
	position: relative;
	min-height: 75px;
	_height: 75px; /* IE6! */
	}
	
dl#subpage_agent_block dt {
	font-weight: bold;
	}
	
dl#subpage_agent_block dt.img {
	float: left;
	margin-right: 10px;
	}
	
dl#subpage_agent_block dt.name {
	margin-left: 60px;
	}
	
dl#subpage_agent_block dd {
	margin-left: 60px;
	}
	
/* Search Box Sublinks
-------------------------------------
	
div#mls_quick_search ul li.search ul {
	height: 50px;
	margin: 0;
	padding: 0;
	}
	
div#mls_quick_search ul li.search ul li {
	height: 50px;
	width: 170px;
	overflow: hidden;
	float: left;
	}
	
div#mls_quick_search ul li.search ul li a {
	height: 50px;
	display: block;
	}
	
div#mls_quick_search ul li.search ul li a span {
	background-position: 0 0;
	}
	
div#mls_quick_search ul li.search ul li.oceanfront a span {
	background-position: 0 -35px;
	}
	
div#mls_quick_search ul li.search ul li.oceanfront a span:hover {
	background-position: 0 -175px;
	}
	
div#mls_quick_search ul li.search ul li.bayfront a span mls_quick_search
	
div#mls_quick_search ul li.search ul li.bayfront a span:hover {
	background-position: -170px -175px;
	}
	
div#mls_quick_search ul li.search ul li.beachblock a span {
	background-position: 0 -85px;
	padding-bottom: 5px;
	}

div#mls_quick_search ul li.search ul li.beachblock a span:hover {
	background-position: 0 -225px;
	}
	
div#mls_quick_search ul li.search ul li.other a span {
	background-position: -170px -85px;
	padding-bottom: 5px;
	}
	
div#mls_quick_search ul li.search ul li.other a span:hover {
	background-position: -170px -225px;
	}
*/

	
/* Signup Bar
-------------------------------------------*/
	
div#signup_section {
	background: #fff url(../images/signup-bar-white.gif) no-repeat;
	color: #000;
	border-bottom: 1px solid #B2582D;
	}
	
div#signup_section h3 {
	background: url(../images/icon-star-light.gif) no-repeat 0 50%;
	font-weight: bold;
	height: 18px;
	}

/*
<div class="location_links">
	<h4><b>Find Homes for Sale</b> by location in Avalon, NJ</h4>
	<ul>
		<li class="oceanfront"><a href="<%=base_url%>/sales/mls_location/Avalon/oceanfronts">Oceanfront Homes for sale in Avalon, NJ</a></li>
		<li class="beachblock"><a href="<%=base_url%>/sales/mls_location/Avalon/beachblocks">Beachblock Homes for sale in Avalon, NJ</a></li>
		<li class="bayfront"><a href="<%=base_url%>/sales/mls_location/Avalon/bayfronts">Bayfront Homes for sale in Avalon, NJ</a></li>
	</ul>
</div>
*/

.location_links {
	background: #000;
	position: relative;
	font-size: 85%;
	margin-right: 10px;
	padding: 10px;
	margin-bottom: 20px;
	}
	
.location_links h4 {
	visibility: visible;
	text-transform: uppercase;
	line-height: 1;
	font-weight: lighter;
	font-size: 100%;
	color: #ddd;
	letter-spacing: -1px;
	}
	
.location_links h4 b {
	visibility: visible;
	display: block;
	font-size: 140%;
	font-weight: bold;
	letter-spacing: 0px;
	}
	
.location_links ul {
	list-style: none;
	margin: 0 !important;
	}
	
.location_links li {
	border-top: 1px solid #666;
	padding-left: 50px;
	height: 50px;
	}
	
.location_links .oceanfront {
	background: url(../images/icon-oceanfront.jpg) no-repeat 0 50%;
	}
	
.location_links .beachblock {
	background: url(../images/icon-beachblock.jpg) no-repeat 0 50%;
	}
	
.location_links .bayfront {
	background: url(../images/icon-bayfront.jpg) no-repeat 0 50%;
	}
	
.location_links .other {
	background: url(../images/icon-other.jpg) no-repeat 0 50%;
	}
	
.location_links li a {
	color: #ccc;
	text-decoration: none;
	background: none !important;
	display: block;
	padding: 8px 3px;
	}
