@font-face {
    font-family: 'sansumiregular';
    src: url('../fonts/sansumi_regular_macroman/Sansumi-Bold-webfont.eot');
    src: url('../fonts/sansumi_regular_macroman/Sansumi-Bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/sansumi_regular_macroman/Sansumi-Bold-webfont.woff') format('woff'),
         url('../fonts/sansumi_regular_macroman/Sansumi-Bold-webfont.ttf') format('truetype'),
         url('../fonts/sansumi_regular_macroman/Sansumi-Bold-webfont.svg#sansumiregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'sansumi-extraboldregular';
    src: url('../fonts/sansumi_extrabold_macroman/Sansumi-ExtraBold-webfont.eot');
    src: url('../fonts/sansumi_extrabold_macroman/Sansumi-ExtraBold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/sansumi_extrabold_macroman/Sansumi-ExtraBold-webfont.woff') format('woff'),
         url('../fonts/sansumi_extrabold_macroman/Sansumi-ExtraBold-webfont.ttf') format('truetype'),
         url('../fonts/sansumi_extrabold_macroman/Sansumi-ExtraBold-webfont.svg#sansumi-extraboldregular') format('svg');
    font-weight: bold;
    font-style: normal;
}

*, *:before, *:after {
  border: 0;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-margin-after: 0;
  -webkit-margin-before: 0;
  -webkit-margin-end: 0;
  -webkit-margin-start: 0;
}

body {
  background-color: #dbdbdb;
  font: normal 12px/18px verdana, arial, sans-serif;
}

#wrapper {
  background-color: #fff;
  box-shadow: 0 0 4px rgba( 0, 0, 0, .25 );
  margin: 0 auto;
  max-width: 1024px;
  width: 100%;
}

@media ( max-width: 1023px ) {
  #wrapper {
    padding-top: 32px;
  }
}

header {}

header .hero {
  height: 473px;
  margin-top: -10px;
  width: 100%;
}

@media ( max-width: 1023px ) {
  header .hero {
    height: 46vw;
  }
}

header .hero ul {
  list-style-type: none;
  position: relative;
}

header .hero ul li {
  position: absolute;
  top: 0;
}

header .hero img {
  width: 100%;
}

#logo {
  display: flex;
  justify-content: center;
  flex-direction: column;
  height: 156px;
  margin: 0 auto;
  text-align: center;
  text-transform: uppercase;
  max-width: 470px;
}

@media ( max-width: 767px ) {
  #logo {
    height: 20.3vw;
    max-width: 61.3vw;
  }
}

#logo a {
  text-decoration: none;
}

#logo h3 {
  font-family: sansumiregular, sansumi-extraboldregular, verdana, arial, sans-serif;
  font-size: 35px;
  font-weight: normal;
  letter-spacing: 1px;
  line-height: 35px;
  padding: 0 0 4px 0;
}

@media ( max-width: 767px ) {
  #logo h3 {
    font-size: 4.5vw;
    line-height: 4.5vw;
  }
}

#logo h3 a {
  color: #6e6e6e;
}

#logo h2 {
  border-top: 1px solid #009aa3;
  font-family: sansumiregular, verdana, arial, sans-serif;
  font-size: 15px;
  font-weight: normal;
  letter-spacing: 1px;
  line-height: 15px;
  padding: 8px 0 0 0;
}

@media ( max-width: 767px ) {
  #logo h2 {
    font-size: 1.95vw;
    line-height: 1.95vw;
  }
}

#logo h2 a {
  color: #009aa3;
}

@media ( min-width: 1024px ) {
  #navbar {
    background: url(../images/navbg.png) repeat-x 0 0;
    height: 64px;
    line-height: 64px;
    padding: 0 50px;
    position: relative;
    text-transform: uppercase;
  }
  
  #navbar:after,
  #navbar:before {
    background: url(../images/navmarker.png) no-repeat left bottom;
    content: ' ';
    bottom: 0;
    height: 10px;
    left: 0;
    position: absolute;
    width: 64px;
    z-index: 1;
  }

  #navbar:after {
    left: auto;
    right: 0;
  }
  
  #navbar ul {
    display: block;
  }

  #navbar li {
    float: left;
    display: inline-block;
    position: relative;
  }

  #navbar li:not(:first-of-type):after {
    content: '·';
    display: inline-block;
    height: 64px;
    left: -2px;
    position: absolute;
    top: 0;
    width: 1px;
    z-index: 1;
  }

  #navbar a {
    background: url(../images/navmarker.png) no-repeat left bottom;
    color: #000;
    display: block;
    padding: 0 8px;
    position: relative;
    text-decoration: none;
    z-index: 1;
  }

  #navbar a:hover,
  #navbar li.active a {
    color: #009aa3;
  }

  #navbar li.active a {
    background: url(../images/navmarker.png) no-repeat center bottom;
    z-index: 1;
  }
  
  #mobilenav {
    display: none;
  }
}

@media ( max-width: 1023px ) {
  #navbar {
    background-color: #ececec;
    box-shadow: 0 0 5px rgba( 0, 0, 0, .8 );
    height: 36px;
    line-height: 36px;
    overflow: hidden; 
    position: absolute;
    position: fixed;
    text-transform: uppercase;
    transition: height 0.1s ease;
    top: 0;
    width: 100vw;
    z-index: 1;
  }

  .mobilenavopen #navbar {
    height: 100vh;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;;
  }

  #navbar ul li {
    display: none;
  }

  .mobilenavopen #navbar ul li,
  #navbar ul li.active {
    display: block;
    line-height: 36px;
  }

  #navbar ul li a {
    color: #000;
    display: block;
    padding: 0 10px;
    text-decoration: none;
  }

  .mobilenavopen #navbar ul li.active a {
    color: #009aa3;
  }

  .mobilenavopen #logo,
  .mobilenavopen .hero,
  .mobilenavopen #content,
  .mobilenavopen footer {
    display: none;
  }
  
  #mobilenav {
    cursor: pointer;
    display: block;
    font-size: 18px;
    height: 36px;
    line-height: 36px;
    padding-right: 10px;
    position: fixed;
    right: 0;
    text-align: right;
    top: 0;
    width: 100vw;
  }
  
  .mobilenavopen #mobilenav {
    width: 24px;
  }
  
  .mobilenavopen #mobilenav:before {
    content: '\f00d';
  }
}

#content {
  background: url(../images/pipe.png) repeat-y 74.2% 0;
  display: flex;
  margin: 32px 0 0;
  padding: 12px 0;
}

@media ( max-width: 1023px ) {
  #content {
    background-image: none;
    flex-direction: column;
  }
}

#content a {
  color: #009aa3;
}

#content h2 {
  color: #6e6e6d;
  font-size: 14px;
  font-weight: normal;
  margin-bottom: 12px;
  text-transform: uppercase;
}

#content ul + h2,
#content p + h2 {
  margin-top: 24px;
}

#content h3 {
  color: #6e6e6d;
  font-size: 14px;
  font-weight: normal;
  margin-bottom: 12px;
  text-transform: uppercase;
}

#content p {
  margin-bottom: 12px;
}
  
#content ul {
  list-style-type: none;
  margin-bottom: 12px;
}

#content ul li {
  margin-bottom: 6px;
  padding-left: 12px;
  position: relative;
}

#content ul li:before {
  content: '·';
  left: 0;
  position: absolute;
}

#content .main .gallery {
  left: -64px;
  margin-top: 40px;
  position: relative;
  width: calc( 100% + 66px );
}

@media ( max-width: 1023px ) {
  #content .main .gallery {
    left: -10px;
    width: 100vw;
  }
}

@media ( max-width: 739px ) {
  #content .main .gallery img {
    width: 32vw;
  }
}

@media ( max-width: 680px ) {
  #content .main .gallery img {
    width: 49vw;
  }
}

body.einblicke #content .main .gallery {
  background-color: #ececec;
  margin: 0 0 40px 0;
  padding-top: 5px;
  width: 734px;
}

.main {
  padding: 0 20px 0 64px;
  width: 75%;
  width: 766px;
}

@media ( max-width: 1023px ) {
  .main {
    padding: 0 10px;
  }
}

@media ( max-width: 680px ) {
  .main {
    padding: 0 10px;
    width: auto;
  }
}

.margin {
  padding: 0 20px;
  width: 25%;
  width: 256px;
}

@media ( max-width: 1023px ) {
  .margin {
    padding: 0 10px;
    width: 100%;
  }
  .margin > div {
    float: left;
    width: 50%;
  }
}

@media ( max-width: 680px ) {
  .margin {
    padding: 0 10px;
  }
}

.margin img {
  display: block;
  margin: 0 auto;
}

@media ( max-width: 680px ) {
  .margin img {
    max-width: 40vw;
  }
}

#content .margin .gallery {
  border-top: 1px solid #009aa3;
  padding-top: 12px;
  width: 100%;
}

#content .margin .gallery a {
  display: inline-block;
}

#content .margin .gallery img {
  margin: 0;
}

#content .margin .memberships {
  border-bottom: 1px solid #009aa3;
  border-top: 1px solid #009aa3;
  padding-bottom: 12px;
}

@media ( max-width: 1023px ) {
  #content .margin .memberships {
    float: left;
  }
}

#content .margin .memberships h2 {
  color: #009aa3;
  margin-top: 18px;
}

#content .margin .memberships img {
  margin: 0;
}

#content .margin .memberships a {
  text-decoration: none;
  text-transform: uppercase;
}

#content hr {
  border-top: 1px solid #009aa3;
  max-width: 75%;
  padding-bottom: 12px;
}

#content .claims {
  color: #009aa3;
  font-weight: bold;
}

a.more {
  text-decoration: none;
}

a.more:after {
  content: ' \f178';
  font-family: 'FontAwesome';
}

#content .margin h3 {
  color: #009aa3;
}

footer {
  background-color: #ececec;
  border-top: 1px solid #009aa3;
  height: 95px;
  line-height: 95px;
  text-align: center;
  width: 74.2%;
  width: 737px;
}

footer a {
  color: #009aa3;
  text-decoration: none;
}

@media ( max-width: 1023px ) {
  footer {
    line-height: 24px;
    padding: 24px 0;
    width: 100%;
  }
  footer span.dot {
    display: none;
  }
  footer span {
    display: block;
  }
}

body .featherlight .featherlight-content {
/*  border: 5px solid #fff;*/
  overflow: visible;
/*  padding: 0;*/
  position: relative;
}

body .featherlight .featherlight-content .featherlight-next,
body .featherlight .featherlight-content .featherlight-previous {
  background: rgba( 255, 255, 255, .5 );
  background: rgba( 0, 0, 0, .5 );
/*  border: 1px solid rgba( 0, 0, 0, .5 );*/
/*  border: 1px solid rgba( 255, 255, 255, 1 );*/
/*  border: 1px solid rgba( 0, 0, 0, .75 );*/
  border-radius: 50px;
  color: #fff;
  display: inline-block;
  height: 50px;
  left: -60px;
  position: absolute;
  top: 45%;
  width: 50px;
}

body .featherlight .featherlight-content .featherlight-next {
  left: auto;
  right: -60px;
}

@media ( max-width: 1090px ) {
  body .featherlight .featherlight-content .featherlight-next {
    right: 10px;
  }
  body .featherlight .featherlight-content .featherlight-previous {
    left: 10px;
  }
}

body .featherlight .featherlight-content .featherlight-next span,
body .featherlight .featherlight-content .featherlight-previous span {
  display: inline-block;
  font-size: 24px;
  font-weight: bold;
  line-height: 25px;
  text-shadow: none;
  margin-top: -15px;
}

body .featherlight .featherlight-close-icon {
  border-radius: 25px;
  color: #fff;
  display: none;
  height: 25px;
  position: absolute;
  right: -30px;
  top: -30px;
  width: 25px;
}

.toggles p:nth-of-type(2n - 1) {
  color: #009aa3;
  cursor: pointer;
}

.toggles p:nth-of-type(2n) {
  display: none;
}

.toggles p.clicked + p {
  display: block;
}




