@media print {   
  
  * {
    color: #000 !important;
    background: #fff !important;
  }
  
  body, article {
    width: 100%;
    }
  h1, h2, h3 {
    page-break-inside: avoid;
    page-break-after: avoid;
    }
  img {
    max-width: 100% !important;
    } 
    
  ul, img {
    page-break-inside: avoid;
    }
  
  a {
    /*font-weight: bold;*/
    }
  a:after {
    content: none !important;
    }
  a[href^=http]:after {
    content:" <" attr(href) "> " !important;
    }
  /* t3 anchors */
  a[href~="#"]:after {
    content: "" !important;
    }
  abbr[title]:after {
    content: " (" attr(title) ")";
    }
    
    .hanging-block {
        display: none;
    }
    
  @page {
    margin: 2cm;
  }
  
}

@media print and (color) {
  * {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}