body {
  margin: 0;
  background-color: #f6f6f6;
  font-family: 'Open Sans', sans-serif;
}

a:link,
a:visited {
  color: #ffffff;
  text-decoration: none;
}


/*
 * Navigation
 */

#global-nav,
.height-fix {
  height: 58px;
}

#global-nav {
  background-color: #6f6f6f;
  overflow: hidden;
  position: fixed;
  top: 0;
  z-index: 10;
}

#global-nav .row {
  height: 100%;
}

#global-nav .mobile-menu {
  height: 100%;
}

#global-nav .logo,
#global-nav ul,
#global-nav .mobile-wrap {
  display: flex;
  align-items: center;
  height: 100%;
  margin: 0;
  padding: 0;
}

#global-nav ul {
  list-style: none;
}

#global-nav .logo img {
  margin-top: -10px;
  max-height: 20px;
}

#global-nav li {
  display: inline;
  padding: 0 10px;
}

#global-nav ul.menu li {
  font-weight: 600;
  height: 100%;
}

#global-nav ul.menu a {
  display: block;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

#global-nav ul.menu li:hover,
#global-nav ul.menu li.current {
  background-color: #7f7f7f;
}

#global-nav ul.language {
  justify-content: flex-end;
}

#global-nav ul.language li {
  padding: 0;
  font-weight: 400;
  text-transform: uppercase;
}

#global-nav ul.language li:not(:last-child):after {
  content: '|';
  margin: 0 5px;
  color: white;
}

#global-nav ul.language li.active {
  font-weight: 700;
}

/*
 * Global Nav --Hamburger--
 */

#global-nav .mobile-wrap .hamburger-icon,
#global-nav .mobile-wrap input {
  position: absolute;
  top: 17px;
  right: 0px;
  height: 54px;
  width: 100px;
  display: none;
}

#global-nav .mobile-wrap input {
  z-index: 15;
  opacity: 0;
}

#global-nav .mobile-wrap .hamburger-icon {
  pointer-events: none;
}

#global-nav .mobile-wrap .hamburger-icon span,
#global-nav .mobile-wrap .hamburger-icon span:after,
#global-nav .mobile-wrap .hamburger-icon span:before {
  width: 40px;
  height: 3px;
  background-color: #ffffff;
  display: block;
  border-radius: 10px;
  position: absolute;
  content: '';
  opacity: 1;
  transform-origin: top right;
  transition: 0.2s all ease-in-out;
  z-index: 10;
}

#global-nav .mobile-wrap .hamburger-icon span {
  position: relative;
  top: calc(50% - 17px);
  left: calc(50% - 25px);
}

#global-nav .mobile-wrap .hamburger-icon span:before {
  top: 10px;
}

#global-nav .mobile-wrap .hamburger-icon span:after {
  top: 20px;
}

#global-nav .mobile-wrap input:checked ~ .hamburger-icon span:before {
  opacity: 0;
}

#global-nav .mobile-wrap input:checked ~ .hamburger-icon span {
  transform: rotateZ(-45deg);
}

#global-nav .mobile-wrap input:checked ~ .hamburger-icon span:after {
  transform: translateX(-19px) translateY(1px) rotateZ(90deg);
}

/*
 * Promo (global style for headers and promo)
 */

.promo {
  padding: 150px 0;
  text-align: left;
  color: #969696;
  background-color: #ffffff;
  position: relative;
  z-index: 0;
}

.promo .row {
  display: flex;
  align-items: center;
  justify-content: center;
}

.promo .headline {
  font-size: 42pt;
  font-weight: 600;
  text-align: left;
}

.promo .description p {
  padding-top: 45px;
  white-space: pre-line;
  line-height: 2;
}

.promo-alt {
  padding: 70px 0;
}

.promo-alt .headline {
  text-align: center;
}


/*
 * Footer
 */

footer {
  width: 100%;
  color: #888;
  background-color: #fff;
  font-weight: 300;
  padding: 25px 0 15px 0;
  position: relative;
  bottom: 0;
}

footer.absolute {
  position: absolute;
  bottom: 0;
  background: none;
}

footer .development {
  text-align: right;
}

footer a:link,
footer a:visited {
  transition: 0.2s opacity ease-in-out;
  color: #888;
}

footer a:hover {
  opacity: 0.6;
}

@media screen and (max-width: 1199px) {
  #global-nav ul.language {
    margin-right: 10px;
  }
}

@media screen and (max-width: 767px) {

  .promo {
    padding: 70px 0;
  }

  .promo .headline {
    font-size: 32pt;
  }

  #global-nav,
  .height-fix {
    height: 80px;
  }

  #global-nav .mobile-menu {
    position: fixed;
    top: 80px;
    right: 0;
    height: 100vh;
    width: 80%;
    background-color: #6f6f6f;
    text-align: right;

    transition: 0.2s transform ease-in-out;
  }

  #global-nav .mobile-menu .row {
    height: initial;
  }

  #global-nav .mobile-menu ul {
    justify-content: flex-end;
    margin-right: 27px;
    display: block;
    height: initial;
  }

  #global-nav .mobile-menu ul.menu {
    padding: 70px 0;
    font-size: 24pt;
    display: block;
  }

  #global-nav .mobile-menu ul.menu li {
    display: block;
    margin: 10px 0;
  }
  
  #global-nav ul.menu li:hover {
    background: none;
  }

  #global-nav .mobile-menu ul.menu a {
    display: inline;
  }

  #global-nav .mobile-menu ul.social svg {
    transform-origin: top right;
    transform: scale(2);
    margin-left: 27px;
  }

  #global-nav .mobile-menu ul.language {
    margin-top: 35px;
    margin-right: 35px;
    font-size: 16pt;
  }

  #global-nav .mobile-wrap .hamburger-icon,
  #global-nav .mobile-wrap input {
    display: block;
  }

  #global-nav input:not(:checked) ~ .mobile-menu {
    transform: translateX(100%);
  }

  .promo-alt {
    padding: 40px 0;
  }

  footer {
    text-align: center;
  }

  footer .development {
    display: block;
    text-align: center;
  }

}
