@import url(common.css);
@import url(cssfader.css?v=202212281835);


/* Fading effect if multiple images */
#freetext_module section > figure
{
	position: relative;
	overflow: hidden;
}

#freetext_module section > figure figure
{
	width: 100%;
	overflow:hidden;
	margin: 0;
	padding: 0;
	animation-timing-function: ease-in-out;
	animation-iteration-count: infinite;
}

#freetext_module section > figure figure + figure
{
	position: absolute;
	left: 0;
	top: 0;
}

#freetext_module section > figure figure img
{
	animation-timing-function: linear;
	animation-iteration-count: infinite;
	width: 100%;
}




#freetext_module nav ol.pagelist-items
{
	display: grid;
	grid-template-columns: 1fr;
	grid-row-gap: 10px;
	grid-column-gap: 30px;
	grid-auto-rows: minmax(100px, auto);
	list-style: none;
	padding: 0;
	margin: 0;
}
#freetext_module .pagelist-items figure
{
	margin: 0 0 1em 0;
}
#freetext_module .pagelist-items figure img
{
	height: 200px;
	width: 100%;
	object-fit: cover;
}
#freetext_module .pagelist-items figcaption
{
	font-style: unset;
	color: #444;
}
#freetext_module .pagelist-items figcaption::before
{
	content: "";
}
#freetext_module .pagelist-items figcaption strong
{
	display: block;
	text-decoration: underline;
	color: #1C1CD2;
	font-weight: normal;
}





.ads
{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	margin-top: 2em;
}

.ads a
{
	border: 0 none;
	text-decoration: none;
}

.ads a:after
{
	display: none !important;
}




#freetext_module p,
#freetext_module li,
.my-map p,
#footer_module p
{
	font-size: 12pt;
	line-height: 1.6em;
}

#freetext_module h3,
#footer_module h3,
.my-map h3
{
	font-size: 16pt;
}

#freetext_module h4
{
	font-size: 13.5pt;
	margin: 1.5em 0 0em 0 !important;
	color: #3b363b;
}


#freetext_module h3 + h4
{
	margin-top: 1em;
}

#freetext_module p + h4
{
	margin-top: 2 !important;  /* TODO warum important */
}




#freetext_module h3 + img
{
	margin-top: 1em;
}


#freetext_module blockquote
{
	border-left: 5px solid #379;
	padding: 0.25em 1.5em 1.5em 1.85em;
	font-style: italic;
	background-image: url(bg2.png);
	margin: 1.75em 0 1.5em 0em;
	position: relative;
}

#freetext_module blockquote p
{
	color: #085880 !important;
	font-size: 1.135em;
	line-height: 1.3em;
	font-family: serif;
}

#freetext_module blockquote footer:before
{
	content: "Zitiert aus: ";
	border-top: 1px solid #000;
	padding: 0.5em 0 0 0;
}
#freetext_module blockquote footer
{
	color: #000;
	font-style: normal;
	margin: 2em 0 0 0;
}

#freetext_module li blockquote
{
	border: 0 none;
	margin: 0.5em 0;
}




.schaukasten1
{
	margin-top: 0.5em !important;
}

.Folienvorschau
{
	margin: 0 !important;
}



footer
{
	margin-top: 4em;
}





#freetext_module #rm-toc
{
	margin: 1em 0 1.5em 0;
	padding: 0;
}

#freetext_module .rm-toc-listwrap
{
	padding: 1em 0 0em 0;
}

#freetext_module #rm-toc ul
{
	padding: 0 !important;
	margin: 0 !important;
}

#freetext_module #rm-toc ul li
{
	list-style-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 100 100'><line x1='50' y1='0' x2='50' y2='100' stroke='%23111111' stroke-width='12' /><polyline points='0,50 50,95 100,50' fill='none' stroke='%23111111' stroke-width='12' /></svg>");
	margin: 0em 0 1.5em 1em !important;
	padding-left: 3px;
}

#freetext_module #rm-toc ul li:last-of-type
{
	margin-bottom: 0 !important;
}

#freetext_module #rm-toc a
{
	color: inherit;
	border-color: rgba(0,0,0,0.25);
	line-height: 1.6em;
}




/* Large Devices Only: */
@media (min-width: 960px)
{

	#freetext_module .rm-toc-listwrap
	{
		border: 2px solid rgba(0,0,0,0.1);
		margin: 1em 0 0 0em;
		padding: 2em 1.5em 2em 2em;
	}

	#freetext_module #rm-toc ul li
	{
		margin: 0em 0 1.5em 1em !important;
	}

	#freetext_module #rm-toc a
	{
		color: #555;
	}

	#freetext_module blockquote:before
	{
		content: "\275E";
		text-shadow: 1px 1px 1px #DDD, 1px -1px 1px #DDD, -1px 1px 1px #DDD, -1px -1px 1px #DDD;
		color: #379;
		font-size: 80px;
		font-family: "Times New Roman", Times, serif;
		position: absolute;
		left: -35px;
		top: 0px;
	}


	#freetext_module li blockquote:before
	{
		display: none;
	}


	#freetext_module nav ol.pagelist-items
	{
		grid-template-columns: repeat(2, 1fr);
	}
}



/* Small Devices Only: */
@media (max-width: 959px)
{  
	#freetext_module p,
	#freetext_module li,
	.my-map p,
	#footer_module p
	{
		font-size: 16px;
		line-height: 1.45em;
	}
	
	#freetext_module h3,
	#footer_module h3,
	.my-map h3
	{
		font-size: 19px;
	}

	#freetext_module h4
	{
		font-size: 1em;
		font-weight: bold;
	}


	#schaukasten1
	{
		margin: 10px 0 0 0;
		-webkit-box-shadow: none;
		   -moz-box-shadow: none;
		        box-shadow: none;
	}

	#schaukasten1 .Folienbild
	{
		padding: 0;
		border: 0 none;
		background-image: none;
		left: 0;
	}

	#schaukasten1 .subtext
	{
		display: none;
	}

	.Folienvorschau
	{
		display: none;
	}

	main,
	.footer_sitewide,
	.footer_thematic
	{
		padding: 0 10px;
	}

	.ads .duplicate:not(:first-child)
	{
		display: none;
	}

}


