/*
(c) 2022
www.dialogsued.de
*/

/* josefin-sans-100 - latin */
@font-face {
  font-family: 'Josefin Sans';
  font-style: normal;
  font-weight: 100;
  src: url('../fonts/josefin-sans-v25-latin-200.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/josefin-sans-v25-latin-200.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/josefin-sans-v25-latin-200.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/josefin-sans-v25-latin-200.woff') format('woff'), /* Modern Browsers */
       url('../fonts/josefin-sans-v25-latin-200.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/josefin-sans-v25-latin-200.svg#JosefinSans') format('svg'); /* Legacy iOS */
}

html { background-color:#fff; margin: 0; padding: 0; scroll-behavior: smooth;  }
body { overflow-x: hidden; font-family: 'Josefin Sans', sans-serif; font-weight:100; text-transform:uppercase;  }

/* cookie */
#cookie-popup { position:fixed; color:#fff; text-align:center; text-transform:none;; left:0px; bottom:0px; width:100%; background:#222222; z-index:999 }
#cookie-popup a { color:#fff; text-align:center; text-decoration:underline}
#cookie-popup .hinweis {margin:10px}
#cookie-popup button {position:relative; color:#fff; text-align:center; margin:0px 20px 20px 20px; padding:5px 10px; border:2px solid #fff; background:#222222; font-size:15px; cursor:pointer}
#cookie-popup.hidden { display: none; }

/* SCROLL */
::selection { background:#ccc; color:black }
::-moz-selection { background:#ccc;; color:black }

/* FADE */
@-webkit-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@-moz-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
.fade { opacity:0; -webkit-animation:fadeIn ease-in 1; -moz-animation:fadeIn ease-in 1;animation:fadeIn ease-in 1; -webkit-animation-fill-mode:forwards; -moz-animation-fill-mode:forwards;	animation-fill-mode:forwards;-webkit-animation-duration:.5s;-moz-animation-duration:.5s;animation-duration:.5s; }
.fade:first-child {-webkit-animation-delay: .5s;-moz-animation-delay: .5s; animation-delay: .5s;}
.fade:nth-child(2n) {-webkit-animation-delay: .5s;-moz-animation-delay: .5s; animation-delay: .5;}

/* BAR */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); }
::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.8); }
::-webkit-scrollbar-thumb:window-inactive { background: rgba(0,0,0,0.4); }

/* LINK ANIMATION */
.menu a {   overflow: hidden;  color:#000; position: relative;   display: inline-block; }
.menu a::before, a::after {  content: '';   position: absolute;   width: 100%;   left: 0; }
.menu a::after {   content: attr(data-replace);   height: 100%;   top: 0;   transform-origin: 100% 50%;   transform: translate3d(200%, 0, 0);   transition: transform .3s cubic-bezier(0.76, 0, 0.24, 1);   color: black; }
.menu a:hover::before {   transform-origin: 0% 50%;   transform: scaleX(1); }
.menu a:hover::after {   transform: translate3d(0, 0, 0); }
.menu span {   display: inline-block;   transition: transform .3s cubic-bezier(0.76, 0, 0.24, 1); }
.menu a:hover span {   transform: translate3d(-200%, 0, 0); }

/* MENU */
.menu { position:fixed; width: 100%; height: 15%; top:0; z-index: 999; background: rgba(255, 255, 255, .95) }

.navigation { margin:3% 10%; }
.navigation li { float: left; cursor:pointer; list-style-type:none; margin:0 25px 0 0; font-family: 'Josefin Sans', sans-serif; font-size:1.2em; letter-spacing: 0.3em;  }
.navigation .active { font-weight:500; }

.head { position:absolute; text-align: center; left: 49.5%; transform: translate(-50%, 0); width:25%;}
.head img { width:60%}

.social { position: absolute; right:0; margin:0 11% 0 0; letter-spacing: 10px}
.social img { width: 25px}

/* MAIN */
.main { position:relative; float:left;  transition: all .5s ease-in-out; max-width:2000px; margin:12% 10% 1% 10%; }
.vimeo_out {padding:56.25% 0 0 0;  max-width:2000px; position:relative;  margin:auto; margin:10% 0 0 0 }
.vimeo { position:absolute;top:0;left:0;width:100%;height:100%; }
.vimeo iframe {     max-width: 100% !important;     width: 100% !important;     display: block !important;    border: none !important;     position: absolute;     top: 0;     bottom: 0;     margin: auto 0; }

.desc { cursor:default; position:relative; overflow: auto; margin:0% 10% 5% 10%;  }
.desc .title { position:relative; float:left; width: 50%; font-family: 'Josefin Sans', sans-serif; font-size:33%; letter-spacing: 0.8em; }
.desc .crew { position:relative; float:left; width: 50%;}

.txt { position:relative; float:left; margin:12% 10% 1% 10%; padding-bottom:50px; text-transform:none; }
.txt { font-size:18px; line-height:25px; }
.thrd { position:relative; float:left; width: 33.333333%; line-height: 25px}
.thrd img { width:50%; }
.fifty { position:relative; float:left; width: 50%;}
.fifty .twen {margin-right:50px}
.fifty img { width:100% }
.schlierf { margin-top:120px }


/* Masonry item
.main .topic { position: relative; float:left; -webkit-animation-delay: 1s;-moz-animation-delay: 1s;animation-delay: 1s; margin-bottom: 2px; display: inline-block; vertical-align: top; width:100% }
.main .topic img { transition: all .5s ease-in-out; width: 100% !important; max-width: 100%; height: inherit !important;  backface-visibility: hidden;}
.main .topic:hover img { opacity: .85; }
*/

.main .topic img { max-width: 100%; max-height: 100%; width: 100%; }

.main .topic .showtext { bottom:0; position: absolute; text-align:center; font-size: 16px; letter-spacing:3px;  width: 100%; color:white; z-index:555; background: rgba(0, 0, 0, .8); display:none; }
.main .topic .showtext .in {margin:10px }

.main_in  { display: flex; flex-wrap: wrap; width: 100%; column-gap: 1px; row-gap: 1px;}
.topic  { position: relative; float:left;  font-size: 0;  width: 100%; flex-basis: 33.25%; }
@media(max-width: 1000px) {  .topic {  flex-basis: 49%;  }}
@media(max-width: 600px) {  .topic {  flex-basis: 100%;  }}

/* FOOT */
.foot { position:relative; float: left; width:100%; top:40px; z-index: 1;}
.foot .in { margin:1% 10%; border-top:1px solid #999; padding:25px 0; line-height: 25px}
.foot .a { position:relative; float:left; width:50%; margin:0 0 10% 0 }
.foot .a .name { letter-spacing:6px }
.foot .b { position:relative; float:left; width:25%; letter-spacing:3px; }
.foot .b .email { letter-spacing:2px; font-size:10px }
.foot .c { position:relative; float:left; width:25%; text-align: right; line-height: 22px }
.foot a { text-decoration:none; letter-spacing:2px; font-size:10px; color:#000 }
.foot a:hover { text-decoration: underline;}

.tabs { margin:1% 10%;  padding: 0;	list-style: none;	position: relative;  cursor: pointer;  	}
.active-tab {		border-bottom: 1px solid #ccc;	position: relative;    }
.tabs-content { margin:1% 10%; padding: 0; list-style: none; position: relative; text-transform:none; }
.tabs-content .elemeeent { float: left; width:33.33334%; line-height: 0}
.tabs-content .elemeeent img { width:99.8%; margin-bottom:2px }
.tabs-content .full { position:relative; float: left; width:100% }
.tabs-content .full img { width:100% }
.tabs-content .full .elemeeent {  float: left;  width:100%;}
.tabs-content .half { position:relative; float: left; width:50%;}
.tabs-content .half .elemeeent {  width:100%; float: left;  }

.tabs-content li { list-style-type: none; width: 100%; margin: 50px 0 100px 0; }
li { display: inline-block; cursor: pointer;  position: relative;  float: left;      margin-right: 50px;      line-height: 30px }

.rTable { display: table; width: 100%; }
.rTableRow { display: table-row;  width: 50%; }
.rTableHeading { display: table-header-group; }
.rTableBody { display: table-row-group; }
.rTableFoot { display: table-footer-group; }
.rTableCell, .rTableHead { display: table-cell; vertical-align: middle; text-align: left; height: 30px; }

/* MOBILE */
@media screen and (max-width: 1400px) {
  .menu { position:fixed; width: 100%; height: 9%; top:0; z-index: 999; background: rgba(255, 255, 255, .95) }
  .navigation li { margin:0; padding-right:10px; font-size:1em; letter-spacing: 0.2em;  }
  .info { font-size:1em; letter-spacing: 0.2em; }
  .head img { width:100%}
  .desc .title { position: relative; overflow: auto; width:100%; font-size:2em; letter-spacing: 0.2em; }
  .desc .crew { position: relative; overflow: auto; width:100%; margin:20px 0; font-size:1em; letter-spacing: 0.2em; }
  .fifty { position:relative; margin: 10% 0 0 0; width: 100%;}
  .fifty img { width: 100%;}
  .thrd { position:relative; width: 50%; line-height: 25px; margin-top:100px}
  .thrd img { width: 80%;}
  .vimeo_out {margin:180px 0 0 0 }
  .tabs-content .elemeeent { float: left; width:50%; line-height: 0}
  .foot .b { position:relative; float:left; width:25%; letter-spacing:1px; }
  .foot .b .email { letter-spacing:1px; }
}

@media screen and (min-width: 1000px) {
  .smart_navigation { display:none; }
  .overlay { display:none; }
}

/* mobile */
@media screen and (max-width: 1000px) {
  .menu { position:fixed; width: 100%; height: 180px; top:0; z-index: 999; background: rgba(255, 255, 255, .95) }
  .main { max-width:90%; top:130px}
  .navigation { display:none; }
  .head { margin:0 10%; top:40px; position:absolute; width: 60%; left: 0;  transform: none; /*  text-align: center; top:20px; left: 0; transform: translate(-50%, 0); */ width:40%;}
  .head img { width:100%;  }
  .social {   top:140px; margin:0 13% 0 0}
	.smart_navigation { position:absolute; z-index:80; margin:0 10%;  top:140px; font-size:20px; cursor:pointer}
	.overlay { height: 0%; width: 100%; position: fixed; z-index: 90; top: 0; right: 0; background-color: rgba(255,255,255, 0.9); overflow-y: hidden; transition: 0.5s; }
	.overlay-content { position: relative; top: 15%; width: 100%; text-align: center; margin-top: 10px; }
	.overlay a { text-decoration: none; font-size: 30px; padding:5px; margin:5px 40px; line-height:50px; background-color:#fff; color:black; display: block; transition: 0.3s; border-top:1px black solid}
	.overlay a:hover, .overlay a:focus { background-color:#fff; color:black; letter-spacing: 2px; opacity: 0.5; }
	.overlay a.mobile_active { background-color:black; color:#fff  }
	.overlay .closebtn { position: absolute; padding:10px 40px; top: 20px; right: 0px; font-size: 60px; background-color:#fff; color:black }
	.overlay .closebtn:hover { letter-spacing:0; opacity:1; background-color:black; color:#fff }
  .main .topic .showtext { bottom:0; left:0; position: absolute; text-align:center; font-size: 16px; letter-spacing:3px;  width: 100%; color:white; z-index:555; background: rgba(0, 0, 0, .8); display:block ; }
  .schlierf { margin-top:200px }
  .thrd { position:relative; width: 100%; margin-bottom:100px; line-height: 25px}
  .thrd img { width: 60%; margin-top:20px; margin-bottom:-100px}
  .vimeo_out {margin:150px 0 0 0 }
  li { display: inline-block; cursor: pointer;  position: relative;  float: left;      margin-right: 15px;      line-height: 30px }
  .foot { position:relative; float: left; width:100%; top:40px; z-index: 1;}
  .foot .in { margin:1% 10%; border-top:1px solid #999; padding:25px 0; line-height: 25px}
  .foot .a { position:relative; float:left; width:100%; margin:0}
  .foot .a .name { letter-spacing:6px }
  .foot .b { position:relative; float:left; width:100%;letter-spacing:3px; }
  .foot .b .email { letter-spacing:2px; font-size:10px }
  .foot .c { position:relative; float:left; width:100%;text-align: left; line-height: 22px; margin-bottom:20px }
  .foot a { text-decoration:none; letter-spacing:2px; font-size:10px; color:#000 }
  .foot a:hover { text-decoration: underline;}

}
