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

div.content_top {
	background: url(../images/content-top-subpage.jpg) no-repeat;
	}
	
div.content {
	background: url(../images/content-bg-subpage.jpg) repeat-y;
	}

div.content_bottom {
	background: url(../images/content-bottom-subpage.jpg) no-repeat bottom;
	}
	
table#layout {
	margin-top: 20px;
	}
	
td.main_col {
	padding: 10px 20px 10px 20px;
	width: 690px;
	}
	
/* Market Report */

table.market {
	border: 1px solid #ddd;
	width: 95%;
	border-collapse: collapse;
	border-top: 1px solid #aaa;
	}
	
table.market td, table.market th {
	padding: 5px !important;
	text-align: left;
	border: 1px solid #ddd;
	border-top: 1px solid #ccc;
	}
	
/*
	
table.market th, table.market td {
	padding: 10px !important;
	text-align: left;
	border: 1px solid #eee;
	}
	
table.market thead th, table.market thead td {
	border: none !important;
	}
	
table.market tbody tr th, table.market tbody tr td {
	border-top: 1px solid #666;
	}
	
*/
	
/* Ginn Pages */
	
div.ginn_content table, div.ginn_rentals table {
	border-top: 1px solid #ccc;
	margin-bottom: 10px;
	width: 95% !important;
	}
	
div.ginn_detail table table td, table.rental_info td {
	padding: 3px;
	border-top: 1px solid #ccc;
	}
	
div.ginn_rentals table {
	background: #ccc;
	margin: 10px 0 !important;
	}
	
div.ginn_rentals table td {
	padding: 20px;
	}
	
div.request { background-color: #C9EBF7; width: 260px; text-align: center; margin: 0 auto; border: 3px solid #AEAF9F; padding: 5px; border-radius: 9px; -moz-border-radius: 9px; -webkit-border-radius: 9px; }
div.request a { color: #486C93; text-decoration: none; font-weight: bold; }

/*	
div.ginn_rentals select {
	margin-right: 15px;
	}
	
div.ginn_rentals input {
	margin-right: 15px;
	}
*/

div.ginn_rentals {
	line-height: 200%;
	}
	
div.ginn_content td {
	padding: 10px !important;
	}
	
div.ginn_content ol, div.ginn_rentals ol {
	list-style: none;
	}
	
/* 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 div.agent_photo {
	float: left;
	margin-right: 10px;
	}
	
div.agent_photo img {
	padding-right: 20px;
	}
	
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;
	}
	
#sales_facts ul { 
	list-style: none;
	}
	
/* 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;
	}

#map {
	width: 250px;
	height: 325px;
	margin-right: 20px;
	margin-bottom: 20px;
	}
	
form#contact_form {
	clear: left;
	border: 1px solid #ddd;
	padding: 20px;
	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 {
	border: 0 !important;
	}
	
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 */
	
/* 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;
	}

/* homepage_link */

div.homepage_link a {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 200;
	width: 100%;
	height: 120px;
	}
	
/* Sidebar Stuff */

div.sidebar_item {
	margin: 0 20px;
	margin-bottom: 15px;
	}

div.sidebar_item p {
	font-size: 14px;
	line-height: 18px;
	border-top: 1px dashed #333;
	border-bottom: 1px dashed #333;
	padding: 5px 0;
	color: #555;
	margin-bottom: 5px;
	}
	
div.sidebar_item ul {
	list-style: none;
	}
	
div.sidebar_item ul li {
	font-size: 14px;
	border-top: 1px dashed #333;
	padding: 5px 0;
	}
	
div.sidebar_item ul li a {
	color: #2369B4;
	}