/* =============================================================================
PRINT
supress certain page elements, hide background images, etc...
----------------------------------------------------------------------------- */
body {
  background:#fff;
  }

.no-print {
  display:none !important;
  }

/* hide the logo from printing (property pages) */
#lay-page #logo {
  display:none;
  }

/* hide elements of the main template */
#topbar,
#midbar,
#menu-report,
#form_search {
  display:none;
  }

/* hide content area elements */
form.bar,
#pagenav,
.message,
.pager,
p#note,
.export,
.update-link,
h2 a.icon {
  display:none;
  }

/* remove padding added for bg colour */
#main {
  padding:0;
  }

/* hide footer elements */
#menu-temp,
#menu-corporate {
  display:none;
  }

/* hide background images */
#header,
#header-bg,
#lay-home {
  background:0 !important;
  }

/* change coloured elements like text & borders */
h1 {
  margin:1em 0;
  color:#444 !important;
  text-align:left !important;
  }

/* IE7/6 have too much space between header & page titles */
#lay-page h1 {
  margin-top:0;
  }

a { color:#444 !important;}

#footer {
  padding-left:0;
  border-color:#ccc;
  border-width:0.1em;
  text-align:left;
  }

/* when .building.teaser had to have a float added for print wrapping issue,
   footer came but up against the last listing. add space */
#footer {
  clear:both;
  float:left;
  width:100%;
  padding-top:0.3em;
  }

/* =============================================================================
LAYOUT (template)
----------------------------------------------------------------------------- */
.layout {
  width:100% !important;
  }
#main {
  width:100% !important;
  }

#content {
  margin-left:0 !important;
  }

#header {
  margin-bottom:1em;
  }
#lay-home #header {
  margin-bottom:1em;
  padding:0;
  }

#slogan {
  left:0;
  }

/* corporate */
#lay-corporate #main {
  border-top:0;
  }

#lay-corporate #sidebar-right {
  margin-top:0;
  padding-top:0;
  }

#lay-corporate #sidebar-right {
  display:none !important;
  }

#lay-corporate #content {
  float:none !important;
  width:auto;
  padding-top:0.1em;
  }

/* =============================================================================
GENERAL
----------------------------------------------------------------------------- */

/* remove link underlines */
a {
  text-decoration:none !important;
  }

/* remove help tip icon */
table.report span.help {
  display:none;
  }

/* =============================================================================
ADMIN
----------------------------------------------------------------------------- */
#lay-admin #breadcrumbs {
  position:absolute;
  top:0;
  left:0;
  padding:0;
  }

.descr,
.arrows {
  display:none;
  }

/* remove padding cause no bg colour when printing */
#address { padding:0;}

/* =============================================================================
PAGE BREAKS
----------------------------------------------------------------------------- */

/*
 * Print one building per page
 */
/*.building.teaser { page-break-after:always;}
.building.teaser.last { page-break-after:avoid;}
.building.detail { page-break-after:avoid;}*/

/*
 * Defaults to print 2 buildings per page
 * Can be disabled via print options
 */
.breakpage {
  display:block;
  page-break-after:always;
  }
.breakpage.last {
  page-break-after:avoid;
  }

.building.teaser,
.building.teaser right {
  page-break-inside:avoid;
  }

table.report {
  page-break-inside:avoid;
  }
table.report caption {
  page-break-before:avoid;
  }

#footer {
  page-break-before:avoid;
  }

/*
 * Gmap (Map View)
 */
#map {
  page-break-after:always;
  }


/* =============================================================================
LAYOUT (building)
----------------------------------------------------------------------------- */
.building,
.building .title {
  clear:both;
  width:100%;
  }

/* IE fix layout wrapping (was 77%) */
.building .right {
  width:76%;
  }

/* IE (was 88%) */
.building.teaser .right {
  width:87%;
  }
/* IE (was 62%) */
.building.teaser .right .right {
  width:60%;
  }

/* reduce spacing for table lists */
.building table.list {
  margin-bottom:0.5em;
  }
.building table.list th,
.building table.list td {
  padding-top:0.1em;
  padding-bottom:0.1em;
  }

.building table.list th {
  width:45%;
  }

/* reduce spacing for table lists */
.building table.list th,
.building table.list td {
  padding-top:0.1em;
  padding-bottom:0.1em;
  }

/* =============================================================================
BUILDINGS
----------------------------------------------------------------------------- */
.building.teaser {
  /* float & width to fix printing issues where sometimes buildings are wrapped
     with the previous building */
		float:left;
		width:100%;

  margin-top:1.5em;
  padding-top:0;
  border-top:0;

  }

.building.detail h1 {
  text-align:center !important;
  }

.building .title input {
  display:none;
  }

table td {
  vertical-align:top;
  }
table th.filter,
table td.filter,
table th.action,
table td.action {
  display:none;
  }

/* testing... */
/*table .info-date {
  display:none;
  }*/

/* hide submit buttons that are page filter elements */
input.screen{
  display:none !important;
  }

/* column widths are a percentage. when you print page the images in portrait
   are wider than the column width. */
.building .left img {
  display:block;
  width:100%;
  }

/* additional rent: if print options set to no background colours we see the cell
 * borders, remove those.
 */
.additional-rent {
  padding:0;
  }

.additional-rent table tr,
.additional-rent table th,
.additional-rent table td {
  border:0 !important;
  }

/* reduce spacing */
.building .right .left {
  margin-bottom:0;
  }
.building table {
  font-size:90%;
  }
.building table th,
.building table td {
  padding-top:0.1em;
  padding-bottom:0.1em;
  }

/* Gmap
 * the width of the column the gmap's in is differnt for display and print, so
 * adjust the gmap for print so that the location marker is still centered
 *
 * sizes: display: 204x200px / print: 137x134px
 */
.gmapdiv {
  display: none;
  width:171px;
  margin-left:-34px;

  }
.gmapdivstatic {
  display: block;
  }

/* =============================================================================
STACKED AVAILABILITY
----------------------------------------------------------------------------- */
table#stacked-availability th.legend .legend {
  font-size:0.8em;
  }
  .legend .box {
    width:30px;
    height:12px;
  }
