@media print {
	@page { margin: 0.5cm; }
	
  *,
  *:before,
  *:after {
    color: #000 !important;
    text-shadow: none !important;
    background: transparent !important;
    -webkit-box-shadow: none !important;
            box-shadow: none !important;
  }

	html body .hide-print, html body .hide-print *	{
		display: none !important;
	}
	html body .show-print { display: block !important; }
	html body table.show-print { display: table !important; }
	html body tr.show-print { display: table-row !important; }
	html body th.show-print, html body td.show-print { display: table-cell !important; }
	html body .print-display-block { display: block !important; }
	html body .print-display-inline { display: inline !important; }
	html body .print-display-inline-block { display: inline-block !important; }
	
	p, h2, h3 { orphans: 3; widows: 3; }
	h1, h2, h3, h4, h5, h6 { page-break-after: avoid; }
	
	pre,
	blockquote,
	tr,
	img,
	.page-break-avoid {
		page-break-inside: avoid;
	}
	
	table {
		border-collapse: collapse !important;
	}
	table td,
	table th {
		background-color: #fff !important;
	}
	table-bordered th,
	table-bordered td {
		border: 1px solid #ddd !important;
	}
	
	/* =Typography
	-------------------------------------------------------------- */
	
	/* Display link url */
	
	#content a,
	#content a:visited {
		text-decoration: underline;
	}

	#content. a[href^="http"]:after {
		content: " (" attr(href) ")";
	}
	#content a[href$=".jpg"]:after,
	#content a[href$=".png"]:after,
	#content a[href$=".gif"]:after,
	#content a[href^="javascript:"]:after,
	#content a[href^="#"]:after{
		content: "";
	}
}