:root {
	--grau: #E7E7E7;
	--oliv: #5f7343;
	--schwarz: #000000;
	--weiss: #ffffff;
    --dunkelgrau: #555;
}

/* folgende Definition bezieht sich auf TAG body */
@font-face {

font-family: 'BrandonText';

/*src: url('BrandonText-Bold.otf'); */
src: url('fonts/BrandonText-Bold.otf');
}

@font-face {

font-family: 'BrandonText-Regular';

/*src: url('BrandonText-Bold.otf'); */
src: url('fonts/BrandonText-Regular.otf');
}
@font-face {

font-family: 'BrandonText';
/*src: url('BrandonText-RegularItalic.otf'); */
src: url('fonts/BrandonText-RegularItalic.otf');
font-style: italic;
}
body {
   background-color: var(--grau);
   background: url(img/background_trans.svg);
   background-repeat: repeat;
   background-attachment: fixed;
   background-size: 100%;
}

/* folgende Definition bezieht sich auf TAG h1 */
h1 {
  color:var(--oliv);   /* Farbe oliv SW-Bauwelt */
  font-size:1.7em;  /* Größe 28pt   */
  z-index: 8;
  font-family:BrandonText, "BrandonText-Bold", bold, sans-serif; /* Schriftart */
}

h2 {
  color:var(--schwarz);   /* Farbe schwarz SW-Bauwelt */
  font-size:3em;  /* Größe 20pt   */
  font-family:BrandonText, "BrandonText-RegularItalic", sans-serif;
  font-style: italic; /* Schriftart */
}

h3 {
  color:#ffffff;   /* Farbe weiß SW-Bauwelt */
  font-size:1.8em;  /* Größe 28pt   */
  font-family:BrandonText, "BrandonText-Bold", bold, sans-serif; /* Schriftart */
}

/* folgende Definition bezieht sich auf TAG h2 */
h4 {
  color:var(--schwarz);   /* Farbe schwarz SW-Bauwelt */
  font-size:2em;  /* Größe 20pt   */
  font-family:BrandonText, "BrandonText-RegularItalic", sans-serif;
  font-style: italic;/* Schriftart */
}
h5 {
  color:#ffffff;   /* Farbe weiß SW-Bauwelt */
  font-size:1.4em;  /* Größe 28pt   */
  font-family:BrandonText, "BrandonText-Bold", bold, sans-serif; /* Schriftart */
}
/* folgende Definition bezieht sich auf TAG p */
p {
  color:schwarz;   /* Farbe schwarz SW-Bauwelt */
  font-size:1.1em;  /* Größe 12pt   */
  font-family:BrandonText-Regular, "BrandonText-Regular", sans-serif; /* Schriftart */
}

 #Logo {
 margin-left: 80%;
 float:left;
 width:20%;
 min-width:120px;
 background-color: transparent;
 }

 #Kopfleiste {
 width: 100%;
 padding-left: 0px;
 padding-top: 60px;
 }

 #navigationsbereich {
 float:left;
 margin-left: 0%;
 width:20%;
 background-color: var(--oliv);
 border: 2px solid   var(--weiss);
 border-radius: 0 0.5em 0.5em;
 box-shadow: 5px 5px 5px silver;
 position: fixed;
 }
 #inhaltsbereich {
 margin-left:0px;
 width:98%;
 padding: 20px 50px 20px 50px;
 background-color: var(--grau);
 border: 2px solid   var(--weiss);
 border-radius: 0 0.5em 0.5em;
 box-shadow: 5px 5px 5px silver;
 font-size: 1.1em;
 text-align: left;
 font-family:BrandonText, "BrandonText-Bold", bold, sans-serif;
 }

 ul {
  /* list-style-type: none; */
  margin: 0;
  padding: 25px;
  width: 300px;
  background-color: var(--oliv);
  color: var(--weiss);
}

#fussbereich li {
      display: inline;            /* Listenelemente nebeneinander */
      list-style-type: none;      /* Aufzählungszeichen entfernen */
}

#fussbereich {
     clear: both;
     bottom: 0;
     width: 98%;
     background-color: var(--grau);
}
#fussbereich a {
     color: var(--oliv);       /* Schriftfarbe schwarz */
     text-decoration: none;         /* Unterstreichung entfernen */
     padding: 8px 12px;              /* oben/unten 4px, re/li 8px */
     border-radius: 0 0.5em 0.5em 0.5em;
     box-shadow: 5px 5px 5px silver;
     font-size: 1.2em;  /* Größe 28pt   */
     font-family:BrandonText, "BrandonText-Bold", bold, sans-serif;
}
/* Change the link color on hover */
li a:hover {
  background-color: var(--dunkelgrau);
  color: var(--weiss);
}

li a {
  display: block;
  color: var(--weiss);
  padding: 5px 12px;
  text-decoration: none;
  font-size: 1.5em;  /* Größe 28pt   */
  font-family:BrandonText, "BrandonText-Bold", bold, sans-serif;
}
#centerblock{
  border-top: 1px solid var(--oliv);
  border-left: 0px solid var(--oliv);
  border-right: 0px solid var(--oliv);
  margin-left: auto;
  margin-right: auto;
  width: 98%;
  height: 800px;
  background-color: transparent; /*var(--grau); */
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-align-items: center;
}
#centerblock_halb{
  border-top: 1px solid var(--oliv);
  border-left: 0px solid var(--oliv);
  border-right: 0px solid var(--oliv);
  margin-left: auto;
  margin-right: auto;
  width: 98%;
  height: 225px;
  background-color: transparent; /*var(--grau); */
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-align-items: center;
}
 #trenner {
 margin-left: 0%;
 width:98%;
 padding: 2px;
 background-color: var(--oliv);
}


 .blink {
   background: var(--oliv);
   color: var(--weiss);
   padding: 20px;
   margin-left: 0px;
   width:98%;
   font-size: 1.5em;
   text-align: center;
   font-family:BrandonText, "BrandonText-Bold", bold, sans-serif;
   animation: blinker 6s linear infinite;
}

@keyframes blinker
{
  50% {
  opacity: 0;
  }
}

.moreless-btn {
  background-color: var(--oliv);
  border-radius: 5px;
  border: 1px solid var(--weiss);
  color: var(--weiss);
  padding: 5px 5px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
  margin: 4px 2px;
  cursor: pointer;
  }


.info_box{
    float:left;
    margin: 10px 10px 0px 0px;
    background: var(--oliv);
    border: 2px solid   var(--weiss);
    border-radius: 0 0.5em 0.5em;
    box-shadow: 5px 5px 5px silver;
    color: var(--weiss);
    padding:15px 15px 15px 15px;
    margin-left: 3px;
    width:380px;
    height:420px;
    font-size: 1.1em;
    text-align: left;
    font-family:BrandonText, "BrandonText-Bold", bold, sans-serif;
    transition: transform 0.3s, width 0.3s, height 0.3s;
}
.info_box:hover {
  transform: scale(1.05);
}


@keyframes einblenden {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.info_box_klapp {
    float:left;
    margin: 10px 10px 0px 0px;
    background: var(--oliv);
    border: 2px solid   var(--weiss);
    border-radius: 0 0.5em 0.5em;
    box-shadow: 5px 5px 5px silver;
    color: var(--weiss);
    padding:15px 15px 15px 15px;
    margin-left: 3px;
    width:380px;
    min-height:420px;  */
    font-size: 1.1em;
    /*opacity: 0.5;  */
    text-align: left;
    font-family:BrandonText, "BrandonText-Bold", bold, sans-serif;
    /*transition: transform 0.3s, width 0.3s, height 0.3s;  */
}
.info_box_klapp:hover {
  /* transform: scale(1.05);     */
}


.klappcontainer {
  position: relative;
  display: inline-block;
  z-index: 0;
}

.klapphover-box {
  padding: 10px;

}

.klapphidden-text {
  display: none;
  position: relative;
  /*top: 100%;   */
  left: 0;
  border: 2px solid   var(--weiss);
  border-radius: 0 0.5em 0.5em;
  box-shadow: 5px 5px 5px silver;
  background-color: var(--grau);
  border: 1px solid var(--oliv);
  padding: 20px;
  color: var(--dunkelgrau);
  z-index:10;
}

.klapphover-box:hover .klapphidden-text {
  display: block;
  animation: einblenden 0.7s ease-in-out;
  z-index:10;
}




.info_box_top{
    float:left;
    background: var(--oliv);
    border: 2px solid   var(--weiss);
    border-radius: 0 0.5em 0.5em;
    box-shadow: 5px 5px 5px silver;
    opacity:0.9;
    color: var(--weiss);
    padding:20px 20px 20px 20px;
    margin-left: 3px;
    width:480px;
    height:600px;
    font-size: 1.1em;
    text-align: left;
    font-family:BrandonText, "BrandonText-Bold", bold, sans-serif;
}

.projekt_box {
      float:left;
      background: var(--oliv);
      color: var(--weiss);
      padding: 20px;
      margin-left: 0%;
      width:800px;
      border:2px solid var(--grau);
      border: 2px solid   var(--weiss);
      border-radius: 0 0.5em 0.5em;
      box-shadow: 5px 5px 5px silver;
      font-size: 1.1em;
      text-align: center;
      font-family:BrandonText, "BrandonText-Bold", bold, sans-serif;
}

.projekt_box a{
      text-decoration: none;
}

.projekt_box button {
  background-color: var(--oliv);
  border-radius: 5px;
  border: 1px solid var(--weiss);
  color: var(--weiss);
  padding: 5px 5px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 20px;
  margin: 4px 2px;
  cursor: pointer;
  }

img {
    width: 100%;
	object-fit: cover;
    height: auto;
}

    {
        font-family:BrandonText, "BrandonText-Bold", bold, sans-serif;
    }
    * {
        box-sizing: border-box;
    }
    input[type=text],
    select,
    textarea {
        margin-left: 1%;
        width: 70%;
        min-width: 300px;
        padding: 8px;
        border: 2px solid var(--oliv);
        border-radius: 4px;
        box-sizing: border-box;
        margin-top: 8px;
        margin-bottom: 16px;
        resize: vertical;
    }
    input[type=submit] {
        background-color: var(--oliv);
        color: var(--weiss);
        margin-left: 1%;
        padding: 12px 20px;
        border: none;
        border-radius: 7px;
        cursor: pointer;
        border-radius: 0 0.5em 0.5em;
        box-shadow: 5px 5px 5px silver;

    }
    input[type=submit]:hover {
        background-color: var(--dunkelgrau);
        margin-left: 1%;
    }
    .container {
        margin-left: 1%;
        width: 80%;
        border-radius: 8px;
        background-color: var(--grau);
        padding: 15px;
    }

  #cookie-popup {
  text-align: center;
  background: #fff;
  position: fixed;
  top: 0px;
  left: 0;
  right: 0;
  z-index: 9999;
  font-size:14px;
  line-height:20px;
  padding: 20px;
  -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.2);
  -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.2);
  box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.2);
  }

#cookie-popup.hidden {
  display: none;
}


.topnav {
    position: fixed;
    overflow: hidden;
    background-color: var(--oliv);
    opacity:0.9;
    width: 100%;
    z-index: 9;
    font-family:BrandonText, "BrandonText-Bold", bold, sans-serif;
}

.topnav a {
    float: left;
    display: block;
    color: var(--weiss);
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}

.active {
    background-color: var(--oliv);
    color: var(--grau);
}

.topnav .icon {
    margin-right: 50px;
    display: none;
}

.dropdown {
    float: left;
     /*overflow: hidden;  */
}

.dropdown .dropbtn {
    font-size: 17px;
    border: none;
    outline: none;
    color: var(--weiss);
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
}

.dropdown-content {
    display: none;
    position: fixed; /*absolute;   */
    background-color: var(--grau);
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px var(--grau);     ;
    z-index: 1;
}

.dropdown-content a {
    float: none;
    color: var(--oliv);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.topnav a:hover, .dropdown:hover .dropbtn {
    background-color: var(--weiss);
    color: var(--oliv);
}

.dropdown-content a:hover {
    background-color: var(--weiss);
    color: var(--oliv);
}

.dropdown:hover .dropdown-content {
    display: block;
}

@media screen and (max-width: 1080px) {
    .topnav a:not(:first-child), .dropdown .dropbtn {
        display: none;
    }
    .topnav a.icon {
        float: right;
        display: block;
    }
}

@media screen and (max-width: 1080px) {
    .topnav.responsive {position: relative;}
    .topnav.responsive .icon {
        position: absolute;
        right: 0;
        top: 0;
    }
    .topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
    }
    .topnav.responsive .dropdown {float: none;}
    .topnav.responsive .dropdown-content {position: relative;}
    .topnav.responsive .dropdown .dropbtn {
        display: block;
        width: 100%;
        text-align: left;
    }
}



.shortText.small {
            -webkit-mask-image: -webkit-gradient(linear, left top,
                left bottom, from(rgba(0, 0, 0, 1)), to(rgba(0, 0, 0, 0)));
        }

        .shortText span.more {
            display: inline;
        }

        .shortText.small span.more {
            display: none;
        }

        .shortText:not(.small) span.dots {
            display: none;
        }


 .slider {
            width: 100%;
            overflow: hidden;
            border: 0px solid #ddd;
            position: relative;
        }
        .slides {
            display: flex;
            width: calc(100% * 8); /* Anzahl der Bilder */
            animation: slide 320s linear infinite;
        }
        .slide {
            width: 12.5%; /* 100% / Anzahl der Bilder */
            flex-shrink: 0;
        }
        .slide img {
            width: 100%;
            min-height: 100px;
            display: block;
            z-index: 1;
        }

        /* Centered text */
        .centered {
         position: absolute;
         top: 70px;
         left: 45%;
         transform: translate(-50%, -50%);
         z-index: 2;
        }

        /* Bottom right text */
        .bottom-right {
          position: absolute;
          bottom: 8px;
          right: 10px;
          width: 15%;
          z-index: 2;
        }
        @keyframes slide {
            0% { transform: translateX(0); }
            100% { transform: translateX(-100%); }
        }