/***********************************************/
/* HTML tag styles                             */
/***********************************************/ 

body{
	font-family: sans-serif;
	color: #333333;
	margin: 0px;
	padding: 0px;
	background-color: #FDFAC4;
	max-width: 20cm;
}

a:link, a:visited, a:hover {
	color: #973A20;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}
/* overrides decoration from previous rule for hovered links */

h1, h2, h3, h4, h5, h6 {
	font-family: sans-serif;
	margin: 0px;
	padding: 0px;
}

h1{
 font-family: sans-serif;
 font-size: 200%;
 color: #660000;
}

h2{
 font-size: 150%;
 color: #990000;
}

h3{
	margin: 10px 0 8px 0;
	font-size: 114%;
	color: #593224;
}

h4{
 font-size: 100%;
 font-weight: normal;
 color: #593224;
}

h5{
 font-size: 100%;
 color: #593224;
}

ul{
 list-style-type: square;
}

ul ul{
 list-style-type: disc;
}

ul ul ul{
 list-style-type: none;
}

label{
 font: bold 100% sans-serif;
 color: #334d55;
}

hr {
	border: 0px solid;
	height: 1px; 
	background: #A08A76;
}
				

/***********************************************/
/* Layout Divs                                 */
/***********************************************/

#masthead{
	margin: 0;
	padding: 20px 0px 10px 0;
	border-bottom: 1px solid #A08A76;
	width: 100%;
}

#navBar{
	width: 4cm;
	padding: 0px;
	float: left;
	background-color: #FCDE83;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}

#content{
	margin-left: 4.5cm;
	padding: 0 3% 0 0;
	box-sizing: border-box;
}


/***********************************************/
/*Component Divs                               */
/***********************************************/

#siteName{
	margin: 0px;
	padding: 0px 0px 10px 10px;
}
#speiche {
	margin: 4px 10px;
	height: 12px;
	clear: left;
	position: relative;
	box-sizing: border-box;
	background-image:  url('../image/speiche_vorne.png'),   url('../image/speiche_hinten.png'), url('../image/speiche_mitte.png');
	background-position:  left, right, center;
	background-repeat: no-repeat,   no-repeat,  repeat-x;
}


/*************** #pageName styles **************/

#pageName{
	padding: 10px 0 10px 0;
}


/************* #globalNav styles **************/

#globalNav{
color: #F88318;
padding: 0px 0px 0px 10px;
white-space: nowrap;
}
/* 'nowrap' prevents links from line-wrapping if there are too many to fit in one line
   this will force a horizontal scrollbar if there isn't enough room for all links
   remove rule or change value to 'normal' if you want the links to line-wrap */

#globalNav img{
 display: block;
}

#globalNav a {
	font-size: 90%;
	padding: 0px 4px 0px 0px; 
}


/************* #breadCrumb styles *************/

#breadCrumb{
	font-size: 80%;
	padding: 5px 0px 5px 10px;
}


/************** .feature styles ***************/

.feature{
	padding: 0px 0px 10px 10px;
	font-size: 80%;
}

.feature h3{
	padding: 30px 0px 5px 0px;
	text-align: center;
}

.feature img{
	float: none;
	padding: 0px 10px 0px 0px;
	margin: 0 5px 5px 0;
}
/* adjust margins to change separation between the feature image and text flowing around it */


/************** .story styles *****************/

.story{
	padding: 10px 0 10px 0;
}

.story p{
	padding: 0px 0px 10px 0px;
}


/************* #siteInfo styles ***************/

#siteInfo{
	clear: both;
	border-top: 1px solid #A08A76;
	border-bottom: 1px solid #A08A76;
	text-align:right;
	font-size: 75%;
	color: #999999;
	padding: 10px 10px 10px 10px;
	margin-top: -1px;
}
/* negative top margin pulls siteinfo up so its top border overlaps (and thus lines up with)
	the bottom border of the navBar in cases where they "touch" */

#siteInfo img{
	padding: 4px 4px 4px 0px;
	vertical-align: middle;
}


/************* #search styles ***************/

#search{
	padding: 5px 0px 5px 10px;
	border-bottom: 1px solid #A08A76;
	font-size: 90%;
}

#search form{
 margin: 0px;
 padding: 0px;
}

#search label{
	display: block;
	margin: 0px;
	padding: 0px;
}


/*********** #navBar link styles ***********/

#navBar ul a:link, #navBar ul a:visited {display: block;}
#navBar ul {list-style: none; margin: 0; padding: 0;}

/* hack to fix IE/Win's broken rendering of block-level anchors in lists */
#navBar li {border-bottom: 1px solid #EEE;}

/* fix for browsers that don't need the hack */
html>body #navBar li {border-bottom: none;}


/*********** #sectionLinks styles ***********/

#sectionLinks{
	position: relative;
	margin: 0px;
	padding: 0px;
	border-bottom: 1px solid #A08A76;
	font-size: 90%;
}

#sectionLinks h3{
	padding: 10px 0px 2px 10px;
}

#sectionLinks a:link{
	padding: 2px 0px 2px 10px;
	border-top: 1px solid #A08A76;
	width: auto;
  voice-family: "\"}\""; 
  voice-family:inherit;
	width: auto;
}
#sectionLinks ul li:first-of-type a {
	border-top: none;
}
#sectionLinks a:visited{
	border-top: 1px solid #A08A76;
	padding: 2px 0px 2px 10px;
}

#sectionLinks a:hover{
	border-top: 1px solid #A08A76;
	background-color: #dddddd;
	padding: 2px 0px 2px 10px;
}


/*********** .relatedLinks styles ***********/

.relatedLinks{
	margin: 0px;
	padding: 0px 0px 10px 10px;
	font-size: 90%;
}

.relatedLinks h3{
	padding: 10px 0px 2px 0px;
}


/************** #advert styles **************/

#advert{
	padding: 10px 0px 0px 10px;
	font-size: 80%;
	border-top: 1px solid #A08A76;
}

img#sidebarlogo {
	display: block;
	margin: 0 auto;
}
#sidebarInfos {
	font-size: 0.8em;
	padding: 10px;
}

#headlines{
	padding: 0px 5pt 0px 5pt;
	font-size: 80%;
	border-top: 1px solid #a08a76;
	border-bottom: 1px solid #a08a76;
	margin-bottom: 20pt;
}


.lastchange p{
	font-size: 80%;
	text-align: right;
	font-style:italic;
}



@media all and (max-width: 13cm) { 
	#masthead, #sectionLinks {
		border: none;
	}
	#pageName {
		margin: 15px 0 10px 0;
		padding: 0;
	}
	#navBar {
		float: none;
		width: 100%;
		clear: both;
		box-sizing: border-box;
		
	}
	#content {
		float: none;
		padding: 10px;
		width: 100%;
		margin: 0;
	}
	.story {
		padding: 0;
	}
	
	#content img {
		width: 100%;
		height: auto;
		display: block;
		float: none;
	}
	#sectionLinks {
		width: 100%;
	}
	#sectionLinks ul{
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		align-items: flex-start;
		align-content: stretch;
	}
	#sectionLinks ul li {
		flex-grow: 3;
		float: left;
	}
	
	#sectionLinks ul li a, #sectionLinks ul li a:link{
		text-align: center;
		box-sizing: border-box;
		text-decoration: none;
		display: block;
		padding: 8px 10px !important;
		margin-right: 1px;
		margin-bottom: 1px;
		border: none;
		background: #660000;
		color: #fff;
		font-size: 1.2em
		
	}
	#sectionLinks ul li a:hover {
		background: #4A0000
	}
	#navBar ul a:link, #navBar ul a:visited {
    	display: inline;
	}
	
	img#sidebarlogo{
		float: left;
		margin: 10px;
	}
	
	/* float hack */
	#navBar:after {
		clear: both;
		content: " ";
		display: block;
		font-size: 0;
		height: 0;
		visibility: hidden;
	}
	
}


/*************** simultantext ************************/

div.simultan {
	display: flex;
	flex-flow: row nowrap;
	width: 100%;
}

.simultan > * {
	padding: 0.5rem;
}

.narr {
	hyphens: auto;
	-webkit-hyphens: auto;
}

.sim-open {
	margin-top: -0.5rem;
	font-weight: bold;
	font-size: 170%;
}
