/* Globale Stile */

body {
	margin: 0;
	padding: 0;
	background-color:#FFFFFF;
	text-align : left;
 	color : #4b4b4d;
	font-family: "Noto Sans", Arial, sans-serif;
	font-size: 1.2rem; 
	line-height:1.8rem;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

@font-face {
    font-family: 'miloserifpro';
	src: url('../fonts/miloserifpro-web.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Noto Sans';
	src: url('../fonts/NotoSans-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

h1
	{
		font-family:miloserifpro,helvetica;
		font-size:2rem; 
		padding:0;
		margin-top:3rem;
		margin-bottom:1.5rem;
		line-height:2.1rem;
		font-weight: bold;
	}

h2
	{
		font-family:miloserifpro,helvetica;
		font-size:1.7rem; 
		padding:0;
		margin-bottom:1rem;
		line-height:1.8rem;
		font-weight: bold;
	}
	
h3
	{
		font-family:miloserifpro,helvetica;
		font-size:1.4rem; 
		padding:0;
		margin-bottom:0.3rem;
		line-height:1.6rem;
		display:inline-block;
		background-color:#ffed00;	
		padding:2px 7px 2px 7px;
	}
	
h4
	{
		font-family:miloserifpro,helvetica;
		font-size:1rem; 
		padding:0;
		margin:0;
		line-height:1.2rem;
	}
	
hr	
	{
		border-top: 1px solid #ffed00;
		width:70%;
		margin-left:0px;
		margin-top:30px;
		margin-bottom:50px;
	}
	
img.fluss
{
	float:left;
	margin-right:25px;
   	margin-bottom:10px;
	max-width:230px;
	max-height:230px;
}

.break
{
	clear:both;
}

.round
{
	border-radius: 5px;
}

.max800
{
	width: 100%;
	max-width:800px;
}

.email
{
	display:none;
}

/* Header-Stile */

header {
  background-color:#fff; 
  padding: 0px;
  position: sticky;
  top: 0;
  z-index: 100;
  width:100%;
}

.headline
{
	background-color:#ffed00; 
	height:30px;
	padding: 4px 0px 5px 0px;
}

.headline-content
{
	max-width: 1100px;
	margin: 0 auto;
}

.logo {
  display: inline-block;
  max-height: 70px; 
  float: right;
  padding-top:15px;
}

.icons {
	height: 25px;
	margin-left:20px;
}

.break {

	clear:both;
	
}

/* Hauptinhalt-Stile */

.content-container {
  max-width: 880px;
  margin: 0 auto;
  padding: 20px;
  flex: 1;
}

.teaser-container {
  max-width: 1600px;
  margin: 0 auto;
  padding:20px;
  padding-top:0px;

}

.box-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  
}

.box {
	margin: 0 auto;
	width: 46%;
	min-width: 390px;	
	min-height: 420px; 
	background-color: #fff;
	border-radius: 5px;
	border-style: solid;
	border-width: thin;
	margin-bottom: 30px; 
	box-sizing: border-box;
	line-height:1.6rem;
	position:relative;
}

.box h2 {
	display:inline-block;
	background-color:#ffed00;	
	padding:2px 7px 2px 7px;
}

.box-content {
	padding: 20px;
}

.box-header {
	color: #c1c3c7;
	font-size: 16px;
}

.box-footer {
	position: absolute;
	bottom: 10px;
	left: 20px;
}

a.boxf:link {
	text-decoration-line:none; 
	font-size: 1rem; 
	color:#4b4b4d;
	font-weight:normal;
	border-radius: 2px;
	border-style: solid;
	border-width: thin;
	padding:5px;
	margin-right:12px;
	float:left;
}

a.boxf:hover {
	font-weight:bold;
	
}

a.boxy:link {
	text-decoration:none; 
	font-size: 1.3rem; 
	color:#4b4b4d;
	background-color: #F5F5F5;
	font-weight:normal;
	border-radius: 2px;
	border-style: solid;
	border-width: thin;
	padding:7px;
	margin-right:12px;
	
}

a.boxy:hover {
	font-weight:bold;
	
}

.event-leiste {
	margin: 0 auto;
	max-width: 810px;
	background-color: #f5f5f5;
	border-radius: 5px;
	padding:20px;
}


.info-leiste {
	margin: 0 auto;
	max-width: 1600px;
	background-color: #f5f5f5;
	border-radius: 5px;
}

.info-container {
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	max-width:1100px;
}

.info-item {
	flex: 1;
	font-size: 0.8rem; 
	line-height:1rem;
	box-sizing: border-box;
	padding:20px;
	min-width:250px;
}

.info-item img {
	max-height:60px;
	padding-bottom:20px;
}

.info-item a:link {
	text-decoration:none;
}

.info-item a:hover {
	font-weight:normal;
}


.max-width-image {
  max-width: 1600px;
  width: 100%;
  height: auto;
}

.padding-left20 {
	padding-left: 20px;
}

.padding-right30 {
	padding-right: 30px;
}

.padding-25 {
	
	padding: 25px;
}


.margin-top30 {
	margin-top:30px;
}
.margin-top10 {
	margin-top:10px;
}

.height30 {
	display:block;
	height:30px;
	width:100%;
	
}

.height70 {
	display:block;
	height:70px;
	width:100%;
	
}	

.rechts {
	float:right;
}
.links {
	float:left;
}


.error-message {
      color: red;
      font-size: 12px;
      margin-top: 5px;
    }

/* Carousel */
.carousel{
  margin: 0 auto;
  height: 400px;
  width: 100%;
  margin-top: 40px;
  margin-bottom: 40px;
  max-width: 1580px;
  overflow-x: hidden;
  position: relative;
  display: flex;
  justify-content: flex-start;
  border-radius: 10px;
}
.carousel-inner{
  height: 100%;
  /* min-width: 400%; */
  display: flex;
  transition: all ease .5s;
}
.carousel-item{
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  background-size: cover;
}
.carousel-item-text
{
	display: inline-block;
}

.carousel-item-text h1{
	display: inline-block;
  opacity: .8;
  font-size:40px;
}

.carousel-controls .prev{
  display: inline-block;
  height: 25px;
  width: 25px;
  position: absolute;
  left: 5px;
  top: 53%;
  transform: translateY(-50%);
  background-image: url('/bilder/icons/prev.svg');
  background-position: center;
  background-size: auto 100%;
  background-repeat: no-repeat;
  cursor: pointer;
  opacity: .5;
}
.carousel-controls .next{
  display: inline-block;
  height: 25px;
  width: 25px;
  position: absolute;
  right: 5px;
  top: 53%;
  transform: translateY(-50%);
  background-image: url('/bilder/icons/next.svg');
  background-position: center;
  background-size: auto 100%;
  background-repeat: no-repeat;
  cursor: pointer;
  opacity: .5;
}
.prev:hover, .next:hover{
  opacity: 1;
}
.carousel-indicators{
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}
.carousel-indicators span{
  display: inline-block;
  background-color: white;
  width: 30px;
  height: 4px;
  border-radius: 2px;
  opacity: .5;
  cursor: pointer;
  margin: 3px;
}
.carousel-indicators span.active{
  opacity: 1;
}

/* Institut */
.cv-container {
	margin:0 auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	max-width:900px;
	gap: 30px;
	
}

.cv-item {
	font-size: 1rem; 
	line-height:1.5rem;
	box-sizing: border-box;
	padding:20px;
	min-width:330px;
	max-width:440px;

}

/* Blog */
.blog-container {
	margin:0 auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 30px;
	max-width:900px;
}

.blog-box-first {
	width: 100%;
	min-width: 400px;	
	/*height: 300px; */
	background-color: #fff;
	border-radius: 3px;
	border-style: solid;
	border-width: thin;
	box-sizing: border-box;	
	padding:20px;
	font-size:1rem;
	line-height:1.4rem;
}

.blog-box {
	width: 46%;
	min-width: 400px;	
	/* height: 300px; */
	background-color: #fff;
	border-radius: 3px;
	border-style: solid;
	border-width: thin;
	box-sizing: border-box;	
	padding:20px;
	font-size:0.9rem;
	line-height:1.2rem;
}

.autor-text
{
	font-size: 10px; 
	padding:0;
	margin:0;
	line-height:13px;
}

.blog-content
{
	max-width:780px;
	font-size:1rem;
	line-height:1.4rem;	
}

.blog-content p
{
	margin-top:15px;
	margin-bottom:10px;
}

/* Talk */
.talk-container
{
	margin:0 auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
	max-width:1100px;
}

.talk-box {
	width: 48%;
	min-width: 400px;	
	aspect-ratio: 16/9;
	background-color: #fff;
	box-sizing: border-box;	
	font-size:0.9rem;
	line-height:1.2rem;
}


/* Formular */
.form-container {
	display:flex;
	justify-content: center;
	align-items: center;
	max-width:400px;
	margin: 0 auto;
	padding-top:40px;
	padding-bottom:60px;
}


input, select {
	padding:0.5em;
	font-size:0.875em;
	
	background:#f4f4f4;
	border:1px solid #ccc;
	border-width:1px 1px 1px 0;
	border-radius:0;
	width:20%;
}

input:focus,
select:focus {
	background:#fff;
	box-shadow:inset 0.1em 0.1em 0.25em rgba(0,0,0,0.2);
	outline:0;
}

.form-field {
	margin-bottom:1em;
	display:flex;
}

.form-field label {
	flex:0 1 4em;
	
	padding:1em;
	background:#fff;
	border:1px solid #ccc;
	font-size:0.75em;
	text-align:center;
	text-shadow:0 1px 0 #fff;
	line-height:1;
}

.form-field input,
.form-field select {
	flex-grow:1;
	
}

.form-field label {
	border-radius:0.25em 0 0 0.25em;
}
.input-right input,
.input-right select,
.multi-input input:last-child,
.multi-input select:last-child {
	border-radius:0 0.25em 0.25em 0;
}
.dob-select{
	flex-basis: 0.2vh;
	
}
.submit-field {
	flex-direction: row-reverse;
}

input[type="submit"] {
	flex:0 1 40%;
	
	padding:0.8em;
	font-size:1.2rem;
	
	background:#ffffff;
	border-radius:0.25em;
	border:1px solid #ccc;
	cursor:pointer;
}
input[type="submit"]:hover {
	font-weight:bold;
}




/* Slide Show */

.slideshow-container {
  margin-top:30px;
  position: relative;
}

.slide-content {
  display: flex;
  align-items: flex-start;
}

.slide-content img {
  width: 45%;
   
}

.text-content {
  flex:1;
  padding-left:20px;
  width:35%;
  font-size: 1rem;
  line-height:1.3rem;
}

.signature {
	margin-top:30px;
	font-size: 0.9rem; 
	line-height:1.1rem;	
	font-style: italic;
	padding-right:10px;
	text-align:right;
}

#slideset6 {
	height: 237px; position: relative
}
     
#slideset6 > * {
	animation: 25s autoplay6 infinite linear;
    position: absolute; top: 0; left: 0; opacity: 0.0
}

#slideset6 > *:nth-child(1) {animation-delay: 0s}
#slideset6 > *:nth-child(2) {animation-delay: 5s}
#slideset6 > *:nth-child(3) {animation-delay: 10s}
#slideset6 > *:nth-child(4) {animation-delay: 15s}
#slideset6 > *:nth-child(5) {animation-delay: 20s}

@keyframes autoplay6 {
  0% {opacity: 0.0}
  4% {opacity: 1.0}	/* wieviel % ist 1s von 25s */
  20% {opacity: 1.0} /* wieviel % ist 5s von 25s */
  24% {opacity: 0.0}
  100% {opacity: 0.0}
 
}





/* Anchor-Stile */

a:link { 
	text-decoration:underline; 
	text-decoration-thickness: 1px; 
	text-underline-offset: 3px;
	color:#4b4b4d;
	font-weight:normal;
}
a:hover {
	text-decoration:underline; 
	color:#4b4b4d;
	font-weight:bold;
}
a:visited {
	text-decoration:underline;
	color:#4b4b4d;
	font-weight:normal;
}

a.head:link { 
	text-decoration:none; 
	font-size: 1rem; 
	color:#4b4b4d;
	font-weight:normal;
	border-radius: 2px;
	border-style: solid;
	border-width: thin;
	padding:3px;
	margin-left:12px;
	
}
a.head:hover {
	text-decoration:none; 
	font-size: 1rem; 
	color:#4b4b4d;
	font-weight:bold;
}
a.head:visited {
	text-decoration:none;
	font-size: 1rem; 
	color:#4b4b4d;
	font-weight:normal;
}

a.headon:link { 
	text-decoration:none; 
	font-size: 1rem; 
	color:#fff;
	font-weight:normal;
	border-radius: 2px;
	background-color:#4b4b4d; 
	padding:4px;
	margin-left:12px;
	
}
a.headon:hover {
	text-decoration:none; 
	font-size: 1rem; 
	color:#fff;
	font-weight:bold;
}
a.headon:visited {
	text-decoration:none;
	font-size: 1rem; 
	color:#fff;
	font-weight:normal;
}

	



/* Sticky-Menü-Stile */

.navbar {
  background-color: #fff;
  position: sticky;
  top: 0;
  max-width:1100px;
  z-index: 99;
  padding-top:20px;
	margin: 0 auto;
	height:125px;
 
}



.navbar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  padding-top:10px;
  float:left;
  max-width: 840px;
}

.navbar li {
  display: inline-block;
  margin-right: 10px;
}

.navbar a {
  display: block;
  padding: 5px;
  text-decoration: none;
  color: #4b4b4d;
}

.on {
  background-color:#f5f5f5; 
}

.submenu {
  display: block;
  list-style: none;
  position: absolute;
  top: 69px;
  left: 0;
  font-size:1rem;
  background-color:#f5f5f5;
}

.submenu li {
  display: inline-block;
  margin-right: 10px;
  margin-top:-7px;
}




/* Footer-Stile */

footer {
  background-color: #f5f5f5;
  color: #4b4b4d;
  padding: 0px;
  text-align: center;
  max-height:150px;
  margin-top: auto;
 
}

.footer-leiste
{
	display: flex;
	justify-content: space-between;
	max-width: 1100px;
	margin: 0 auto;
	
}

.footer-item {
  flex: 1;
  font-size: 0.8rem; 
  line-height:1rem;
  box-sizing: border-box;
  padding:20px;
}

.footer-claim {
	 flex: 1;
	font-family: miloserifpro,helvetica;
	font-size: 1rem; 
	line-height:1.3rem;
	font-style:italic;
	background-color:#ffed00;
	padding:20px;
	vertical-align:middle;
}


.logo_footer {
  display: inline-block;
  max-height: 70px; 
}
 
/* Accordion styles */
.accordion {
        border: 1px solid #ccc;
        border-radius: 2px;
		margin-top:20px;
		max-width:1000px;
      }
      .accordion input {
        display: none;
      }
      .accordion__handler {
        padding: 10px;
        display: block;
        cursor: pointer;
        user-select: none;
        display: flex;
        justify-content: space-between;
      }
      .accordion__title h3 {
		font-family:miloserifpro,helvetica;
		font-size:1.2rem; 
		padding:0;
		margin-bottom:0rem;
		line-height:1.4rem; 
        margin-top:0.3rem;
		background-color:#fff;
		
      }
      .accordion__icon {
        transition: transform 250ms ease-in-out;
      }
      .accordion input:checked ~ .accordion__body {
        height: auto;
        padding: 0 10px 10px;
      }
      .accordion input:checked + .accordion__handler .accordion__icon {
        transform: rotate(90deg);
      }
      .accordion__body {
        height: 0;
        overflow: hidden;
		font-size: 1rem;
		line-height: 1.3rem;
      }
	  .anriss {
		 font-weight:600; 
	  }
	  
	  
      p {
        margin: 0;
		
      }

/* Media Query für Smartphones */

/* Stil für das Burger-Menü */
.mobile-menu {
    display: none;
	position: relative;
	float:left;
  }

.mobile-menu ul { 
	list-style: none;
	margin: 0;
	padding: 0;
	line-height: 2;
}

.mobile-menu a {
  text-decoration: none;
  color: #4b4b4d;
}

.msubmenu {
    display: none;
	font-size:1rem;
	line-height:1.4rem;
}

.msubmenu li {
    padding:0px;
	margin-left: 25px;

}



.burger-menu {
    display: none;
    cursor: pointer;
    margin-top: 20px;
    background-color: #f5f5f5;
    width: 30px;
    padding: 10px;
    padding-left: 15;
 }

.burger-menu .bar {
  width: 30px;
  height: 5px;
  background-color: #333;
  margin: 5px 0;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.burger-menu.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.burger-menu.active .bar:nth-child(2) {
  opacity: 0;
}

.burger-menu.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.float-right{
		display:none;
	}

/* Stil für mobiles Menü */
@media (max-width: 768px) {
  .burger-menu {
    display: block;
  }

  .navbar {
    display: none;
  }

  .mobile-menu {
    display:block;
  }
  
 
  .mobile-menu-links {
    display: none;
    background-color: #f5f5f5;
    padding: 15px;
    position: absolute;
    top: 100%;
    left: 0;
    width: 80%;
	min-width:360px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .mobile-menu.active .mobile-menu-links {
    display: block;
  }
  
	.float-right{
		float:right;
		display:block;
	}

.msubmenu{
  display: block;
}

.content-container {
  padding: 10px;
  
}

.text-content {
 font-size:1rem;
 line-height:1.4rem;
}

.footer-item {
  font-size: 0.6rem; 
  line-height:0.8rem;
  box-sizing: border-box;
  padding:10px;
  min-width:133px;
}

.footer-claim {
	display:none;
}

.signature {
    margin-top: 20px;
    font-size: 0.7rem;
    line-height: 1.1;
    text-align: right;
}

.carousel{
  height: 200px;
  
}
  .carousel-item h1{
  opacity: .8;
  font-size:20px;
 
}
}

