* {
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%; 
}

body {
  font-size: 14px;
  background-color: #f4f4f4;
  font-family: Helvetica, Arial, sans-serif
}

iframe {
  border: 0;
}

a {
 cursor: pointer;
}

.page-wrapper.imprint a {
  font-size: 13px;
}

.mobile-only-ib {
  display: none !important;
}

a:link, a:visited, a:hover {
  text-decoration: none;
  color: #fff;
}

#main-content-wrapper a:link,
#main-content-wrapper a:visited {
  color: #38383A;
  text-decoration: underline;
  -moz-text-decoration-color: #76D3D9; /* Code for Firefox */
  text-decoration-color: #76D3D9;
  font-weight: 600;
}

#main-content-wrapper a:hover {
  color: #76D3D9;
}

h2 {
  text-decoration: underline;
}

header h2, header h3 {
  font-weight: normal;
  text-decoration: none; 
}

ul {
  list-style: none;
  margin: 15px 0 0 0;
}

ul.list-single-column {
  margin: 0;
  list-style: disc inside;
}

.sub-title {
  font-weight: 600;
  line-height: 2em;
}

.txt-annotation {
  display: inline-block;
  width: 100%;
  font-size: 0.85em;
  text-align: center;
}

img.image-round {
  border-radius: 50%;
  border: 2px solid #75D3D9;
  display: inline-block;
  margin: 4px;
  padding: 0;
  box-sizing: border-box;
}

header {
  top: 0;
  border-bottom: 1px solid #8F8F8F;
  box-shadow: -3px 10px 10px rgba(56, 56, 58, 0.4);
}

header, footer {
  width: 100%;
  background-color: #38383A;
  color: #fff;
  position: fixed;
  z-index: 1;
  box-sizing: border-box;
}

header .content-wrapper {
  height: 56px;
  box-sizing: border-box;
  /* to align the navi bar*/
  position: relative;
  max-width: 960px;
  padding: 7px 64px;
}

.content-wrapper {
  margin: 0 auto;
  max-width: 1024px;
  width: 100%;
  padding: 5px;
}

header span {
  display: inline-block;
  height: 100%;
  vertical-align: top;
  box-sizing: border-box;
}

header span.logo {
  background: url("../images/logo_554x554.png") no-repeat scroll center transparent;
  background-size: contain;
  width: 42px;
  height: 42px;
  cursor: pointer;
  float: left;
  margin: 0 0 0 -50px;
}

header span.title {
  float: left;
  position: relative;
  margin: 0 auto;
  text-align: center;
  text-transform: uppercase;
  font-size: 1.3em;
  width: 100%;
}

header span.title * {
  /*height: 49%;
  line-height: 1.5;*/
}

header span.title img {
  display: inline-block;
  width: 100%;
  max-width: 274px;
  vertical-align: bottom;
  position: absolute;
  margin: auto;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 0 10px;
  box-sizing: border-box;
}

header span.title h2 {
  margin: 0 0 5px 0;
}

#navi-bar li {
    font-size: 0.9em;
}

header span.navi-menu {
  float: right;
  background: url("../images/icon_menu.png") no-repeat scroll center transparent;
  background-size: contain;
  width: 42px;
  height: 42px;
  cursor: pointer;
  margin: 0 -50px 0 0;
}

#navi-bar {
  position: absolute;
  top: 57px;
  z-index: 1;
  max-width: 1024px;
  margin: auto;
  background-color: #38383A;
  width: 30%;
  right: 0;
}

#navi-bar li {
  list-style-type: none;
  list-style-position: inside;
  border-bottom: 2px solid #fff;
}

#navi-bar li:last-child {
  border: none;
  margin-bottom: 0;
}

#navi-bar li a {
  display: inline-block;
  font-size: 1.1em;
  padding: 15px 5px;
}

#navi-bar li a:hover span, .detail-line-wrapper a:hover {
  color: #76D3D9;
  text-decoration: underline;
}

#navi-bar li a span {
  text-indent: 10px;
}

#main-content-wrapper {
  min-height: 100%;
  margin: 0 auto 60px auto;
  position: relative;
  top: calc(35vh + 110px); /* #pan-image-container height + header height + box-shadow */
}

#pan-image-container {
  width: 100%;
  background-position: 0;
  background-repeat: no-repeat;
  background-color: transparent;
  background-size: cover;
  background-attachment: fixed;
  height: 35%;
  position: fixed;
  top: 56px;
  overflow: hidden;
}

#pan-image-container div.topic-image {
  position: absolute;
  background-attachment: scroll;
  width: 100%;
  height: 100%;
  opacity: 1;
  transition: all 0.4s;
  opacity: 0;
}

#pan-image-container div.topic-image.active {
  opacity: 1;
}

#topic-image-container-page1 {
  background: url("../images/bg_image_1.jpg") no-repeat scroll center transparent;
  background-size: cover;
}

#topic-image-container-page2 {
  background: url("../images/bg_image_2.jpg") no-repeat scroll center transparent;
  background-size: cover;
}

#topic-image-container-page3 {
  background: url("../images/bg_image_3.jpg") no-repeat scroll center transparent;
  background-size: cover;
}

#topic-image-container-page4 {
  background: url("../images/bg_image_4.jpg") no-repeat scroll center transparent;
  background-size: cover;
}

#topic-image-container-page5 {
  background: url("../images/bg_image_5.jpg") no-repeat scroll center transparent;
  background-size: cover;
}

#topic-image-container-page6 {
  background: url("../images/bg_image_6.jpg") no-repeat scroll center transparent;
  background-size: cover;
}

#main-content {
  max-width: 960px; /* fallback */
  max-width: calc(960px - 8%);
  /*padding: 0 4% 4% 4%;*/
  padding: 4%;
  margin: 0 auto;
  position: relative;
  /*background: url("../images/gradient_white.png") repeat-x scroll left -50px rgba(244, 244, 244, 0.35);*/
  box-shadow: 0 -50px 50px rgba(244, 244, 244, 0.35);
  background-color: rgba(244, 244, 244, 0.35);
}

#main-content {
  font-size: 1.2em;
  line-height: 1.5em;
}

#main-content div.colum-two-columns {
  width: 46%;
  padding: 0 2% 0 0;
  display: inline-block;
  vertical-align: top;
}

.main {
    margin: 0 auto;
    color: #fff;
}

.page-wrapper {
  margin: 10px 0 75px 0;
}

.page-wrapper.imprint p {
  margin: 0 0 20px 0;
}

.page-wrapper:first-child {
  margin: -40px 0 75px 0; /* compensate the box-shadow offset */
}

.page {
  clear: both;
}

.page h1 {
  margin: 0 0 20px 0;
}

table {
  width: 100%;
}

table tr td:last-child {
  text-align: right;
}

.two-colum-table tr td:last-child {
   white-space: nowrap;
   vertical-align: bottom;
}

#table-contact td:first-child {
  width: 17%;
}

footer {
  bottom: 0;
  border-top: 1px solid #8F8F8F;
  box-shadow: 0 -2px 5px rgba(56, 56, 58, 0.4);
}

footer .contact-details-wrapper {
  display: inline-block;
  margin: 0 1% 0 0;
}

footer .content-wrapper .detail-line-wrapper {
  display: inline-block;
}

footer .content-wrapper {
  text-align: center;
  padding: 10px 0;
  text-transform: uppercase;
}

footer .button {
  display: inline-block;
  height: 40px;
  width: 40px;
  border-radius: 50%;
  border: 3px solid #fff;
  vertical-align: middle;
}

footer .button.phone {
  background: url("../images/icon_phone.png") no-repeat scroll center #76D3D9;
  background-size: auto 70%;
}

footer .button.email {
  background: url("../images/icon_mail.png") no-repeat scroll center #76D3D9;
  background-size: 70% auto;
}

footer .button.facebook {
  background: url("../images/icon_facebook.png") no-repeat scroll center #76D3D9;
  background-size: auto 70%;
}

@media only screen
and (min-width : 320px) 
and (max-width : 568px) {
  
  .mobile-only-ib {
    display: inline-block !important;
  }

  .hide-on-mobile {
    display: none !important;
  }

  #main-content {
    font-size: 1.2em;
    line-height: 1.4em;
    padding: 4% 5%;
  }

  h1 {
    font-size: 126%;
  }

  h2 {
    font-size: 114%;
  }

  h3 {
    font-size: 108%;
  }

  img.image-round {
    width: 30%;
  }

  #navi-bar {
    width: 100%;
  }

  footer .content-wrapper {
    font-size: 0.7em;
  }

  footer .contact-details-wrapper {
    vertical-align: middle;
    margin: 0 4% 0 0;
  }

  footer .content-wrapper .detail-line-wrapper {
    display: block;
  }

  footer .button {
    display: inline-block;
    height: 25px;
    width: 25px;
    border-radius: 50%;
    border: 3px solid #fff;
    vertical-align: middle;
  }

  #main-content div.colum-two-columns {
    width: 100%;
    margin: 0 0 15px 0;
    padding: 0;
    float: none;
  }

  .page div.colum-two-columns:first-Child {
    margin: 0 0 40px 0;
  }

  table tr td {
    color: #000;
  }

  table.table-office-hours tr td {
    font-size: 0.75em;
  }

  table.table-office-hours td:first-child {
    width: 21%;
  }
  
  footer .middot {
    display: none;
  }

  footer .button {
    border: 2px solid #fff;
    margin: 0 2% 0 0;
  }

  footer .button:last-child {
    margin: 0;
  }

  .iframe-container iframe {
    margin: 30px 0 0 0;
    width: 100% !important;
  }
}

@media only screen
and (min-width : 375px) 
and (max-width : 667px) {
  
  footer .content-wrapper {
    font-size: 0.8em;
  }

  footer .contact-details-wrapper {
    margin: 0 6% 0 0;
  }

    footer .button {
    margin: 0 10px 0 0;
  }
}