@media print {
  * {
    color: black;
    background: white;
  }
  fieldset,
  textarea {
    border: none;
    margin-left: 0px;
    padding-left: 0px;
  }
  table {
    border: 1px solid black;
    margin: auto;
    padding: auto;
    font-size: 80%;
    vertical-align: top;
    text-align: left;
  }
  table tr td {
    border: 1px solid black;
    margin: auto;
    padding: auto;
  }
  table tr td.separated {
    border-top: 3px solid black !important;
  }
  #Header,
  #Footer,
  .navbar,
  .form-actions,
  .breadcrumb,
  .nav-tabs,
  .btn,
  .dropdown-toggle,
  .dropdown-menu,
  .obj-more,
  .modal,
  .trace-filter,
  .footer,
  .checkbox,
  #frm-readForm-confirmReading {
    display: none;
  }
  a,
  a:visited {
    text-decoration: underline;
  }
  a[href]:after {
    content: " (" attr(href) ")";
  }
  abbr[title]:after {
    content: " (" attr(title) ")";
  }
  .ir a:after,
  a[href^="javascript:"]:after,
  a[href^="#"]:after {
    content: "";
  }
  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }
  thead {
    display: table-header-group;
  }
  tr,
  img {
    page-break-inside: avoid;
  }
  img {
    max-width: 100% !important;
  }
  @page {
    margin: 0.5cm;
  }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  h2,
  h3 {
    page-break-after: avoid;
  }
}
