@media print
{	
	html body div#main { background-color: white !important; margin-top: 40px !important;}
	html body div#main div.logo,
	html body div#main div.solid_parent,
	html body div#main div.portrait_container,
	html body div#main div.information_header,
	html body div#main div.information,
	html body div.footer,
	html body div#main div.buttons_tabs_container div.buttons,
	html body div#main div.buttons_tabs_container div.tabs label,
	html body div#main div.buttons_tabs_container div.tabs div.images,
	html body div#main div.buttons_tabs_container div.tabs div.livestream,
	html body div#main div.buttons_tabs_container div.tabs div.guestbooks,
	html body div#main div.buttons_tabs_container div.tabs div.acknowledgements
	{
		display: none;
	}

	html body div#main div.portrait,
	html body div#main div.portrait.left,
	html body div#main div.portrait.right,
	html body div#main div.portrait.original,
	html body div#main div.portrait_info,
	html body div#main div.portrait_info *,
	html body div#main div.portrait_info div.name:before,
	html body div#main div.buttons_tabs_container
	{
		background-color: none !important;
		background: none !important;
		text-align: left !important;
		color: black !important;
		text-shadow: none !important;
		font-size: 12pt !important;
		font-style: none !important;
		font-weight: bold !important;
		height: 100% !important;
		width: 100% !important;
		text-align: center !important;
		position: relative !important;
		top: 0px !important;
		left: 0px !important;
		margin: 0px !important;
		padding: 0px !important;
		float: none !important;
	}
	html body div#main div.portrait img
	{
                position: relative !important;
                top: 0px !important;
                left: 0px !important;
                margin: 0px !important;
                padding: 0px !important;
                float: none !important;
		height: 200px !important;
		width: auto !important;
		box-shadow: none !important;
	}

	html body div#main div.tabs,
	html body div#main div.tabs div.obituary
	{
		border: none !important;
		position: relative !important;
		top: 0px !important;
		left: 0px !important;
		right: 0px !important!;
		margin: 0px !important;
		padding: 0px !important;
		float: none !important;
		width: 100% !important;
	}
	html body div#main div.tabs div.obituary p
	{
		font-weight: normal;
		display: inline-block;
		width: 100%;
		page-break-inside: avoid;
	}
}
