html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  text-align: center;
}
a {
  text-decoration: none;
}
li {
  list-style-type: none;
}
h1, h2, h3, a {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  color: #494949;
  text-transform: uppercase;
}
h2 {
  color: #5d7177;
}
h3 {
  font-size: 40px;
  padding-top: 8%;
  margin-top: 0;
  margin-bottom: 5px;
}
h4, p {
  font-family: 'Roboto', sans-serif;
  color: #494949;
}
hr {
  width: 190px;
  height: 3px;
  background: #0080c8;
  border: 0;
  margin: 0 auto 40 auto;
}
#logo, li, img, .button, .fa-bars {
  transition: all 300ms;
  -webkit-transition: all 300ms;
  -moz-transition: all 300ms;
  -o-transition: all 300ms;
}
.fa-bars {
  display: none;
}
table {
  border-collapse: collapse;
  table-layout: fixed;
  width: 100%;
  min-height: 100%;
}
table, th, td {
  border: 0px solid #000;
}
th {
  background-color: #0080c8;
  color: #fff;
  text-shadow: 0px 1px 3px rgba(0, 0, 0, .8);
}
td {
  vertical-align: top;
  width: 50%;
}
td.kandi {
  text-align: left;
  padding-top: 35px;
}
table {
  font-family: 'Roboto Slab', serif;
  max-width: 1024px;
  margin: 0 auto 0 auto;
  text-transform: none;
  list-style-type: square;
}
/**************************************/
/* HEADER *****************************/
/**************************************/
header {
  width: 100%;
  height: 65px;
  position: fixed;
  top: 0;
  left: 0;
  background: #0080c8;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}
#logo {
  width: 200px;
  float: left;
  margin: 0 0 0 50px;
}
#logo img {
  width: 100%;
  border-radius: 5px;
}
header nav {
  float: right;
  margin: 10px 50px 0 0;
}
header nav ul li {
  float: left;
  margin-left: 25px;
  color: #FFF;
}
header nav ul li a {
  font-size: 16px;
}
header nav ul li:hover {
  color: #a2c516;
}
/**************************************/
/* HOME *******************************/
/**************************************/
#home {
  background: url(../img/bg2.jpg);
  background-position: center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-attachment: fixed;
  min-height: 100%;
}
#home h1 {
  margin: 150px auto 0 auto;
  font-size: 110px;
  color: #fff;
  background-color: #a2c516;
  text-transform: none;
}
#home h2 {
  margin: 0 auto 0 auto;
  font-size: 30px;
  color: #fff;
}
#home p {
  font-size: 24px;
  color: #494949;
}
#home a {
  color: #494949;
}
#home picture {
  position: absolute;
  bottom: -13px;
  right: 0;
  width: 100%;
  overflow: hidden;
}
#home picture img {
  width: 100%;
}
#home img.ro {
  position: absolute;
  left: 20px;
  bottom: 30px;
  max-height: 120px;
  max-width: 50%;
  z-index: 900;
}
#home img.lo {
  position: absolute;
  left: 0;
  bottom: 240px;
  max-height: 300px;
  max-width: 50%;
  z-index: 901;
}
#home img.ru {
  position: absolute;
  right: 20px;
  bottom: 30px;
  max-height: 150px;
  max-width: 90%;
  z-index: 899;
}
#home img.ru2 {
  position: absolute;
  left: 20px;
  bottom: 30px;
  max-height: 150px;
  max-width: 90%;
  z-index: 898;
}
#home img.ru3 {
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  bottom: 30px;
  max-height: 150px;
  max-width: 90%;
  z-index: 898;
}
#home img.dn {
  position: absolute;
  //left: 0;
  right: 0;
  //margin: auto;
  bottom: -8px;
  max-height: 100%;
  max-width: 95%;
  z-index: 895;
}
#home img.da {
  position: absolute;
  left: 20px;
  //margin: auto;
  top: 90px;
  max-height: 25%;
  max-width: 50%;
  z-index: 890;
}

/**************************************/
/* NEWS *******************************/
/**************************************/
#news {
  background-color: #d8d8d8;
  height: auto;
  padding-bottom: 20px;
  min-height: 100%;
}
#news p {
  width: 90%;
  margin: 0 auto 0 auto;
  text-transform: none;
}
#news a {
  color: #ff0000;
}
#news img {
  border-radius: 5px;
  max-width: 500px;
}
.powr-instagram-feed {
  max-width: 1024px;
  margin: 0 auto 0 auto;
}
/**************************************/
/* KANDIDATEN *************************/
/**************************************/
#kandidaten {
  background-color: #fff;
  padding-bottom: 10px;
  min-height: 100%;
}
#kandidaten img {
  max-width: 95%;
  max-height: 400px;
}
#kandidaten h4 {
  font-size: 16px;
}
#kandidaten p {
  width: 700px;
  margin: 0 auto 0 auto;
}

/**************************************/
/* TERMINE ****************************/
/**************************************/
#termine {
  background-color: #d8d8d8;
  min-height: 100%;
  padding-bottom: 10px;
}
#produkte a {
  color: #0080c8;
}
#projects {
  width: 900px;
  margin: 0 auto 0 auto;
  display: inline-block;
}
#projects p {
  width: 90%;
  margin: 0 auto 0 auto;
  text-transform: none;
}
#projects h4 {
  color: #fff;
  background-color: #0080c8;
}
#projects hr {
  width: 270px;
  height: 3px;
  background: #0080c8;
  border: 0;
}
#projects ul {
  padding: 0;
}
#projects ul li {
  width: 33.3%;
  float: left;
  margin-bottom: 15px;
}
#projects img {
  width: 95%;
  height: 95%;
}
#projects p:hover {
  color: #0080c8;
}
/**************************************/
/* CHRONIK ****************************/
/**************************************/
#chronik {
  background-color: #fff;
  min-height: 100%;
  padding-bottom: 10px;
  min-height: 100%;
}

#chronik p {
  width: 900px;
  margin: 0 auto 0 auto;
}
#projects_lr {
  width: 900px;
  margin: 0 auto 0 auto;
  display: inline-block;
}
#projects_lr p {
  width: 90%;
  margin: 0 auto 0 auto;
  text-transform: none;
}
#projects_lr h4 {
  color: #fff;
  background-color: #0080c8;
}
#projects_lr hr {
  width: 270px;
  height: 3px;
  background: #0080c8;
  border: 0;
}
#projects_lr ul {
  padding: 0;
}
#projects_lr ul li {
  width: 100%;
  float: none;
  margin-bottom: 15px;
}
#projects_lr img {
  width: 400px;
  height: 400px;
}
#projects_lr p:hover {
  color: #0080c8;
}

/**************************************/
/* IMPRESSUM **************************/
/**************************************/
#impressum {
  background-color: #d8d8d8;
  padding-bottom: 10px;
}
#impressum p {
  max-width: 900px;
  margin: 0 auto 0 auto;
}
#impressum img {
  max-width: 900px;
}
#impressum a {
  color: #0080c8;
}
#impressum hr {
  width: 190px;
  height: 3px;
  background: #0080c8;
  border: 0;
  margin: 0 auto 40 auto;
}
/**************************************/
/* BANNER *****************************/
/**************************************/
#banner1 {
  background: url(../img/bg.jpg);
  background-position: center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-attachment: fixed;
  background-color: #fff;
  height: 50%;
}
#banner2 {
  background: url(../img/header/ksk_header_allgemein_2.jpg);
  background-position: center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-attachment: fixed;
  background-color: #fff;
  height: 100%;
}
#banner3 {
  background: url(../img/header/5495_denkmal_fahnen_vorstand.jpg);
  background-position: center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-attachment: fixed;
  background-color: #fff;
  height: 100%;
}
#banner4 {
  background: url(../img/bg1.jpg);
  background-position: center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-attachment: fixed;
  background-color: #fff;
  height: 100%;
}
/**************************************/
/* FOOTER *****************************/
/**************************************/
footer {
  width: 100%;
  height: 250px;
  background-color: #0080c8;
}
footer p {
  font-size: 14px;
  color: #fff;
  margin: 0;
  padding-top: 10px;
}
footer a {
  font-weight: bold;
  color: #a2c516;
}
#footer_logo {
  width: 260px;
  margin: 0 auto;
  padding: 15px;
}
#footer_logo a {
  font-size: 14px;
  color: #a2c516;
  text-transform: none;
}
#footer_logo h4 {
  color: #fff;
  margin: 0;
  padding: 10px;
}
#footer_logo img {
  width: 50px;
  height: auto;
}
#footer_logo p {
  color: #fff;
  margin: 0;
  padding-top: 5px;
}

/**************************************/
/* MEDIA QUERIES **********************/
/**************************************/

/* TABLET *****************************/
@media only screen and (max-width: 1024px) {
  #logo {
    width: 130px;
    height: auto;
    margin: 10px 0 0 20px;
  }
  header nav {
    margin: 0;
    float: none;
  }
  .fa-bars {
    font-size: 40px;
    display: inline-block;
    width: 100%;
    cursor: pointer;
    text-align: right;
    float: right;
    margin: -46px 20px 0 0;
    color: #fff;
  }
  header nav ul {
    height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
  }
  header nav ul.open {
    height: auto;
  }
  header nav ul li {
    background: #0080c8;
    opacity: 1;
    width: 100%;
    padding: 5px 0;
    margin: 0;
    font-size: 28px;
    border-top: 1px solid #dddddd;
  }
  header nav ul li:hover {
    background-color: #a2c516;
    color: #494949;
  }
  table {
    width: 95%;
  }
  #home {
    background-attachment: scroll !important;
  }
  #home h1 {
    font-size: 90px;
    margin-top: 90px;
  }
  #home h2 {
    font-size: 22px;
  }
  #home p {
    font-size: 22px;
  }
  #home img.ru3 {
    display: none;
  }
  #home img.lo {
    bottom: 160px;
  }
  .fa-arrow-circle-down {
    font-size: 70px;
    padding-top: 25px;
  }
  h3 {
    padding-top: 12%;
  }
  #kandidaten img {
    max-width: 95%;
    height: auto;
  }
  #projects {
    width: 900px;
  }
  #overviews img {
    max-width: 850px;
  }
  #impressum img {
    max-width: 850px;
  }
  #welcome p {
    width: 90%;
  }
  #chronik p {
    width: 90%;
  }
  #banner1 {
    background-attachment: scroll !important;
    height: 200px;
  }
  #banner2 {
    background-attachment: scroll !important;
    height: 200px;
  }
  #banner3 {
    background-attachment: scroll !important;
    height: 200px;
  }
  #banner4 {
    background-attachment: scroll !important;
    height: 200px;
  }
  #home img.dn {
    right: -100px;
    max-width: 100%;
  }
}

/* MOBILE ****************************/
@media only screen and (max-width: 900px) {
  h3 {
    font-size: 30px;
    padding-top: 22%;
  }
  #home h1 {
    font-size: 50px;
    margin-top: 80px;
  }
  #home h2 {
    font-size: 26px;
    height: auto;
  }
  #home p {
    font-size: 18px;
  }
  #home img.lo {
    bottom: 140px;
  }
  .fa-arrow-circle-down {
    font-size: 50px;
    padding-top: 10px;
  }
  #news img {
    width: 500px;
    max-width: 95%;
  }
  #projects {
    width: 100%;
  }
  #projects ul li {
    width: 100%;
    float: none;
  }
  #projects ul li:last-child {
    padding-bottom: 20%;
  }
  #projects p {
    width: 80%;
  }
  #projects hr {
    width: 69%;
  }
  #projects img {
    width: 400px;
    height: auto;
    max-width: 95%;
  }
  #projects_lr {
    width: 100%;
  }
  #projects_lr ul li {
    width: 100%;
    float: none;
  }
  #projects_lr ul li:last-child {
    padding-bottom: 20%;
  }
  #projects_lr p {
    width: 80%;
  }
  #projects_lr hr {
    width: 69%;
  }
  #projects_lr img {
    width: 400px;
    height: auto;
    max-width: 95%;
  }
  #overviews p {
    width: 80%;
  }
  #overviews img {
    max-width: 90%;
  }
  #impressum p {
    width: 80%;
  }
  #impressum img {
    max-width: 90%;
  }
  #versand img {
    width: 80%;
  }
  #home img.ru {
    right: 10px;
  }
  #home img.ru2 {
    left: 10px;
  }
  #home img.da {
    left: 10px;
    top: 80px;
  }
}
/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 600px) {
/* Place the timelime to the left */
  .timeline::after {
    left: 31px;
  }

/* Full-width containers */
  .container {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

/* Make sure that all arrows are pointing leftwards */
  .container::before {
    left: 60px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
  }

/* Make sure all circles are at the same spot */
  .left::after, .right::after {
    left: 15px;
  }

/* Make all right containers behave like the left ones */
  .right {
    left: 0%;
  }
  #home img.lo {
    bottom: 110px;
  }
}
