@media print {
	* { 
		color: black!important;
		text-shadow: none!important;
		background: transparent!important; 
		filter:none !important; 
		-ms-filter: none !important; 
	}

	a, a:visited { 
		text-decoration: none; 
		color: #8d8d8d;	}
	
	a[href]:after { 
		content: " (" attr(href) ")"; 
	}
	
	abbr[title]:after { 
		content: " (" attr(title) ")"; 
	}
	
	.ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { 
		content: ""; 
	}  /* Don't show links for images, or javascript/internal links */
	
	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; 
		height: auto;
		max-height: 300px;
vertical-align: middle;
border: 0;
	}
	
	@page { 
		margin: 0.5cm; 
	}
	
	p, h2, h3 { 
		orphans: 3; 
		widows: 3; 
	}
	
	h2, h3 { 
		page-break-after: avoid; 
	}
	
	/* Hide Header & Footer*/ 
	header#top {
		display: none!important;
	}
	
	footer#footer {
		display: none!important;
	}

	.grid {
		display: none!important;
	}
	#sidebar {
		display: none!important;
	}
	#gallery-lower {
		display: none!important;
	}
	section.tags {
		display: none!important;
	}
	section.related {
		display: none!important;
	}
	section.comments {
		display: none!important;
	}
	.ad {
		display: none!important;
	}
	
	.social {
		display: none!important;
	}
	
	object, embed, iframe {
		display: none!important;
	}
	
	.comments iframe {
		display: block!important;
	}
}