/* (c) hans-lohrbach.de */
/* Stand: 2020-05-10 */

/* print styles */
@media print {

/* override styles when printing */
@media print {

body {
	margin: 0;
	color: #000;
	background-color: #fff;
}

* {
	background-image: none !important;
}

header, footer, aside, nav, form, iframe, .menu, .hero, .adslot {
  display: none;
}

article {
  column-width: 17em;
  column-gap: 3em;
}

/* remove images before printing  - not now */
/* img, svg {
  display: none !important;
} */

img.print, svg.print {
  display: block;
  max-width: 100%;
}

img.dark {
  filter: invert(100%) hue-rotate(180deg) brightness(120%) contrast(150%);
}

a::after {
  content: " (" attr(href) ")";
}

main::after {
  content: "(C) hans-lohrbach.de";
  display: block;
  text-align: center;
}

/* target all pages */
@page {
  size: 21mm 297mm;
  margin: 2cm;
}

/* target the first page only */
@page :first {
  margin-top: 2cm;
}

/* target left (even-numbered) pages only */
@page :left {
  margin-right: 2cm;
}

/* target right (odd-numbered) pages only */
@page :right {
  margin-left: 2cm;
}

}

/*page numbers*/
/* works in firefox, chrome. works mot in edge */
   div.page:after {
     content: " PAGE - " counter(page);
     position: absolute;
     bottom: 0px;
     right: 15px;
     z-index: 999;
     padding: 2px 12px;
     border-right: 2px solid #23b8e7;
     font-size: 12px;
    }