/**
* Print stylesheet
* @version         1.0
* @lastmodified    2018.11.16
*/

@media print {
	
	body {
		font: 13pt;
		line-height: 1.3;
		background: #fff !important;
		color: #000;
	}
	
	/* Defining all page breaks */
	a {
		page-break-inside: avoid;
		text-decoration: underline !important;
		text-shadow: none !important;
	}
	
	.content p a { background-image: none !important;}
	
	blockquote, .gallery {
		page-break-inside: avoid;
	}
	h1, h2, h3, h4, h5, h6 { page-break-after:avoid; 
		 page-break-inside:avoid }
	img { page-break-inside:avoid; 
		 page-break-after:avoid; }
	table, pre { page-break-inside:avoid }
	ul, ol, dl  { page-break-before:avoid }
	
	.contentWrapper {border-top:none; margin: 0 auto 0; padding: 0;}
	.contentWrapper:before, .contentWrapper:after {
	  content: "";
	  position: absolute;
	  background-image: none;
	}
	
	header {
		display: block;
		position: relative;
		-webkit-box-shadow: none;
		-moz-box-shadow: none;
		box-shadow: none;
		top: 0; 
	}
	
	.nav-up {
		top: 0;
	}
	
	#logo {
		position: absolute;
		top: 0;
		left: 0; 
		background-image: none;
		text-shadow: none;
		color: #fff;
		transition: top 0.3s ease-out;
		z-index: 8000;
	}
	
	#logo img {
		-webkit-box-shadow: none;
		-moz-box-shadow: none;
		box-shadow: none;
	}
	
	#logo.nav-up {
		top: 0;
	}
	
	header h4 {
		left: calc(200px + 1rem);
	}
	
	.intro, .leftPage .intro, .rightPage .intro {
		max-height: 30vh !important;
		max-width: 42rem;
		background-repeat: no-repeat;
		margin: 0 auto;
		padding: 0;
		margin-top: 0 !important; 
	}
	
	.home .intro, .home .leftPage .intro, .home .rightPage .intro, .home .intro.video {
		position: relative;
		border-top: none;
		margin-top: -6rem;
		min-height: 55vh;
		height: 85vh;
		max-width: 100%;
	}
	
	.featuredHomeImage {
		position: absolute;
		background-size: cover;
		background-position: 50% 20%;
		height: calc(85vh - 150px);
		width: 100%;
		margin-right: 30%;
		z-index: 0;
		right: -15%;
		top: 150px;
		-webkit-box-shadow: 0px 5px 28px -7px rgba(0,0,0,0.8);
		-moz-box-shadow: 0px 5px 28px -7px rgba(0,0,0,0.8);
		box-shadow: 0px 5px 28px -7px rgba(0,0,0,0.8);
	}
	
	.intro .content {
		display: table-cell;
		vertical-align: bottom;
		padding-bottom: 0; 
		z-index: -1;
	}
	
	.intro .content .toolTipWrapper .toolTip {
		position: relative;
		display: block;
		bottom: 0;
		padding: 1.3rem 1.3rem 0;
		background: rgba(0,0,0,.5);
		width: auto;
		margin: 0 auto;
	}
	
	.intro .content .toolTipWrapper .toolTip p {font-size:1rem; line-height: 1.3;}
	
	.intro .content .toolTipWrapper .featuredCredit {
		margin-bottom: 0;
	}
	
	section {border-top: none;}
	
	.categoryTitle {
		position: relative;
		top: 0;
		color: #75bc43;
		background-color: #fff !important;
		border: solid;
		text-decoration: none !important;
		margin-bottom: 1rem !important;
	}
	
	/* Displaying link color and link behaviour */
	
	.content a[href^=http]:after {
      content:" < " attr(href) "> ";
	}
	$a:after > img {
	   content: "";
	}

	.content a[href^="#"]:after, .content .tagSection a:after, .content .categorySection a:after, .content .categoryWrapper a:after, .content a.features:after, .content a.readMore:after, .content .contentFooterWidget1 a:after {
	   content: "";
	}

	a:not(:local-link):after {
	   content:" < " attr(href) "> ";
	}
	
	/* Adding custom messages before and after the content */
	.contentWrapper .content:after {
	display:block;
	content: "\ © 2018 StateImpact Pennsylvania ";
	color: #999 !important;
	font-size: 1em;
	padding-top: 30px;
	text-align: center;
	}
	
	/* Hiding unnecessary elements for the print */

	.npr, .menuButton, footer, .intro.noThumb, .noFeature .intro, .menu-header-social-media-container, .menu-social-media-container, .infoCircleWrapper, .contentFooterWidget3, .editors-picks-title, .editors-picks-wrapper {
	display: none !important;
	}
	
}