/* //
// socialnet
//
// Angaben für den Ausdruck von Seiten
// 
// @copyright       Copyright 2020, socialnet GmbH Bonn
// @link            https://www.socialnet.de
// @lastmodified    2020-04-23 19:47:39
// */

@media print {
  /* target all pages */
  @page {
    margin: 1, 5cm;
  }

  /* //
	// @section basic layout preparation
	//

	// (en) change font size unit to [pt] - avoids problems with [px] in Gecko based browsers  	
	// (de) Wechsel der der Schriftgrößen-Maßheinheit zu [pt] - Probleme mit [px] in Gecko-Browsern vermeiden  */
  body {
    font: 10pt Cambria, Georgia, "Times New Roman", serif;
    padding: 0 5px;
    background: none;
  }

  .wrapper {
    display: block;
  }

  .erz-logo-print {
    display: block;
  }

  /* 	// (en) Hide unneeded container of the screenlayout in print layout 
	// (de) Für den Druck nicht benötigte Container des Layouts abschalten  */
  nav,
  header,
  aside,
  footer {
    display: none;
  }

  .contentbox {
    border: none;
  }
  /* 	//------------------------------------------------------------------------------------------------------//

	// (en) Avoid page breaks right after headings 
	// (de) Vermeidung von Seitenumbrüchen direkt nach einer Überschrift  */
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    page-break-after: avoid;
  }

  /* //------------------------------------------------------------------------------------------------------//

	// (en) optional output of acronyms and abbreviations
	// (de) optionale Ausgabe von Auszeichnung von Abkürzungen  */

  /*
	abbr[title]:after,
	acronym[title]:after {
		content:'(' attr(title) ')';
	}
	*/

  /* //------------------------------------------------------------------------------------------------------// 

	// (en) optional URL output of hyperlinks in print layout 
	// (de) optionale Ausgabe der URLs von Hyperlinks */

  a[href^="http://"]:after, a[href^="https://"]:after, a[href^="mailto:"]:after
  {
    content: " <URL:" attr(href) ">";
    color: #444;
    background: inherit;
    font-style: italic;
  }

  /* // Elements with the CSS class .noprint will not be printed, but are visible on any other media type (e.g. screen) */

  .noprint {
    display: none !important;
  }

  img {
    max-width: 12cm;
  }
}
