@font-face {
	/* https://fonts.google.com/specimen/Signika+Negative */
	font-family: 'SignikaNegative';
	src: url('SignikaNegative-VariableFont_wght.ttf') format('truetype');
}

* {
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}
html, textarea {
	font-family: SignikaNegative, Open Sans, Thahoma, Arial, Helvetica, sans-serif;
	font-size: 20px;
}
body {
	background-color: #477ec2;
	background-repeat: no-repeat;
	background-position: center center;
	background-image: url('../Layout/UA.svg');
	background-size: cover;
	background-attachment: fixed;
	display: grid;
	grid-template-columns: min-content 1fr;
	grid-gap: 0em;
 }
th {
	font-size: 115%;
}

A {
 color: #000000;
 text-decoration: underline;
 }
a:hover, a:focus {
 color: #000080;
 text-decoration: none;
 }
A:active {
 color: #0000FF;
 text-decoration: underline;
 }
a.hidden, a.SolidBox {
  color: #000000;
  text-decoration: none;
  }

H1 {
 font-size: 250%;
 text-align: center;
 }
H2 {
  font-size: 150%;
  text-align: center;
  }
H3 {
  font-size: 125%;
  text-align: center;
  }

SMALL {
  font-size: 60%;
  }
.long-number span{
  margin-right: .2em;
  }

BLOCKQUOTE {
  font-style: italic;
  }
BLOCKQUOTE:before {
  content: "\201E";
  margin-right: 0em;
  }
BLOCKQUOTE:after {
  content: "\201C";
  margin-left: 0em;
  }
BLOCKQUOTE.en:before {
  content: "\201C";
  margin-right: 0em;
  }
BLOCKQUOTE.en:after {
  content: "\201D";
  margin-left: 0em;
  }
Q:before {
  content: "\201E";
  }
Q:after {
  content: "\201C";
  }
Q.en:before {
  content: "\201C";
  }
Q.en:after {
  content: "\201D";
  }

/* Default box */
.Main, .presseartikelVorschaubild, .presseartikelBild, .SolidBox {
	-moz-border-radius: 1em;
	-webkit-border-radius: 1em;
	border-radius: 1em;
	margin: 1em;
	padding: 1em;
	-webkit-box-shadow: 0.5em 0.5em 0.5em 0em rgba(0,0,0,0.25);
	-moz-box-shadow: 0.5em 0.5em 0.5em 0em rgba(0,0,0,0.25);
	box-shadow: 0.5em 0.5em 0.5em 0em rgba(0,0,0,0.25);
}


.Main, .SolidBox {
	background: rgba(255,255,255,0.7);
	background: -webkit-gradient(linear, left top, left bottom, from(#FFFFFF), color-stop(#F0F0D0));
	background: -webkit-linear-gradient(top, #FFFFFF, #F0F0D0);
	background: -moz-linear-gradient(top, #FFFFFF, #F0F0D0);
	background: -o-linear-gradient(top, #FFFFFF, #F0F0D0);
	background: linear-gradient(to bottom, #FFFFFF, #F0F0D0);
}
.Main:after, .SolidBox:after {
	content: "";
	display: block;
	clear: both;
}

.SolidBox {
	display: inline-block;
	vertical-align: top;
	width: 25em;
	max-width: calc(100vw - 2em);
}

.ErrorBox {
	display: block;
	color: #C00000;
	margin-left: auto;
	margin-right: auto;
	background: rgba(255,0,0,0.8);
	background: -webkit-gradient(linear, left top, left bottom, from(#FFFFFF), color-stop(#FFD0D0));
	background: -webkit-linear-gradient(top, #FFFFFF, #FFD0D0);
	background: -moz-linear-gradient(top, #FFFFFF, #FFD0D0);
	background: -o-linear-gradient(top, #FFFFFF, #FFD0D0);
	background: linear-gradient(to bottom, #FFFFFF, #FFD0D0);
}

li.SolidBox::first-line {
	font-weight: bold;
	line-height: 1.5;
}

div.OuterTemplate, div.OuterSelected {
	border-radius: 0.5em;
	-moz-border-radius: 0.5em;
	-webkit-border-radius: 0.5em;
	background: rgba(255,255,255,0.7);
	margin: 0.5em;
	padding: 0.5em;
	padding-left: 1.5em;
	-webkit-box-shadow: 0.333em 0.333em 0.333em 0em rgba(0,0,0,0.25);
	-moz-box-shadow: 0.333em 0.333em 0.333em 0em  rgba(0,0,0,0.25);
	box-shadow: 0.333em 0.333em 0.333em 0em  rgba(0,0,0,0.25);
	-webkit-transition: all 0.2s; /* Safari */
	transition: all 0.2s linear 0s;
	white-space: nowrap;
 }
div.OuterTemplate:hover, div.OuterSelected {
	border-radius: 0em;
	-moz-border-radius: 0em;
	-webkit-border-radius: 0em;
	background: rgba(255,255,255,0.8);
	-webkit-box-shadow: 0.5em 0.5em 0.5em 0em rgba(0,0,0,0.3);
	-moz-box-shadow: 0.5em 0.5em 0.5em 0em rgba(0,0,0,0.3);
	box-shadow: 0.5em 0.5em 0.5em 0em rgba(0,0,0,0.3);
 }
div.InnerTemplate, div.InnerSelected {
	padding-left: 1.15em;
	font-size: 80%;
}
div.Screenshot {
	display: inline-block;
	vertical-align: top;
	-moz-border-radius: 1.5em;
	-webkit-border-radius: 1.5em;
	border-radius: 1.5em;
	background: #FFFFFF;
	margin: 0.5em;
	padding: 1em;
}
  
TABLE.Main {
	margin: 0.5em;
	-webkit-box-shadow: 0.333em 0.333em 0.333em 0em rgba(0,0,0,0.25);
	-moz-box-shadow: 0.333em 0.333em 0.333em 0em  rgba(0,0,0,0.25);
	box-shadow: 0.333em 0.333em 0.333em 0em  rgba(0,0,0,0.25);
}
TABLE.Filelist {
	margin: 1em auto;
    border-spacing: 0;
}
table.Filelist td, table.Filelist th {
	background: -webkit-gradient(linear, left top, left bottom, from(#FFFFFF), color-stop(#E8E8C0));
	background: -webkit-linear-gradient(top, #FFFFFF, #E8E8C0);
	background: -moz-linear-gradient(top, #FFFFFF, #E8E8C0);
	background: -o-linear-gradient(top, #FFFFFF, #E8E8C0);
	background: linear-gradient(to bottom, #FFFFFF, #E8E8C0);
	padding: 0.2em 0.5em;
}

.Document {
	border-radius: 0.5em;
	-moz-border-radius: 0.5em;
	-webkit-border-radius: 0.5em;
	background: #FFFFFF;
	margin: 0.5em;
	padding: 1.5em;
	-webkit-box-shadow: 0.333em 0.333em 0.333em 0em rgba(0,0,0,0.25);
	-moz-box-shadow: 0.333em 0.333em 0.333em 0em  rgba(0,0,0,0.25);
	box-shadow: 0.333em 0.333em 0.333em 0em  rgba(0,0,0,0.25);
 }

.wahlbalken {
	height: 1.2em;
	-webkit-box-shadow: 0.1em 0.3em 0.2em 0em rgba(0,0,0,0.25);
	-moz-box-shadow: 0.1em 0.3em 0.2em 0em rgba(0,0,0,0.25);
	box-shadow: 0.1em 0.3em 0.2em 0em rgba(0,0,0,0.25);
}

.presseartikelOrt {
	font-variant: small-caps;
}
.presseartikelOrt::after {
   content: " – ";
}
.presseartikelVorschaubild, .presseartikelBild {
	overflow: hidden;
	padding: 0em;
	float: left;
}
.presseartikelVorschaubild {
	max-width: 25%;
	max-height: 10em;
}
.presseartikelBild {
	max-width: 33%;
	margin-right: 2em;
}
.presseartikelBild * {
	display: block;
	max-width: 100%;
	max-height: 100%;
}
.presseartikelBild div {
	margin: 0.5em;
}
.presseartikelAuthor, .presseartikelZeitung {
	text-align: right;
	font-size: 75%;
	font-size: 75%;
}

.optionalGrid {
	display: grid;
	grid-template-columns: 1fr min-content;
	grid-gap: 0em;
}

nav {
	white-space: nowrap;
	width: 12em;
	width: fit-content;
	vertical-align: text-top;
}
.icon {
	font-size: 3rem;
	margin: 0.5rem 0 0.5rem 0.5rem;
	text-decoration: none;
}
#displayLegend, #displayLegendButton, #displayLegendOpen {
	display: none;
}
nav.wedding {
	width: 12em;
}

main {
}



@media print {
	body, .Main, DIV.OuterTemplate, DIV.OuterSelected, DIV.Screenshot, .Document {
		background: none;
	}
	nav {
		display: none;
	}
}

@media screen and (min-width: 2500px) {
	html, textarea {
		font-size: 30px;
	}
	main {
		padding: 0em 10%;
	}
}
@media screen and (max-width: 1500px) {
	html, textarea {
		font-size: 18px;
	}
}
@media screen and (max-width: 1300px) {
	.optionalGrid {
		grid-template-columns: 1fr;
	}
}
@media screen and (max-width: 900px) {
	html, textarea {
		font-size: 15px;
	}
	body {
		grid-template-columns: 1fr;
	}
	#displayLegend + label > * {
		display: none;
	}
	#displayLegend + label > #displayLegendButton {
		display: inline-block;
	}
	#displayLegend:checked + label > * {
		display: initial;
	}
	#displayLegend:checked + label > #displayLegendButton {
		display: none;
	}
}
