/*! HTML5 Boilerplate v6.1.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */


html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */

.app {
  animation: fadein 0.6s;
}

@keyframes fadein {
  from {
  	opacity: 0;
  }
  to {
  	opacity: 1;
  }
}


/*
Breakpoints:    0 - 768 | 769 - 896 | 897 - 1024 | 1025 - ...
-------------------------------------------------------------
Burger-Navi:      x     :     x     :            :
Fixed-Navi:             :           :      x     :      x
Fontsize sm:      x     :           :            :
Fontsize md:            :     x     :      x     :
Fontsize lg:            :           :            :      x
-------------------------------------------------------------
*/

/*
    Globals
 */
/* Font smoothing: https://gist.github.com/hsleonis/55712b0eafc9b25f1944 */
html {
  /* Adjust font size */
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  /* Font varient */
/*
  font-variant-ligatures: none;
  -webkit-font-variant-ligatures: none;
*/
  /* Smoothing */
  text-rendering: optimizeLegibility;
  -moz-osx-font-smoothing: grayscale;
  font-smoothing: antialiased;
  -webkit-font-smoothing: antialiased;
  text-shadow: rgba(0, 0, 0, .01) 0 0 1px;
}

/* Force Scrollbar Hack */
html {
  overflow-y: scroll;
}

body {
  font-family: 'Noyh', sans-serif;
  font-weight: 400;
  font-size: 1em;
  line-height: 1.3;
  color: #fff;
  background: #000;
}
a {
  color: #fff;
  text-decoration: none;
}
h1, h2, h3, h4, h5, h6, p, b, strong { font-weight: 400; margin: 0; padding: 0;}

/* Fontsizes */
.nav                      { font-size: calc( 24rem / 16 ); font-weight: 400; }
.hero__title,
.page-title,
.profile .hero__button    { font-size: calc( 35rem / 16 ); font-weight: 700; }
.hero__slide .tagline     { font-size: calc( 35rem / 16 ); font-weight: 400; }
.profile .page-title      { font-size: calc( 42rem / 16 ); font-weight: 700; }
.branch__title            { font-size: calc( 28rem / 16 ); }
.hero__slide .hero__subtitle,
.teaser__title            { font-size: calc( 26rem / 16 ); }
.imprint .page-title,
.imprint .content h2      { font-size: calc( 26rem / 16 ); font-weight: 700;}
.director__title          { font-size: calc( 26rem / 16 ); }
.sub-list__title          { font-size: calc( 26rem / 16 ); font-weight: 700; }.teaser__subtitle,
.hero__slide .teaser__subtitle        { font-size: calc( 16rem / 16 ); }
.studios-info,
.hero__content            { font-size: calc( 19rem / 16 ); font-weight: 300;}
.hero__slide p            { font-size: calc( 19rem / 16 ); font-weight: 400;}
.hero__slide .subline     { font-size: calc( 24rem / 16 ); font-weight: 400;}
.studios                  { font-size: calc( 24rem / 16 ); }
.imprint .content         { font-size: calc( 19rem / 16 ); font-weight: 300;}
.imprint .content h3,
.imprint .content h4,
.branch__body             { font-size: calc( 19rem / 16 ); }
.director-hero,
.service .hero__content,
.profile-footer           { font-size: calc( 19rem / 16 ); }
.branch__staff            { font-size: calc( 16rem / 16 ); font-weight: 300; }
.branch__staff strong     { font-weight: 700; }
.submit__legal-info       { font-size: calc( 14rem / 16 ); font-weight: 300; }
.signup label             { font-size: calc( 28rem / 16 ); }
.signup__input            { font-size: calc( 20rem / 16 ); font-weight: 300; }
.button                   { font-size: calc( 16rem / 16 ); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; }
.overlay__info,
.fancybox-caption__body   { font-size: calc( 20rem / 16 ); }
.overlay__close           { font-size: calc( 28rem / 16 ); }
.branch__direction        { font-size: calc( 16rem / 16 ); font-weight: 700; text-transform: uppercase; letter-spacing: 2px;}
.service .hero__content,
.contact .branch__body    { line-height: 1.25; }
.hero__slide p            { line-height: 1; }
.branch__title,
.signup__label,
.imprint .content h3,
.imprint .content h4,
.imprint .content strong  { font-weight: 700;}
.hero__content p,
.imprint .content p       { font-weight: 300;}
p.branch__direction       { font-weight: 700;}

@media only screen and (min-width: 768px) {
.nav                      { font-size: calc( 36rem / 16 ); }
}

@media only screen and (min-width: 769px) {

.hero__title,
.page-title,
.profile .hero__button,
.hero__slide .tagline     { font-size: calc( 40rem / 16 ); }
.profile .page-title      { font-size: calc( 54rem / 16 ); }
.branch__title            { font-size: calc( 28rem / 16 ); }
.hero__slide .hero__subtitle,
.teaser__title,
.imprint .page-title,
.imprint .content h2      { font-size: calc( 26rem / 16 ); }
.director__title,
.sub-list__title          { font-size: calc( 26rem / 16 ); }
.teaser__subtitle,
.hero__slide .teaser__subtitle         { font-size: calc( 17rem / 16 ); }
.studios-info,
.hero__content            { font-size: calc( 19rem / 16 ); }
.studios                  { font-size: calc( 24rem / 16 ); }
.imprint .content,
.imprint .content h3,
.imprint .content h4,
.branch__body             { font-size: calc( 19rem / 16 ); }
.director-hero,
.service .hero__content,
.hero__slide p,
.profile-footer           { font-size: calc( 22rem / 16 ); }
.hero__slide .subline     { font-size: calc( 26rem / 16 ); }
.branch__staff            { font-size: calc( 18rem / 16 ); }
.submit__legal-info       { font-size: calc( 16rem / 16 ); }
.signup label             { font-size: calc( 32rem / 16 ); }
.signup__input            { font-size: calc( 22rem / 16 ); }
.button                   { font-size: calc( 17rem / 16 ); }
.overlay__info,
.fancybox-caption__body   { font-size: calc( 20rem / 16 ); }
.overlay__close           { font-size: calc( 28rem / 16 ); }
.branch__direction        { font-size: calc( 18rem / 16 ); }

}

@media only screen and (min-width: 1025px) {

.nav                      { font-size: calc( 24rem / 16 ); }
.hero__title,
.page-title,
.profile .hero__button,
.hero__slide .tagline     { font-size: calc( 54rem / 16 ); }
.profile .page-title      { font-size: calc( 68rem / 16 ); }
.branch__title            { font-size: calc( 32rem / 16 ); }
.hero__slide .hero__subtitle,
.teaser__title,
.imprint .page-title,
.imprint .content h2      { font-size: calc( 32rem / 16 ); }
.teaser__subtitle,
.hero__slide .teaser__subtitle         { font-size: calc( 22rem / 16 ); }
.hero__content            { font-size: calc( 24rem / 16 ); }
.imprint .content,
.imprint .content h3,
.imprint .content h4      { font-size: calc( 24rem / 16 ); }
.branch__body             { font-size: calc( 20rem / 16 ); }
.service .hero__content,
.hero__slide p,
.director-hero,
.profile-footer           { font-size: calc( 28rem / 16 ); }
.hero__slide .subline     { font-size: calc( 32rem / 16 ); }
.branch__staff            { font-size: calc( 18rem / 16 ); }
.submit__legal-info       { font-size: calc( 16rem / 16 ); }
.signup label             { font-size: calc( 32rem / 16 ); }
.signup__input            { font-size: calc( 24rem / 16 ); }
.button                   { font-size: calc( 22rem / 16 ); }
.overlay__info,
.fancybox-caption__body   { font-size: calc( 24rem / 16 ); }
.overlay__close           { font-size: calc( 36rem / 16 ); }
.branch__direction        { font-size: calc( 20rem / 16 ); }

}

@media only screen and (min-width: 1281px) {

.director__title,
.sub-list__title          { font-size: calc( 24rem / 16 ); }
.studios-info,
.studios                  { font-size: calc( 28rem / 16 ); }

}

/*
    Header
 */
.header {
  text-align: center;
}
.logo {
  position: fixed;
  top: 30px;
  left: 20px;
  z-index: 5;
  width: 212px;
  height: 17px;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
  background: url(../img/TM_Logo_white.svg) no-repeat 50% 50%;
  background-size: contain;
}
/* responsive menu */
.header input {
  opacity: 0;
  position: absolute;
  z-index: -1;
}
.nav-trigger {
  position: fixed;
  top: 18px;
  right: 12px;
  z-index: 5;
  display:flex;
  justify-content:center;
  align-items:center;
  width: 40px;
  height: 40px;
  cursor: pointer;
}
.nav-icon,
.nav-icon::before,
.nav-icon::after {
  position: relative;
  display: block;
  width: 23px;
  height: 2px;
  background: #fff;
  transition: all 0.2s ease-in-out;
}
.nav-icon::before,
.nav-icon::after {
  position: absolute;
  left: 0;
  content: '';
}
.nav-icon::before {
  top: -7px;
  width: 19px;
}
.nav-icon::after {
  bottom: -7px;
  width: 14px;
}
.nav-trigger:hover .nav-icon::before,
.nav-trigger:hover .nav-icon::after {
  width: 23px;
}
.nav-overlay {
  transition: all 0.2s ease-in-out;
}
.header input[type=checkbox]:checked ~ .logo {
  background-image: url(../img/TM_Logo_black.svg);
}
.header input[type=checkbox]:checked ~ .nav-trigger .nav-icon {
  background: transparent;
}
.header input[type=checkbox]:checked ~ .nav-trigger .nav-icon:before {
  top: 0;
  width: 23px;
  transform: rotate(-45deg);
}
.header input[type=checkbox]:checked ~ .nav-trigger .nav-icon:after {
  bottom: 0;
  width: 23px;
  transform: rotate(45deg);
}
.header input[type=checkbox]:checked ~ .nav-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  height: 100vh;
  width: 100vw;
  background: #fff;
}
.header input[type=checkbox]:checked ~ .nav a {
  color: #000;
}
.header input[type=checkbox]:checked ~ .nav-trigger .nav-icon::before,
.header input[type=checkbox]:checked ~ .nav-trigger .nav-icon::after {
  background-color: #000;
}
.header input[type=checkbox]:checked ~ .nav {
  z-index: 4;
  opacity: 1;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: -1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  opacity: 0;
  text-align: center;
  min-height: 360px;
}
.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav li {
  padding: 0 25px;
  margin-bottom: 0.25rem;
}
.nav ul:first-child li:last-child {
  font-size: 1.125rem;
}
.nav a {
  line-height: 30px;
  white-space: nowrap;
}
/* Sociallinks */
.nav .sociallinks {
  margin-top: 0.5rem;
}
.sociallinks li {
  display: inline-block;
  padding: 0 6px;
}

/* Pagetitle */
.page-title {
  position: fixed;
  top: 21vh;
  left: 50%;
  z-index: 2;
  transform: translateX(-50%);
  text-align: center;
}
.page-title span {
  display: block;
  white-space: nowrap;
}

@media only screen and (min-height: 340px) {
  .nav li {
    margin-bottom: 0.5rem;
  }
}
@media only screen and (min-height: 500px) {
  .nav li {
    margin-bottom: 1rem;
  }
  .nav ul:first-child li:last-child {
    position: absolute;
    bottom: 42px;
    left: 50%;
    transform: translateX(-50%);
  }
}

@media only screen and (min-width: 768px) {
  .nav ul:first-child li:last-child {
    font-size: 1.6875rem;
  }
}

@media only screen and (min-width: 1025px) and (hover: hover) and (pointer: fine) {

  .logo {
    top: 55px;
    left: 50%;
    width: 300px;
    height: 24px;
    transform: translateX(-50%);
  }
  .nav-trigger {
    display: none;
  }
  .nav {
    top: auto;
    left: 50%;
    bottom: 30px;
    z-index: 5;
    display: block;
    width: 100%;
    opacity: 1;
    transform: translateX(-50%);
    min-height: auto;
  }
  .nav li {
    display: inline-block;
    margin-bottom: 0;
    padding: 0 15px;
  }
  .nav ul:first-child li:last-child {
    position: static;
    transform: none;
    font-size: inherit;
  }
  .nav .sociallinks {
    position: absolute;
    bottom: -8px;
    right: 36px;
    display: flex;
    flex-direction: column;
    margin-top: 0;
    transition: bottom 150ms ease;
  }
  .scrolled .sociallinks {
    bottom: 50px;
  }
  .sociallinks li {
    padding: 6px;
  }

  .page-title {
    top: 23vh;
  }

}
@media only screen and (min-width: 1201px) and (hover: hover) and (pointer: fine) {

  .nav li {
    padding: 0 25px;
  }
  .sociallinks li {
    padding: 6px;
  }

}

@media only screen and (min-width: 1430px) and (hover: hover) and (pointer: fine) {

  .nav .sociallinks {
    position: absolute;
    right: 100px;
    bottom: -8px;
    display: inline-block;
    margin-top: 0;
  }

}

/*
    Hero
 */

.hero {
  width: 100%;
  height: 100vh;
  text-align: center;
}
.hero .vertical,
.hero .center-vertical {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}
.hero-top,
.hero-bottom {
  box-sizing: border-box;
  flex-basis: 90px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 25px;
}
/* .hero-top {
  flex-basis: 180px;
} */
.hero__play {
  flex: 0 0 auto;
}
.hero-bottom {
  padding-bottom: 0;
}

.hero__content {
  padding-top: 32.53vh;
  text-align: left;
}

.hero__slide .teaser__subtitle {
  margin-top: 10px;
}

.hero__img {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  opacity: .8;
}

/* Slider */
.hero__slide {
  position: relative;
  width: 100%;
  height: 100vh;
  background: #000;
}
.tns-controls button {
  position: absolute;
  top: 50%;
  left: 0%;
  z-index: 1;
  background: transparent;
  border: none;
  color: transparent;
  font-size: 0;
}
.tns-controls button:focus {
  outline: none;
}
.tns-controls button[data-controls="next"] {
  left: auto;
  right: 0%;
}
.tns-controls button::before {
  content: '';
  display: block;
  width: 40px;
  height: 40px;
  padding: 0;
  content: '';
  background: url(../img/icons/icon_arrow.svg) no-repeat 50% 50%;
  background-size: contain;
  transform: translateY(-50%) rotate(180deg);
}
.tns-controls button[data-controls="next"]::before {
  transform: translateY(-50%) rotate(0deg);
}
.tns-controls button[disabled] {
  display: none;
}

.tns-nav {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
}
.tns-nav button {
  width: 10px;
  height: 10px;
  margin: 0 5px;
  padding: 0;
  background: #fff;
  border: none;
  border-radius: 50%;
  opacity: 0.5;
}
.tns-nav button.tns-nav-active {
  opacity: 1;
}
.tns-outer button[data-action] {
  position: absolute;
  z-index: -2;
  opacity: 0;
}

.slide__content {
  width: 75%;
  max-width: 1180px;
}

.slide__content > p  {
  max-width: 600px;
  margin: 0 auto;
  padding: 0;
}
.slide__content .row {
  margin-top: 20px;
  margin-bottom: 20px;
  padding-bottom: 0;
  text-align: left;
  padding-left: 0;
  padding-right: 0;
}
.slide__content .subline {
  margin-bottom: 30px;
}

@media only screen and (min-height: 500px) {
  .hero-top,
  .hero-bottom {
    box-sizing: border-box;
    flex-basis: 166px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 38px;
  }
  .hero-bottom {
    padding-bottom: 38px;
  }
}
@media only screen and (min-width: 769px) {

  .hero-top {
    flex-basis: 240px;
    padding-bottom: 30px;
  }
  .hero-bottom {
    flex-basis: 170px;
    padding-bottom: 60px;
  }

  .hero__content {
    height: 35.5vh;
    padding-top: 36.16vh;
  }


  .tns-controls button {
    left: 5%;
  }
  .tns-controls button[data-controls="next"] {
    right: 5%;
  }
  .slide__content > p  {
    padding: 0 20px;
  }
}

@media only screen and (min-width: 769px) and (min-height: 500px) {

  .hero-top {
    flex-basis: 170px;
    padding-bottom: 40px;
  }
  .tns-nav {
    bottom: 80px;
  }


}
@media only screen and (min-width: 1024px) {
  .slide__content > p {
    max-width: 1180px;
    padding: 0 65px;
  }
  .slide__content .row {
    margin-top: 50px;
    margin-bottom: 40px;
  }
  .slide__content .subline {
    margin-bottom: 60px;
  }
}

@media only screen and (min-width: 1025px) {

  .hero-top,
  .hero-bottom {
    flex-basis: 266px;
    padding-bottom: 52px;
  }
  .hero-bottom {
    padding-bottom: 92px;
  }
  .home .hero-bottom {
    visibility: hidden;
  }

}

/*
    Teaser List + Item
 */

.teaser-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  background: #000;
}

.teaser {
  position: relative;
  overflow: hidden;
}

.teaser__link {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;

  color: #fff;
  text-decoration: none;
}

.teaser-list .teaser__title,
.teaser-list .teaser__subtitle {
  opacity: 0;
  transition: ease-in-out 150ms opacity;
}
.teaser-list .teaser__link:hover .teaser__title,
.teaser-list .teaser__link:hover .teaser__subtitle { opacity: 1; }


.teaser__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  transition: ease-in-out 250ms all;
}
.teaser__link:hover + img {
  /* opacity: 1; */
  transform: scale(1.05);
}

/* show teaser title/subtitle on pointer smartphones, touchscreens */
@media (hover: none) and (pointer: coarse) {
  .teaser-list .teaser__title,
  .teaser-list .teaser__subtitle {
    opacity: 1;
  }
}

/* Potographer Website URL Teaser */
.teaser-url {
  width: 100%;
  padding-top: 70%;
}
.masonry.has-3-columns .teaser-url {
  padding-top: 42%;
}
.masonry.has-4-columns .teaser-url {
  padding-top: 35%;
}
.teaser-url::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  content: '';
  background-color: #fff;
  opacity: 0;
  transition: ease-in-out 250ms all;
}
.teaser-url .teaser__title {
  opacity: 1;
  transition: ease-in-out 250ms all;
}
.teaser-url:hover::before { opacity: 1; }
.teaser-url .teaser__link:hover .teaser__title { color: #000; }


@media only screen and (min-width: 768px) {

  .teaser-list__item {
    flex: 0 0 50%;
  }

  /* Masonry Galley for Photographers */
  .masonry.has-2-columns .teaser-list__item {
    flex: 0 0 50%;
    width: 50%;
  }
  .masonry.has-3-columns .teaser-list__item {
    flex: 0 0 33.3333%;
    width: 33.3333%;
  }
  .masonry.has-4-columns .teaser-list__item {
    flex: 0 0 25%;
    width: 25%;
  }


}

@media only screen and (min-width: 1025px) {

  .work .teaser-list__item:nth-child(n+13) {
    flex-basis: 25%;
  }
  .work .teaser-list__item:nth-child(n+13) .teaser__title {
    font-size: calc( 26rem / 16 );
  }
  .work .teaser-list__item:nth-child(n+13) .teaser__subtitle {
    font-size: calc( 16rem / 16 );
  }

  /* Masonry Galley for Photographers */
  .teaser-list.masonry {
    padding-bottom: 90px;
  }

}
/* Photographers: teaserlist overlay */
.photographers-profile {
  position: relative;
}
.photographers-profile .hero {
  position: relative;
}

.teaser-list__overlay {
  display: none;
  position: absolute;
  left: 0;
  bottom: 0px;
  z-index: 1;
  width: 100%;
  height: 0;
  background: rgba(0,0,0,1);
}

@media only screen and (min-width: 768px) {
  .teaser-list__overlay {
    display: block;
  }
}
@media only screen and (min-width: 1025px) {
  .teaser-list__overlay {
    bottom: 90px;
  }
}

/*
    Directors List + Item
 */

.director-hero {
  box-sizing: border-box;
  padding-top: 32vh;
  text-align: center;
}
.studios {
  list-style: none;
  margin: 0;
  padding: 62px 20px 40px;
}
.studios li {
  display: inline-block;
  margin: 2px 10px;
}
/* temporary hide studios menu */
.studios { padding-bottom: 0!important;}
.studios li {display: none;}

.director-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  background: #000;
  width: 100%;
}
.director {
  box-sizing: border-box;
  position: relative;
}
.director__title {
  white-space: nowrap;
}
.director__link {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  color: #fff;
  text-decoration: none;
}

.director__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  transition: ease-in-out 150ms opacity;
}
.director__link:hover + img {
  opacity: 1;
}

@media only screen and (min-width: 768px) {
  .director-hero {
    height: 50vh;
  }
  .sub-list {
    display: flex;
    flex-wrap: wrap;
  }
  .sub-list__title {
    flex-basis: 100%;
  }
  .director,
  .sub-list .director {
    flex-basis: 50%;
  }
}
@media only screen and (min-width: 768px) and (max-height: 530px) {
  .studios {
    padding-top: 25px;
  }
}
@media only screen and (min-width: 1024px) {

  .directors .page-title a {
    cursor: text;
  }
  .director-hero {
    height: auto;
    padding-top: 29vh;
    padding-top: 24vh;
  }
  .studios {
    padding-top: 74px;
  }
  .director-list {
    flex-direction: column;
    align-content: center;
    height: 450px;
    max-width: 93.75%;
    margin: 0 auto;
    background: transparent;
  }
  .director-list-sub {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
  }
  #academy-films {
    height: 240px;
  }
  #believe-media {
    height: 120px;
  }
  #diktator {
    height: 210px;
  }
  #reset {
    height: 180px;
  }
  #smuggler {
    height: 280px;
  }

  .sub-list {
    position: relative;
    flex: 0 1 auto;
    flex-wrap: wrap;
    width: 25%;
    display: flex;
    flex-direction: column;
    padding-top: 59px;
  }
  .sub-list.diktator {
    width: 50%;
    height: 160px;
  }
  .sub-list__title {
    position: absolute;
    top: 0;
    padding: 0 10px;
    text-align: left;
  }

  .director {
    flex-basis: auto;
    padding: 0 10px;
    width: 25%;
  }
  .sub-list .director {
    width: auto;
    flex-basis: auto;
  }

  .director__link {
    position: static;
  }
  .director__link.center-vertical {
    display: block;
  }

  .director__img {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition-duration: 500ms;
  }

  /* Photographer List */
  .photographer-list {
    flex-direction: row;
    justify-content: space-evenly;
    align-content: flex-start;
  }
  .photographer-list .director {
    flex-basis: auto;
    width: auto;
  }

}

@media only screen and (min-width: 1260px) {
  .director {
    padding: 0 20px;
  }
  .sub-list__title {
    padding: 0 20px;
  }
  .director-list {
    max-width: 1200px;
  }
}

@media only screen and (min-width: 1281px) {
  .director-hero {
    padding-top: 29vh;
  }
  .director-list {
    height: 375px;
  }
  #diktator {
    height: 310px;
  }
  #reset {
    height: 210px;
  }
  #smuggler {
    height: 350px;
  }
}

/*
    Director Profile
 */

.profile .page-title {
  position: absolute;
  top: 39vh;
}
.profile .button-wrap {
  position: fixed;
  top: 21vh;
  left: 50%;
  z-index: 2;
  text-align: center;
  transform: translateX(-50%);
}
.profile .hero__button {
  text-transform: none;
}
.profile-footer {
  height: 210px;
  text-align: center;
  background: #fff;
  color: #000;
}
.profile-footer a {
  padding: 1em 0;
  color: #000;
}
.profile-footer ul {
  margin: 0;
  padding: 0;
}

@media only screen and (min-width: 1025px) {

.profile .page-title {
  position: fixed;
  top: 40vh;
}
.profile .button-wrap {
  top: 23vh;
}

}

/*
    Contact
 */
.contact .page-title {
  position: absolute;
}
.contact .hero__img {
  opacity: 0.8;
}
.branch .hero__img {
  transition: opacity 500ms ease-in-out;
  opacity: 0;
}
.branch:hover .hero__img {
  opacity: 0.8;
}

.branch__title {
  position: relative;
  padding: 12px 0;
  cursor: pointer;
}
.branch__title::after {
  position: absolute;
  top: 50%;
  right: 0;
  content: '';
  width: 16px;
  height: 16px;
  background: url(../img/icons/icon_arrow.svg) no-repeat 50% 50%;
  background-size: contain;
  transform: translateY(-50%) rotate(90deg);
  transition: transform 150ms ease;
}
.branch__title.active::after {
  transform: translateY(-50%) rotate(270deg);
}

.branch__body {
  border-bottom: 1px solid rgba(255,255,255,0.5);
  max-height: 0;
  overflow: hidden;
  transition: max-height 350ms ease-out;
}
.active .branch__body {
  height: 100%;
  padding: 3px 0 5px 0;
}


.branch__body p {
  padding: 0 0 15px;
}
.branch__direction {
  margin: 0;
}
.branch__direction a {
  position: relative;
  color: #ff5d5d;
  padding-left: 23px;
}
.branch__direction a::before {
  position: absolute;
  left: 0;
  bottom: 4px;
  content: '';
  width: 17px;
  height: 22px;
  background: url(../img/icons/icon_directions.svg) no-repeat 0 0;
  background-size: contain;
}

.signup {
  max-width: 780px;
  margin: 2em auto;
  padding: 0 20px;
}
.signup__label {
  display: block;
  margin: 0 20px 20px 0;
}
.signup__input {
  width: 162px;
  margin-right: 20px;
  padding: 10px 0;
  border: none;
  border-bottom: 2px solid #fff;
  border-radius: 0;
  background: none;
  color: rgba(255,255,255,0.5);
}
.signup__input:focus {
  outline: none;
}
.button.signup__submit {
  padding: 12px 14px;
  background: transparent;
  color: #fff;
}
.submit__legal-info {
  padding: 27px 0 50px;
  color: rgba(255,255,255,0.5);
}

.logo-listing {
  max-width: 485px;
  margin: 0 auto;
  display: flex;
  list-style: none;
  justify-content: space-around;
  flex-wrap: wrap;
  padding: 0;
}
.logo-listing li {
  flex: 0 0 auto;
  padding: 0;
}
.logo-listing img {
  height: auto;
}
.logo-listing img.logo-believe {
  width: 90px;
}
.logo-listing img.logo-diktator {
  width: 150px;
}
.logo-listing img.logo-reset {
  width: 72px;
}
.logo-listing img.logo-smuggler {
  width: 111px;
}

@media only screen and (min-width: 769px) {
  .signup__label {
    display: inline-block;
    margin-bottom: 0;
  }
  .signup__input {
    width: auto;
  }
  .button.signup__submit {
    padding: 12px 28px;
  }
}


/* enable hover only on hover devices */
@media only screen and (min-width: 1025px) and (hover: hover) and (pointer: fine) {

  .branch__title {
    cursor: default;
  }
  .branch__title::after {
    content: none;
  }
  .branch__body {
    margin: 0;
    padding: 0;
    border-bottom: none;
    max-height: none;
    overflow: auto;
  }
  .contact .row:first-child {
    display: flex;
    justify-content: center;
  }
  .contact .column33 {
    flex: 0 1 33%;
    max-width: 400px;
  }


}


@media only screen and (min-width: 1025px) {

  .signup {
    margin: 10px auto;
  }
  .contact .hero {
    height: auto;
  }
  .contact .hero__content {
    padding-top: 29vh;
    padding-bottom: 100px;
    height: auto;
  }
  .contact .row {
    padding-bottom: 10px;
  }
  .button.signup__submit {
    padding: 12px 28px;
  }
  .submit__legal-info {
    padding: 15px 0 25px;
  }

  .contact {
    position: relative;
  }
  .contact::after {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    display: block;
    content: '';
    background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0.45) 100%);
    background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.45) 100%);
    background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.45) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6000000',GradientType=0 );
  }
}

/*
    Imprint
 */
.imprint {
  color: #000;
  background: #fff;
}
.imprint::before,
.imprint::after {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 4;
  content: '';
  width: 100%;
  height: 70px;
  background: #fff;
}
.imprint .logo {
  background-image: url(../img/TM_Logo_black.svg);
}
.imprint a {
  color: #000;
}
.imprint .nav-trigger .nav-icon,
.imprint .nav-trigger .nav-icon::before,
.imprint .nav-trigger .nav-icon::after {
  background-color: #000;
}

.imprint .page-title {
  position: static;
  max-width: 1160px;
  margin: 0 auto;
  padding: 144px 20px 16px 20px;
  text-align: left;
  transform: none;
}
.imprint article {
  padding: 0px 0 50px;
}
.imprint .content {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px 25px;
}
.imprint h2,
.imprint h3,
.imprint h4,
.imprint p {
  padding-bottom: 1rem;
}

@media only screen and (min-width: 897px) {

  .imprint::before,
  .imprint::after {
    height: 120px;
  }
  .imprint::after {
    top: auto;
    bottom: 0;
    height: 100px;
  }
}
@media only screen and (min-width: 1025px) {

  .imprint .page-title {
    padding-top: 160px;
  }
  .imprint article {
    padding-bottom: 120px;
  }
  .imprint .content {
    padding-bottom: 95px;
  }

}

/*
    Tab-Panes
 */
.tab-pane {
  display: none;
}
.tab-pane.active {
  display: flex;
}

/*
  iframe Template
 */
.fullscreen-iframe {
  height: 100vh;
  width: 100vw;
  border: none;
}
.admin-bar .fullscreen-iframe {
  height: calc( 100vh - 32px );
}

.page-template-page-iframe .nav {
  display: none;
}
.page-template-page-iframe .post-password-form {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  transform: translate(-50%, -50%);
  width: 350px;
}
.page-template-page-iframe .post-password-form p {
  margin-bottom: 16px
}

/*
    Parallax
 */

/* Scroll Out */
.parallax .center-vertical,
.parallax .hero__content,
.parallax .page-title,
.parallax .hero__button {
	opacity: calc( 1 - var(--viewport-y) );
	will-change: opacity;
}
.parallax .hero__img {
  transform: translateY( calc( -80px + ( 80px * var(--visible-y) ) ) );
  will-change: translateY scale;
}
@media only screen and (min-width: 1025px) {
  .parallax .page-title {
    opacity: 1;
  }

}

/*
    Fancybox
 */
.fancybox-caption strong {
 font-weight: 600;
}

/* ------- Columns */
.row {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 20px 50px;
}
.contact .row {
  max-width: none;
}
.column50 {
}
.column33 {
  padding: 0 20px;
}
.column50,
.column50 p {
  display: inline;
}
@media only screen and (min-width: 1024px) {
  .row {
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    padding: 0 65px 50px;
  }
  .contact .row {
    display: block;
  }
  .column50 {
    flex: 0 1 48%;
  }
}
@media only screen and (min-width: 1025px) {

}

/* ------- Vertical Alignment ------- */
.vertical {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
}
/* ------- Vertical Centering ------- */
.center-vertical {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* ------- responsive visibility ------- */
@media only screen and (min-width: 769px) {
  .visible-mobile {
    visibility: hidden;
  }
}

/*
    Effects
 */

/* ------- Fade ------- */
.fade {
  transition: ease-in-out 150ms opacity;
}

/* ------- Hover: Border from right ------- */
.hover a {
  position: relative;
  display: inline-block;
  padding-bottom: 0;
  margin: 0;
}
.hover a::before {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 100%;
  content: '';
  height: 2px;
  background: #fff;
  transition: ease-in-out 150ms left;
}
.hover a:hover::before,
.hover a:active::before,
.hover a:focus::before {
  left: 0;
}
.header input[type=checkbox]:checked ~ nav .hover a::before,
.imprint .hover a::before {
  background: #000;
}

@media (hover: hover) {
  .hover .active a::before {
    left: 0;
  }
}

/* ------- Button ------- */
.button {
  position: relative;
  z-index: 0;
  display: inline-block;
  padding: 18px 34px;
  line-height: 1;
  border: 2px solid #fff;
  border-radius: 0;
  overflow: hidden;
}

/* Arrow */
.button--arrow::before {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: -20%;
  display: inline-block;
  width: 22px;
  height: 22px;
  padding: 0 7px;
  content: '';
  background: url(../img/icons/icon_arrow.svg) no-repeat 50% 50%;
  background-size: contain;
  opacity: 0;
  transition: ease-in-out 300ms all;
}
.button--arrow:hover::before {
  right: 0;
  opacity: 1;
}

/* Borderless */
.button--borderless {
  padding: 0 34px;
  line-height: 1.2;
  border: none;
  letter-spacing: 0;
}
.button--borderless::before {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-40%) rotate(90deg);
  display: inline-block;
  width: 22px;
  height: 22px;
  padding: 0 7px;
  content: '';
  background: url(../img/icons/icon_arrow.svg) no-repeat 50% 50%;
  background-size: contain;
  opacity: 1;
  transition: ease-in-out 300ms all;
}
.button--borderless:hover::before {
  transform: translateY(-10%) rotate(90deg);
}

/* Shutter */
.button--shutter {
  color: #fff;
  transition: color 300ms ease-in-out;
}
.button--shutter::before,
.button--shutter::after {
  position: absolute;
  top: 0;
  right: -1px;
  bottom: 50%;
  left: 0;
  z-index: -1;
  content: '';
  background: #fff;
  transform: scaleY(0);
  transform-origin: 50% 0;
  transition: all 300ms ease-in-out;
}
.button--shutter::after {
  top: 50%;
  bottom: 0;
  transform-origin: 50% 100%;
}
.button--shutter:hover {
  color: #000;
}
.button--shutter:hover::before,
.button--shutter:hover::after {
  transform: scaleY(1);
}

@media only screen and (min-width: 769px) {
  .button {
    padding: 20px 40px;
  }
  .button--borderless {
    padding: 0 34px;
    border: none;
  }
}
@media only screen and (min-width: 1025px) {
  .button {
    padding: 25px 50px;
    border: 3px solid #fff;
  }
  .button--borderless {
    padding: 0 34px;
    border: none;
  }
}
/* disable hover on pointer smartphones, touchscreens */
@media (hover: none) and (pointer: coarse) {
  .button--shutter::before,
  .button--shutter::after {
    content: none;
  }
  .button--shutter:hover {
    color: #fff;
  }

}

/*
    Icons, Buttons, Controls
 */

/* ------- Play Button ------- */
.play {
  display: inline-block;
  width: 28px;
  height: 32px;
  background-image: url(../img/icons/icon_play.svg);
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: contain;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
}
@media only screen and (min-width: 769px) {
  .play {
    width: 20px;
    height: 23px;
  }
}
@media only screen and (min-width: 1025px) {
  .play {
    width: 28px;
    height: 32px;
  }
}

/* ------- Top Link ------- */
.toplink {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 4;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: url(../img/icons/icon_toplink.svg) no-repeat 50% 50%;
  background-size: contain;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
  opacity: 0;
  transition: opacity 250ms ease-in;
}
.scrolled .toplink {
  z-index: 7;
  opacity: 1;
}


/* ------- Social Links ------- */
.sociallinks a {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: auto 18px;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
}
.sociallinks a[href*="instagram"] {
  background-image: url(../img/icons/instagram-white.svg);
}
.sociallinks a[href*="vimeo"] {
  background-image: url(../img/icons/vimeo-white.svg);
}
.sociallinks a[href*="facebook"] {
  background-image: url(../img/icons/facebook-white.svg);
}

.header input[type=checkbox]:checked ~ .nav .sociallinks a[href*="instagram"],
.profile-footer .sociallinks a[href*="instagram"],
.imprint .nav .sociallinks a[href*="instagram"] {
  background-image: url(../img/icons/instagram-black.svg);
}
.header input[type=checkbox]:checked ~ .nav .sociallinks a[href*="vimeo"],
.profile-footer .sociallinks a[href*="vimeo"],
.imprint .nav .sociallinks a[href*="vimeo"] {
  background-image: url(../img/icons/vimeo-black.svg);
}
.header input[type=checkbox]:checked ~ .nav .sociallinks a[href*="facebook"],
.profile-footer .sociallinks a[href*="facebook"],
.imprint .nav .sociallinks a[href*="facebook"] {
  background-image: url(../img/icons/facebook-black.svg);
}

@media only screen and (min-width: 768px) {
  .sociallinks li {
    padding: 0 10px;
  }
  .sociallinks a {
    width: 30px;
    height: 30px;
    background-size: auto 27px;
  }
}
@media only screen and (min-width: 1025px) {
  .sociallinks li {
    padding: 0 6px;
  }
  .sociallinks a {
    width: 20px;
    height: 20px;
    background-size: auto 18px;
  }
}


/* Animations */

.animated {
 animation-duration: 500ms;
}

@-webkit-keyframes fadeInUpSmall {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 30%, 0);
    transform: translate3d(0, 30%, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInUpSmall {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 30%, 0);
    transform: translate3d(0, 30%, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.fadeInUpSmall {
  -webkit-animation-name: fadeInUpSmall;
  animation-name: fadeInUpSmall;
}

/* ------- Cookie Notice ------- */
#cookie-notice {
  font-size: 1em;
}

/* ------- Conditional Background for Navigation when overlapping Directors list ------- */
@media only screen and (min-width: 1025px) and (max-height: 700px) {
  .directors .nav {
    bottom: 25px;
    padding: 5px 0 5px;
    background: rgba(0, 0, 0, 0.75);
  }
  .directors .director-list {
    margin-bottom: 70px;
  }
  @supports (-webkit-backdrop-filter: none) or (backdrop-filter: none) {
    .directors .nav {
      -webkit-backdrop-filter: blur(2px);
      backdrop-filter: blur(2px);
      background: rgba(0, 0, 0, 0.45);
    }
  }
}
@media only screen and (min-width: 1281px) and (max-height: 850px) {
  .directors .nav {
    bottom: 25px;
    padding: 5px 0 5px;
    background: rgba(0, 0, 0, 0.75);
  }
  .directors .director-list {
    margin-bottom: 70px;
  }
  @supports (-webkit-backdrop-filter: none) or (backdrop-filter: none) {
    .directors .nav {
      -webkit-backdrop-filter: blur(2px);
      backdrop-filter: blur(2px);
      background: rgba(0, 0, 0, 0.45);
    }
  }
}


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap; /* 1 */
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    white-space: inherit;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster */
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
