body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background-color: #efefef;
  max-width: 1024px;
  margin: 0 auto;
}

a {
  color: #5b5b5b; 
}
a:link {
  text-decoration: none; color: #5b5b5b;
}
img {
	padding: 0;
	margin: 0;	
	width: 100%;  /* Bild passt sich an verfügbaren Raum im li an */
}
img.a {
  vertical-align: baseline;
}
.bild {
    width: auto;
    height: 100%;
}
/* header mit Menu*/
.header {
  background-color: #efefef;
  box-shadow: 1px 1px 4px 0 rgba(0,0,0,.1);
  position: fixed;
  max-width: 1024px;
  width: 100%;
  z-index: 3;
  margin-top: 0px; /*Abstand Menu oben*/
}

.header ul {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  background-color: #efefef;
}

.header li a {
  display: block;
  padding: 20px 20px;
  border-right: 1px solid #fff;
  text-decoration: none;
  border-bottom: 1px solid #efefef;
  font-size: 15px;
  color: gray;
}

.header li a:hover,
.header .menu-btn:hover {
  background-color: #f4f4f4;
}

.header .logo {
  display: block;
  float: left;
  font-size: 2em;
  color: #5b5b5b;
  padding: 10px 20px;
  text-decoration: none;
}

/* menu */

.header .menu {
  clear: both;
  max-height: 0;
  transition: max-height .2s ease-out;  
  text-align: center;
    
}

/* menu icon */

.header .menu-icon {
  cursor: pointer;
  display: inline-block;
  float: right;
  padding: 28px 20px;
  position: relative;
  user-select: none;
    
}

.header .menu-icon .navicon {
  background: #5b5b5b;
  display: block;
  height: 2px;
  position: relative;
  transition: background .2s ease-out;
  width: 18px;
}

.header .menu-icon .navicon:before,
.header .menu-icon .navicon:after {
  background: #5b5b5b;
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all .2s ease-out;
  width: 100%;
}

.header .menu-icon .navicon:before {
  top: 5px;
}

.header .menu-icon .navicon:after {
  top: -5px;
}

/* menu btn */

.header .menu-btn {
  display: none;
}

.header .menu-btn:checked ~ .menu {
  max-height: 360px;
}

.header .menu-btn:checked ~ .menu-icon .navicon {
  background: transparent;
}

.header .menu-btn:checked ~ .menu-icon .navicon:before {
  transform: rotate(-45deg);
}

.header .menu-btn:checked ~ .menu-icon .navicon:after {
  transform: rotate(45deg);
}

.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
  top: 0;
}

/*Bildbox oben*/
.bildbox-main {
    height: 400px;
    background-color: #FFFFFF;
    background-image: url(images/bild1.png);
    background-size: cover;
    margin: 1%;
}
.bildbox-produkt {
    height: 400px;
    background-color: #FFFFFF;
    background-image: url(images/bild2.png);
    background-size: cover;
    margin: 0%;
    margin-top: -38px;
     
}
.bildbox-bilder {
    height: 400px;
    background-color: #FFFFFF;
    background-image: url(images/bild20.png);
    background-size: cover;
    margin: 0%;
    margin-top: -38px;
     
}
.bildbox-tips {
    height: 400px;
    background-color: #FFFFFF;
    background-image: url(images/bild27.png);
    background-size: cover;
    margin: 0%;
    margin-top: -38px;
     
}
.bildbox-contact {
    height: 400px;
    background-color: #FFFFFF;
    background-image: url(images/bild22.png);
    background-size: cover;
    margin: 0%;
    margin-top: -38px;
     
}
.bildbox-ueberuns {
    height: 400px;
    background-color: #FFFFFF;
    background-image: url(images/bild19.png);
    background-size: cover;
    margin: 0%;
    margin-top: -38px;
     
}
span {
    color: #00aeef;
}
.responsive {
  max-width: 100%;
  height: auto;
}

/*Bilder Slider*/
#slider {
	overflow: hidden;
}

@keyframes slider {
                0% { left: 0; }
	30% { left: 0; }
	33% { left: -100%; }
	63% { left: -100%; }
	66% { left: -200%; }
	95% { left: -200%; }
	100% { left: 0; }

}
#slider figure {
	width:300%;
    margin-top: 60px; /*Abstand oben*/
    margin-left: 0%;
    margin-right: 0%;
	position: relative;
	animation: 20s slider infinite;
}

#slider figure:hover {
	/*animation-play-state: paused; enable for pause on hover*/
}
#slider figure img {
	width: 33.333333333%;
	height : 100%;
	float: left;
}
/*Popup Fenster*/

.modalDialog {
	position: fixed;
	font-family: Arial, Helvetica, sans-serif;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0,0,0,0.8);
	z-index: 99999;
	opacity:0;
	-webkit-transition: opacity 400ms ease-in;
	-moz-transition: opacity 400ms ease-in;
	transition: opacity 400ms ease-in;
	pointer-events: none;
}
.modalDialog:target {
	opacity:1;
	pointer-events: auto;
}

.modalDialog > div {
	width: 800px;
	position: relative;
	margin: 10% auto;
	padding: 5px 20px 13px 20px;
	border-radius: 10px;
	background: #000;
	background: -moz-linear-gradient(#333, #000);
	background: -webkit-linear-gradient(#333, #000);
	background: -o-linear-gradient(#333, #000);
}
.close {
	background: #606061;
	color: #FFFFFF;
	line-height: 25px;
	position: absolute;
	right: -12px;
	text-align: center;
	top: -10px;
	width: 24px;
	text-decoration: none;
	font-weight: bold;
	-webkit-border-radius: 12px;
	-moz-border-radius: 12px;
	border-radius: 12px;
	-moz-box-shadow: 1px 1px 3px #000;
	-webkit-box-shadow: 1px 1px 3px #000;
	box-shadow: 1px 1px 3px #000;
}

.close:hover { background: #ffe066; }
/*Schrift Desktop Version*/
h1 {
    color: #fff;
    font-size: 55px;
    text-align: left;
    padding-top:120px;
    padding-left: 60px;
    margin-bottom: -15px;
}
h2 {
    color: #fff;
    font-size: 1.2em;
    font-weight: normal;
    padding-left: 60px;   
}
h3 {
      color: #5b5b5b;
      text-align: left;
      margin: 0;
      padding: 5px;
}
h4 {
      font-size: 16px;
      text-align: left;
      font-weight: normal;
      color: #5b5b5b;
      margin: 0;  
      padding-left: 5px;   
}
h5 {
      font-size: 11px;
      text-align: left;
      font-weight: normal;
      color: #5b5b5b;
      margin: 0;  
      padding-left: 5px;     
}
h6 {
      font-size: 16px;
      text-align: left;
      font-weight: normal;
      color: #5b5b5b;
      margin: 0;  
      padding-left: 5px;   
}
h7 {
      font-size: 11px;
      text-align: left;
      font-weight: bold;
      color: #5b5b5b;
      margin: 0;  
      padding-left: 5px;  
}
h8 {
    color: #00aeef;
    
    font-size: 1.2em;
    font-weight: normal;
    text-align: left;
    padding-left: 0;
    
}
h9 {
      font-size: 11px;
      text-align: left;
      font-weight: normal;
      color: #5b5b5b;
      margin: 0;  
      padding-left: 5px;
}
p {
    font-size: 16px;
    color:#424242;
    margin:1%;
}
/*Bilder Desktop Version Griddarstellung*/


/*Grid*/
.listing li {
    border: 0 px solid #fff;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
}
.listing .cta {
  margin-top: auto;
  border-top: 2px solid #5b5b5b;
  padding: 10px;
  text-align: center;
}
.listing .body {
  padding: 10px;
}
.listing .bodyhead {
  padding: 5px;
  background: #efefef;
  border-bottom: 2px solid #595959;
}
.listing .head {
  padding: 5px;
  border-bottom: 2px solid #595959;
}
.listing {
  list-style: none;
  margin: 1%;
  margin-left: -35px;
  display: grid;
  grid-gap: 10px;
  grid-auto-flow: dense;
  grid-template-columns: repeat(auto-fill,minmax(200px, 1fr));
}
.listing .wide {
  grid-column-end: span 2;
}

.listing .wide-xl {
  grid-column-end: span 3;
}
.listing .wide-xxl {
  grid-column-end: span 4;
}
/*Video*/
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 0;
    height: 0;
    overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}



/* 48em = 768px 30em = 480px*/
@media (min-width: 48em) {
  .header li {
    float: left;
  }
  .header li a {
    padding: 20px 30px;
  }
  .header .menu {
    clear: none;
    float: right;
    max-height: none;
  }
  .header .menu-icon {
    display: none;
  }
}
/*TABLET*/
@media (max-width:768px){
    h1 {
        font-size: 40px;
        text-align: center;
        padding-left: 0px;
    }
    h2{
        text-align: center;
        padding-left: 0px;
        font-size: 0.875em;
    }
    .bildbox-produkt {
        margin-top: -28px;
    }
    .bildbox-tips {
        margin-top: -28px;
    }    
    .bildbox-contact {
        margin-top: -28px;
    }
        }


}
/*MOBILE*/
@media (max-width:400px){
    h1 {
        font-size: 28px;
    }
}

/* Slideshow container */
.mySlides {display: none}
img {vertical-align: middle;}

/* Slideshow container */
.slideshow-container {
  max-width: 950px;
  position: relative;
  margin: auto;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: #272929;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: #b79d8a;
}

/* Caption text */
.text {
  color: #424242;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #424242;
  font-size: 20px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #fff;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #b79d8a;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .prev, .next,.text {font-size: 11px}
}
