
@media print {

	/* Do Not Display */  
	#fb-root,
	#content,
	#comments,
	#sidebar,
	#contact,
	#loginbar,
	#searchbox,
	#toc-np-container,
	#respond,
	#site-wide-navigation, 
	#persistent-nav, 
	#department-nav,
	#site-wide-mobile,
	#site-wide-menu-toggle {
		display: none !important;
		visibility: hidden;
	}

	.container-breadcrumb,
	.editpost,
	.footer,
	.navbar,
	.sidebar-left,
	.sidebar-right,
	.site-description,
	.site-title,
	.sub-navbar-collapse,
	.sub-navbar-header,
	.staff-shortcuts,
	.categories,
	.readmore,
	.addthis_ {
		display: none !important;
		visibility: hidden;
	}

	/* Making intergated videos disappear, and removing the iframes' whitespace to zero. */
	.entry iframe, ins {
	    display: none;
	    width: 0 !important;
	    height: 0 !important;
	    overflow: hidden !important;
	    line-height: 0pt !important;
	    white-space: nowrap;
	}
	.embed-youtube, .embed-responsive {
		position: absolute;
		height: 0;
		overflow: hidden;
	}

	/* Warning and Copyright Messages */

	.printonly {
		display: block;
		visibility: visible;
	}

	#print_warning {
		font-weight: bold;
		border: 1pt solid #000;
		padding: 10pt;
		margin-top: 50pt;
		clear: both;
		background-color: #fff;
	}

	/* Layout */

	#container {
		width: 100%;
		margin: 0;
	}

	@page {
		margin: 2cm;
	}

	@page:first {
		margin: 1cm 2cm;
	}

	/* Alter Display for Print */

	.header {display: block;}

	body {
		font-size: 13pt;
		float: none !important;
		line-height: 1.3;
		font-family: georgia;
		background-color: #fff !important;
		color: #000 !important;
	}

	h1 {
	  line-height: 150%;
	}

	/* Defining all page breaks */
	a {
	    page-break-inside:avoid
	}

	blockquote {
	    page-break-inside: avoid;
	}

	h1, h2, h3, h4, h5, h6, .postdate { 
		page-break-after:avoid; 
	    page-break-inside:avoid;
	}
	
	img { 
		page-break-inside:avoid; 
	    page-break-after:avoid; 
	}
	
	/* table, pre { page-break-inside:avoid } */

	table, tr, td {
		padding: 2pt;
	}
	
	ul, ol, dl  { page-break-before:avoid }

	/* Displaying link color and link behaviour */
	a:link, a:visited, a {
		background: transparent;
		color: #520;
		font-weight: bold;
		text-decoration: underline;
		text-align: left;
	}
	 
	a {
	    page-break-inside:avoid
	}
	
	a[href^=http://]:after, a[href^=https://]:after {
		content:" \[" attr(href) "\] ";
		font-size: 80%;
		word-wrap: break-word;
	}
	 
	$a:after &gt; img {
		content: "";
		display: none;
	}
	 
	article a[href^="#"]:after {
		content: "";
		display: none;
	}
	 
	a:not(:local-link):after {
		content:" &lt; " attr(href) "&gt; ";
	}

}