@font-face {
  font-family: 'IstokWeb';
  font-style: normal;
  font-weight: 400;
  src: url(../font/IstokWeb-Regular.ttf) format('truetype');
}

body {
  background: #fff;
  margin: 0;
  padding: 0;
  font-family: 'IstokWeb', sans-serif;
  font-size: 18px;

}

h1, h2, h3, h4 {
  font-family: 'IstokWeb', sans-serif;
  text-align: center;
  padding-bottom: 1em;
  font-size: 1em;
  font-weight: unset;
  }


nav {
  margin-top: -50px;
  }

a {
  text-decoration: underline;
  color: #666;
  font-family: 'IstokWeb';
}

a.internerlink {
	text-decoration: none;
	font-weight: bold;
}

.logoindex {
  text-align: center;
  padding-bottom: 0em;
  cursor: pointer;
}


.zurueck {
 background: url(../img/zurueck.svg);
 background-repeat: no-repeat;
 background-position: left;
 padding-left:24px;
 color: #333;
 text-decoration: none;
}


.header {
  z-index: 9;
  position: absolute;
  margin: 2em 0 0 1em;
  }

.breadcrumb,
.breadcrumb a {
  text-align: justify;
  font-size: 0.8em;
  padding-bottom: 2em;
  }

.breadcrumb a {
  font-size: 1em;
  text-decoration: none;
  color: rgb(0,0,0);
  }

.logo {
  background: url('../img/logo.svg') no-repeat;
  background-size: 100%;
  float: left;
  margin-top: 20px ;
  min-height: 80px;
  min-width: 80px;
  }

.menu-toggle {
  width: 40px;
  height: 30px;
  position: absolute;
  top: 32px;
  right: 25px;
  cursor: pointer;
  z-index: 10;
}
.menu-toggle.on .one {
  -moz-transform: rotate(45deg) translate(7px, 7px);
  -ms-transform: rotate(45deg) translate(7px, 7px);
  -webkit-transform: rotate(45deg) translate(7px, 7px);
  transform: rotate(45deg) translate(7px, 7px);
}
.menu-toggle.on .two {
  opacity: 0;
}
.menu-toggle.on .three {
  -moz-transform: rotate(-45deg) translate(8px, -10px);
  -ms-transform: rotate(-45deg) translate(8px, -10px);
  -webkit-transform: rotate(-45deg) translate(8px, -10px);
  transform: rotate(-45deg) translate(8px, -10px);
}

.one,
.two,
.three {
  width: 100%;
  height: 2px;
  background: #666;
  margin: 9px auto;
  backface-visibility: hidden;
  -moz-transition-duration: 0.3s;
  -o-transition-duration: 0.3s;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
}

nav ul {
  margin: 0;
  margin-top: 0;
  padding: 0;
  font-family: Open Sans;
  list-style: none;
  margin: 3em auto;
  text-align: center;
}

nav ul.desktop {
  margin: 0 !important;  
}


nav ul li {
  margin: 0 30px 30px 0;
  padding: 0;
  font-family: Open Sans;
  list-style: none;
  display: inline-table;
}

nav ul li ul {
  margin: 0;
  margin-top: 0;
  padding: 0;
  font-family: Open Sans;
  list-style: none;
  margin: 1em auto;
  text-align: center;
}
nav ul li ul li {
  margin: 0 0 0.3em 0;
  padding: 0;
  font-family: Open Sans;
  list-style: none;
  display: block;
}


nav ul.hidden {
  display: none;
}

nav ul li ul.hidden {
  display: block;
}

nav ul a {
  -moz-transition-duration: 0.5s;
  -o-transition-duration: 0.5s;
  -webkit-transition-duration: 0.5s;
  transition-duration: 0.5s;
  text-decoration: none;
  color: #666;
  font-size: 1em;
  line-height: 1.5;
  display: block;
  padding: 10px;
  margin-top: 0%;
}

nav ul li ul a {
  text-decoration: none;
  color: #666;
  font-size: 0.9em;
  line-height: 0.5em;
  display: block;
  padding: 10px;
  margin-top: 0%;
}

nav ul a img {
  width: 10%;
  padding: 10em 2em 0 2em;
  margin-top: 0%;
  color: #fff;
}
nav ul a:hover {
  background-color: rgba(0, 0, 0, 0);
}

.menu-section .menu-footer {
	display: none;
}

.menu-section.on .menu-footer {
	display: block;
}

.menu-section.on .menu-footer {
  text-align: center;
  font-size: 0.8em;
  padding-top: 2em;
  padding-bottom: 4em;
}

.menu-section.on .menu-footer img{
  padding-top: 2em;
  padding-bottom: 2em;
}

.menu-section.on .menu-footer {
  padding: 2em;
  color: #000;
  text-decoration: none;
}

.menu-section.on .menu-footer a {
	text-decoration: none;
}

.menu-section.on .menu-footer a:hover {
  color: #EC6906;
  text-decoration: underline;
}

.menu-section.on .menu-footer a img:hover {
	text-decoration: none;
}

.menu-section.on {
  z-index: 11;
  width: 100%;
  height: auto;
  display: block;
  background-color: #eee;
  position: absolute;
}


 @media screen and (max-width: 640px) {
nav ul li {
  margin: 0 30px 30px 0;
  padding: 0;
  font-family: Open Sans;
  list-style: none;
  display: block;
  width: 100%;
}

nav ul a img {
  width: 45%;
}

.breadcrumb {
  padding-top: 2em;
  }
  
}

/* Smartphones (portrait and landscape) ----------- */
@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 480px) {
	.desktop {
		visibility: hidden;
		display: none;
	}
}


/*  Grid 4 Spalten */

#map {
    width: 100%;
  height: 100%;
  margin: 0;
}











/*  Grid 5 Spalten */
.container5 {
  text-align: justify;
  font-size: 1em;
  padding-bottom: 0;
}

.container5:after{
}

.container5 .item,
.container5 .gap,
.container5 .teaser{
  display: inline-block;
  width: 100%;
  vertical-align: top; 
}

.container5 .item{
  text-align: left;
  /*margin-bottom: 2%;*/
}

.container5 .item a {
  text-decoration: none;
}

.container5 .item-p{
  padding: 0;
  background: #eee;
  height: 5em;
  white-space: nowrap;
  font-size: 0.8em;
}

.container .item-o{
  padding: 5%;
  background: #eee;
  height: 5em;
  white-space: wrap;
  font-size: 1em;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container5 .item-p img{
	
}

.container5 .item:before,
.container5 .teaser:before{
  display: inline-block;
  color: black;
}


.flex-container5 {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-align-content: flex-start;
    -ms-flex-line-pack: start;
    align-content: flex-start;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
	text-align: center;
}

.teaser5 {
  text-align: center;
  padding: 0;
  background: #eee;
  margin-bottom: 2%;
  font-size: 0.7em;
}

.teaser5 img {
    max-height: 20em;
    padding-bottom: 1em;
    max-width: 80%;
}

.teaser5 a {
text-decoration: none;
}

@media all and (min-width: 420px){
  .container5 .item,
  .container5 .gap{
    width: 48%;
    padding: 0.5em;
  }
}

@media all and (min-width: 640px){
  .container5 .item,
  .container5 .gap{
    width: 32%;
    padding: 0.5em;
  }
}

@media all and (min-width: 840px){
  .container5 .item,
  .container5 .gap{
    width: 16%;
    padding: 0.5em;
  }
}




/*  Grid 5 Spalten medien und marken */
.container_m {
  text-align: justify;
  padding-bottom: 2em;
  font-size: 0.8em;
}

.container:after{
}

.container_m .item,
.container_m .gap,
.container_m .teaser{
  display: inline-block;
  width: 100%;
  vertical-align: top; 
}

.container_m .item{
  text-align: left;
  margin-bottom: 2%;
}

.container_m .item-p{
  padding: 5%;
  background: #eee;
  height: 5em;
  white-space: nowrap;
  font-size: 0.8em;
}


@media all and (min-width: 420px){
  .container_m .item,
  .container_m .gap{
    width: 48%;
  }
}

@media all and (min-width: 640px){
  .container_m .item,
  .container_m .gap{
    width: 32%;
  }
}

@media all and (min-width: 840px){
  .container_m .item,
  .container_m .gap{
    width: 18%;
  }
}













/*  Grid 4 Spalten */
.container {
 /* text-align: justify; */
  padding-bottom: 2em;
  font-size: 0.8em;
}

.container:after{
}

.container .item,
.container .gap,
.container .teaser{
  display: inline-block;
  width: 100%;
  vertical-align: top; 
}

.container .item{
  text-align: left;
  /*margin-bottom: 2%;*/
}

.container .item-p{
  padding: 5%;
  background: #eee;
  height: 5em;
  white-space: nowrap;
  font-size: 0.8em;
}

.container .item-p img{

}


.teaser{
  text-align: center;
  padding: 5%;
  background: #eee;
  margin-bottom: 2%;
  font-size: 0.8em;
}

.teaser img {
  max-height: 20em;
  padding-bottom: 1em;
}

.portrait {
  text-align: center;
  padding: 0;
  background: #fff;
  margin-bottom: 2em;
  /*min-height: 22em;*/  
  /* width: 182px; */
}

.portrait img {
  max-width: 100%;
  padding-bottom: 1em;
}

.portrait-text {
  padding: 0;
  color: #000;
  margin-bottom: 2%;
  text-align: left;
  font-size: 14px;
}

.portrait-text-o {
   margin-top: -4px;
}

.pdf {
  padding: 0;
  font-size: 1em;
}

.container .item:before,
.container .teaser:before{
  display: inline-block;
  color: black;
}

@media all and (min-width: 420px){
  .container .item,
  .container .gap{
    width: 48%;
  }
}

@media all and (min-width: 640px){
  .container .item,
  .container .gap{
    width: 32%;
  }
}

@media all and (min-width: 840px){
  .container .item,
  .container .gap{
    width: 18%;
  }
  
  .portrait-text {
	font-size: 1.1vw;
  }
}

/*  Grid 3 Spalten */
.container2{
  text-align: justify;
  font-size: 0.8em;
  padding-top: 2em;
}

.container2:after{
}

.container2 .item2,
.container2 .gap{
  display: inline-block;
  width: 100%;
}

.container2 .item2{
  text-align: left;
  background: #fff;
  margin-bottom: 2%;
  /*display: none; <-- uncomment this rule for use with MixItUp */
}

.container2 .item2-p{
  padding: 0;
  /*display: none; <-- uncomment this rule for use with MixItUp */
}

.container2 .item2:before{
  display: inline-block;
  color: black;
}


@media all and (min-width: 420px){
  .container2 .item2,
  .container2 .gap{
    width: 100%;
  }

.titel-foto {
text-align: center;
padding-bottom: 2em;
font-size: 0.7em;
}

.titel-foto img {
width: 100%;
}
}

@media all and (min-width: 640px){
  .container2 .item2,
  .container2 .gap{
    width: 32.5%;
  }
.titel-foto {
text-align: center;
padding-bottom: 2em;
}

.titel-foto img {
width: auto;
}
}

/*  Form */
.contact-form {
  font-size: 0.8em;
}




.container3{
  text-align: justify;
  padding-top: 2em;
}

.container3:after{
}

.container3 .item3,
.container3 .gap{
  display: inline-block;
  width: 100%;
  vertical-align: top;  
}

.container3 .item3{
  text-align: left;
  background: #fff;
  margin-bottom: 2%;
  /*display: none; <-- uncomment this rule for use with MixItUp */
}

.container3 .item3-p{
  padding: 0;
  /*display: none; <-- uncomment this rule for use with MixItUp */
}

.container3 .item3:before{
  display: inline-block;
  color: black;
}

@media all and (min-width: 420px){
  .container3 .item3,
  .container3 .gap{
    width: 100%;
  }
}

@media all and (min-width: 780px){
  .container3 .item3,
  .container3 .gap{
    width: 32.5%;
  }
}

/* formular input elements */
.container3 input, .container3 select, .container3 label, .container3 textarea {
  width:90%;
  padding:0px;
  min-height: 25px;
  color: #999;
}

.container3 input, select, textarea {
  border-top: 0px;
  border-left: 0px;
  border-right: 0px;
  border-bottom: 1px solid #000;
}

.container3 .forminput {
  padding-bottom: 1em;
}

.container3 .forminput.hide-robot {
	opacity: 0;
	position: absolute;
	top: 0;
	left: 0;
	height: 0;
	width: 0;
	z-index: -1;
}

.container3 .form-submit {
  padding-bottom: 1em;
  border: 0px;
  background-color: #EC6906;
  color: white;
  font-size: 1em;
}

.container3 select {
  background-color: rgba(0,0,0,0.02);
}

.container3 input:disabled, select:disabled, textarea:disabled {
  color: #999;
  border-color: #CCC;
}

.container3 input[type="checkbox"],
.container3 input[type="radio"] {
  width:auto;
  height:auto;
  padding:0;
  min-height: 16px;
}

.container3 input[type=submit] {
    padding:5px 15px; 
    background:#EC6906; 
    border:0 none;
    cursor:pointer;
}

@media all and (max-width: 640px){
.container3 input, .container3 select, .container3 label, .container3 textarea {
    width: 100%;
  }
}

/*  Footer */
.footer{
  text-align: center;
  font-size: 0.8em;
  padding-top: 2em;
  padding-bottom: 4em;
}

.footer img{
  padding-top: 2em;
  padding-bottom: 2em;
}

.footer-link{
  padding: 2em;
  color: #000;
  text-decoration: none;
}

.footer a:hover{
  color: #EC6906;
  text-decoration: underline;
}


/*  Logo-Park */

.flex-container {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-align-content: center;
    -ms-flex-line-pack: center;
    align-content: center;
    -webkit-align-items: flex-center;
    -ms-flex-align: center;
    align-items: flex-center;
    margin-top: 2em;
    }


.flex-container .item {
  background-color: #eee;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
     -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-align-items: flex-center;
    -ms-flex-align: center;
    align-items: center;
    min-height: 8em;
    margin: 8px 0px;
    text-align: center;
}

.flex-container .item-p {
  width: 100%; /* sonst Bild nicht sichtbar */
  height: auto;
}

.flex-container .item-p img {
	width: 100%;
}

.flex-container .item-p img.epd {
	width: 50%;
}

.portrait-container {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-align-content: stretch;
    -ms-flex-line-pack: stretch;
    align-content: stretch;
    -webkit-align-items: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;



    }

.portrait-container .item {
    -webkit-order: 0;
    -ms-flex-order: 0;
    order: 0;
    -webkit-flex: 0 1 auto;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    -webkit-align-self: stretch;
    -ms-flex-item-align: stretch;
    align-self: stretch;
    }


.cd-accordion-menu {
  /* by default hide all sub menus */
  list-style-type:none;
  margin: 0;
  padding: 0 0 2em 0; 
}

.cd-accordion-menu input[type=checkbox] {
  /* hide native checkbox */
  position: absolute;
  opacity: 0;
}
.cd-accordion-menu label {
  position: relative;
  display: block;
  padding: 18px 18px 18px 0;
  font-size: 18px;
  text-align: center;
}

.cd-accordion-menu ul {
  /* by default hide all sub menus */
  display: none;
}

.has-children {
  /* by default hide all sub menus */
  list-style-type:none;
  margin: 0;
padding: 0; 
}
 
.cd-accordion-menu input[type=checkbox]:checked + label + ul,
.cd-accordion-menu input[type=checkbox]:checked + label:nth-of-type(n) + ul {
  /* use label:nth-of-type(n) to fix a bug on safari (<= 8.0.8) with multiple adjacent-sibling selectors*/
  /* show children when item is checked */
  display: block;
  margin: 0;
  padding: 0; 
  list-style-type:none;
}

.cd-accordion-menu label {
    cursor: pointer;
}


/*** Aktuelles 50-Jahre Bilderslider Startseite ***/
#slider50j {
	width: 80%;
}
  
.slide50j {
	width: 50%;
    display: none;
    position: relative;
    text-align: center;
    left: 3%;
}
  
.slide50j img {
	width: 80%;
	height: 80%;
}

.prev50j, .next50j {
  cursor: pointer;
  position: absolute;
  top: 35%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 3px 0 0 3px;
  user-select: none;
  background-color: rgba(0,0,0,0.8);
  text-decoration: none;
}

.next50j {
	right: 55%;
    border-radius: 0 3px 3px 0;
}

/*** 50-Jahre Bildergalerie ***/
#bilder50jcontainer {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-evenly;
	align-items: center;
}

.bild50j {
	flex-basis: 30%;
}