/*----------------------------------------------------------------------------
 * 
 * print.css: cross-theme stylesheet for printing.
 * 
 * Various tips used from http://jafferhaider.wordpress.com/2007/12/29/fix-for-the-firefoxcss-one-page-printing-bug/
 *
 *---------------------------------------------------------------------------*/
 

/*----------------------------------------------------------------------------
 * Reset
 *---------------------------------------------------------------------------*/
 
* { 
	color: #000; 
	text-decoration: none;
	background-image: none;
	background-color: transparent;
	border: none;
}

.print {
	display: block;
}

body {
	overflow: visible;
}


/*----------------------------------------------------------------------------
 * General layout
 *---------------------------------------------------------------------------*/
 
html {
	margin: 20pt;
}

#admin,
#navigation, 
#header_container,
#sidebar,
#account_info,
#agency_subtitle,
.pagination,
.hidden {
	display: none;
}

#main { 
	width: auto;
	line-height: 1.5em;
}

#main p {
	font-size: 12pt;
}

/*
 * I don't think we want this, but it's handy for reference...
a[href^="http://"]:after, a[href^="ftp://"]:after
{
  content: " (" attr(href) ")";
  font-size: 10pt;
}
*/

h2, h3, h4 {
	clear: right;
	page-break-after: avoid;
	page-break-inside: avoid;
}

#main h2 {
	font-size: 20pt;
	padding-bottom: 0.3em;
}

#main h3 {
	font-size: 16pt;
}

table tr, table tr td, p, blockquote, ul, ol, dl, pre {
	page-break-inside: avoid;
}

img {
	page-break-inside:avoid; 
	page-break-after:avoid;
}

ul, ol, dl  {
	page-break-before:avoid
}


/*----------------------------------------------------------------------------
 * General content
 *---------------------------------------------------------------------------*/
 
* {
 	font-family: tahoma, verdana, arial, sans-serif;
}

h1, h2, h3, h4, h5,
#main h2, #main h3, #main h4, #main h5 {
	font-family: arial, helvetica, sans-serif;
	border: none;
	margin-bottom: 1em;
}

 
/*----------------------------------------------------------------------------
 * Header and footer
 *---------------------------------------------------------------------------*/
 
#header_right, #header_left_bottom {
	display: none;
}

#header {
	margin-bottom: 1em;
	border-bottom: 4px solid #ccc;
}

#logo_and_title {
	border: none;
	width: 100%;
	padding: 0;
}

#logo_and_title td {
	vertical-align: bottom;
}

#logo_and_title #logo {
	padding: 0 0 0.5em 0;
}

#title {
	text-align: right;
	vertical-align: bottom;
}

h1 {
	font-size: 1.5em;
	color: #333;
	margin: 0;
}
 
#footer {
 	display: none;
}
 
#site_footer_content {
 	border-top: 2px solid #ccc;
	padding: 0.5em 0 0 0;
}
 

/*----------------------------------------------------------------------------
 * Header: branches
 *---------------------------------------------------------------------------*/
 
#branches {
	border-top: 4px solid #ccc;
	padding: 0;
	width: 100%;
}

.branch {
	width: 50%;
	vertical-align: top;
	padding: 0.5em 0;
}

.branch h2 {
	font-size: 1.1em;
	margin: 0 0 0.2em 0;
}

.branch p {
	margin-bottom: 0.1em;
}
 
/*----------------------------------------------------------------------------
 * Home page
 *---------------------------------------------------------------------------*/
 
#home_header {
	display: none;	
}


/*----------------------------------------------------------------------------
 * Property details
 *---------------------------------------------------------------------------*/

.property_price {
	font-weight: bold;
}

.property_summary {
	font-weight: bold;
	margin: 0 0 0.5em 0;
}

.property_summary li {
	display: inline;
	margin-right: 1em;	
}

#details_navigation,
#property_actions,
#search_footer,
ul.actions {
	display: none;
}

img.asset {
	float: none;
	margin: 0;
	page-break-before: avoid;
	page-break-after: avoid;
	page-break-inside: avoid;
}

div.item_container {
	page-break-inside: avoid;
	border-top: 2px solid #ccc;
	border-bottom: 2px solid #ccc;
	padding: 0.5em 0;
}

div.item_container * {
	page-break-before: avoid;
	page-break-after: avoid;
}

div.item_container p {
	page-break-before: avoid;
}

div.item_container h3 {
	page-break-after: avoid;
	margin: 0.75em 0 0.25em 0;
	padding: 0 0 0.25em 0;
}

div.item_container ul {
	margin: 0;
}

div.item_container ul li {
}

div.item_container .property_footer_short {
	font-size: inherit;
}


/*----------------------------------------------------------------------------
 * Property lists
 *---------------------------------------------------------------------------*/

#display_address {
	font-size: 1.5em;
	margin-bottom: 0.25em;
}