@media print {
	* { background: transparent !important; color: #000 !important; -moz-box-shadow: none !important; -webkit-box-shadow: none !important; box-shadow: none !important; text-shadow: none !important; }

  /* (en) change font size unit to [pt] - avoids problems with [px] in Gecko based browsers */
	body { font-size: 10pt; padding: 0 5px; }

  /* (en) Hide unneeded container of the screen layout in print layout */
	nav,
	.ym-searchform { display: none; }

	h1,
	h2,
	h3,
	h4,
	h5,
	h6 { page-break-after: avoid; }

	a,
	a:visited { text-decoration: underline; }
	a[href]:after { content: " (" attr(href) ")"; }
	a[href^="javascript:"]:after,
	a[href^="#"]:after { content: ""; }

	abbr[title]:after { content: " (" attr(title) ")"; }

	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; }

	p,
	h2,
	h3 { orphans: 3; widows: 3; }
}

@page { margin: 0.5cm; }

/* Style adjustments for high resolution devices */
@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
}
