/*
Theme Name: dfs
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dfs
Tags: */
@import url(https://fonts.googleapis.com/css?family=Old+Standard+TT);

html {
	font-family: 'Old Standard TT', serif;
	font-size: 1em !important;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
    -webkit-font-smoothing: subpixel-antialiased;
    -moz-osx-font-smoothing: grayscale;
}

* {
	font-size: 1.4rem;
}

body {
	margin: 0;
}

.ghost {
	opacity: 0;
}


/* TYPEZ */
	
	/* Startseite */
	
	.col-intro,
	.col-intro * {
		font-size: 3.2rem;
	}

		@media screen and (max-width: 768px) {
			.col-intro,
			.col-intro * {
				font-size: 1.6rem;
			}
			
		}

	.object-link {
	   letter-spacing: 0.03em;
	   font-size: 0.95em;
	}

	.arbeit .arbeit-titel {
		line-height: 1.3rem;
	}
	
		.arbeit-meta.arbeit-titel a {
			font-size: 0.8rem;
		}
		
	/* Navigation */
	.main-navigation li a {
		font-size: 1.8rem;
	}
		
	/* Projekte Single */
	.beschreibung {
	    font-size: 1.25rem;
		line-height: 1.6rem;

	}
	
	/* Kontakt */
	.page-id-19 p {
		text-indent: 0px;
		margin-bottom: 40px;
	}

	.linklist--link a {
		font-size: 3.2rem;
	}
	
	/* Reader Overview */
	.text-intro p,
	h2 {
		margin: 0 0 40px 0;
		display: block !important;
	}
	
	/* Reader Single  */
	.langer-text h1 {
		margin-bottom: 40px;
		display: block;
	}
	
	.langer-text p {
		text-indent: 0px;
		line-height: 1.8em;
		margin-bottom: 20px;
	}
	
	.mejs-controls .mejs-time-rail .mejs-time-float {
		font-size: 8px;
	}

/* TYPEZ */



.skip-link.screen-reader-text {
	display: none;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
	text-decoration: none;
    font-family: 'Akzidenz-Grotesk', Akzidenz-Grotesk, 'Helvetica', 'Arial', sans-serif;
	color: #000;
}

    a[rel="home"] {
		font-family:'Old Standard TT';
	}

p a {
}

a:active,
a:hover {
	outline: 0;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

h1 {
	margin: 0.67em 0;
}

mark {
	background: #ff0;
	color: #000;
}

img {
	border: 0;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 1em 40px;
}

hr {
	box-sizing: content-box;
	height: 0;
}

pre {
	overflow: auto;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input {
	line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"] {
	-webkit-appearance: textfield;
	box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

td,
th {
	padding: 0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body, button, input, select, textarea {
	color: #000;
	line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
	clear: both;
	display: inline;
	font-weight: normal;
}

	.section--headline {
		padding-bottom: 20px;
		display: block;
	}
	
span[style*="text-decoration: underline;"],
u {
	text-decoration: none !important;
	border-bottom: 1px solid currentColor;
}

p {
	margin: 0px;
	text-indent: 50px;
}

p:first-child {
	text-indent: 0px;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

.text-left {
	text-align: left;
}

.text-center {
	text-align: center;
}

.text-right {
	text-align: right;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}

*,
*:before,
*:after {
	box-sizing: inherit;
}

body {
	background: #fff;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	quotes: "" "";
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}


/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: #000;
}

a:hover,
a:active {
	outline: 0;
	text-decoration: none;
	border-bottom: 2px solid #000;
	
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.nav-menu {
	float: right;
}

.main-navigation {
	clear: both;
	float: left;
	width: 100%;
}

.main-navigation .menu-primary-container {
	display: table-cell;
	vertical-align: middle;
	width: 100%;
}

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
	width: 100%;
}

.main-navigation li {
	  float: left;
	  position: relative;
	  display: block;
	  width: 100%;
}

.main-navigation a {
	display: block;
	text-decoration: none;
	color: white !important;
	display: inline-block;
	font-family: 'Old Standard TT';
	padding-bottom: 1px;
}

.main-navigation a:hover {
	border-bottom: 1px solid #FFF;
	padding-bottom: 0px;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 1.5em;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul ul li {

}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	left: 100%;
}

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a {
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before, .clear:after, .entry-content:before, .entry-content:after, .comment-content:before, .comment-content:after, .site-header:before, .site-header:after, .site-content:before, .site-content:after, .site-footer:before,.site-footer:after {
	content: "";
	display: table;
}

.clear:after, .entry-content:after, .comment-content:after, .site-header:after, .site-content:after, .site-footer:after {
	clear: both;
}


.sticky {
	display: block;
}

.hentry {
	margin: 0 0 1.5em;
}

.byline,
.updated:not(.published) {
	display: none;
}

.single .byline,
.group-blog .byline {
	display: inline;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

	.entry-content {
		margin-bottom: 40px;
	}

/*--------------------------------------------------------------
## Asides
--------------------------------------------------------------*/
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}

.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed, iframe, object {
	max-width: 100%;
}


/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}



/* DA SHIT */
body,html {
	height: 100%;
}

#stage .bc.background--light {
	color: black !important;
}
#stage .bc.background--dark,
#stage .bc.background--complex {
	color: white !important;
}



header {
	width: 100%;
	padding: 20px;
	box-sizing: border-box;
	background: rgba(255,255,255,0.9);
	z-index: 99;
}
	header.fixed {
		position: fixed;
		bottom: 0px;
	}

.home #stage {
	height: 100%;
	z-index: 1;
}
	.home #stage .carousel-inner,
	.home #stage .item {
		height: 100%;
		overflow: hidden;
	}
	.home #stage .item img {
		height: 100%;
		width: 100%;
		object-fit: cover;
	}
#stage-headline {
	z-index: 1;
	position: fixed;
	margin: 20px;
	color: #fff;
}
#stage-headline-name, 
#stage-headline-date, 
#stage-headline-ort { 
	display: block 
}

#stage-controls {
	width: 100%;
	z-index: 2;
	position: absolute;
	padding: 20px;
	bottom: 0;
}
	#stage-controls .stage-control {
		color: #fff;
	}
	#stage-controls .stage-control.stage-next {
		position: absolute;
		right: 20px;
	}

#page {
	width: 100%;
	height: auto;
	position: relative;
	z-index: 2;
	background: white;
}
	#page::after {
		content: " ";
		display: block;
		height: 0px;
		clear: both;
		float: none;
		overflow: hidden;
		visibility: hidden;
	}

.container {
	width: 100%;
	padding: 20px;
}

	.single-arbeit .container {
		padding: 20px 20px 0 20px;
	}

.col-intro {
	line-height: 1.15;
}

.nav-toggle {
	cursor: pointer;
	z-index: 100000; /* Above WP toolbar. */
}

.nav-toggle-active,
.open-text-active {
	position: fixed;
	bottom: 20px;
	right: 20px;
	color: #FFF;
	cursor: pointer;
}

nav,
#text_holder {
  display: table !important;
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.96);
  z-index: 2;
  text-align: center;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  -webkit-transform: 	translate3d(0, 100%, 0);
  -moz-transform: 		translate3d(0, 100%, 0);
  -ms-transform: 		translate3d(0, 100%, 0);
  -o-transform: 		translate3d(0, 100%, 0);
  transform: 			translate3d(0, 100%, 0);
  -webkit-transition-duration: 0.4s;
  -moz-transition-duration: 0.4s;
  transition-duration: 0.4s;
}
	#text_holder {
		-webkit-transform: 	translate3d(0, -100%, 0);
		-moz-transform: 	translate3d(0, -100%, 0);
		-ms-transform: 		translate3d(0, -100%, 0);
		-o-transform: 		translate3d(0, -100%, 0);
		transform: 			translate3d(0, -100%, 0);
		top: 0;
		display: block !important; 
		overflow: hidden;
	}
	.text-wrap {
		padding: 81px 20px;
		height: 100%;
		color: white !important;
		font-family: serif;
		text-align: left;
		overflow: scroll;
	}
		.text-wrap p {
			margin-top: 1em;
			text-indent: 0;
		}
		.text-wrap p:first-child {
			margin-top: 0;
		}

nav li {
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: .2em 0;
  text-transform: capitalize;
}

nav a {
  display: inline-block;
  -webkit-transition: background 0.2s;
  -moz-transition: background 0.2s;
  transition: background 0.2s;
}

.menu-is-open,
#text_holder.text-is-open {
	/* add a background color to the header when the navigation is open */
    -webkit-transform: translate3d(0, 100%, 0);
    -moz-transform: translate3d(0, 100%, 0);
    -ms-transform: translate3d(0, 100%, 0);
    -o-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
    top: -100%;
    z-index: 999;
}

.is-fixed {
    /* when the user scrolls down, we hide the header right above the viewport */
    position: fixed;
    top: -80px;
    background-color: rgba(2, 23, 37, 0.96);
    -webkit-transition: -webkit-transform 0.3s;
    -moz-transition: -moz-transform 0.3s;
    transition: transform 0.3s;
}



.overflow-hidden {
  /* when primary navigation is visible, the content in the background won't scroll */
  overflow: hidden;
}

.arbeit {
	margin-bottom: 20px;
}

.arbeit .arbeit-meta.arbeit-bild {
	position: relative;
	width: 100%;
	overflow: hidden;
}
.arbeit .arbeit-meta.arbeit-bild::before {
	content: '';
	display: block;
	padding-top: 66%;
}
	.arbeit .arbeit-meta.arbeit-bild img {
		width: 100%;
		height: auto;
		position: absolute;
		top: 0;
	}
	.arbeit .arbeit-meta.arbeit-bild:hover+.arbeit-titel a {
		text-decoration: none;
		border-bottom: 2px solid black;
	}
.arbeit .arbeit-titel {
	display: block;
	text-align: center;
	margin-top: 25px;
	letter-spacing: 2px;
}

.open-text a {
	letter-spacing: 2px;
	cursor: pointer;
}

body.single:not(.single-text):not(.single-more) {
	position: absolute;
	top: 0px;
	left: 0px;
	right: 0px;
	bottom: 0px;
	overflow-y: hidden;
}
	body.single-arbeit #page,
	body.single-arbeit .container,
	body.single-arbeit #content,
	body.single-arbeit #primary,
	body.single-arbeit main,
	body.single-arbeit main .inhalt-wrapper,
	body.single-arbeit main .inhalt-wrapper .inhalt {
		height: 100%;
	}
	
.inhalt-wrapper {
	white-space: nowrap;
}
.inhalt-wrapper::after,
.more-content::after {
	content: " ";
	display: block;
	height: 0px;
	clear: both;
	float: none;
	overflow: hidden;
	visibility: hidden;
}
.inhalt {
	vertical-align: top;
	display: inline-block;
	width: auto;
	position: relative;
	background: white;
}
	.inhalt-audio {
		min-width: 400px;
	}
	.inhalt.inhalt-bild .bild-wrapper {
		margin-top: -20px;
		height: calc(100% - 61px) !important;
		width: auto;
	}
		.inhalt.inhalt-bild .bild-wrapper img {
			height: 100%;
			width: auto;
			max-width: none;
		}
	
	.inhalt.inhalt-text {
		
	}
		.inhalt.inhalt-text .text-wrapper {
			-webkit-transform-origin: top left;
			-webkit-transform: rotate(-90deg);
			padding: 20px 0 30px;
			position: absolute;
			bottom: 0px; 
		}
		
	.inhalt [class^="inhalt-caption"] {
		padding-top: 20px;
	}
		.inhalt .inhalt-caption.fixed {
			position: fixed;
			left: 20px;
		}
		
		.inhalt-caption-ghost {
			display: none;
		}
	
		
		.inhalt .inhalt-caption.fixed + .inhalt-caption-ghost {
			display: block;
			opacity: 0;
		}
		
	.inhalt.inhalt-intro h1,
	.inhalt.inhalt-intro h2.art-der-arbeit,
	.inhalt.inhalt-intro h3.beschreibung {
		display: block;
		white-space: normal;
	}
	.inhalt.inhalt-intro {
		max-width: 400px;
		overflow-y: scroll;
	}
	.inhalt {
		margin-right: -0.25em;
		padding-left: 20px;
	}
		.inhalt:first-child {
			padding-left: 0;
		}
	.arbeitstitel {
		font-family: 'Old Standard TT', serif;
	}

.text-wrapper .langer-text {
	white-space: normal;
	max-width: 800px;
}
	.text-wrapper .langer-text p:first-of-type {
			padding-left: 0;
			text-indent: 0;
	}

.site-title a,
.site-title-active a {
	font-weight: normal;
}	

.site-title-active {
	  position: absolute;
	  bottom: 20px;
	  left: 20px;
	  margin: 0px;
}

.alpha50 {
	opacity: 0.5;
}

.more-content {
	margin-bottom: 20px;
}
.more-content .carousel,
.more-content .wp-video {
	margin-left: -15px;
}
	.carousel,
	.more-content .carousel .item {
		cursor: pointer;
	}
		.more-content .carousel .item:only-child {
			cursor: auto;
		}
	.more-content .carousel .item img {
		width: 100%;
		height: auto;
	}
	
p a img {
	margin-top: -11px;
}

	.object-link img {
		max-height: 34px;
		width: auto;
	}
	
	@media screen and (max-width: 786px) {
		.object-link img {
			max-height: 28px;
			width: auto;
		}
	}
	
.linklist--link a {
	font-family: 'Old Standard TT';
	font-weight: normal;
}

[class*="-wrapper-table"] {
    height: 100%;
    width: 100%;
    display: table;
	margin-top: -27px;
}

[class*="-wrapper-tablecell"] {
	display: table-cell;
    vertical-align: bottom;
}
	
.mejs-container * {
    font-family: "Old Standard TT" !important;
    font-size: 1.25em;
}

.person-headline {
	margin: 40px 0 0 0;
	display: block;
}

.person-table {
	margin-top: 40px;
}

.person-table tr:first-child td :not(body.page-id-786) {
	padding-bottom: 20px;
}

.person-table:last-of-type tr:first-child td {
	padding-bottom: 0px;
}

.person-eintrag-jahr {
	width: 215px;
	padding-right: 15px;
	vertical-align: top;
	font-style: italic;
}

.person-eintrag-self {
	vertical-align: top;	
}

	@media screen and (max-width: 767px) {
		.person-eintrag-jahr,
		.person-eintrag-self {
			display: block;
		}
		
		.person-eintrag-self {
			padding-bottom: 20px;
		}
	}
	
.single-more .intro {
	margin-bottom: 40px;
}
