
/* -------------------------------------------------- */
/*    GLOBAL STUFF                                    */
/* -------------------------------------------------- */

* {
	margin: 0;
	padding: 0;
	border: 0 none;
	outline: 0 none;
}

body {
	font-family: 'Vollkorn', serif;
	text-align: left;
	font-size: 62.5%;  /* 1em = 10px , 1.4em = 14px */
	color: rgb(130,129,136);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}


body, #head {
	background: rgb(240,240,235);
}
#veil {
	background: rgba(240,240,235, 0.9);
}


body.mint , .mint #head{
	background: rgb(232,238,235);
}
.mint #veil {
	background: rgba(232,238,235, 0.9);
}

body.warm , .warm #head{
	background: rgb(247,245,244);
}
.warm #veil {
	background: rgba(247,245,244, 0.9);
}




.nav, nav, dt, figcaption, .acchead, .pswp__caption__center,
a[href$=".pdf"], .link-internal-prev, .link-internal-next, .link-internal {
	font-family: Circular-Book, sans-serif;
}

textarea,
input,
label {
	font-family: inherit;
	/* for i0S */
	 border-radius: 0;
	 -webkit-appearance: none;
}



a {
	text-decoration: none;
}
a, .nav, figcaption, p.acchead, .pswp__caption__center {
	color: rgb(99,98,106);
}

/*
a:hover {
	color: rgb(72,72,87);
}
*/


article,
nav,
aside {
	display: block;
}



/* -------------------------------------------------- */
/*    POSITIONING                                     */
/* -------------------------------------------------- */

#all {
    max-width: 100vw;
    overflow: hidden;
}
.row {
	
}

.rowmax {
	text-align: left;
	margin-left: 30em;
	margin-right: auto;
	max-width: 154em;
	overflow: hidden;
	position: relative;
	padding: 3em 4em;
	transition: margin 0.6s;
}


#head {
	position: fixed;
	width: 100vw;
	z-index: 10;
}
#head .rowmax {
	overflow: visible;
	height: 11em;
	pointer-events: none;
}
#main {
	padding-top: 14em;
}

#veil {
	position: absolute;
	width: 34.5em;
	left: -34em;
	top: 0;
	height: 100vh;
	transition: left 0.3s;
}






/*  #####  HEAD ELEMENTS  #####  */


#logo {
	position: absolute;
	left: 4em;
	top: 3.7em;
	width: 20em;
	transition: width 0.6s;
}
#logo img {
	width: 100%;
	height: auto;
}

#mainnav {
	width: 80%;
	float: left;
	pointer-events: initial;
}

#langnav {
	float: right;
}

#navtoggle {
	position: absolute;
	cursor: pointer;
	top: 3em;
	right: 4em;
	width: 3em;
	height: 3em;
	display: none;
}

#navtoggle .bar {
	position: absolute;
	left: 0;
	top: 1.3em;
	background: rgb(130,129,136);
	border-radius: 1px;
	height: 4px;
	width: 3em;
	transform: rotate(0deg);
}

#navtoggle .bar.n1{
	top: 0.4em;
	transition: transform 0.3s, top 0.3s ease 0.3s;
}
#navtoggle .bar.n2{
	opacity: 1;
	transition: opacity 1ms linear 0.3s;
}
#navtoggle .bar.n3{
	top: 2.2em;
	transition: transform 0.3s, top 0.3s ease 0.3s;
}

.shownav #navtoggle .bar.n1{
	top: 1.3em;
	transform: rotate(45deg);	
	transition: top 0.3s, transform 0.3s ease 0.3s;
}
.shownav #navtoggle .bar.n2{
	opacity: 0;	
}
.shownav #navtoggle .bar.n3{
	top: 1.3em;
	transform: rotate(-45deg);	
	transition: top 0.3s, transform 0.3s ease 0.3s;
}


/*  #####  PAGE ELEMENTS  #####  */

article {
	padding-right: 12em;
	transition: padding 0.6s;
}
.links {
	width: 45%;
	float: left;
	clear: left;
}

.rechts {
	width: 45%;
	float: right;
	clear: right;
}

.rowmax.col4 {
	margin-left: 0;
	padding-left: 3em;
	padding-right: 1em;
}

@media (max-width: 1400px){
.rowmax.col4 {
	margin-left: 0;
	padding-left: 3em;
	padding-right: 1em;
	}
}

@media (min-width: 1400px){
.rowmax.col4 {
	max-width: 186em;
}

#viewToggle{
	max-width: 188em;
}

}

@media (min-width: 1880px){
#viewToggle{
	padding-right: 0;
}
}


.col4 article {
	padding-right: 0;
}





/* -------------------------------------------------- */
/*    NAVIGATION                                      */
/* -------------------------------------------------- */

ul.nav {
	list-style:none;
}
ul.nav li{
	display: inline-block;
}
.nav a {
	display: inline-block;
	font-size: 2.4em;
	text-decoration: none;
	padding: 0;
	white-space: nowrap;
	border-bottom: 2px solid transparent;
	transition: color 0.3s, border-color 0.3s;
}
#langnav li {
	font-size: 2.4em;
}
#mainnav li li a,
.search {
	font-size: 2em;
	line-height: 1.2em;
}
.search {
	line-height: normal;
}
#langnav li a{
	font-size: 1em;
}
.nav a.act,
.nav a:hover {
	text-decoration: none;
	border-color:  rgb(99,98,106);
}

.nav li li li, .nav li li  li a, .search {
	color: rgb(161,161,166);
}

.search input, .search textarea, .search select, .search button {
    color: rgb(161,161,166);
}

.nav li li  li a.act,
.nav li li  li a:hover {
	border-color: rgb(161,161,166);
}



/* ---- Mainnav -----*/

#mainnav {
	line-height: 1px;
}

#mainnav a {
	padding:0.2em 0;
	margin: 0;
	display: inline-block;
	line-height: 1.2em;
}



#mainnav li {
	display: inline-block;
	text-align: left;
	position: relative;
}
#mainnav > ul  {
	text-align: justify;
}
#mainnav > ul:before,
#mainnav > ul:after  {
	content: '';
	display: inline-block;
	width: 99%;
	height: 1px;
}

#mainnav > ul >li >a:after {
	content: ' ';
}
#mainnav > ul > li > ul {
	/*display: none;*/
	opacity: 0;
	visibility: hidden;
	position: absolute;
	padding-top: 1em;
	transition: opacity 0.6s;
	left: -3em;
	padding-left: 3em;
	padding-right: 3em;
	min-height: 90vh;
	min-width: 30em;
}


#mainnav li:hover ul,
#mainnav li.hover ul {
	/*display: block;*/
	opacity: 1;
	visibility: visible;
}

#mainnav li li {
	display: block;
}



/* ---- search nav ---- */

.search{
	padding-top: 1em;
}
.search label {
	padding: 0.2em 0 0.4em 0;
	display: inline-block;
	width: 5em;
}
.search input {
	width: 8em;
}
.search input.short {
	width: 2.3em;
	margin-left: 0em;
}

.search input:invalid {
	box-shadow: none;
	color: #ff7070;
	border-bottom-color: #ff7070; 
}


.search .timespan input {
	width: 2.75em;
}
.search .timespan span {
	display: inline-block;
	width: 2.5em;
	text-align: center;
}
.search .timespan span:first-child {
	width: 5em;
	text-align: left;
}
.search .gs span {
	border-bottom: 2px solid rgb(161,161,166);
	display: inline-block;
	width: 2em;
}
.search .gs input {
	width: 6em;
}


/* ---- Mainnav -----*/

#langnav {
	padding-top: 0.5em;
	pointer-events: initial;
}
#langnav li {
	margin:0.2em 0;
	line-height: 1.2em;
}







/* -------------------------------------------------- */
/*    CONTENT DESIGN                                  */
/* -------------------------------------------------- */

h1,h2,h3,
.timeline a {
	font-size: 2.4em;
	line-height: 1.1em;
	font-weight: 600;
	padding-bottom: 0.4em;
}
h1,h2 {

}
h3 {

}

.timeline a {
	font-family: 'Vollkorn', serif;
	font-style: italic;
}


.frame {
	padding-bottom: 3%;
}

.artpiece div.rechts{
	padding-bottom: 0;
}

.frame.breit {
	padding-bottom: 1.5%;
	clear: both;
}

#cont .frame-type-header {
	padding-bottom: 0;
}

span.spamprotection{
	display: none;
}

.frame header{
	padding-bottom: 1.5em;
}

.frame p,
.frame li,
.frame dd {
	font-size: 2.4em;
	line-height: 1.4em;
	padding-bottom: 0.8em;
}
dt, figcaption, .frame p.acchead, .pswp__caption__center {
	font-size: 1.6em;
}
dt {
	color: rgb(161,161,166);
}

.frame a[href$=".pdf"],
.frame .link-internal-prev,
.link-internal {
	font-size: 16px;
	background: url('/fileadmin/Resources/Public/img/download.svg') left 4px no-repeat;
	padding-left: 2em;
	color: rgb(130,129,136);
}
.frame .link-internal-prev,
.link-internal {
	background-position: left 2px;
	padding-left: 50px;
}
.frame .link-internal-prev {
	background-image: url('/fileadmin/Resources/Public/img/prev.svg');
}
.link-internal {
	background-image: url('/fileadmin/Resources/Public/img/next.svg');
}
.link-internal-next {
	font-size: 16px;
	background: url('/fileadmin/Resources/Public/img/next.svg') right 8px no-repeat;
	padding-right: 50px;
	color: rgb(130,129,136);
	float: right;
}


.frame li{
	margin-left: 1em;
}
.frame ul{
	list-style: none;
}
.frame ul li:before{
	content: '–';
	position: absolute;
	margin-left: -1em;
}

.frame dd.provenance{
	font-size: 1em;
}

.frame dd.provenance li{
	padding-bottom: 0.4em;
}

.frame ol {
	list-style: none;
	border-bottom: 1px solid rgb(130,129,136);
	margin-bottom: 2.4em;
	margin-top: -1.2em;
}
.frame ol li {
	border-top: 1px solid rgb(130,129,136);
	padding: 0.3em 0;
	margin: 0;
}



textarea,
input {
	font-size: inherit;
}
input[type="text"],
input[type="password"],
textarea {
	border-bottom: 2px solid rgb(161,161,166);
	background: transparent;
}
input[type="text"]:focus,
input[type="password"]:focus,
textarea:focus {
	border-color: rgb(72,72,87);
}


input[type="submit"]{
	background: rgb(130,129,136);
	color: rgb(240,240,235);
	width: 8em;
	margin: 1em 0 1em 5em;
	padding: 0.2em 0;
	cursor: pointer;
	transition: background 0.3s;
}
.warm input[type="submit"]{
	color: rgb(247,245,244);
}
.mint input[type="submit"]{
	color: rgb(232,238,235);
}
input[type="submit"]:hover{
	background: rgb(99,98,106);
}

::-webkit-input-placeholder{
	font-style: italic;
	opacity: 0.3;

}
::-moz-placeholder{
	font-style: italic;
	opacity: 0.3;

}
:-moz-placeholder{
	font-style: italic;
	opacity: 0.3;

}
:-ms-input-placeholder{
	font-style: italic;
	opacity: 0.3;

}
::placeholder {
	font-style: italic;
	opacity: 0.3;

}

:focus::-webkit-input-placeholder{
	opacity: 0;
}
:focus:-moz-placeholder{
	opacity: 0;
}
:focus::-moz-placeholder{
	opacity: 0;
}
:focus:-ms-input-placeholder{
	opacity: 0;
}
:focus::placeholder {
	opacity: 0;
}

.ce-gallery[data-ce-columns="1"] .ce-column{
	float: none;
}

.ce-gallery figure{
	margin: 0 auto;
}

.ce-gallery figcaption .copyclick{
	display: inline;
	cursor: pointer;
}

.ce-gallery figcaption .copyright{
	display: none;
}

.ce-above .ce-gallery {
	margin-bottom: 0;
}
.ce-intext .ce-gallery{
	max-width: 50%;
}

.ce-gallery img {
	width: 100%;
	height: auto;
}

figcaption,
.pswp__caption__center  {
	white-space: pre-line;
	margin-top: 0.4em;
}

figure a {
	display: table; /* needed because figcaption is now in a child element */
}



/*
	READ MORE
*/

.accordion {
	margin-top: -0.8em;
}
.acccont {
	display: none;
	padding-top: 0.8em;
}
.acchead {
	cursor: pointer;
}
.accicon {
	display: inline-block;
	width: 40px;
	height: 20px;
	background: url('/fileadmin/Resources/Public/img/dash.svg') left top no-repeat;
	vertical-align: bottom;
}

.acchead::after {
	content: 'mehr lesen';
	display: inline;
}

.open .acchead::after {
	content: 'weniger';
}


:lang(en) .acchead::after {
	content: 'read more';
	display: inline;
}

:lang(en) .open .acchead::after {
	content: 'show less';
}

/* 
	SPLASH PAGE
*/

body#pid1 {
	background: center;
	background-size: cover;
}
#all.start #cont{
	display: none;
}
#all.start #next {
	text-align: center;
}
#all.start #next a {
	display: block;
	width: 100vw;
	height: 100vh;
}

#all.start #next img {
	width: 30vw;
	height: auto;
	position: relative;
	top: 50%;
	transform: translateY(-50%);
}



/*
	TIMELINE
*/
.timeline.frame-type-text {
	margin: 6% 0 9% 0;;
}
.timeline.frame li {
	font-size: inherit;
}

.timeline ul {
	clear: left;
	overflow: hidden;
}
.timeline ul:last-child li:first-child {
	margin-left: 10%;
}
.timeline ul:first-child {
	background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='37' height='8'><path fill='none' stroke='%23adc9bf' stroke-width='2' d='M 2 0 V 8' /></svg>") -1px bottom repeat-x;
	border-bottom: 2px solid #adc9bf;
}
.timeline_unused ul:last-child {
	background-image: 
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='2' height='25'><path fill='none' stroke='%23adc9bf' stroke-width='2' d='M 1 0 V 25' /></svg>"),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='2' height='25'><path fill='none' stroke='%23adc9bf' stroke-width='2' d='M 1 0 V 25' /></svg>");
  background-position:
    top left, /* this positions the first image */
    top right; /* this positions the second image */
  background-repeat:
    no-repeat; /* this applies to both images */
}
.timeline li {
	margin: 0;
	float: left;
	width: 22.5%;
	text-align: center;
	padding: 0;
}
.timeline li:before {
	content: none;
	display: none;
}

.timeline a {
	background: none;
	padding: 0;
	position: relative;
	display: inline-block;
	white-space: nowrap;
}
.timeline a:before {
	content: '';
	display: block;
	width: 2px;
	height: 18px;
	background: #adc9bf;
	position: absolute;
	left: 50%;
}

.timeline ul:first-child a {
	padding-bottom: 25px;
}
.timeline ul:first-child a:before {
	bottom: 0;
}
.timeline ul:last-child a {
	padding-top: 25px;
}
.timeline ul:last-child a:before {
	top: 0;
}

/*
.timeline .ce-gallery {
	overflow-x: scroll;
	width: 100%;
}
.timeline .ce-row {
	white-space: nowrap;
	display: flex;
	justify-content: space-between;
}

.timeline .ce-row:first-child {
	border-bottom: 1px solid #adc9bf;
	padding-bottom: 10px;
	align-items: flex-end;
}

.timeline .ce-column {
	float: none;
	display: inline-block;
	vertical-align: top;
}

.timeline .ce-row:first-child .ce-column {
	vertical-align: bottom;
}
.timeline figure {
	display: table;
}
.timeline a {
	display: table-row;
}

.timeline .left,
.timeline .maxh  {
	display: table-cell;
	padding-top: 4em;
}
.timeline .ce-row:first-child .left,
.timeline .ce-row:first-child .maxh {
	padding-top: 0;
	padding-bottom: 4em;
}

.timeline .left {
	padding-right: 0.5vw;
}
.timeline .maxh {
	border-left: 1px solid #adc9bf;
	padding-left: 0.5vw;
	vertical-align: bottom;
}
.timeline .ce-row:first-child .maxh {
	vertical-align: top;
}


.timeline h2 {
	padding-bottom: 0;
}

*/



/*
	LIGHTBOX
*/

.pswp__bg {
	background: rgb(240,240,235);
}

.pswp__top-bar, .pswp__caption,
.pswp__ui--fit .pswp__top-bar, .pswp__ui--fit .pswp__caption,
.pswp__button--arrow--left::before,
.pswp__button--arrow--right::before {
	background-color: rgba(240,240,235, 0.5);
}

.pswp__caption__center {
	text-align: center;
	max-width: 90%;
	padding: 0;
	padding-bottom: 0.4em;
}

/*
	SLIDESHOW
*/

.bx-wrapper {
	box-shadow: none;
	border:  none;
	background: transparent;
	margin-bottom: 0;
}


.bx-wrapper .ce-gallery {
	overflow: visible;
	float: none;
}

.slideshownav .ce-column {
	padding-bottom: 4em;
}
.bx-wrapper .bx-controls-direction a {
	top: auto;
	bottom: 0;
	margin-top: 0;
	transform: translateX(0);
	width: 38px;
	padding: 0 16px;
	animation: none;
	z-index: 5;
}
.bx-wrapper .bx-prev {
	left: -16px;
	background: url('/fileadmin/Resources/Public/img/prev.svg') no-repeat center;
}
.bx-wrapper .bx-next {
	right: -16px;
	background: url('/fileadmin/Resources/Public/img/next.svg') no-repeat center;
}

@keyframes bounceright {
	0%, 30%, 50%, 100% {
		transform: translateX(0);
	}
	20% {
		transform: translateX(-16px);
	}
	40% {
		transform: translateX(-8px);
	}
}
@keyframes bounceleft {
	0%, 30%, 50%, 100% {
		transform: translateX(0);
	}
	20% {
		transform: translateX(16px);
	}
	40% {
		transform: translateX(8px);
	}
}

.bx-wrapper .bx-prev:hover {
	background-position: center;
	animation: bounceleft 2s normal;
}
.bx-wrapper .bx-next:hover {
	background-position: center;
	animation: bounceright 2s normal;
}

.bx-wrapper .bx-prev:focus,
.bx-wrapper .bx-next:focus {
	background-position: center;
}


@media (max-aspect-ratio: 5/6){
	#all.start #next img {
		width: auto;
		height: 20vh;
	}
}


@media (max-width: 1800px){
	.rowmax {
		margin-left: 26em;
	}
	article {
		padding-right: 9em;
	}
	.links, .rechts {
		width: 46%;
	}
	h1,h2,h3,
	.frame p,
	.frame li,
	.frame dd,
	.timeline a  {
		font-size: 2.2em;
	}
}

@media (max-width: 1400px){
	.rowmax {
		margin-left: 22em;
	}
	article {
		padding-right: 6em;
	}
	.links, .rechts {
		width: 47%;
	}

	h1,h2,h3,
	.frame p,
	.frame li,
	.frame dd,
	.timeline a  {
		font-size: 2em;
	}
}

@media (max-width: 1200px){
	.rowmax {
		margin-left: 20em;
	}
	#logo {
		width: 16em;
	}
	.nav a,
	#langnav li {
		font-size: 2.2em;
	}
	#mainnav li li a,
	.search {
		font-size: 1.8em;
	}

	#mainnav {
		width: 85%;
	}
	article {
		padding-right: 0em;
	}
}

@media (max-width: 980px){
	.rowmax {
		margin-left: 0;
	}

	#head {
		height: 14em;
	}

	#head .rowmax {
		background: rgb(240,240,235);
		pointer-events: initial;
	}
	.mint #head .rowmax{
		background: rgb(232,238,235);
	}
	.warm #head .rowmax{
		background: rgb(247,245,244);
	}

	#logo {
		top: 3em;
	}
	#mainnav,
	#langnav {
		width: auto;
		float: none;
	}
	#langnav {
		padding-left: 4em;
	}

	#mainnav ul, #mainnav li {
		display: block !important;
		position: static !important;
	}
	#mainnav > ul > li {
		border-bottom: 1px solid rgb(161,161,166);
		padding: 0.5em 0 0.5em 4em;
	}
	#mainnav a {
		display: inline-block;
	}
	#mainnav > ul > li > ul {
		min-height: 0 !important;
		display: block;
		max-height: 0vh;
		transition: max-height 0.6s;
		padding-top: 0;
		overflow: hidden;
		visibility: visible;
	}
	#mainnav > ul > li:hover > ul,
	#mainnav > ul > li.hover > ul {
		max-height: 100vh;
		min-height: 0 !important;
	}
	#navtoggle {
		display: block;
	}
	#head .rowmax {
		height: calc(100vh - 14em);
		width: 32em;
		position: absolute;
		top: 14em;
		right: -32em;
		padding: 0;
	    overflow: auto;
	    transition: right 0.3s;
	    border-top: 1px solid rgb(161,161,166);
	}
	#all.shownav #head .rowmax {
		right: 0;
	}
	#veil {
		display: none !important;
	}
	#mainnav > ul:before,
	#mainnav > ul:after {
		display: none;
	}
}
@media (max-width: 750px){
	.timeline li:nth-child(odd) {
		padding-top: 40px;
	}
	.timeline ul:last-child li:first-child {
		margin-left: 5%;
	}
	.timeline ul:first-child li:nth-child(even) a:before {
		height: 65px;
	}
	.timeline ul:last-child li:nth-child(odd) a:before {
		height: 65px;
	}
	.timeline ul:first-child li:nth-child(even) a:before {
		bottom: -40px;
	}
	.timeline ul:last-child li:nth-child(odd) a:before {
		top: -40px;
	}

}


@media (max-width: 710px){
	.frame {
		float: none;
		width: 100%;
		padding-bottom: 3%;
		box-sizing: border-box;
	}
}
@media (max-width: 480px){
	.rowmax {
		padding: 2em;
	}
	.rowmax.col4 {
		padding-left: 1em;
		padding-right: 1em;
	}
	#logo {
		top: 1.5em;
		left: 2em;
	}
	#navtoggle {
		top: 1.5em;
		right: 2em;
	}
	#mainnav > ul > li {
		padding-left: 2em;
	}
	#langnav {
		padding-left: 2em;
	}
	#head {
		height: 11em;
	}
	#head .rowmax {
		height: calc(100vh - 11em);
		width: 100vw;
		top: 11em;
		right: -100vw;
	}
	#main {
		padding-top: 9em;
	}
	.ce-gallery{
		/* margin: 0 -2em; */
	}
	figcaption {
		margin-bottom: 0.4em;
	}
}

@media (max-width: 440px){
	.timeline ul {
		width: 600px;
	}
	.timeline {
		overflow-x: scroll;
	}
}