/*
 * ___ _   _ ___ _  _
 * | _ \ | | / __| || |
 * |  _/ |_| \__ \ __ |
 * |_|  \___/|___/_||_|
 * 
 * Real Estate Web Solutions - http://property.pushcreative.com.au/
 * 
 * Copyright (c) 2019. All Rights Reserved.
 */
/* Vars */

/** flex-grid(margin = 0.5rem, flex-basis = 160px, flex-wrap = nowrap) */
@media print {
html {
    font-size: 12px !important;
    }
#site-wrap {
    overflow-y: auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    }
#site-wrap,
#site-wrap > * {
    display: block !important;
    }
body {
    padding: 0 !important;
    color: #000 !important;
    background-color: #fff !important;
    font-size: 1rem !important;
    }
h3 {
    font-size: 1.25rem !important;
    }
p + p {
    margin-top: 1rem;
    }
#site-header,
#site-main,
#site-footer {
    position: relative !important;
    max-width: none;
    margin: 0 auto;
    }
#site-header .container,
#site-main .container,
#site-footer .container {
    width: 90%;
    max-width: none;
    margin: 0 auto;
    }
}

@media print {
@page {
    margin: 10mm 10mm 0 10mm;
    size: a4;
    }
}

html.print * {
    color: #000;
    background-color: transparent;
    }
html.print {
    padding: 0;
    margin: 0;
    font-size: 12px !important;
    line-height: 0;
    }
html.print p {
    margin-bottom: 1rem;
    }
html.print h1 {
    font-size: 1.5rem;
    }
html.print h1 span[itemprop="streetAddress"] {
    display: block;
    font-size: 2rem;
    }
html.print h3 {
    font-size: 1.25rem !important;
    }
html.print h3 small {
    display: block;
    font-size: 1rem !important;
    }
html.print body {
    overflow: visible !important;
    padding: 0;
    padding: 0 !important;
    margin: 0;
    margin: 0 !important;
    font-size: .1px;
    line-height: 1.4;
    }
html.print body img,
html.print body svg {
    vertical-align: bottom;
    }
html.print body small {
    font-size: 5pt;
    }
html.print body .page-wrap {
    position: relative;
    display: inline-block;
    vertical-align: bottom;
    width: 100%;
    height: 99.9vh;
    max-height: calc(297mm - 10mm - 10mm);
    max-height: calc(297mm - 10mm - 10mm);
    max-height: calc(297mm - 10mm - 10mm);
    padding: 0;
    margin: 0;
    }
html.print body .page-wrap > .page {
    position: absolute;
    top: 0;
    left: 0;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    overflow: hidden;
    width: 100%;
    height: 100%;
    font-size: 1rem;
    -webkit-align-items: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-justify-content: stretch;
    justify-content: stretch;
    }
html.print body .page-wrap > .page > main {
    width: 100%;
    -webkit-flex: 1 1 80%;
    -ms-flex: 1 1 80%;
    flex: 1 1 80%;
    }
html.print body .page-wrap > .page > main.center {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    }
html.print body .page-wrap > .page > main.center > * {
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    }
html.print body .page-wrap > .page > header,
html.print body .page-wrap > .page > footer {
    width: 100%;
    height: auto;
    padding: 0;
    margin: 0;
    -webkit-flex: 0 0 auto;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    }

/*
@media print and (orientation: landscape)
{
    html.print .page-wrap { display: none !important;}
    body::before { content: "Landscape printing is not supported."; font-size: 16pt; padding: 20vh 0; text-align: center; display: block;}
}
*/
@media screen {
html.print {
    font-size: 10.5px;
    }
html.print body {
    background-color: #eee;
    }
html.print body .page-wrap {
    display: block;
    overflow: hidden;
    width: calc(800px - 38px);
    width: calc(800px - 38px);
    width: calc(800px - 38px);
    height: calc(1130px - 38px);
    height: calc(1130px - 38px);
    height: calc(1130px - 38px);
    min-height: 0;
    max-height: none;
    margin: 0 auto;
    margin-bottom: 2rem;
    border: 38px solid #fff;
    -webkit-box-shadow: 1px 1px 4px rgba(0,0,0,.3),0 0 1px 0 rgba(0,0,0,.3);
    box-shadow: 1px 1px 4px rgba(0,0,0,.3),0 0 1px 0 rgba(0,0,0,.3);
    background: #fff;
    }
html.print body .page-wrap > .page {
    height: 99.9%;
    }
}
