/*******************************************************************************
              Copyright (c)2017 - 2021 Wayotec GmbH
              Alle Rechte vorbehalten                     
              http://www.wayotec.de oder info@wayotec.de  
              Umsetzung: Wayotec GmbH
*******************************************************************************/
/* orbitron-regular - latin */
@font-face {
  font-family: 'Orbitron';
  font-style: normal;
  font-weight: 400;
  src: local(''),
       url('../fonts/orbitron-v17-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/orbitron-v17-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* orbitron-700 - latin */
@font-face {
  font-family: 'Orbitron';
  font-style: normal;
  font-weight: 700;
  src: local(''),
       url('../fonts/orbitron-v17-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/orbitron-v17-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

html 
{ 
  box-sizing: border-box;
  height: 100%;
  width: 100%;
} 

body
{
  font-size: 1em;     
	font-family: Helvetica, Verdana, Arial, sans-serif;
  color: rgb(74,76,84);
  height: 100%;
  width: 100%;
}

*, ::before, ::after 
{ 
  box-sizing: inherit; 
}

header {
  width: 100%;
  text-align: center;
  border-bottom: 2px solid rgb(74,76,84);
  top:0;
  margin: auto;
  margin-top: 0;
  padding: 0;
  padding-right: 0.7em;
  height: 100%;
  z-index:4;
  background-color: rgb(243,243,243); 
}

main
{
  margin: auto;
  text-align: center;
  width: 100%;
  max-width: 1280px;
}

#huelle
{
  width: 100%;
  margin:auto;
  min-height: 100%;    
  background-image: url("../bilder/hintergrund.jpg");
  background-size: cover;
}

nav
{
    color: rgb(75,75,81);
    padding-bottom: 0.7em;
    text-align: right;
    margin: auto;
    margin-right: 0.2em;
    padding-top: 3.2em;
    margin-bottom: 1.2em;
    max-width: 1900px;
}

nav a
{
  text-decoration:none;
  margin-right: 2.5em;     
  font-size: 1em;  
  padding-bottom: 0.7em;
  color: rgb(75,75,81);
}

nav a:hover
{
  border-bottom: 2px solid rgb(75,75,81);
  color: rgb(192,192,192);
}

.bild_home
{
  width: 100%;
  max-width: 1280px;
}

.footraum {
  height: 6em;
}

footer
{
  text-align:center;
  font-size: 0.9em;
  margin:auto;
  padding: 0;
  border-top: 2px solid rgb(129,20,34);
  background-color:rgb(243,243,243);
  width: 100%;
  height: 4em;
  position: fixed;
  bottom: 0;
  padding-top: 1em;
}

footer a
{
  color: rgb(83,53,61);
  padding-right: 2.5em;
}

footer a:hover
{
  color: rgb(129,20,34);
}

H2
{
  padding: 2em;
  text-align:center;
  font-size:1.1em;
  color: rgb(129,20,34);
}
.klein
{
  font-size:0.9em;
}

input#responsive-nav,label.responsive-nav-label 
{
  display: none;
}

.aktiv
{
  margin-right: 2.5em;
  padding-bottom: 0.7em;
  border-bottom: 2px solid rgb(75,75,81); 
}

.responsiveMenu
{
  visibility: hidden;
  height: 0;      
}


H1
{
  font-size: 1.4em;
  font-weight: bold;
  font-family: 'Orbitron', sans-serif;
  color: rgb(129,20,34);
  text-align: center;
  margin-top: 4em;
  margin-bottom: 2.5em;
}

H1.startseite {
  font-size: 2em;
  font-weight: bold;
  font-family: 'Orbitron', sans-serif;
  color: rgb(129,20,34);
  text-align: center;
  padding-top: 2em;
  padding-bottom: 2em;
  background-color: rgb(243,243,243);
  margin-bottom: 1.5em;
  display: block;
  margin-top: 0;
}

html
{
  font-size: 100%; 
  height: 100%;
  width: 100%;
}

.inhalt
{
  text-align:left;
  width: 93%;
  padding-left: 4em;
  margin-bottom: 2.2em;
}

.inhalt_start
{
   width: 100%; 
   margin-left:0; 
   margin-right: 0; 
   margin-top: 0; 
   padding: 0;
}

.inhalt_start p
{
  line-height: 1.2;
  font-size: 0.9em;
}

.logo
{
  margin-top: 1em;
  float: left;
  margin-left: 1.5em;
  height: 4em; 
}

p
{
  text-align: left;
  font-size: 1em;
  margin-bottom: 2em;
  -moz-hyphens: auto;
   -o-hyphens: auto;
   -webkit-hyphens: auto;
   -ms-hyphens: auto;
   hyphens: auto;
   line-height: 1.5;
}

p a
{
  color: rgb(77,78,83);
  color: rgb(85,88,96);
}

p a:hover
{
  color: rgb(129,20,34);
}

.mitarbeiter-container {
  text-align: center;
  display: flex;
  justify-content: space-evenly;
}

.mitarbeiter p
{
  text-align: center;
  font-size: 1em;
  padding: 0 1em;
}

.mitarbeiter
{
  margin-top: -2em;
  height: 100%;
  padding-bottom: 2.6em;
}

.mitarbeiterBox
{
  margin:0;
  background-color: #F0F0F0;
  margin-right: 1%;
  margin-top: 2em;
  width: 40%;
  text-align: center;
}

.mitarbeiter:nth-of-type(2n+2)
{
  margin-right: 0;
}

.mitarbeiterBild
{
  width: 95%;
  min-width: 150px;
  padding: 5px;
  background: #fff;
  border: 1px solid rgb(129,20,34);
}

.produkteBild
{
  width: 70%;
  padding: 2em;
}

.produkteBox
{
  width: 100%;
}

.produkteBox figure
{
  float: left; 
}

.produkteBox img
{
  width: 100%;
}

.produkteBox p
{
  margin-left: 2em;
}

.r
{
  text-align:right;
}

.aktuellesBox
{
  width: 100%;
  line-height: 1.5;
  display: flex;
  margin-bottom: 2em;
  margin-top: 1em;
}

.aktuellesBox figure
{
  width: 50%;
}

.aktuellesBox img
{
  width: 90%;
}

.aktuellesBox h2
{
  font-weight: bold;
  padding: 0 !important;
}

.quelle
{
  margin-left: 30em;
  font-size: 0.8em;
}

.startbox
{
  margin: 0;
  width: 100%;
  text-align: left;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  line-height: 1.4 !important;
}

a.startbox
{
  color: #4A4C54;
  text-decoration: none;
}

.startbox H2 {
  color: #4A4C54;
  font-size: 1.25em;
  height: 100%;
}

.startbild
{
  display: inline-block;
  padding: 0;
  width: 33%;
  min-width: 300px;
  margin: 0 !important;
}

.startbild img
{
  width: 100%;
}

.bildunter
{
  margin: 2em;
  width: 33%;
  vertical-align: middle;
}

.erklaerung {
  margin: 2em;
  width: 33%;
}

.ueberbox
{
  margin: 0;
  width: 100%;
}

.ueberbox a
{
  color: rgb(85,88,96);
}

.ueberbild
{
  display: inline-block;
  padding: 0;
  margin: auto;
  width: 49%;
  min-width: 300px;
  text-align: center;
}

.ueberbild img
{
  height: 12em;
  background: #fff;
  padding: 3px;
  border: 1px solid rgb(129,20,34);
}

/**Slider **/
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
  height: 350px;
}

.slideshow-container img{
  height: 350px;
}

.referenzSlider {
  display: none;
  text-align: center;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  background-color: rgba(0,0,0,0.8);
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.referenztext {
  color: black;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

.referenzueber {
  color: black;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

.punkte {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .punkte:hover {
  background-color: #717171;
}

.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 2.5s;
  animation-name: fade;
  animation-duration: 2.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}



@media screen and (min-width: 5em) and (max-width: 40em)
{
  
  label.responsive-nav-label 
  {
    position: relative;
    text-align:right;
    display: block;
    cursor: pointer;
    color: rgb(74,76,84);
    padding-top: 1.5em;
    font-size: 1.2em;
  }
  
  body
  {
    background-color: white;
  }
  
  #huelle
  {
    margin: 0;
    width: 100%;
    background-color: #F5F7F5;
  }
  
  .inhalt
  {
    padding:0;
    margin: 0;
    font-size: 0.9em;
    padding-left: 1em;
    padding-right: 1em;
    width: 100%;
    margin-bottom: 4.5em;
  }
  
  .inhalt_start
  {
    font-size: 0.9em;
    margin-bottom: 4.5em;
  }
  
  nav
  {
    visibility: hidden;
    height: 0px;
  }
  
  .responsiveMenu
  {
    height: 0px;
    text-align: left;
    padding-left: 1em;
    visibility: hidden;
    padding-top: 0.5em;
    opacity:0;
  }
  
  .responsiveMenu a
  {
    display: block;
    width: 90%;
    background-color:  lightgrey;
    color: rgb(129,20,34);
    font-weight: bold;
    padding: 0.5em;
    margin: -0.5em;
    text-decoration: none;
  }
  
  input#responsive-nav[type=checkbox]:checked ~ .responsiveMenu
  {
    visibility: visible;
    height: 11em;
    z-index: 10;
    opacity: 1;
    position:absolute;
    top: 5em;
    left: 0.5em;
    width: 100%;
    background-color: white;
  }
  
  .mitarbeiterBox
  {
    border-bottom: 1em solid white;
    width: 100%;
    margin: 0;
  }
  
  .mitarbeiterBox img
  {
    max-height: 18em;
  }
  
  .mitarbeiter
  {
    margin:0;
  }
  
  footer
  {
    text-align:center;
    position:fixed;
    min-height: 2em;
    height: 4em;
    padding-top: 0.5em;
  }
  
  header
  {
    height: 5em;
  }
  
  .produkteBox
  {
    margin: 0;
    width: 100%;
  }
  
  .produkteBox figure
  {
    clear: both; 
  }
  
  .produkteBox img
  {
    width: 100%;
  }
  
  .produkteBox p
  {
    width: 100%;
    padding: 0;
    padding-bottom: 1em;
    clear:both;
  }
  
  .produkteBox:nth-child(2)
  {
    border-top: 2px solid rgb(192,192,192);
   border-bottom: 2px solid rgb(192,192,192); 
  }
  
  .quelle
  {
    text-align:left;
    margin-left: 0;
    font-size: 0.8em;
  }
  .logo
  {
   height: 2em;
  }
  .footraum {
    height: 4em;
  }

  main {
    width: 95%;
  }
  H1
  {
    margin-top: 1em;
    margin-bottom: 0;
  }
  .bildunter {
    order: 1;
    width: 100%;
    margin-bottom: 0;
  }
  .bildunter :first-of-type {
    margin-top: -1em;
  }
  .erklaerung {
    width: 100%;
    order: 3;
  }
  .startbild {
    width: 100%;
    order: 2;
    min-width: 250px;
  }
  .startbox {
    flex-wrap: wrap;
  }
  .slideshow-container {
    height: 150px;
  }
  .slideshow-container img {
    height: 150px;
  }
  .prev, .next {
    display: none;
  }
  .aktuellesBox figure
  {
    width: 100%;
  }
  .aktuellesBox
  {
    display: block;
  }
}

@media  screen and (min-width: 40em) and (max-width: 60em)
{
  .produkteBox figure
  {
    clear: both; 
  }
  
  .produkteBox img
  {
    width: 100%;
  }
  
  nav
  {
    padding-top: 6.5em;
    text-align: right;
    padding-right: 0.5em;
  }
  
  .inhalt
  {
    padding-top: 2em;
    height: auto;
  }
  
  .inhalt_start
  {
    padding-bottom: 2em;
    height: auto;
  }
  

  main {
    width: 95%;
  }
  H1
  {
    margin-top: 2em;
    margin-bottom: 0.5em;
  }
  .bildunter {
    order: 1;
    width: 100%;
    margin-bottom: 0;
  }
  .bildunter :first-of-type {
    margin-top: -1em;
  }
  .erklaerung {
    width: 45%;
    order: 3;
  }
  .startbild {
    width: 45%;
    order: 2;
    min-width: 250px;
  }
  .startbox {
    flex-wrap: wrap;
  }
  .startbox :first{
    margin-top: 1em;
  }
  .slideshow-container {
    height: 250px;
  }
  .slideshow-container img {
    height: 250px;
  }
  .aktuellesBox figure
  {
    width: 100%;
  }

  .aktuellesBox
  {
    display: block;
  }
}