* {
  box-sizing: border-box;
}
body {
  margin: 0px;
}
img,
video {
  width: 100%;
  background-color: transparent;
}
body,
input {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.4;
}
a {
  color: #000;
}
b {
  font-weight: 400;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 300;
  margin: 0px;
}
h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
  color: #000;
  text-decoration: none;
}
h1 {
  font-size: 7vw;
  line-height: 1em;
  text-transform: uppercase;
}
h2 {
  font-size: 3vw;
  line-height: 1em;
  text-transform: uppercase;
}
h3 {
  font-size: 30px;
  margin-bottom: 30px;
}
h4 {
  font-size: 18px;
}
h5 {
  font-size: 16px;
}
h6 {
  font-size: 14px;
}
input {
  border: 1px solid #000;
  background-color: transparent;
  padding: 5px 10px;
  transition: color 0.2s, background-color 0.2s;
  cursor: pointer;
}
input[type="submit"]:hover {
  background-color: #000;
  color: #fff;
}
input[type="text"] {
  width: 120px;
}
@media only screen and (max-width: 1023px) {
  h1 {
    font-size: 11vw;
  }
  h2 {
    font-size: 4.7vw;
  }
}
section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
section.full_width {
  max-width: 100%;
  padding: 0px;
}
section.header_slide,
section.contact_slide {
  height: 90vh;
  display: flex;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}
section.contact_slide {
  height: 70vh;
}
section.contact_slide h2,
section.contact_slide h3 {
  text-transform: uppercase;
  margin: 0px;
}
section.contact_slide .btns a {
  margin: 0 auto;
}
section.login {
  height: 100vh;
  text-align: center;
  display: table;
}
section.login form {
  display: table-cell;
  vertical-align: middle;
}
section.login input {
  display: inline-block;
}
.left,
.right {
  display: inline-block;
  width: 50%;
  vertical-align: top;
}
.left {
  padding-right: 20px;
}
.right {
  padding-left: 20px;
}
.lead {
  margin-top: 9px;
}
.lead p {
  text-align: center;
  margin-top: 5px;
}
.btns {
  position: relative;
  text-align: left;
  display: inline-block;
}
.btn {
  padding: 0.1em 0 0.14em;
  color: #000;
  white-space: nowrap;
  overflow: hidden;
  text-decoration: none;
}
.btn::after {
  content: "\00a0";
  margin-left: 0.2em;
}
.btn::before {
  content: "\00a0";
  margin-right: 0.2em;
}
.btn.hover {
  position: absolute;
  top: -0.1em;
  left: 0px;
  background-color: #000;
  color: #fff;
  max-width: 0%;
  transition: max-width 0.4s;
}
.btns:hover .btn.hover {
  max-width: 100%;
}
@media only screen and (max-width: 1023px) {
  .left,
  .right {
    width: 100%;
    padding: 0 20px;
  }
  .lead {
    margin-bottom: 60px;
  }
}
.grid_teaser {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  grid-auto-rows: min-content;
  font-size: 0px;
  grid-template-areas: "g-1 g-2 g-4" "g-1 g-3 g-4";
  margin-bottom: 35vh;
}
.grid_teaser .g-1 {
  grid-area: g-1;
}
.grid_teaser .g-2 {
  grid-area: g-2;
}
.grid_teaser .g-3 {
  grid-area: g-3;
}
.grid_teaser .g-4 {
  grid-area: g-4;
}
.grid_teaser .teaser:first-child .teaser_img,
.grid_teaser .teaser:nth-child(4) .teaser_img {
  padding-top: 112%;
}
.grid_teaser .teaser .teaser_img {
  padding-top: 50%;
  position: relative;
  overflow: hidden;
  background-color: #eee;
  background-size: cover;
  background-position: center center;
}
body.noscroll {
  overflow: hidden;
}
.overlay {
  position: fixed;
  z-index: 50;
  background-color: #fff;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  display: none;
  font-size: 16px;
}
.overlay .inner {
  width: 100%;
  height: 100%;
  margin-left: auto;
  overflow-y: scroll;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  position: relative;
}
.overlay .inner .desc {
  display: table;
  position: fixed;
  top: 0px;
  width: 33%;
  height: 100vh;
  vertical-align: top;
  font-size: 16px;
}
.overlay .inner .desc .inner {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  overflow: hidden;
}
.overlay .inner .desc .inner .content {
  display: inline-block;
  text-align: left;
  width: 260px;
}
.overlay .inner .desc div {
  margin-top: 0.5em;
}
.overlay .inner .imgs {
  display: inline-block;
  width: 67%;
  margin-left: 33%;
  padding: 20px;
}
.overlay .inner .imgs p {
  margin-top: -20px;
  margin-bottom: 20px;
}
.overlay .inner img,
.overlay .inner video {
  margin-bottom: 20px;
}
.overlay .inner h2 {
  font-size: 32px;
  line-height: 32px;
  margin: 1em 0;
}
.overlay .inner b {
  display: block;
}
.overlay .inner a.btn_back {
  color: #000;
  text-decoration: none;
  position: absolute;
  margin-top: -29px;
  padding: 3px 6px 4px;
  width: 187px;
  white-space: nowrap;
  overflow: hidden;
  transition: width 0.2s;
}
.overlay .inner a.btn_back.hover {
  color: #fff;
  background-color: #000;
  width: 0px;
}
.overlay .inner .btns_back:hover a.btn_back.hover {
  width: 187px;
}
@media only screen and (max-width: 1023px) {
  .overlay .inner .desc {
    position: static;
    display: block;
    width: 100%;
    height: auto;
    margin: 20px;
  }
  .overlay .inner .desc .content {
    width: 100%;
    margin-bottom: 20px;
  }
  .overlay .inner .imgs {
    width: 100%;
    margin-left: 0;
  }
  .grid_teaser {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "g-1 g-4" "g-2 g-2" "g-3 g-3";
  }
}
body.noscroll {
  overflow: hidden;
}
.timeline {
  margin-bottom: 30px;
}
.timeline .skill.act .btn.hover,
.timeline .skill:hover .btn.hover {
  max-width: 100%;
}
.timeline h5,
.timeline h6 {
  margin-bottom: 0px;
}
.timeline .skill {
  margin-bottom: 5px;
}
.timeline .skills_slider {
  display: none;
  position: relative;
  padding: 20px 0 40px;
  transition: width 0.2s 0.3s;
  background-color: #efefef;
  margin: 10px 0 20px -20px;
  width: calc(100% + 60px);
  padding: 0 40px 0 20px;
  overflow: hidden;
}
.timeline .skill_group {
  position: relative;
  margin: 15px 0;
}
.timeline .summary {
  font-size: 12px;
  text-align: right;
}
.timeline .skill_headline {
  cursor: pointer;
  position: relative;
  height: 40px;
}
.timeline .skill_headline .skill_total {
  position: absolute;
  width: 100%;
  height: 14px;
  padding-left: 170px;
  top: 6px;
}
.timeline .skill_headline .skill_total .skill_total_bg {
  position: relative;
  background-color: #ccc;
  width: 100%;
  height: 100%;
}
.timeline h5,
.timeline h6 {
  line-height: 1.1em;
}
.timeline .years {
  font-size: 10px;
  top: 10px;
  background-color: transparent !important;
}
.timeline .years span {
  white-space: nowrap;
  display: inline-block;
}
.timeline .years span:nth-child(even) {
  opacity: 0;
}
.timeline .headlines,
.timeline h4 {
  display: inline-block;
  width: 150px;
  text-align: right;
}
.timeline .element_bg,
.timeline .years {
  display: inline-block;
  background-color: #ccc;
  width: calc(100% - 170px);
  height: 13px;
  position: absolute;
  left: 170px;
  top: 7px;
}
.timeline .element_bg.has_subline {
  top: 10px;
}
.timeline .years {
  top: 15px;
  position: relative;
  margin-bottom: 14px;
}
.timeline .element {
  display: block;
  position: absolute;
  background-color: #000;
  height: 100%;
  transition: left 0.2s;
}
.timeline .attachments {
  min-height: 1px;
  margin-left: 170px;
  margin-bottom: 20px;
  margin-top: -10px;
}
.timeline .attachment {
  display: inline-block;
  width: 130px;
  margin-top: 10px;
  color: #000;
  text-decoration: none;
}
.timeline .attachment img {
  width: 20px;
  float: left;
  margin-right: 5px;
  margin-top: 3px;
}
@media only screen and (max-width: 1023px) {
  .timeline .skills_slider {
    width: calc(100% + 40px);
    padding: 0 20px 0 20px;
  }
}
@media only screen and (max-width: 500px) {
  .timeline .years span {
    opacity: 0;
  }
  .timeline .years span:first-child,
  .timeline .years span:nth-last-child(2) {
    opacity: 1;
  }
}
