@charset "UTF-8";

/* Print Stylesheet for IMI-Website, ed. 2023
 * by Sascha Leib for GROW.E.4
 * File name: print.css
 */
@media print {
	
	.print-only {
		display: inherit !important;
	}
	
	/* page layout defaults: */
	@page { size: A4 portrait; margin: 2cm 3.5cm 4cm 2.5cm; }
	
	/* hide unnecessary elements: */
	#globan, #headline-breadcrumb-layout, #languages-menu, body > footer,
	#toTopButton, #sidebar, .no-print	{
		display: none !important;
	}

	/* page headline: */
	#page-headline {
		background-color: transparent;
	}
	#page-headline-layout {
		padding-bottom: .5rem;
	}
	#page-headline-layout > h1 {
		font-size: 1.25rem;
		color: #000;
		margin: 4cm 0 0 0;
		text-align: center;
		text-wrap: balance;
	}
	#page-headline-layout h1 a:link strong,
	#page-headline-layout h1 a:visited strong {
		color: #444;
		font-size: 1em;
	}
	
	/* make the main block use the full page width: */
	#navigation-layout {
		display: block;
	}
	
	/* main headline becomes title page headline: */
	main > h2 {
		color: #000;
		border-bottom: none;
		text-align: center;
		margin-bottom: 2.5cm;
		text-wrap: balance;
		page-break-after: avoid;
		break-after: avoid;
	}
	
	/* balance section headlines (where available): */
	main > h3 {
		text-wrap: balance;
		page-break-after: avoid;
		break-after: avoid;
	}
	
	/* override "float-right" for the header icon */
	main > #pageicon {
		float: none !important;
		display: block;
		text-align: center;
	}

	/* move the index to the left: */
	#rightmenu {
		width: 100%;
		float: none;
	}
	
	/* no (visible) links in index menu */
	#inpageNav dd a:link,
	#inpageNav dd a:visited {
		font-weight: normal;
		text-decoration: none;
		color: #404040;
	}
	
	/* text starts on second page: */
	#app-wrapper > section:first-of-type,
	#app-wrapper > article:first-of-type {
		page-break-before: always;
	}
	
	/* errors should be shown! */
	.info-error, .warning-box {
		background-color: transparent;
		border: #000 dashed 3pt;
		border-radius: 10pt;
	}
}