/* --------------------------------------------------------------
   Block-Darstellung für HTML5-Elemente im IE8 
   -------------------------------------------------------------- */

header, article, footer {
   display: block;
   overflow: hidden;
}

/* -------------------------------------------------------------- */

html, body {
   font-family: 'Roboto', sans-serif;
   font-size: 100%;
   line-height: 150%;
   color: #043799;
   background-color: #dedede;
   margin: 0;
   padding: 0;
}

h1 {
   line-height: 1.4em;
}

h1, h2, h3, h4 {
   clear: both;
}

p {
   margin: 20px 0;
   padding: 0;
}

.right {
   text-align: left;
}

.left {
   float: left;
   margin: 0 1em 1em 0;
}

ul {
   list-style-type: none;
   padding: 0 0 0 22px;
   margin: 0;
   text-indent: -22px;
}

hr {
   border: 0;
   border-bottom: 1px solid #dedede;
   margin: 2% 0;
}

li { 
    //padding-left: 16px; 
}

li:before {
    content: "✓";
    padding-right: 8px;
    color: #ff8b00;
}

header {
   overflow: hidden;
}

header p {
   text-align: center;
   background-color: #043799;
   color: #ffffff;
   padding: 0.5% 1%;
   margin: 0 0 1% 0;
}

header p.tel a {
   color: #ffffff;
}

header img.logo {
   width: 80%;
   display: block;
   padding: 0 80px 20px 0;
}

.container {
   background-color: #ffffff;
   width: 94%;
   margin: 3% auto;
   border: 10px solid #043799;
   box-sizing: border-box;
   overflow: hidden;
   padding: 1%;
}

.two-column {
   width: 100%;
   margin: 0 auto;
   box-sizing: border-box;
}

img.foto {
   border: 1px solid #dedede;
   width: 25%;
}

.siegel:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

.siegel {
   border: 1px solid #dedede;
   width: 95%;
   height: 12em;
   position: relative;
   display: block;
   overflow: hidden;
   margin: 0 0 2% 0;
   text-align: center;
}

.siegel span {
   text-align: center;
   position: absolute;
   width: 100%;
   top: 20%;
   left: 0;
   right: 0;
   text-align: center;
   opacity: 0;
   transition: opacity 300ms ease;
   -moz-transition: opacity 300ms ease;
   -webkit-transition: opacity 300ms ease;
   -o-transition: opacity 300ms ease;
}
   
.siegel:hover span {
   opacity: 1;
}
   
.siegel:hover img {
   border: 0;
   visibility: hidden;
}
   
.siegel img {
   display: inline-block;
   vertical-align: middle;
   border: 0;
   width: 30%;
   height: auto;
   margin: 0 auto;
}

a {
   color: #043799;
   text-decoration: underline;
}

a:hover {
   color: #000000;
}

a.orange {
   color: #ff8b00;
}

/* --------------------------------------------------------------
   Media Queries
   -------------------------------------------------------------- */

/* ------ SMALL ------- */

@media only screen and (max-width: 768px) {
   
   h1 {
      font-size: 1.2em;
      //margin-left: 3%;
   }
   
   h2 {
      font-size: 1.1em;
   }
   
   header img.logo {
      width: 100%;
      margin: 0 auto;
      display: block;
   }
   
   .container {
      width: 94%;
      //margin: 0 auto;
      border: 15px solid #043799;
   }
   
   article {
      width: 100%;
      margin: 0 auto;
      clear: both;
   }
   
}

/* ------ MEDIUM ------ */

@media only screen and (min-width: 768px) {
   
   .right {
      text-align: right;   
   }
   
   header img.logo {
      width: 50%;
      float: left;
      display: block;
      margin: 0;
   }
   
   header p {
      text-align: center;
      background-color: #043799;
      color: #ffffff;
      padding: 0.5% 1%;
      float: right;
      margin: 0;
   }
   
   .container {
      width: 90%;
      margin: 5% auto;
      border: 20px solid #043799;
   }
   
   .two-column {
      width: 50%;
      margin: 0 auto;
      float: left;
   }
}

/* ------ WIDE -------- */

@media only screen and (min-width: 1280px) {
   
   .container {
      width: 80%;
      margin: 5% auto;
      padding: 2%;
      border: 25px solid #043799;
   }
   
   .siegel {
      width: 80%;
   }

}

/* --------------------------------------------------------------
   Print styles
   -------------------------------------------------------------- */