@font-face {
  font-family: 'GillSansMTPro-Book';
  src: url('../fonts/GillSansMTPro-Book/font.woff2') format('woff2'), url('../fonts/GillSansMTPro-Book/font.woff') format('woff');
}
@font-face {
  font-family: 'GillSansMTPro-Medium';
  src: url('../fonts/GillSansMTPro-Medium/font.woff2') format('woff2'), url('../fonts/GillSansMTPro-Medium/font.woff') format('woff');
}
@font-face {
  font-family: 'GillSansMTPro-MediumItalic';
  src: url('../fonts/GillSansMTPro-MediumItalic/font.woff2') format('woff2'), url('../fonts/GillSansMTPro-MediumItalic/font.woff') format('woff');
}
@font-face {
  font-family: 'GillSansMTPro-Bold';
  src: url('../fonts/GillSansMTPro-Bold/font.woff2') format('woff2'), url('../fonts/GillSansMTPro-Bold/font.woff') format('woff');
}

@font-face {
	font-family: 'krebsicons';
	src:	url('../fonts/krebsicons-webfont.woff2') format('woff2'),
			url('../fonts/krebsicons-webfont.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

*, ::before, ::after {
	margin: 0;
	padding: 0;
	outline: none;
	box-sizing: border-box;
	overflow: hidden;
}

body {
	color: #000000;
	background-color: #ffffff;
	font-family: GillSansMTPro-Medium;
	font-style: normal;
	font-weight: normal;
	font-size: 16px;
	line-height: 20px;
	letter-spacing: 0.04em;	
}

ul { list-style-type: none; }

a:link, a:visited, a:active, li.projPub, li.projFachpl { color: #aaaaaa; text-decoration: none; }
#personen a:first-child:link, #personen a:first-child:visited, #personen a:first-child:active, #publikationen a:link, #publikationen a:visited, #publikationen a:active, #auszeichnungen a:link, #auszeichnungen a:visited, #auszeichnungen a:active, a.wraplink:link, a.wraplink:visited, a.wraplink:active, a.wraplink:hover { color: #000000; }

a:hover, header li.selected a, nav li.selected a { color: #000000; /* color: #691e23; */ }
#publikationen a:hover, #auszeichnungen a:hover { color: #aaaaaa; }

button#backButton {
	appearance: button;
	overflow: hidden;
	cursor: pointer;
	background-color: transparent;
	display: flex;
	-moz-box-align: center;
	align-items: center;
	-moz-box-pack: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	padding: 0px;
	margin: 0px;
	border: 0px none;
	border-radius: 0px;
	opacity: 0;
	-o-transition-property: opacity;
	-webkit-transition-property: opacity;
	-moz-transition-property: opacity;
	transition-property: opacity;
	-o-transition-duration: 0.2s;
	-webkit-transition-duration: 0.2s;
	-moz-transition-duration: 0.2s;
	transition-duration: 0.2s;	
}

#details button#backButton {
	opacity: 1;
}

button#backButton > div {
	background-color: transparent;
	border: 0px none;
	cursor: pointer;
	display: block;
	height: 24px;
	margin: 0px;
	padding: 0px;
	position: relative;
	width: 24px;
	transform-origin: center center 0px;
	transform: rotate(0deg);
	transition: all 0.3s ease 0s;
}

button#backButton > div.x {
	transform: rotate(-180deg);
}

.burger b {
	background-color: #4d5c75;
	border-radius: 0;
	display: block;
	height: 4px;
	left: 0px;
	opacity: 0.9;
	position: absolute;
	transform-origin: left center 0px;
	transform: rotate(0deg);
	transition: all 0.3s ease 0s;
	width: 24px;
}

.burger b:nth-child(1) { top: 1.5px; }
.burger b:nth-child(2) { top: 10.5px; }
.burger b:nth-child(3) { top: 19.5px; }
.burger.x b { height: 2.5px; opacity: 1; }

.burger.x b:nth-child(1) {
	top: 0px;
	left: 2px;
	width: 30px;
	transform: rotate(45deg);
}

.burger.x b:nth-child(2) {
	opacity: 0;
	width: 0;
}

.burger.x b:nth-child(3) {
	top: 21px;
	left: 2px;
	width: 30px;
	transform: rotate(-45deg);
}


header {
	background-color: #ffffff;
	position: fixed;
	top: 0;
	left: -100vw;
	width: 300vw;
	overflow: hidden;
	display: flex;
	flex-direction: row;
}

#details header {
	left: 0;
}

header, section {	
	-o-transition-property: left;
	-webkit-transition-property: left;
	-moz-transition-property: left;
	transition-property: left;
	-o-transition-duration: 0.4s;
	-webkit-transition-duration: 0.4s;
	-moz-transition-duration: 0.4s;
	transition-duration: 0.4s;	
}

header ul {
	display: block;
	margin-top: 18px;
	width: 100vw;
	height: 72px;
	line-height: 17px;
}

header li {
	display: inline-block;
	width: 100vw;
	height: 17px;
	line-height: 17px;
	padding: 0;
}

#details header li {
	padding: 0 6vw;
}

header li a, header li b, nav li a {
	display: inline-block;
	height: 100%;
	padding: 0 6vw;
	font-size: 16px;
}

header li a, header li b {
	font-family: GillSansMTPro-Bold;
	font-style: normal;
	font-weight: normal;
	font-size: 16px;
	line-height: 17px;
	letter-spacing: 0.08em;
	color: #9c9896;
}

header li a {
	cursor: pointer;
}

header li.selected a { color: #111111; }

header ul.home li:last-child b { color: #771208; }
/* header ul.home li:hover:last-child { color: #111111; } */

nav {
	background-color: #ffffff;
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: -20;
}

nav:last-of-type {
	background-color: transparent;
	top: 0;
	right: 10px;
	bottom: initial;
	left: initial;
	height: 86px;
	margin-top: 4px;
	z-index: 10;
}

nav ul {
	padding-bottom: 4vh;
}

nav li {
	height: 7vh;
	width: 100vw;
	padding: 0.5vh 0;
}

nav li a {
	display: flex;
	flex-direction: row;
	align-items: center;
	font-family: GillSansMTPro-Book;
	letter-spacing: 0.3em;	
}

nav li a:hover {
	background-color: #dddddd;
}

section:not(section:first-child) {
	background-color: #ffffff;
	position: fixed;
	top: 0;
	bottom: 0;
	width: 100vw;
	z-index: -10;
}

section:not(section:first-child) > div {
	position: absolute;
	top: 120px;
	bottom: 0;
	width: 100%;
	overflow-y: auto;
}

section.left { left: -100vw; }
section.right { left: 100vw; }

section > div > div, header > ul:not(.home) { display: none; }
header > ul:first-child, #details section > div > div { display: block; }

#details section > div {
	padding: 0 6vw;
	margin-bottom: 36px;
}

#details section > div img {
	width: 100%;
}

.content {
	padding: 0 6vw;
	margin-bottom: 30px;
	display: none;
}

.content.show {
	display: block;
}

.content p, .content b {
	max-width: 560px;
	display: block;
}

.content b {
	margin: 48px 0 12px 0;
	font-family: GillSansMTPro-Bold;
	font-style: normal;
	font-weight: normal;
}

.content b:first-child {
	margin-top: 0;
}

i { 
	font-family: GillSansMTPro-MediumItalic;
	font-style: normal;
	letter-spacing: 0.06em;
	}
	
strong {
	font-family: GillSansMTPro-Bold;
	font-weight: normal;
	letter-spacing: 0.08em;
	}

.content > div { margin-top: 36px; }
.content > div:first-child { margin-top: 0; }
.content > div img {
	width: 100%;
	max-width: 480px;
	margin-bottom: 12px;
}

.content > div.cvTggl {
	margin: 0 0 48px 0;
	display: none;
	opacity: 0;
	-o-transition-property: opacity, height, margin;
	-webkit-transition-property: opacity, height, margin;
	-moz-transition-property: opacity, height, margin;
	transition-property: opacity, height, margin;
	-o-transition-duration: 0.3s;
	-webkit-transition-duration: 0.3s;
	-moz-transition-duration: 0.3s;
	transition-duration: 0.3s;	
}

.content > div.cvTggl.tggl { display: block; }
.content div span.cvTggl { display: inline; }
.content div span.cvTggl.tggl { display: none; }


/* not in use */

h4 {
	font-family: GillSansMTPro-Bold;
	font-style: normal;
	font-weight: normal;
	font-size: 16px;
	line-height: 1.25em;
	letter-spacing: 0.08em;

	margin-bottom: 1.25em;
}

.light {
	opacity: 0.4;
}

h4.light {
	opacity: 0.3;
}

p {
	font-size: 16px;
	margin-bottom: 12px;
}

/* end not in use */

#details .detail img {
	display: block;
	border: none;
/*	margin-bottom: 0.625em; */
	margin-bottom: 1.25em;
	background-color: #ffffff;
}

#projekte { padding: 0 6vw 0 3vw; }

#projekte div.strip > img, #projekte div.strip div {
		padding: 0 0 0 3vw;
		width: 100%;
}

#projekte div.strip > div { display: none; }
	
#projekte div.strip > img {
	cursor: pointer;
	position: relative;
	-o-transition-property: opacity;
	-webkit-transition-property: opacity;
	-moz-transition-property: opacity;
	transition-property: opacity;
	-o-transition-duration: 0.3s;
	-webkit-transition-duration: 0.3s;
	-moz-transition-duration: 0.3s;
	transition-duration: 0.3s;	
}

#projekte div.strip ul {
	font-size: 16px;
	list-style-type: none;
	padding: 0 1px 0 1px;
}

a.extLink, a.arrowDetail:before {
	font-family: 'krebsicons';
    font-style: normal;
    font-weight: normal;
    content: "\004c";
	padding-left: 6px;	
   	font-size: 16px;
   	line-height: 0.5em;
}

a.arrowDetail:before {
	content: "\00bb";
	font-size: 20px;
	padding-right: 8px;
	padding-left: 0;	
}

#projNav {
	position: absolute;
	right: 0;
	bottom: 6vw;
	left: 0;
	padding: 0 6vw;
}

#projNav button {
	border: none;
	background-color: transparent;
	color: #4d5c75;
	font-family: 'krebsicons';
    font-style: normal;
    font-weight: normal;
	line-height: 1.25em;
   	font-size: 36px;
	cursor: pointer;
}

#projNav li {
   	display: inline-block;
	float: left;
}

#projNav li:last-child {
	float: right;
}

.slickPrevArr:before {
	content: "\0077";
/*	margin: 0 0.6em 0 -1.2em; */
	}
	
.slickNextArr:after {
	content: "\0079";
/*	margin: 0 0.6em 0 -1.2em; */
	}
	
#projekte div.strip li, #details .detail li  {
	margin-top: 0.625em;
	font-family: GillSansMTPro-MediumItalic;
	font-weight: normal;
	font-style: normal;
	letter-spacing: 0.06em;
}

#details li.detailText, #details li.projPub {
	font-family: GillSansMTPro-Medium;
}

#content-proj .main div.detail li:first-child  {
	margin-top: 0;
}

#projekte div.strip li.jahr, #projekte div.strip li.titel, #projekte div.strip li.ort, #projekte div.strip li.zusatz,
#details li.jahr, #details li.titel, #details li.ort, #details li.zusatz {
	margin-top: 0;
	font-family: GillSansMTPro-Medium;
}

#projekte div.strip li.jahr,
#details header li.jahr {
	margin-bottom: 0.625em;
	font-family: GillSansMTPro-Bold;
	font-weight: normal;
	letter-spacing: 0.2em;
}

#details li.subheading {
	margin-top: 2.5em;
	margin-bottom: 0.625em;
	font-family: GillSansMTPro-Bold;
	font-weight: normal;
}

#projekte div.strip li.wettErgebnis, #projekte div.strip li.no-margin,
#details li.wettErgebnis, #details li.no-margin {
	margin-top: 0;
}
