/*****
 * klassenfragen stylesheet
 * (c) klassenfragen.org
*****/

body {
	font-family: "Open Sans", Arial, Helvetica, Sans-Serif;
	font-size: 16px;
	display: flex;
	flex-direction: row;
	background-color: lightgrey;
}
.toppage {
	flex: 1 0 100%;
	display: flex;
	flex-direction: column;
	min-height: 97vh;
	max-width: 1200px;
	background-color: white;
}
.spacer {
	flex: 1 0 auto;
}

/***** HEADER ***/
header {
	background-color: lightgrey;
	padding-bottom: 5px;
}
header img {
	height: auto;
	width: 100%;
}

/***** PLAIN ELEMENTS ***/
p {
	margin-top: 0 !important;
	margin-bottom: 0.6em !important;
}
p.small {
	font-size: 0.9em;
}
h1, h2, h3, h4, h5, h6 {
	font-family: "Sulphur Point", Verdana, Helvetica, Sans-Serif;
	font-weight: normal;
	line-height: 1.1em;
	overflow-wrap: anywhere;
}
h1 {	font-size: 2.75em !important;
	margin: 0.8em 0 0.4em 0 !important; }
h2 {	font-size: 2.15em !important;
	margin: 0.8em 0 0.3em 0 !important; }
h3 {	font-size: 1.75em !important;
	margin: 0.75em 0 0.25em 0 !important; }
h4 {	font-size: 1.5em !important;
	margin: 0.75em 0 0.25em 0 !important; }
h5 {	font-size: 1.3em !important;
	margin: 0.75em 0 0.25em 0 !important; 
	font-variant: small-caps;}
h6 {	font-size: 1.2em !important;
	margin: 0.75em 0 0.25em 0 !important; }
a {
	text-decoration: underline dotted 1px;
	color: currentcolor;
}
a:hover {
	color: red;
}
sup {
	line-height: 0.75em;
}
h1 sup, h2 sup, h3 sup, h4 sup, h5 sup, h6 sup {
	font-size: 0.75em;
}

/***** TOC ***/
ul.toc {
	list-style-type: decimal;
}
ul.toc li {
	margin-bottom: 0.3em;
}

/***** MENU ULIST ***/
ul.menuul {
	list-style-type: none;
}
ul.menuul > li {
	border-radius: 4px;
	outline: silver outset 1px;
}
ul.menuul > li:hover, ul.menuul > li.sel {
	outline-width: 2px;
}
ul.menuul > li > a {
	display: block;
	text-decoration-line: none;
	color: black;
	padding: 0 1em 0 0.7em;
	margin: 0.4em 0 0.4em 0;
}
ul.menuul > li.sel {
	background-color: silver;
	list-style-type: disclosure-closed;
}

/***** MAIN ***/
.main {
	flex: 1;
	display: flex;
	gap: 0.5em 2em;
	flex-wrap: wrap;
	padding: 0 1em 0 1em;
}
.main article {
	flex: 1 1 600px;
	border-bottom: 1px solid grey;
}
.main aside {
	flex: 1 1 150px;
	border-bottom: 1px solid grey;
}

.main article p { 
	text-align: justify;
	text-indent: 1.25em; 
}
.main article p.author { 
	margin-top: 1em !important;
	font-style:italic;
	font-variant:small-caps;
	text-indent:unset;
	font-size:1.2em;
}
.main article p.intro {
	font-weight: bold;
}
.main article blockquote {
	margin: 0 1em 0.6em 7% !important;
	font-style: italic;
	letter-spacing: 0.1em;
	padding-left: 1em !important;
	border-left: 4px solid #aaa !important;
}
.main article p.noindent {
	text-indent: unset !important;
}
.main article p.footnotes {
	margin-top: 2em;
	margin-bottom: 1em;
	font-size: 0.8em;
	background-image: url("/res/greybar.png");
	background-position: 1em top;
	background-repeat: no-repeat;
	padding-top: 0.7em;
	padding-left: 1em;
	text-indent: unset !important;
	text-align: unset;
	overflow-wrap: anywhere;
}
.main article p.footnotes > a {
	text-decoration: none;
}
.main article p.footnotes a:hover {
	color: currentcolor;
}

/***** FOOTER ***/
footer {
	padding: 0 1em 1em 1em;
}

/***** NAV ***/
nav {
	position: sticky;
	top: 0;
}
nav ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	overflow: hidden;
	background-color: lightsteelblue;
}
nav ul li {
	float: left;
}
nav ul li.r {
	float: right;
}
nav ul li a {
	display: block;
	color: white;
	text-align: center;
	padding: 0.4em 1em;
	text-decoration: none;
}
nav ul li a:hover {
	background-color: #aaaaaa;
	color: darkred;
}
nav ul li a.cur {
	background-color: white;
	color: slategrey;
}

img.dl {
	width:75px;
}
img.dl:hover {
	transform: scale(1.1);
}
/***** REGISTER FORM ***/
.frm-inp input[type=text], .frm-inp select, .frm-inp input[type=email] {
	width: 100%;
	padding: 12px;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-sizing: border-box;
	resize: vertical;
}
.frm-lbl label {
	padding: 12px 12px 0px 0;
	display: inline-block;
	overflow: hidden;
}
.frm-lbl label:after {
	content: ": ";
}
.frm-inp input[type=submit] {
	background-color: lightsteelblue;
	color: white;
	padding: 12px 20px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
}
.frm-inp input[type=submit]:hover {
	background-color: steelblue;
}
.frm-cont {
	border-radius: 12px;
	background-color: #f2f2f2;
	padding: 20px;
}
.frm-lbl {
	float: left;
	width: 25%;
	margin-top: 6px;
}
.frm-inp {
	float: left;
	width: 75%;
	margin-top: 6px;
}
.frm-row {
	padding-bottom: 10px;
}
.frm-row:after {
	content: "";
	display: table;
	clear: both;
}

/***** FONTS ***/
@font-face {
	font-display: swap;
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 400;
	src: url('/res/fonts/open-sans-v44-latin-regular.woff2') format('woff2'),
	     url('/res/fonts/open-sans-v44-latin-regular.ttf') format('truetype');
}
@font-face {
	font-display: swap;
	font-family: 'Open Sans';
	font-style: italic;
	font-weight: 400;
	src: url('/res/fonts/open-sans-v44-latin-italic.woff2') format('woff2'),
	     url('/res/fonts/open-sans-v44-latin-italic.ttf') format('truetype');
}
@font-face {
	font-display: swap;
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 600;
	src: url('/res/fonts/open-sans-v44-latin-600.woff2') format('woff2'),
	     url('/res/fonts/open-sans-v44-latin-600.ttf') format('truetype');
}
@font-face {
	font-display: swap;
	font-family: 'Sulphur Point';
	font-style: normal;
	font-weight: 400;
	src: url('/res/fonts/sulphur-point-v16-latin-regular.woff2') format('woff2'),
	     url('/res/fonts/sulphur-point-v16-latin-regular.ttf') format('truetype');
}
@font-face {
	font-display: swap;
	font-family: 'Sulphur Point';
	font-style: normal;
	font-weight: 700;
	src: url('/res/fonts/sulphur-point-v16-latin-700.woff2') format('woff2'),
	     url('/res/fonts/sulphur-point-v16-latin-700.ttf') format('truetype');
}