@media print {
  /* reduce overall font-size */
  html {
    font-size: 12px;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  body,
  main {
    overflow: visible !important;
  }

  /* hide the header and the navigation  */
  header,
  nav {
    display: none !important;
  }

  /* hide the first div in main, which is used for alignment purposes only */
  main > div:first-child {
    display: none !important;
  }

  /* ensure background colors are preserved */
  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  /* overflow:hidden to create a block formatting context */
  [data-pimo-row] {
    overflow: hidden !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
  }

  /* remove fixed height on column wrappers so donut chart labels are visible */
  [data-pimo-row] > div {
    height: auto !important;
  }
}
