/** 
 * main.css
 * 
 * 1. General HTML tags
 * 2. Masthead area
 * 3. Main content and sidebar
 * 4. Footer
 * 5. Media queries for responsive layout
 * 6. Accessibility helpers
 * 
 */

/*********************************************************************
 * 1. General HTML tags
 *
 */

* {
	box-sizing: border-box; 
}

body {
	padding: 5%;
	max-width: 1600px; 
	margin: 0 auto; 
	font-family: Lusitana, Quattrocento, serif;
	/* background-color:#D8BFD8 gelb */
	/* background-color:#47478d gruen */
	background-color:#D8BFD8
}

body, td, input[type=text], textarea {
	font-family: 'Quattrocento', serif;
	font-size: 105%; 
	line-height: 1.8em;
	color: #252577; 
}

img {
	max-width: 100%; 
}

h1 {	/* jodroenn 10.12.2022 */
	font-weight: bold;
	color: #374f30; 
	
}

h2 {
	font-weight: normal;
}

h3 {
	border-top: 1px solid #f4f4f8; 
	padding-top: 1em;
	color: #3c3c85; 
}

a {
	color: #374f30;
	text-decoration: none;
	border-bottom: 1px solid #6a6aa2; 
}
	a:hover,
	.nav a:hover {
		color: #191970;
		border-color: #99bb90; 
	background-color:#47478d /* jodroenn 10.12.2022 gruen */
	}

blockquote {
	margin-left: 0;
	padding-left: 1.5em;
	padding-right: 2em; 
	border-left: 4px solid #9898bf; 
	font-style: italic; 
	color: #3c3c85; 
}

pre, code {
	background: #f4f4f8; 
	border: 1px solid #9898bf; 
}

pre {
	font-size: 14px; 
	line-height: 1.4em;
	padding: 1em;
	border-left: 4px solid #9898bf; 
}

/*********************************************************************
 * 2. Masthead area
 *
 */

.topnav, .topnav li {
	list-style: none; 
	padding: 0;
	margin: 0;
		background: #D8BFD8;  	/* jodroenn 10.12.2022 */
}
	.topnav li {
		float: left; 
		margin-right: 1em;
		margin-bottom: 1em;
		background: #D8BFD8;  	/* jodroenn 10.12.2022 */
	}
	.topnav a {
		padding: 0.25em 0.5em;
		text-decoration: none; 
		display: block;
		/* background: #f4f4f8; */
		color: #374f30; 
		border: 1px solid #f4f4f8; 
		background: #d1d1e2;  	/* jodroenn 10.12.2022 Background der Haupt- Navigation*/
	}
	.topnav a:hover {
		background: #9898bf;
		border-color: #9898bf; 
	}
	.topnav li.current a {
		background: #9898bf; 
		border-color: #9898bf; 
	}
	.topnav li.edit a {
		background: none; 
	}


form.search {
	float: right; 
	margin: 0;
	width: 30%; 
}
	form.search input {
		margin: 0;
		padding: 0.25em 0.5em;
		border: 1px solid #6a6aa2; 
		width: 100%; 
		background: #d1d1e2;  	/* jodroenn 10.12.2022 Background der Haupt- Navigation*/
	}

.breadcrumbs {
	clear: both; 
	padding-top: 1em; 
}
	.breadcrumbs span:after {
		content: ">";
		color: #525294; 
		padding-left: 0.5em;
		padding-right: 0.25em; 
	}

/*********************************************************************
 * 3. Main content and sidebar
 *
 */

#main {
	border-top: 1px solid #f4f4f8; 
	padding-top: 1em; 
	margin-top: 1em; 
	clear: both; 
}

#content {
	width: 85%; 
}

#content, #sidebar {
	padding-bottom: 2em; 
}

body.has-sidebar #content {
	width: 65%; 
	float: left;
}

body.has-sidebar #sidebar {
	width: 35%;
	padding-left: 5%; 
	float: left; 
	background-color:#47478d;	/* jodroenn 10.12.2022 */
}

.nav {
	margin-left: 0;
	padding-left: 0;
	list-style: none; 
}
	.nav .nav {
		padding-left: 1.5em;
		list-style: disc;
	}
	.nav li {
		margin: 1em 0;
	}

	.nav-tree li {
		margin-top: 0;
		margin-bottom: 0;
	}

	.nav a {
		font-weight: bold;
	background-color:#47478d;	/* jodroenn 10.12.2022 */
	}

	.nav-tree li a {
		color: #3c3c85; 
	}

	.nav .current > a {
		color: #374f30; 
	}

.align_left {
	/* for images placed in rich text editor */ 
	float: left;
	margin: 0 1em 0.5em 0; 
	position: relative;
	top: 0.5em;
	max-width: 50%; 
}

.align_right {
	/* for images placed in rich text editor */ 
	float: right;
	margin: 0 0 0.5em 1em;
	max-width: 50%; 
}

.align_center {
	/* for images placed in rich text editor */ 
	display: block;
	margin: 1em auto; 
	position: relative;
	top: 0.5em;
}

figure {
	display: table;
	width: 1px;
	margin: 1em 0;
}

figure img {
	display: table-row;
	margin-bottom: 0.5em;
}

figure figcaption {
	display: table-row;
	font-size: smaller;
	color: #3c3c85;
	line-height: 1.4em;
}

/*********************************************************************
 * 4. Footer
 *
 */

#footer {
	clear: both; 
	/* border-top: 1px solid #f4f4f8; */
	border-top: 1px solid #47478d;
	/* Joern 31.01.2023: Versuch, die Footer- zeile in dunkel grün zu bekommen */
	background-color:#47478d;	/* jodroenn 31.01.2023 */
	font-size: 80%; 
}

/*********************************************************************
 * 5. Media queries for responsive layout
 *
 */

@media only screen and (max-width: 767px) {
	/* mobile layout */ 

	body, td, textarea {
		font-size: 100%; 
	}
	body.has-sidebar #content, 
	body.has-sidebar #sidebar {
		float: none;
		width: 100%; 
		padding: 0; 
	}
	form.search {
		float: none; 
		width: 100%; 
	}
	#content {
		width: 100%; 
	}
	#sidebar {
		border-top: 1px solid #f4f4f8;
		padding-top: 1em; 
	}
	.align_left, .align_right, .align_center {
		display: block;
		float: none; 
		margin: 1em auto;
		max-width: 100%; 
	}

}

@media only screen and (min-width: 1200px) {
	/* extra-wide desktop layout */ 
	
	body, td, textarea {
		font-size: 115%; 
	}
}
/*********************************************************************
 * 6. Accessibility helpers
 *
 */

/* Hide visually, but remain approachable for screenreader */

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	white-space: nowrap;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	border: 0;
}

/* Show bypass link on hover */

.element-focusable:focus {
	clip: auto;
	overflow: visible;
	height: auto;
}

/* Sample styling for bypass link */

.bypass-to-main:focus {
	top: 0;
	left: 0;
	width: 100%;
	height: 40px;
	line-height: 40px;
	text-align: center;
	background: #374f30;
	color: #fff;
}

/* lusitana-regular - latin */
@font-face {
  font-family: 'Lusitana';
  font-style: normal;
  font-weight: 400;
  src: url('/site/templates/styles/fonts/lusitana-v13-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('/site/templates/styles/fonts/lusitana-v13-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/site/templates/styles/fonts/lusitana-v13-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('/site/templates/styles/fonts/lusitana-v13-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('/site/templates/styles/fonts/lusitana-v13-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('/site/templates/styles/fonts/lusitana-v13-latin-regular.svg#Lusitana') format('svg'); /* Legacy iOS */
}
/* lusitana-700 - latin */
@font-face {
  font-family: 'Lusitana';
  font-style: normal;
  font-weight: 700;
  src: url('/site/templates/styles/fonts/lusitana-v13-latin-700.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('/site/templates/styles/fonts/lusitana-v13-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/site/templates/styles/fonts/lusitana-v13-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('/site/templates/styles/fonts/lusitana-v13-latin-700.woff') format('woff'), /* Modern Browsers */
       url('/site/templates/styles/fonts/lusitana-v13-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('/site/templates/styles/fonts/lusitana-v13-latin-700.svg#Lusitana') format('svg'); /* Legacy iOS */
}

/* quattrocento-regular - latin */
@font-face {
  font-family: 'Quattrocento';
  font-style: normal;
  font-weight: 400;
  src: url('/site/templates/styles/fonts/quattrocento-v17-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('/site/templates/styles/fonts/quattrocento-v17-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/site/templates/styles/fonts/quattrocento-v17-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('/site/templates/styles/fonts/quattrocento-v17-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('/site/templates/styles/fonts/quattrocento-v17-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('/site/templates/styles/fonts/quattrocento-v17-latin-regular.svg#Quattrocento') format('svg'); /* Legacy iOS */
}
/* quattrocento-700 - latin */
@font-face {
  font-family: 'Quattrocento';
  font-style: normal;
  font-weight: 700;
  src: url('/site/templates/styles/fonts/quattrocento-v17-latin-700.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('/site/templates/styles/fonts/quattrocento-v17-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/site/templates/styles/fonts/quattrocento-v17-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('/site/templates/styles/fonts/quattrocento-v17-latin-700.woff') format('woff'), /* Modern Browsers */
       url('/site/templates/styles/fonts/quattrocento-v17-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('/site/templates/styles/fonts/quattrocento-v17-latin-700.svg#Quattrocento') format('svg'); /* Legacy iOS */
}
