*
{
	font-family: Arial;
}

html
{
	top: max(6vw, 15mm);
	position: fixed;
	left: 0px;
	right: 0px;
	bottom: 0px;
	overflow: hidden;
	height: initial;
	width: initial;
}

body
{
	font-size: max(4mm, 1.75vw);
	max-height: 100%;
	overflow: auto;
}

body,
body > header,
body > footer
{
	background-color: #f4f6ff;
}

a:visited,
a:active,
a:link,
a:hover
{
	text-decoration: none;
}

a
{
	border: 1px solid transparent;
	padding: 0.5mm 0.5mm;
}

a.alinkasbutton
{
	display: inline-block;
}

a:focus-visible:not(.alinkasbutton)
{
	border: 1px dotted #808080;
	background-color: #c0c0c0;
}

a.alinkasbutton > span
{
/*	color: #000000; */
	background-color: #ffffff;
	background-color: rgba(255, 255, 255, 0.9);
	display: inline-block;
	padding: 2.5mm 5mm;
}

a.alinkasbutton:hover > span,
a.alinkasbutton:focus-visible > span
{
	background-color: rgba(255, 255, 255, 0.8);
}

section h1,
section h2,
section h3,
section h4,
section h5,
section h6
{
	margin-top: 0.75em;
	margin-bottom: 0px;
}

section p
{
	margin-top: 0.75em;
	margin-bottom: px;
}

@media (prefers-contrast: more)
{
	a:visited,
	a:active,
	a:link,
	a:hover,
	h1
	{
		text-decoration: underline dotted;
		font-style: italic;
		color: #000 !important;
		font-weight: bold;
	}

	a.alinkasbutton:hover,
	a.alinkasbutton:focus-visible
	{
		border-left-width: 5mm;
		margin-left: -4mm;
	}

	a.alinkasbutton > span,
	a.alinkasbutton:hover > span,
	a.alinkasbutton:focus-visible > span
	{
		background-color: #ffffff;
		font-style: italic;
		color: #000 !important;
		font-weight: bold;
	}


}

/*
 a.ancor
{
	display: block;
	width: 20px;
	height: 4px;
	background-color: #ff00ff;
	z-index: 99;
}
*/

header > div,
main > section,
footer > *,
section.slideshow > div > div
{
	background-color: #ffffff;
	width: 1600px;
	max-width: 80vw;
	margin-left: auto;
	margin-right: auto;
	padding: 2vw;
	box-sizing: border-box;
	border-left: 1px solid #e0e0e0;
	border-right: 1px solid #e0e0e0;
}

@media (max-width: 20cm)
{
	header > div,
	main > section,
	footer > *,
	section.slideshow > div > div
	{
		padding: 2vw 3vw;
		max-width: 90vw;
	}
}

@media (max-width: 15cm)
{
	header > div,
	main > section,
	footer > *,
	section.slideshow > div > div
	{
		padding: 2vw 4vw;
		max-width: 95vw;
	}
}

@media (max-width: 10cm)
{
	header > div,
	main > section,
	footer > *,
	section.slideshow > div > div
	{
		max-width: 100vw;
	}
}

section.slideshow > div > div
{
	border-left-color: #a0a0a0;
	border-right-color: #a0a0a0;
}

main > section.legals,
footer > *
{
/*	background-color: #f6f8fa; */
	background-color: #f4f4f4;
}

main > section /* :not(:first-child) */
{
	padding-top: 0px;
}

main > section:not(:first-child) > a:first-child + p,
main > section:not(:first-child) > a:first-child + h2
{
	margin-top: 0px;
}

main > section:not(:last-child)
{
	padding-bottom: 0px;
}

footer > *
{
	padding-top: 0px;
}

main > section:last-child > p:last-child
{
	margin-bottom: 0px;
}

/* section:not(:last-child) */

/* section.legals > p:last-of-type */
/*
section > p:last-of-type
{
	margin-bottom: 0px;
	padding-bottom: 0px;
}
*/

/*
body
{
	display: flex;
	flex-direction: column;
}
*/

body > main
{
	display: flex;
	flex-direction: column;
}

section.slideshow
{
	/* margin-top: 15mm; */
	position: relative;
}

section.slideshow,
section.slideshow > div > div
{
	height: 25vw;
	height: min(25vw, 75vh);
}

a.ancor
{
	position: relative;
	display: block;
	margin: 0px;
	padding: 0px;
	border: none;
	visibility: hidden;
}

section.slideshow > div
{
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	
	position: absolute;
	left: 0px;
	right: 0px;
}

section.slideshow > div > div
{
	display: flex;
	justify-content: flex-end;
	align-items: flex-end;
	background-color: rgba(192, 192, 192, 0.333);
	padding-right: 0px;
	font-size: 3vw;
/*	padding: 4vw; */
}

section.slideshow > div > div > span
{
	border-width: 2px;
	border-width: CALC(1px + 0.5mm);
	border-style: solid;
	border-right-width: 1px;
	background-color: rgba(255, 255, 255, 0.8);
	display: inline-block;
	padding: 2.5mm 5mm;
	/* padding: 2vw; */
}

@media (prefers-contrast: more)
{
	section.slideshow > div > div
	{
		text-shadow: none;
	}

	section.slideshow > div > div > span
	{
		background-color: #ffffff;
		padding: 2vw;
	}
}

header
{
	position: fixed;
	top: 0px;
	left: 0px;
	right: 0px;
	/* height: 15mm; */
	height: 6vw;
	height: max(6vw, 15mm);
	max-height: 6vw;
	max-height: max(6vw, 15mm);
	z-index: 1;
	/* menu wraps below header if not enough space -> hide */
	/* maybe make menu hide mobile menu by default, which gets accessible due main menu wrapping */
	/* max-height: 15mm; */
	overflow: hidden;
}

header > div
{
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	flex-wrap: wrap;
	height: 100%;
	box-sizing: border-box;
	padding-top: 0px;
	padding-bottom: 0px;
	max-height: 100%;
	overflow: hidden;
}

header > div > a
{
	margin-right: 5mm;
	min-height: 100%;
	max-height: 100%;
	height: 100%;
	padding-top: 1vw;
	padding-bottom: 1vw;
	padding-top: max(1vw, 2mm);
	padding-bottom: max(1vw, 2mm);
	box-sizing: border-box;
}

header > div > a > img
{
	height: 100%;
}

header > div > nav
{
	display: flex;
/*	padding: 2mm 0mm; */
	align-items: center;
	height: 6vw;
	height: max(6vw, 15mm);
}

header > div > nav > a
{
	font-weight: bold;
}

header > div > nav > a:not(:first-child)
{
	margin-left: 4mm;
}

footer > div
{
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	flex-wrap: wrap;
}

footer > span
{
	display: block;
	text-align: center;
}

footer > span > a > img
{
	height: 1.25em;
	vertical-align: bottom;
}

section p.prelist,
section ul.nopostspacing
{
	margin-bottom: 0px;
}

section p.prelist + ul,
section ul.nopostspacing + p
{
	margin-top: 0px;
}



@media print
{
	@page
	{
		margin: 1.5cm;
	}

	html
	{
		position: initial;
		max-height: 100vh;
		overflow: auto;
	}

	body
	{
		max-height: initial;
	}

	section.slideshow
	{
		height: initial;
	}

	section.slideshow > div
	{
		position: initial;
		background: none!important;
		opacity: 1!important;
	}

	section.slideshow > div:not(:first-child) > div
	{
		padding-top: 0px;
	}

	section.slideshow > div > div
	{
		height: initial;
/*
		background-color: #f4f4f4;
		border-left-color: #e0e0e0;
		border-right-color: #e0e0e0;
*/
	}

	a.ancor,
	a.alinkasbutton.dontprint
	{
		display: none;
	}

	header > div
	{
		justify-content: center;
	}

	header > div > nav
	{
		display: none;
	}

	header > div,
	main > section,
	footer > *,
	section.slideshow > div > div
	{
		width: 90vw;
		width: calc(100vw - 2cm);
		max-width: 90vw;
		max-width: calc(100vw - 2cm);

		padding-left: 0px;
		padding-right: 0px;
		border-left: none;
		border-right: none;
	}

	body > header
	{
		position: relative;
	}

	body,
	body > header,
	body > footer,
	section.slideshow > div > div,
	main > section.legals,
	footer > *
	{
		background: none;
	}

	section *,
	footer *
	{
		page-break-after: avoid;
		page-break-before: avoid;
		break-inside: avoid;
	}

	section h1,
	section h2,
	footer h1,
	footer h2
	{
		page-break-before: auto;
	}

	main
	{
		page-break-after: auto;
		page-break-before: auto;
		break-inside: auto;
	}

	section,
	footer
	{
		page-break-after: auto;
		page-break-before: auto;
		break-inside: auto;
	}
}

/* section.legals > h2 */
section h2
{
	color: initial;
	font-weight: bold;
	font-size: 1em;
}

@media screen
{
	div.persionovw h2
	{
		color: initial;
		font-weight: bold;
		font-size: 1em;
		margin: 0px;
	}

	div.persionovw h3
	{
		color: initial;
		font-weight: semibold;
		font-size: 1em;
		margin: 0px;
	}

	div.persionovw
	{
		position: relative;
		width: 100%;
		height: 33vh;
		min-height: 7.5em;
	/*	max-height: 10cm; */
	/*	padding-top: 55mm;
		padding-left: 1cm; */
		margin-top: 0.75em;
		margin-bottom: 2em;
		box-sizing: border-box;

		background-color: #cca899;
	/*
		background-size: cover;
		background-position: center;
	*/
		background-repeat: no-repeat;

		background-position: bottom center;
		/* background-size: contain; */
		border-top: 5mm solid #cca899;


		background-size: auto 100%;
		/* background-position: left top; */
	}

	/*
	div.persionovw > span
	{
		background-size: cover;
		background-position: center;
		background-repeat: no-repeat;
		
		position: absolute;
		top: 0px;
		left: 0px;
		right: 0px;
		height: 6cm;
	}
	*/

	div.persionovw > div
	{
		padding: 0.2em 0.4em;
		border: 1px solid #e0e0e0;
		background-color: #f0f0f0;

	/*	z-index: 1; */
	/*	position: relative; */
		display: flex;
		flex-wrap: wrap;
		gap: 0.2em 1.5em;
		min-height: 1.25em;
		position: absolute;
		bottom: -0.75em;
		left: 1.5em;
	/*	right: 0px; */
		align-content: center;
	}
}

/*
*
{
}
*/

@media print
{
	div.persionovw
	{
		background: none!important;
		background-color: initial;
		margin-top: 0.2em;
	}

	div.persionovw:first-of-type
	{
		margin-top: 0.25em;
	}

	div.persionovw:last-of-type
	{
		margin-bottom: 1.5em;
	}

	div.persionovw h2::before
	{
		content: '\2022';
		display: inline;
		font-size: 1em;
		padding: 0px 0.25em;
	}

/*
	div.persionovw > div h2
	{
		display: list-item;
		list-style-type: circle;
		list-style-position: inside;
*/

	div.persionovw h3::before
	{
		content: ' (';
		display: inline;
	}

	div.persionovw h3::after
	{
		content: ')';
		display: inline;
	}

	div.persionovw > div h2,
	div.persionovw > div h3
	{
		display: inline;
		font-size: 1em;
		font-weight: initial;
		color: initial;
	}
}

/*
@media print
{
	div.persionovw
	{
		height: 5cm;
		min-height: 5cm;
		margin: 0px;
	}
}
*/