/* Change this file as necessary - leave comments */

@media print {
	/**
  * @section basic layout preparation
  */
	*,
	*:before,
	*:after,
	*:first-letter,
	*:first-line { background: transparent !important; color: #000 !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; }

	/*------------------------------------------------------------------------------------------------------*/
	/* (en) Avoid page breaks right after headings */
	h1,
	h2,
	h3,
	h4,
	h5,
	h6 { page-break-after: avoid; }

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

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

	/*
     * Don't show links that are fragment identifiers, or use the `javascript:` pseudo protocol
     */
	a[href^="#"]:after,
	a[href^="javascript:"]:after { content: ""; }

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

	img { max-width: 100% !important; }

	pre,
	blockquote { border: 1px solid #999; page-break-inside: avoid; }

	thead { display: table-header-group; }
	tr,
	img { page-break-inside: avoid; }


	/**
  * @section print adjustments for core modules
  *
  * (en) float containment for grids. Uses display:table to avoid bugs in FF & IE
  */
	.ym-grid > .ym-gl,
	.ym-grid > .ym-gr { overflow: visible; display: table; table-layout: fixed; }

	/* (en) make .ym-print class visible */
	.ym-print { position: static; left: 0; }

	/* (en) generic class to hide elements for print */
	.ym-noprint { display: none !important; }
}
