div.pagebreak {
    page-break-after: always;
}
h2.pdf {
    margin: 0;
    padding: 0;
    font-size: 11px;
}
h3.pdf {
    margin: 0 0 4px 0;
    padding: 0;
    font-size: 11px;
    color: #777;
}
h4.pdf {
    margin: 0 0 4px 0;
    padding: 0;
    color: #444;
    text-align: right;
}
table.pdf {
    margin: 10px 0;
    border-collapse: collapse;
    border: 1px solid #ddd;
    width: 100%;
}
table.pdf tr:nth-child(even) td {
    background-color: #fafafa;
}
table.pdf th {
    border-collapse: collapse;
    border: 1px solid #ddd;
    padding: 6px;
    font-weight: 500;
    text-align: center;
    color: #111;
    background: #f0f0f0;
}
table.pdf td {
    text-align: center;
    border-collapse: collapse;
    border: 1px solid #ddd;
    padding: 6px;
    background: #fff;
}
table.pdf th,
table.pdf td {
    font-size: 10px;
}
table.pdf td.right {
    text-align: right;
}
table.pdf td.left {
    text-align: left;
}
table.pdf tr.total td {
    font-weight: 500;
}
table.pdf tr.total td:first-child {
    text-align: right !important;
}
table.pdf.clean,
table.pdf.clean td,
table.pdf.clean th {
    border: 0;
    background: none;
}
table.pdf.clean img {
    height: 50px;
}
table.pdf.clean td:first-child {
    text-align: left;
    background: none;
}
table.pdf.clean td:last-child {
    text-align: right;
    background: none;
}
.SUB {
    font-size: 11px;
    color: #888;
}
hr.pdf {
    margin: 0;
    padding: 0;
    border: 0;
    height: 1px;
    background: #ddd;
}

.relatorio_container {
    overflow: auto;
}

/* custom to pdf file */
body {
    font-family: arial, sans-serif;
}
table.pdf th,
table.pdf td {
    font-size: 10px;
}

@media print {
    * {
        visibility: hidden;
        margin: 0;
        padding: 0;
        box-shadow: none !important;
    }

    html,
    body {
        height: auto;
    }

    .ui.left.visible.sidebar,
    .ui.right.visible.sidebar,
    .ui.top,
    .shadow {
        display: none !important;
    }

    .ui.visible.left.sidebar ~ .fixed,
    .ui.visible.left.sidebar ~ .pusher {
        width: 100% !important;
        transform: translate3d(0, 0, 0) !important;
        -webkit-transform: translate3d(0, 0, 0) !important;
        -moz-transform: translate3d(0, 0, 0) !important;
        -ms-transform: translate3d(0, 0, 0) !important;
        -o-transform: translate3d(0, 0, 0) !important;
    }

    body {
        background: none !important;
    }

    #pdf_conteudo * {
        visibility: visible;
        overflow: visible !important;
    }

    #pdf_conteudo {
        position: absolute;
        left: 0px;
        top: 0px;
    }
}
