/* General ================================================== */ body { background: #ddd; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 15px; line-height: 1; margin-top: 4%; } body.rtl { direction: rtl; unicode-bidi: embed; } page[size="A4"] { background: white; box-shadow: 0 0 0.5cm rgba(0,0,0,0.1); display: block; margin: 0 auto; margin-bottom: 0.5cm; min-height: 29.7cm; width: 21cm; } @media print { body, page[size="A4"] { margin: 0; box-shadow: 0; } } h1, p { margin: 0 0 20px; } img { max-width: 100%; height: auto; } a:link, a:visited { color: #333; } @media print { a { text-decoration: none; } } .wrap { padding: 20mm; } /* Actions ================================================== */ .actions { margin: -20px auto 40px; width: 21cm; } @media print { .actions { display: none; } } .actions a { text-decoration: none; } .actions .button.printnow { background-color: #13ae90; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; color: #fff; font-size: 12px; padding: 10px 15px; } /* Listing Elements ================================================== */ [class*="listing-print-"] { margin-bottom: 30px; page-break-inside: avoid; } .wpsight-listing-price { font-weight: bold; } .wpsight-label, .wpsight-featured { display: none; } .wpsight-alert { color: red; margin-bottom: 30px; } .listing-print-agent { padding-top: 20px; } .listing-print-agent .alignleft { max-width: 60%; min-width: 50%; } .listing-print-agent .alignright { max-width: 35%; } .listing-print-agent .alignleft img { float: left; margin: 0 10px 10px 0; } .rtl .listing-print-agent .alignleft img { float: right; margin-left: 10px; margin-right: 0; } .listing-print-agent strong { font-size: 1.5em; line-height: 2; } /* Listing Details ================================================== */ .wpsight-listing-details { margin-right: -5%; } .rtl .wpsight-listing-details { margin-left: -5%; margin-right: 0; } .wpsight-listing-details .listing-details-detail { border-bottom: 1px solid #ededed; float: left; margin-right: 5%; padding: 10px 0; width: 45%; } .rtl .wpsight-listing-details .listing-details-detail { float: right; margin-left: 5%; margin-right: 0; } .wpsight-listing-details .listing-details-label { display: inline-block; font-weight: bold; min-width: 50%; } .wpsight-listing-details .listing-details-value { display: inline-block; word-break: break-all; } /* Clearing ================================================== */ .clearfix:before, .clearfix:after { content: '\0020'; display: block; height: 0; overflow: hidden; visibility: hidden; width: 0; } .clearfix:after { clear: both; } .clearfix { zoom: 1; } .clear, .wrap { clear: both; } /* Useful ================================================== */ .alignleft { float: left; width: auto; } .rtl .alignleft { float: right; } .alignright { float: right; width: auto; } .rtl .alignright { float: left; }