/* =Print styles
----------------------------------------------- */

/* Print colors as seen on screen */
@media print and (color) {
   * {
      -webkit-print-color-adjust: exact;
      print-color-adjust: exact;
   }
}

@media print {

	@page {
		size: 8.5in 11in;
		margin: 0.15cm;
	}

	/* Elements to hide that are display on screen */
	#branding img, #branding #searchform, #branding #search,
	#access,
	#categories,
	.post-edit-link,
	.entry-meta .edit-link a,
	#content nav,
	.entry-header .comments-link,
	.page-link,
	#respond,
	.widget-area,
	#colophon,
	.commentlist .comment-edit-link,
	.commentlist .reply,
	#breadcrumb,
	#page-title-icon img,
	footer,
	.intro-img,
	#publications-title,
	#title-bar,
	div.tabs ul.tabs,
	footer {
		display: none;
	}

	/* Elements to display that are initially hidden on screen */
	#pce #tabDiv2, #pce #tabDiv3, #pce #tabDiv4, #pce #tabDiv5, #pce #tabDiv6,
	#pce #tabDesc2, #pce #tabDesc3, #pce #tabDesc4, #pce #tabDesc5, #pce #tabDesc6 {
	    display: block;
	}

	/* Elements to avoid page breaking inside */
	#pce #tabDiv1, #pce #tabDiv2, #pce #tabDiv3, #pce #tabDiv4, #pce #tabDiv5, #pce #tabDiv6,
	#pce #tabDesc1, #pce #tabDesc2, #pce #tabDesc3, #pce #tabDesc4, #pce #tabDesc5, #pce #tabDesc6,
	#pce #pce_chart1, #pce #pce_chart2, #pce #pce_chart3, #pce #pce_chart4, #pce #pce_chart5, #pce #pce_chart6 {
		page-break-inside: avoid;
	}

	/* Elements to avoid page breaking after */
	h2, h3 {
	   page-break-after: avoid;
	}

	body {
		color: black;
		background: white !important;
		font-size: 1rem !important;
	}

	footer.entry-meta a[rel=bookmark]:link:after,
	footer.entry-meta a[rel=bookmark]:visited:after {
		content: " [" attr(href) "] "; /* Show URLs */
	}

	#page {
		clear: both !important;
		display: block !important;
		float: none !important;
		max-width: 100%;
		position: relative !important;
	}

	#branding {
		background: none;
		border-top: none !important;
		padding: 0;
		height: 40px;
	}

	#branding hgroup {
		margin: 0;
	}

	#site-title {
		padding-top: 10px;
		line-height:.5em;
	}

	#site-title a,
	#site-title a span {
		color: #ccc;
		font-size: .65em;
	}
	#site-description {
		font-size: 10pt;
	}

	#main {
		border-top: none;
		box-shadow: none;
		margin-top: 0;
		overflow: visible;
	}
	#primary,
	#primary-ee,
	#primary-er,
	#primary-cd,
	#primary-bsr {
		float: left;
		margin: 0;
		width: 100%;
	}
	#content {
		margin: 0;
		width: auto;
	}
	.singular #content {
		margin: 0;
		width: 100%;
	}
	.singular .entry-header .entry-meta {
		position: static;
	}

	.singular .entry-header,
	.singular .entry-content,
	.singular footer.entry-meta,
	.singular #comments-title {
		margin: 0;
		width: 100%;
	}
	.singular .hentry {
		padding: 0;
	}
	.entry-title,
	.singular .entry-title {
		font-size: 14pt !important;
		padding-top: 1em;
	}

	.entry-meta {
		font-size: 10pt;
	}

	.singular #author-info {
		background: none;
		border-bottom: none;
		border-top: none;
		margin: 2.2em 0 0;
		padding: 0;
	}

	.highlight-main-icon img {
    	width: 60px;
    	height: 60px;
	}

	/* Comments */
	.commentlist > li.comment {
		background: none;
		border: 1px solid #ddd;
		-moz-border-radius: 3px 3px 3px 3px;
		border-radius: 3px 3px 3px 3px;
		margin: 0 auto 1.625em;
		padding: 1.625em;
		position: relative;
		width: auto;
	}
	.commentlist .avatar {
		height: 39px;
		left: 2.2em;
		top: 2.2em;
		width: 39px;
	}
	.commentlist li.comment .comment-meta {
		line-height: 1.625em;
		margin-left: 50px;
	}
	.commentlist li.comment .fn {
		display: block;
	}
	.commentlist li.comment .comment-content {
		margin: 1.625em 0 0;
	}
	.commentlist > li::before,
	.commentlist > li.bypostauthor::before {
		content: '';
	}

	/* Post author highlighting */
	.commentlist > li.bypostauthor {
		color: #444;
	}
	.commentlist > li.bypostauthor .comment-meta {
		color: #666;
	}
	.commentlist > li.bypostauthor:before {
		content: none;
	}

	/* Post Author threaded comments */
	.commentlist .children > li.bypostauthor {
		background: #fff;
		border-color: #ddd;
	}
	.commentlist .children > li.bypostauthor > article,
	.commentlist .children > li.bypostauthor > article .comment-meta {
		color: #666;
	}

	.half-one-column {
		float: left;
		margin: 0 0 1em 0;
		padding: 0 20px 5px 0;
		width: 46%;
		height: 100%;
/*		page-break-inside: avoid;
*/
	}

	#branding hgroup {
		margin-left: 0 !important;
	}

	h2.entry-title {
		font-size: 12pt !important;
		margin: 0;
		padding: 0;
	}

	.entry-content h3 {
		font-size: 11pt !important;
	}

	.entry-content p, .entry-content a {
		margin-top: 0;
		font-size: 10pt;
	}

	.entry-title {
		padding-top: 0;
	}

	.entry-content h3.heading-nobg {
		padding-top: 0;
	}

	.endnotes {
		margin-top: 1em;
		font-size: .7rem;
	}

	.singular.page .hentry {
		padding-top: .5em;
	}

	.bio-image {
		page-break-after: avoid;
	}

	.federal-reserve-bank-of-san-francisco .bio-image {
		max-width: 100px;
	}

	.bio-text {
		margin-bottom: 1.5rem;
		page-break-before: avoid;
	}

	.bio-text p {
		font-size: 1rem;
		line-height: 1rem;
	}

	.federal-reserve-bank-of-san-francisco .bio-text p {
		line-height: 1.2em;
	}

	.intro-text {
		width: 100% !important;
	}

	p.sub-list {
		padding-bottom: 10px;
	}

	p.meta {
		font-size: .75em;
	}

	.economic-research h3,
	.economic-research .entry-content h3 {
		font-size: 15px !important;
		padding: 10px;
	}

	#main {
		margin-top: 0 !important;
		height: auto;
		margin-top: -23pt;
	}

	header.entry-header {
		margin: 0;
		padding: 0;
		height: 0;
	}
	.print-break {
		page-break-before: always;
	}

	/* Research charts */
	.economic-research .chart.tab {
		display: block !important;
	}

	#pce .mainBox {
		margin-top: 40px;
	}

	#pce #tabDesc1, #pce #tabDesc2, #pce #tabDesc3, #pce #tabDesc4, #pce #tabDesc5, #pce #tabDesc6 {
		margin-left: 28px;
	}

	#pce #data th.num {
		text-align: center !important;
	}

}
