@charset "utf-8";

/*
Hive Layout Framework
Copyright (c) 2008-2024 Hive Solutions Lda.

This file is part of Hive Layout Framework.

Hive Layout Framework is free software: you can redistribute it and/or modify
it under the terms of the Apache License as published by the Apache
Foundation, either version 2.0 of the License, or (at your option) any
later version.

Hive Layout Framework is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
Apache License for more details.

You should have received a copy of the Apache License along with
Hive Layout Framework. If not, see <http://www.apache.org/licenses/>.
*/

/*
__author__    = João Magalhães <joamag@hive.pt>
__copyright__ = Copyright (c) 2008-2024 Hive Solutions Lda.
__license__   = Apache License, Version 2.0
*/

body.printing {
    background-color: #fafafa;
    color: #2d2d2d;
    height: 100%;
    margin: 0mm 0mm 0mm 0mm;
    padding: 0mm 0mm 0mm 0mm;
    width: 100%;
}

body.printing * {
    box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -khtml-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    page-break-before: left;
}

body.printing #header {
    display: none;
}

body.printing #footer {
    display: none;
}

body.printing .page {
    background: #ffffff;
    border: 1px solid #d2d2d2;
    border-radius: 6px 6px 6px 6px;
    -o-border-radius: 6px 6px 6px 6px;
    -ms-border-radius: 6px 6px 6px 6px;
    -moz-border-radius: 6px 6px 6px 6px;
    -khtml-border-radius: 6px 6px 6px 6px;
    -webkit-border-radius: 6px 6px 6px 6px;
    box-shadow: 0px 0px 4px #cccccc;
    -o-box-shadow: 0px 0px 4px #cccccc;
    -ms-box-shadow: 0px 0px 4px #cccccc;
    -moz-box-shadow: 0px 0px 4px #cccccc;
    -khtml-box-shadow: 0px 0px 4px #cccccc;
    -webkit-box-shadow: 0px 0px 4px #cccccc;
    margin: 10mm auto 10mm auto;
    min-height: 297mm;
    padding: 6mm 2mm 6mm 2mm;
    width: 210mm;
}

body.printing .page-counter {
    font-size: 16px;
    margin: 0mm 0px 6mm 0mm;
}

@page {
    margin: 0mm 0mm 0mm 0mm;
    padding: 0mm 0mm 0mm 0mm;
    size: A4;
}

@media print {
    body.printing {
        background-color: initial;
        height: 297mm;
        margin: 0mm 0mm 0mm 0mm;
        width: 210mm;
    }

    body.printing .page {
        background: initial;
        border: initial;
        border-radius: initial;
        -o-border-radius: initial;
        -ms-border-radius: initial;
        -moz-border-radius: initial;
        -khtml-border-radius: initial;
        -webkit-border-radius: initial;
        box-shadow: initial;
        -o-box-shadow: initial;
        -ms-box-shadow: initial;
        -moz-box-shadow: initial;
        -khtml-box-shadow: initial;
        -webkit-box-shadow: initial;
        margin: 0mm 0mm 0mm 0mm;
        min-height: initial;
        page-break-after: always;
        width: initial;
    }
}
