@media print
{
	
	@page {
	    size: portrait;
	    margin: 27mm 0; 
	    margin-right: 0; /* for compatibility with both A4 and Letter */
	}
  
	.stage,
	.container:not(.section-to-print),
	#footer,
	.hide-on-print,
	a[href]:after,
	.back-container {
		display: none;
	}
	
	#header {
		position: relative;
	}
	
	#header,
	#header .container.bwHeader--container {
		display: block;
	}
	
	#header .container.bwHeader--container .header-navigation {
		display: none;
	}
	
	html,
	body {
		height: auto !important;
		min-height: none;
		width: 100%;
		margin: 0;
		padding: 0;
		border: 0;
		font-size: 14px;
	}
	
	.maincontent p,
	.maincontent table:not(.ui-datepicker-calendar){
		font-size: 14px;
	}
	
	.maincontent .imgtextmodule li,
	.maincontent .text ul li, 
	.maincontent .text ol li, 
	.maincontent .accordion ul li, 
	.maincontent .event-detail ul li, 
	.maincontent .news-item .news-text-wrap ul li,
	.maincontent .news-item .teaser-text ul li,
	.maincontent .news-item .news-related-links ul li  {
		list-style-type: disc;
		font-size: inherit
	}
	
	.bwToc,
	.bwHeader--toTop {
		display: none
	}
	
	.teaser {
		margin-bottom: 0;
	}
	
	.teaser .teaser-headline {
		font-size: 16px
	}
	
	body {
		padding: 0 30px;
	}
	
	.maincontent {
		padding-top: 30px;
	}
	
	
	/* Startseite */
	
	.tmpl-startpage .maincontent {
		visibility: visible !important
	}
	
	.bwPage {
		position: inherit;
		display: block;
		height: auto;
		overflow: visible;
		z-index: 0;
		transition: none;
		padding: 0 !important;
		page-break-after: always;
	}
	
	.bwBackground {
		display: none !important
	}
	
	.bwPage .bwTeasergroup--grid-1 .bwTeasergroup--pages {
		min-height: 0 !important
	}
	
	.bwTeasergroup--actions,
	.bwPortfolio--actions {
		display: none
	}
	
	.bwPage .bwPortfolio {
		min-height: 0
	}
	
	.bwPortfolio--list {
		height: auto !important
	}
	
		.bwPortfolio--item {
			position: relative !important;
			width: 33.3%;
			height: auto !important;
			display: none;
			left: auto !important;
			top: auto !important
		}
		
		.bwPage.dark .bwTeasergroup .teaser.grid-1 .teaser-headline, 
		.bwPage.dark .bwTeasergroup .teaser.grid-1 .teaser-text p {
			color: #555 !important
		}
		
		/*.bwPortfolio--item[data-size="size-2"] {
			width: 66.6%;
		}*/
		
		.bwPortfolio--item:nth-child(-n+6){
			display: inline-block
		}
	
		.bwPortfolio--item[data-type="cite"] .bwPortfolio--cite,
		.event-meta {
			background: #eee !important;
			-webkit-print-color-adjust: exact !important;   /* Chrome, Safari */
			color-adjust: exact !important; /* Firefox */
		}
	
		.bwPortfolio--item:nth-child(3n+1) {
			clear: both
		}
		
		.bwPortfolio--cite a .bwPortfolio--citeAuthor {
			text-align: center;
		}
		
		.bwTeasergroup--grid-3 .teaser {
			width: 33.3%;
			display: inline-block;
			vertical-align: top;
		}
		
		.bwPage#zitat,
		.bwPage#social-media,
		.bwPage#kontakt,
		.bwPage#mediathek,
		.bwPage#mediathek-audio,
		.quotationmodule,
		.shariff {
			display: none;
		}
		
		.bwDailyMotto--contentContainer {
			display: block
		}
		
		.bwEventsliderMonths>*,
		.bwEventsliderPage {
			display: block;
			position: relative;
			top: auto;
			left: auto;
			right: auto;
			bottom: auto;
			min-height: 0
		}
		
		.bwEventslider .bwEventslider--pagination {
			display: none
		}
		
		.bwEventsliderMonthsNav--panel,
		.bwEventsliderMonths + div {
			display: none
		}

	.bwTools--item:nth-child(4){
		display: none;
	}
	
	/* News & Events */
	
	.news-list-view .news-row .col {
		border-top: none;
	}
	
	.filter-container,
	.news form > .news-head ,
	.page-navigation,
	.news-single .bwGallery-container,
	.news-single .more-images {
		display: none;
	}
	
	.news .news-related {
		margin: 0 -15px;
	}
	
	.news-list-view .news-row .col,
	.news .news-related .related-news-item  {
		width: 33.3%
	}
	
	/* Verwandte Nachrichten */
	.news-single .related-news-item {
		border-top: none;
	}
	
	.news-single .news-related {
		padding-bottom: 20px;
	}
	
		/*.news-single .news-related h3 { margin-bottom: 20px;}*/
	
	.news-single .related-news-item .row > .col {
		width: 100%;
	}
	
	.news-single .related-news-item .col-image.hidden-xs {
		display: none
	}
	
	.news-single .related-news-item .col-image.hidden-lg {
		display: block !important;
		margin-bottom: 10px;
	}
	
		.news-related-news .seperator,
		.news-related-news h3 {
			margin: 0 15px;
		}
	
	.news .news-related .related-news-item {
		display: inline-block;
		vertical-align: top;
		padding: 0 15px;
	}
	
	
	/* Downloadliste */
	
	.jpg::before,
	.JPG::before
	{
		content: url('/typo3conf/ext/bistum_baukasten/Resources/Public/Images/Icons/Filetypes/jpg.svg');
	}
	
	.pdf::before,
	.PDF::before
	{
		content: url('/typo3conf/ext/bistum_baukasten/Resources/Public/Images/Icons/Filetypes/pdf.svg');
	}
	
	.zip::before,
	.ZIP::before
	{
		content: url('/typo3conf/ext/bistum_baukasten/Resources/Public/Images/Icons/Filetypes/zip.svg');
	}
	
	.xls::before,
	.XLS::before
	{
		content: url('/typo3conf/ext/bistum_baukasten/Resources/Public/Images/Icons/Filetypes/xls.svg');
	}
	
	.tif::before,
	.TIF::before,
	.tiff::before,
	.TIFF::before
	{
		content: url('/typo3conf/ext/bistum_baukasten/Resources/Public/Images/Icons/Filetypes/tiff.svg');
	}
	
	.doc::before,
	.DOC::before,
	.docx::before,
	.DOCX::before,
	.txt::before,
	.TXT::before {
		content: url('/typo3conf/ext/bistum_baukasten/Resources/Public/Images/Icons/Filetypes/doc.svg');
	}
	
	.filesize {
		text-align: left;
	}

	.img-responsive:not(.slick-img-responsive) {
		width: auto;
		height: auto;
		max-height: 100%;
	}
	
	/* Galerieliste */
	
	.gallerylist-container.section-to-print .container {
		display: block !important
	}
	
	.gallery-btn-col {
		display: none;
	}
	
	.box-item.gallery-box-item {
		margin-bottom: 0;
	}
	
	/* Linkliste */
	
	.list-group {
		margin-bottom: 0;
	}
	
	.listgroupmodule .list-group-item {
		display: list-item;
		list-style-position: inside;
		list-style-type: disc;
		width: 50%;
		margin: 10px 0;
		padding: 0;
		float: left;
	}

	/* Bild-Text-Module */
	
	.navigationbox {
		display: none
	}
	
	.imgtextmodule .images.hidden-xs {
		display: inline-block !important;
		width: 50%;
		margin-bottom: 0;
	}
	
		.imgtextmodule .images.hidden-xs img,
		.imgtextmodule.imgtextmodule-layout-5:not(.floating-image) .images img {
			width: 250px;
		}

	.imgtextmodule .images.hidden-lg,
	.imgtextmodule.imgtextmodule-layout-5:not(.floating-image) .images.hidden-lg {
		display: none !important;
	}
	
	.img-container {
		text-align: left;
	}
	
	.imgtextmodule-layout-3 .img-container-wrapper .img-item {
		width: 24%;
		margin-right: 1%;
		display: inline-block;
	}
	
		.imgtextmodule-layout-3 .fourth-img {
			margin-right: 0;
		}
		
	.imgtextmodule-layout-3 .images.hidden-xs {
		width: 100%;
	}
	
	.imgtextmodule-layout-3 .first-img,
	.imgtextmodule-layout-3 .second-img,
	.imgtextmodule-layout-3 .third-img,
	.imgtextmodule-layout-3 .fourth-img {
		margin: 0;
		height: auto
	}
	
		.imgtextmodule-layout-3 .first-img .img .img-content,
		.imgtextmodule-layout-3 .second-img .img .img-content, 
		.imgtextmodule-layout-3 .third-img .img .img-content,
		.imgtextmodule-layout-3 .fourth-img .img .img-content {
			width: auto;
			height: auto;
			margin: 0;
		}

	.imgtextmodule-layout-4 .floating-img-right .floating-content .img-content {
		float: none;
	}

	/* Links & Buttons */
		
	.btn.btn-default {
		padding: 0;
	}
	
		.btn.btn-link-teaser, 
		a.btn.btn-link-teaser,
		.event-show-all,
		a.back {
			display: none;
		}
	
		.btn.link.extern, 
		.btn.external-link, 
		.btn.internal-link, 
		.btn-link-item.internal-link {
			padding-right: 0 !important
		}

		.btn-after-text a::before,
		.btn.link.extern::before, 
		.btn.external-link::before {
			width: 100%;
			height: 100%;
			content: " ";
			background: yellow;
			display: inline-block;
			border-bottom: 2px solid #fcc000;
			position: absolute;
		}
		
		/* Anzeige des Linksziels */
		/*.btn-after-text a::after,
		.btn.link.extern::after, 
		.btn.external-link::after {
			display: table; 
			top: 2px;
			right: auto;
			left: calc(100% + 8px);
			/*content: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='9' height='15' viewBox='0 0 9 18'><path fill='%23fcc000' d='M.86 16.848l-.72-.696L7.555 8.5.14.848.86.152 8.945 8.5'></path></svg>") " (" attr(href) ") ";*/
			/*content: " (" attr(href) ") ";
			font-size:0.8em;
			height: auto;
			width: auto !important;
			font-weight:normal;
			margin-top: 0;
		}*/
	
		.btn-default .linktext { 
			border-bottom: 2px solid #fcc000;
			position: relative
		}
		
			.linklistmodule .caption::after,
			.btn-default .linktext::after {
				content: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='9' height='15' viewBox='0 0 9 18'><path fill='%23fcc000' d='M.86 16.848l-.72-.696L7.555 8.5.14.848.86.152 8.945 8.5'></path></svg>");
				height: 15px;
				width: 15px;
				position: relative;
				top: 3px;
				display: inline-block
			} 
}