/*
  We should only have this as long as this bug is not fixed:
  https://github.com/jhildenbiddle/css-vars-ponyfill/issues/97

  Afterwards we can move it into general.scss.

  This thing disables the margin when printing on IE
*/
@page {
  margin: 2mm;
  padding: 0;
}

@page :footer {
  display: none;
}

@page :header {
  display: none;
}

@media print {
  /* this fixes truncating highchart plots */
  svg {
    max-width: 95vw;
  }
  /* this fixes having an extra blank page at the end. See AXASLA-60. Not 100% sure why this works,
     was based on https://stackoverflow.com/questions/7846346/how-to-avoid-extra-blank-page-at-end-while-printing/,
     but auto/100%/99% didn't work.*/
  html, body {
    height: 0;
  }
}
