@page {
	margin: 1cm 0.5;
}

* {
	background: transparent !important;
	color: #000 !important; /* Black prints faster: h5bp.com/s */
	box-shadow: none !important;
	text-shadow: none !important;
	font-family: arial, helvetica, sans-serif !important;
}

body {
	font-size: 12px;
}

h1,h2,h3,h4 {
	font-family: "arial black", arial, helvetica, sans-serif !important;
}

h1 *,h2 *,h3 *,h4 * {
	font-family: inherit !important;
}


/* hide site navigation, search, most of footer, more links, filter bar,
article footers, related contents, links to authors and article images */

.site-header nav,
.site-search,
.site-footer section,
.site-footer .site-info a,
.more a,
.filter-bar,
article > footer,
section.related,
.content .sidebar .author-link,
.content .sidebar img {
	display: none;
}


/* make into a full-width layout */

.site-header > div,
.site-footer > div,
.site-search > div,
.container,
.content {
	max-width: 100%;
}

.content .main-column,
.content .sidebar {
	width: 100%;
	margin: 0;
}


/* style the site header */

.site-header {
	position: static;
	border-bottom: 5px #8080A7 solid;
	margin-bottom: 2em;
}

.site-header * {
	font-family: "arial black", arial, helvetica, sans-serif !important;
	color: #4D4D83 !important;
}

.site-header h1 a {
	color: #191960 !important;
}

.site-header h1 span {
	color: #4D4D83 !important;
}

.site-header h1:after {
	content: 'this resource was printed from bethinking.org';
	font-size: 50%;
	padding-left: 20px;
}


/* style site info text in footer */

.site-footer {
	border-top: 5px #8080A7 solid;
	position: relative;
	top: 2em;
}

.site-footer * {
	color: #191960 !important;
}

.site-footer .site-info {
	text-transform: none;
	text-align: left;
	font-size: 14px;
	margin: 0;
	padding-bottom: 0;
}

.site-footer .current-page {
	display: block;
	font-size: 14px;
	padding: 0 1.28% 1em;
	margin: 0;
}

.site-footer .current-page:before {
	content: 'This resource was printed from bethinking.org and is available from this URL: ';
}


/* style links within content area */

.content a, .content a:visited {
	text-decoration: underline;
	border-bottom: none;
}

.content a[href]:after {
	content: " (" attr(href) ")";
}

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

/* don't show links for images, or javascript/internal links */
.ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after {
	content: "" !important;
}


/* style article items */

article {
	border-top: none !important;
	padding-top: 0 !important;
}

article > a {
	text-decoration: none !important;
}

.search-results {
	border-top: none !important;
}


/* style some article contents */

.content .sidebar .author-bio p {
	margin-top: 0;
}

.content .pullquote {
	display: none;
}

.main-column strong {
	font-weight: bold !important;
}


/* hide video and audio, replace with placeholder */

.fluid-width-video-wrapper > *,
.audio-player > * {
	display: none !important;
}

.fluid-width-video-wrapper,
.audio-player {
	height: auto !important;
	padding: 0 !important;
}

.fluid-width-video-wrapper:before,
.audio-player:before {
	content: '[ unprintable resource ]';
	background-color: #ddd;
	outline: solid #ddd 2px;
	display: block;
	width: 100%;
	height: auto;
	padding: 1em 0;
	text-align: center;
	margin: 1em 0;
}

.fluid-width-video-wrapper:before {
	content: '[ video resource ]';
}

.audio-player:before {
	content: '[ audio resource ]';
}

.main-column a.popup {
	padding: 2em 0;
	height: auto;
	display: block;
	width: 100%;
	background-color: #ddd !important;
}

.main-column a.popup:before {
	display: none;
}

.main-column a.popup small {
	display: none;
}


/* generic styles for other content markup that may occur */

pre, blockquote {
	page-break-inside: avoid;
}

thead {
	display: table-header-group; /* h5bp.com/t */
}

tr, img {
	page-break-inside: avoid;
}

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

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

h2, h3 {
	page-break-after: avoid;
}
