@media screen{
    #printHeader, #printFooter {
        display: none;
    }
    .print-container {
        margin: 0; padding: 0;
        background-color: rgba(0, 0, 0, 0.05);
        max-height: 31cm;
        overflow-y: scroll; 
        overflow-x: auto;
    }
    .print-container > .a4 {
        background: white;
        display: block;
        margin: 0 auto;
        margin-bottom: 0.5cm;
        box-shadow: 0 0 0.5cm rgba(0,0,0,0.5);
        page-break-after: always;
    }
    .print-container > .a4,
    .print-container > .a4 > .content {
        height: 21cm;
        min-width: 29.7cm;
    }
    .print-container > .a4.landscape,
    .print-container > .a4.landscape > .content {
        width: 21cm;
        min-height: 29.7cm;
        height: 100%;
    }
    .print-container > .a4 > .content {
        border: none;
        overflow: hidden;
        margin: 0;
        padding: 0;
    }
    .row.printable-content {
        background-color: #fff;
        margin-left: 0; margin-right: 0; 
        /*padding-top: 15px; padding-bottom: 15px;*/
    }
    .row.printable-content > div {
        padding: 0;
        margin: 0;
    }
    
    .row.printable-content .portlet > .portlet-body {
        font-size: 10px;
    }
    
    div > .page-break:not(:first-child) { display: none; }
    div > .page-break:first-child {
        min-height: 1px;
        margin-bottom:20px;
        display: block;
    }
    
    .printable-content h1, 
    .printable-content h2, 
    .printable-content h3, 
    .printable-content h4, 
    .printable-content h5, 
    .printable-content h6 {
        text-align: center;
    }
    
    .align-right  { text-align: right; }
    .align-left   { text-align: left; }
    .align-center { text-align: center; }
    
    .printable-content .inline-chart.border {
        border: 1px solid #000;
    }
    .printable-content .inline-chart.ylegend {
        padding-left: 20px;
    }
    .printable-content .inline-chart .ylegend {
        width: 30px;
        position: absolute;
        top: 5px;
        left: 0;
        bottom: 5px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .printable-content .inline-chart .ylegend > div {
        transform: rotate(-90deg);
    }
    .printable-content .inline-chart.xlegend {
        padding-bottom: 20px;
    }
    .printable-content .inline-chart .xlegend {
        height: 30px;
        position: absolute;
        left: 5px;
        bottom: 0;
        right: 5px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .printable-content .inline-chart svg {
    }
    
    .printable-content table{
        margin-bottom: 20px;
    }
    .printable-content table,
    .printable-content table td {
        border:none;
    }
    .printable-content table tr{
        border: 1px solid #000;
    }
    .printable-content .data-table th, 
    .printable-content .data-table td {
        border-top-color: #000;
        border-right-color: #000;
        padding: 2px;
    }
    .printable-content .data-table th {
        font-size: 10px;
        font-weight: bold;
    }
    .printable-content .data-table td {
        font-size: 10px;
        font-weight: normal;
    }
    .printable-content table td:not(:first-child){
        border-left: 1px solid #000;
    }
    
    .printable-content table thead {
        font-weight: bold;
    }
    
    .printable-content .portlet {
        padding: 0.8cm 1cm;
    }
    .printable-content .portlet .portlet-title {
        padding-bottom: 0px;
    }
    .printable-content .portlet .portlet-title,
    body.dark-red .printable-content .portlet .portlet-title{
        color: #000;
        background-color: transparent;
        border-bottom: 2px solid #000;
    }
    .printable-content .portlet .portlet-title img:not(.logo) {
        width: 100%;
    }
    .printable-content .portlet .portlet-title .centered {
        font-size: 24px;
        line-height: 58px;
        text-align: center;
    }
    .printable-content .portlet .portlet-title .text {
        text-align: right;
    }
    .printable-content .portlet .portlet-title .caption .middle small {
        font-size: 65%;
    }
    .printable-content .portlet .portlet-title .caption.flex-caption {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }
    .printable-content .portlet .portlet-title table {
        font-size: 10px;
        margin: 0 0 0 auto;
    }
    .printable-content .portlet .portlet-title table tr {
        border:none;
        background-color: transparent;
    }
    .printable-content .portlet .portlet-title table td,
    .printable-content .portlet .portlet-title table th {
        padding: 3px;
        border:none;
    }
    .printable-content .portlet .portlet-title .caption.flex-caption .left,
    .printable-content .portlet .portlet-title .caption.flex-caption .left img.logo,
    .printable-content .portlet .portlet-title .caption.flex-caption .right{
        width: 150px;
    }
    .printable-content .portlet .portlet-title .caption.flex-caption .left img.logo {
        height: 42px;
    }
    .printable-content .portlet .portlet-title .caption.flex-caption .middle {
        flex-grow: 1;
        text-align: center;
        font-weight: bold;
    }
    .printable-content .portlet .portlet-title .caption.flex-caption .right {
        text-align: right;
        text-transform: uppercase;
    }
    .printable-content .portlet .portlet-title .caption.flex-caption .right > p:last-child {
        margin-bottom: 0;
    }
    .printable-content .portlet .portlet-body {
        padding-top: 25px;
    }
    .printable-content .portlet .portlet-body .section-title {
        font-size: 14px;
        font-weight: bold;
        margin-bottom: 15px;
        border-bottom: 1px solid #000;
    }
    .printable-content .information-box,
    body.dark-red .printable-content .information-box{
        border: 1px solid #000;
        background-color: transparent;
        color: #000;
        margin-bottom: 20px;
    }
    .printable-content .report-section-title {
        text-align: center;
    }
    .report h1,.report h2,.report h3,.report h4,.report h5
    {
        font-weight: bold;
        text-align: left;
    }
}

@media print {
    @page {
        size: A4;
        margin-top: 10mm;
        margin-bottom: 10mm;
        margin-left: 8mm;
        margin-right: 8mm;
        padding: 0;
    }
    
    .pre-loader { display: none !important; }
    
    .page-break {
        display: block;
        page-break-after: always;
        margin-bottom: 20px;
        min-height: 1px
    }
    
    .printable-content h1, 
    .printable-content h2, 
    .printable-content h3, 
    .printable-content h4, 
    .printable-content h5, 
    .printable-content h6 {
        text-align: center;
    }
    
    .align-right  { text-align: right; }
    .align-left   { text-align: left; }
    .align-center { text-align: center; }
     
    .printable-content .inline-chart.border {
        border: 1px solid #000;
    }
    .printable-content .inline-chart.ylegend {
        padding-left: 20px;
    }
    .printable-content .inline-chart .ylegend {
        width: 30px;
        position: absolute;
        top: 5px;
        left: 0;
        bottom: 5px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .printable-content .inline-chart .ylegend > div {
        transform: rotate(-90deg);
    }
    .printable-content .inline-chart.xlegend {
        padding-bottom: 20px;
    }
    .printable-content .inline-chart .xlegend {
        height: 30px;
        position: absolute;
        left: 5px;
        bottom: 0;
        right: 5px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .printable-content .inline-chart svg {
    }
    
    .printable-content table{
        margin-bottom: 20px;
    }
    .printable-content table,
    .printable-content table td {
        border:none;
    }
    .printable-content table tr{
        border: 1px solid #000;
    }
    .printable-content .data-table th, 
    .printable-content .data-table td {
        border-top-color: #000;
        border-right-color: #000;
        padding: 2px;
    }
    .printable-content .data-table th {
        font-size: 10px;
        font-weight: bold;
    }
    .printable-content .data-table td {
        font-size: 10px;
        font-weight: normal;
    }
    .printable-content table td:not(:first-child){
        border-left: 1px solid #000;
    }
    
    .printable-content table thead {
        font-weight: bold;
    }
    
    .printable-content .portlet {
        padding: 0; margin: 0;
    }
    .printable-content .portlet .portlet-title {
        color: #000;
        border-bottom: 2px solid #000;
        padding-bottom: 0;
    }
    .printable-content .portlet .portlet-title img {
        float: left;
        height: 70px;
    }
    .printable-content .portlet .portlet-title .centered {
        font-size: 24px;
        line-height: 58px;
        text-align: center;
    }
    .printable-content .portlet .portlet-title .text {
        text-align: right;
    }
    .printable-content .portlet .portlet-title .caption .middle small {
        font-size: 65%;
    }
    .printable-content .portlet .portlet-title .caption.flex-caption {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }
    .printable-content .portlet .portlet-title table {
        font-size: 10px;
        margin: 0 0 0 auto;
    }
    .printable-content .portlet .portlet-title table tr {
        border:none;
        background-color: transparent;
    }
    .printable-content .portlet .portlet-title table td,
    .printable-content .portlet .portlet-title table th {
        padding: 3px;
        border:none;
    }
    .printable-content .portlet .portlet-title .caption.flex-caption .left,
    .printable-content .portlet .portlet-title .caption.flex-caption .left img.logo,
    .printable-content .portlet .portlet-title .caption.flex-caption .right{
        width: 150px;
    }
    .printable-content .portlet .portlet-title .caption.flex-caption .left img.logo {
        height: 42px;
    }
    .printable-content .portlet .portlet-title .caption.flex-caption .middle {
        flex-grow: 1;
        text-align: center;
        font-weight: bold;
    }
    .printable-content .portlet .portlet-title .caption.flex-caption .right {
        text-align: right;
        text-transform: uppercase;
    }
    .printable-content .portlet .portlet-title .caption.flex-caption .right > p:last-child {
        margin-bottom: 0;
    }
    .printable-content .portlet .portlet-body {
        padding-top: 25px;
    }
    
    .printable-content .portlet .portlet-footer {
    }
    /*.printable-content .portlet .portlet-footer:after {
        padding-left: 15px; padding-right: 15px;
        font-size: 80%;
        counter-increment: page;
        content: "PÃ¡gina " counter(page);
        position: fixed;
        bottom:100%;
    }*/
    .printable-content .portlet .portlet-body .section-title {
        font-size: 14px;
        font-weight: bold;
        margin-bottom: 15px;
        border-bottom: 1px solid #000;
    }
    .printable-content .information-box,
    body.dark-red .printable-content .information-box{
        border: 1px solid #000;
        background-color: transparent;
        color: #000;
        margin-bottom: 20px;
    }
    .printable-content .report-section-title {
        text-align: center;
    }
    .report h1,.report h2,.report h3,.report h4,.report h5
    {
        font-weight: bold;
        text-align: left;
    }
    tr, td, th
    tr > td > div, tr > th > div{
        page-break-inside: avoid;
        page-break-before: auto;
        white-space: nowrap;
    }
    thead { 
        page-break-inside: avoid;
        display:table-header-group;
    }
    tfoot { 
        page-break-inside: avoid;
        display:table-footer-group;
    }
}

/* Define the print styles within a class */
html.print .pre-loader {
    display: none !important;
}

html.print .page-break {
    display: block;
    page-break-after: always;
    margin-bottom: 20px;
    min-height: 1px;
}

html.print .printable-content h1,
html.print .printable-content h2,
html.print .printable-content h3,
html.print .printable-content h4,
html.print .printable-content h5,
html.print .printable-content h6 {
    text-align: center;
}

html.print .align-right {
    text-align: right;
}

html.print .align-left {
    text-align: left;
}

html.print .align-center {
    text-align: center;
}

html.print .printable-content .inline-chart.border {
    border: 1px solid #000;
}

html.print .printable-content .inline-chart.ylegend {
    padding-left: 20px;
}

html.print .printable-content .inline-chart .ylegend {
    width: 30px;
    position: absolute;
    top: 5px;
    left: 0;
    bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

html.print .printable-content .inline-chart .ylegend > div {
    transform: rotate(-90deg);
}

html.print .printable-content .inline-chart.xlegend {
    padding-bottom: 20px;
}

html.print .printable-content .inline-chart .xlegend {
    height: 30px;
    position: absolute;
    left: 5px;
    bottom: 0;
    right: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

html.print .printable-content table {
    margin-bottom: 20px;
}

html.print .printable-content table,
html.print .printable-content table td {
    border: none;
}

html.print .printable-content table tr {
    border: 1px solid #000;
}

html.print .printable-content .data-table th,
html.print .printable-content .data-table td {
    border-top-color: #000;
    border-right-color: #000;
    padding: 2px;
}

html.print .printable-content .data-table th {
    font-size: 9px;
    font-weight: bold;
}

html.print .printable-content .data-table td {
    font-size: 9px;
    font-weight: normal;
}

html.print .printable-content table td:not(:first-child) {
    border-left: 1px solid #000;
}

html.print .printable-content table thead {
    font-weight: bold;
}

html.print .printable-content .portlet {
    padding: 0;
    margin: 0;
}

html.print .printable-content .portlet .portlet-title {
    color: #000;
    border-bottom: 2px solid #000;
    padding-bottom: 0;
}

html.print .printable-content .portlet .portlet-title img {
    float: left;
    height: 70px;
}

html.print .printable-content .portlet .portlet-title .centered {
    font-size: 24px;
    line-height: 58px;
    text-align: center;
}

html.print .printable-content .portlet .portlet-title .text {
    text-align: right;
}

html.print .printable-content .portlet .portlet-title .caption .middle small {
    font-size: 65%;
}

html.print .printable-content .portlet .portlet-title .caption.flex-caption {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

html.print .printable-content .portlet .portlet-title table {
    font-size: 9px;
    margin: 0 0 0 auto;
}

html.print .printable-content .portlet .portlet-title table tr {
    border: none;
    background-color: transparent;
}

html.print .printable-content .portlet .portlet-title table td,
html.print .printable-content .portlet .portlet-title table th {
    padding: 3px;
    border: none;
}

html.print .printable-content .portlet .portlet-title .caption.flex-caption .left,
html.print .printable-content .portlet .portlet-title .caption.flex-caption .left img.logo,
html.print .printable-content .portlet .portlet-title .caption.flex-caption .right {
    width: 150px;
}

html.print .printable-content .portlet .portlet-title .caption.flex-caption .left img.logo {
    height: 42px;
}

html.print .printable-content .portlet .portlet-title .caption.flex-caption .middle {
    flex-grow: 1;
    text-align: center;
    font-weight: bold;
}

html.print .printable-content .portlet .portlet-title .caption.flex-caption .right {
    text-align: right;
    text-transform: uppercase;
}

html.print .printable-content .portlet .portlet-title .caption.flex-caption .right > p:last-child {
    margin-bottom: 0;
}

html.print .printable-content .portlet .portlet-body {
    padding-top: 25px;
}

html.print .printable-content .portlet .portlet-body .section-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 15px;
    border-bottom: 1px solid #000;
}

html.print .printable-content .information-box,
html.print body.dark-red .printable-content .information-box {
    border: 1px solid #000;
    background-color: transparent;
    color: #000;
    margin-bottom: 20px;
}

html.print .printable-content .report-section-title {
    text-align: center;
}

html.print .report h1,
html.print .report h2,
html.print .report h3,
html.print .report h4,
html.print .report h5 {
    font-weight: bold;
    text-align: left;
}

html.print tr,
html.print td,
html.print th,
html.print tr > td > div,
html.print tr > th > div {
    page-break-inside: avoid;
    page-break-before: auto;
    /*white-space: nowrap;*/
}

html.print thead {
    page-break-inside: avoid;
    display: table-header-group;
}

html.print tfoot {
    page-break-inside: avoid;
    display: table-footer-group;
}

html.print .portlet-title > .row > .c1 {
    float:left;
    width: 50%;
}
html.print .portlet-title > .row > .c2 {
    float:right;
    width: 50%;
}

html.print .portlet-body {
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
    background-color: white !important;
}

html.print,
html.print body,
html.print table tr,
html.print table tr:nth-child(odd),
html.print table tr:nth-child(even) {
    background-color: transparent ;
}
html.print table.data-table {
    width: calc(100% - 60px);
}