/** 
 * 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
 *
 */
 @font-face {
	font-family: Poppin ;
	src: url('../assets/font/poppins-v15-latin-regular.woff2');
 }

 
* {
	box-sizing: border-box; 

}
h1,h2,h3,h4,h5,h6,p,.dropdown,.dropdown-content,.accordion ,.cd-h-timeline__date,.cd-h-timeline__event-title{
font-family: 'Poppin' !important;
} 
.dropdown-content{
	font-size: 15px;
}
body {
	
	padding: 5%;
	max-width: 1600px; 
	margin: 0 auto; 
}

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

img {
	max-width: 100%; 
}

h2 {
	font-weight: normal;
}

h3 {
	border-top: 1px solid #eee; 
	padding-top: 1em;
	color: #777; 
}

a {
	color: #333;
	text-decoration: none;
}
	a:hover,
	.nav a:hover {
		color: #000;
		border-color: #aaa; 
	}

blockquote {
	margin-left: 0;
	padding-left: 1.5em;
	padding-right: 2em; 
	border-left: 4px solid #ddd; 
	font-style: italic; 
	color: #777; 
}

pre, code {
	background: #eee; 
	border: 1px solid #ddd; 
}

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

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

.topnav, .topnav li {
	list-style: none; 
	padding: 0;
	margin: 0;
}
	.topnav li {
		float: left; 
		margin-right: 1em;
		margin-bottom: 1em;
	}
	.topnav a {
		padding: 0.25em 0.5em;
		text-decoration: none; 
		display: block;
		background: #eee; 
		color: #333; 
		border: 1px solid #eee; 
	}
	.topnav a:hover {
		background: #ddd;
		border-color: #ddd; 
	}
	.topnav li.current a {
		background: #ddd; 
		border-color: #ddd; 
	}
	.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 #ccc; 
		width: 100%; 
	}

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

.timeline_section{
	clear:both;
}
/*********************************************************************
 * 3. Main content and sidebar
 *
 */

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

#content {
	width: 100%; 
}

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

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

body.has-sidebar #sidebar {
	width: 35%;
	padding-left: 5%; 
	float: left; 
}

.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;
	}

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

	.nav .current > a {
		color: #333; 
	}

.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: #777;
	line-height: 1.4em;
}

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

#footer {
    clear: both;
    border-top: 1px solid #eee;
    font-size: 80%;
    font-family: 'Poppin';
    text-align: center;
}

/*********************************************************************
 * 5. Media queries for responsive layout
 *
 */
 .text-component img {
    display: inline;
    margin: 0 auto;
    float: left;
}

@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 #eee;
		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: #333;
	color: #fff;
}

/* 25-2-2021 */
.timeline_section .num_childs {
    padding: 40px ;
	    width: 90%;
    margin: 0 auto;

}
.timeline_section  h2.cd-h-timeline__event-title {
    text-align: center;
    margin: 0 0 30px;
    font-size: 34px !important;
}

.num_child_Cont {
    text-align: center;
}
.num_child_Cont p{
    text-align: justify;
}
.num_child_Cont button.accordion {
    width: 50%;
    display: flex;
    justify-content: center;
    margin: 0 auto;


}


.text-component img {
    display: inline;
    margin: 0 auto;
    float: left;
}

.modal {
    display: none;
    position: fixed !important;
    z-index: 9999 !important;
    padding-top: 5px !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    overflow: auto;
    background-color: rgba(0,0,0,0.6) !important;
}


.panel {
    margin-top: 30px;
}

.num_childs {
     border: 1px solid #ddd !important;
    box-shadow: 1px 3px 9px rgb(0 0 0 / 40%);
}

body {
    padding: 0 !important;
    max-width: 100% !important;
    margin: 0 auto;
}
.timeline_section .cd-h-timeline__dates {
    margin-top: 1px !important;
}
@media (max-width:767px){
	.js .cd-h-timeline__event-content {
		max-width: 100%;
		width: 100%;
	}
	.num_child_Cont button.accordion {
		width: 75%;
	
		padding: 8px 20px;
	}
	
	a.example-image-link {
	
		width: 31% !important;
		flex: 0 0 31%;
	}

	/* .row.img-row {
		display: flex;
		justify-content: space-between;
		align-items: center;
		flex-wrap: wrap;
	} */
	.example-image-link img
	{
		width:100% !important;
		border-radius:4px;
	}
	.timeline_section .num_childs
	{
		padding: 40px 14px;
	}
	
}
.border-rad
{
	border-radius: 20px;
}
.example-image-link img
	{
	
		/* border-radius:20px; */
	}
#footer p{
	text-align: center;
}	
/* .row.img-row {
	display: flex;
	flex-wrap: wrap;
} */

.pdf-div {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
	gap: 20px;
}
.pdf-div  p {
    max-width: 90% !important;
    text-transform: uppercase;
}
.pdf-div .pdf-div2 {
    flex: 0 0 25%;
    max-width: 50%;
}
.col1 img {
	
	width: 32% !important;
}
@media (max-width:767px){
	.col1 img {
	
		width: 100% !important;
	}
	.pdf-div .pdf-div2 {
		flex: 0 0 50%;
		max-width: 50%;
	}
	
	.pdf-div  p {
		max-width: 95% !important;
	padding: 10px 4px !important;
	font-size: 14px;
	}

}

@media (max-width:520px){
	.pdf-div .pdf-div2 {
		flex: 0 0 100%;
		max-width: 100%;
	}
	.pdf-div  p {
		max-width: 100% !important;
	
	}

}


/* custom css 17th jan 2022 */
@media (max-width:767px){ 
	#event_1918 .cd-h-timeline__event-content.container {
		padding: 0;
		width: 100%;
	}
	#event_1918 .cd-h-timeline__event-content.container .content .num_childs.border-rad {
		width: 100%;
	}
	#event_1918 .cd-h-timeline__event-content.container .content .num_childs.border-rad h1 {
		margin-top: 0;
	}
	#event_1918 .cd-h-timeline__event-content.container .content .num_childs.border-rad .panel {
		/* padding-left: 17px; */
	}
	#event_1918 .cd-h-timeline__event-content.container .content .num_childs.border-rad .panel img {
		float: none;
	}
	#event_1918 .cd-h-timeline__event-content.container .content .num_childs.border-rad .panel .numchild_body p{
		/* padding: 0px 10px; */
	}
	#event_1918 .cd-h-timeline__event-content.container .content .num_childs.border-rad .panel .pdf-div{
		padding: 0px 10px;
	} 
	/* #event_1918 .cd-h-timeline__event-content.container .content .num_childs.border-rad .panel.panel1017 .row.img-row{
		margin: 0;
	} */
}

/* .row.img-row {
	display: flex;
	flex-wrap: wrap;
} */

/* //custom css 17th jan 2022 */

.single-image-container {
    text-align: center;
    margin-bottom: 25px;
    width: 100%;
}

.panel-single-image {
    border-radius: 0 !important;
    display: inline-block !important;
    vertical-align: top !important;
}

.example-image-link.single-image {
    display: inline-block !important;
}

@media (max-width:767px){ 
    .single-image-container {
        margin-bottom: 25px;
    }
    
    .panel-single-image {
        width: auto !important;
        max-width: 100% !important;
    }
    
    .example-image-link.single-image {
        width: auto !important;
        display: inline-block !important;
    }
}

/* Bild-Text-Layout für Desktop */
.numchild_body {
    display: block;
    width: 100%;
}

/* Nur einzelne Bilder im Content, nicht in der Galerie */
.numchild_body > img.example-image,
.numchild_body > .example-image.hover-shadow.cursor {
    float: left;
    margin: 0 20px 10px 0;
    max-width: 30%;
}

/* Galerie-Grid Styles bleiben unverändert */
.row.img-row .example-image-link img,
.grid .example-image.hover-shadow.cursor {
    float: none;
    margin: 0;
    max-width: 100%;
}

/* Mobile Anpassungen */
@media (max-width: 767px) {
    .numchild_body > img.example-image,
    .numchild_body > .example-image.hover-shadow.cursor {
        float: none;
        margin: 0 0 10px 0;
        max-width: 100%;
        display: block;
    }
}

/* Allgemeine Styles für ul/li nur im Content-Bereich */
.numchild_body ul {
    list-style-type: disc;
    padding-left: 20px;
    margin: 1em 0;
}

.numchild_body li {
    font-family: 'Poppin', sans-serif !important;
    font-size: 18px !important;
    line-height: 1.8em;
    color: #444;
    margin-bottom: 0.5em;
    display: list-item;
}

/* Navigation ohne Bullet Points */
.cd-h-timeline__navigation-wrapper ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.cd-h-timeline__navigation-wrapper li {
    display: inline-block;
    margin: 0;
}

/* Marker-Farbe bleibt wie gehabt */
.panel span.numchild_body ul li::marker {
    color: inherit;
}

/* Styles nur für basic-page-footer */
.basic-page-footer ul {
    list-style-type: disc;
    padding-left: 20px;
    margin: 1em 0;
}

.basic-page-footer li {
    font-family: 'Poppin', sans-serif !important;
    font-size: 18px !important;
    line-height: 1.8em;
    color: #444;
    margin-bottom: 0.5em;
    display: list-item;
}

/* Für dynamische Schriftgrößenänderung in basic-page-footer */
.basic-page-footer .numchild_body li {
    font-size: inherit !important;
}

/* Marker-Farbe nur für basic-page-footer */
.basic-page-footer .panel span.numchild_body ul li::marker {
    color: inherit;
}

/* Präsentations-Bildcontainer */
.presentation-data .left-img {
    height: calc(100vh - 200px); /* Höhe abzüglich Header/Footer */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Bildanpassung für beide Formate */
.presentation-data .left-img img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Mobile Anpassungen */
@media (max-width: 767px) {
    .presentation-data .left-img {
        height: auto;
        min-height: 300px;
    }
}
}