/* @override
	http://dev.joerggudehus.de/css/basic.css
	http://dev.lengyeltoulouse.com/css/basic.css?* */

/* http://meyerweb.com/eric/tools/css/reset/ */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td, figure {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
	box-sizing:  border-box;
}
/* remember to define focus styles! */
:focus {
	outline: 0;
}
body {
	line-height: 1;
	color: black;
	background: white;
}
ol, ul {
	list-style: none;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	text-align: left;
	font-weight: normal;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}

/* @group fonts */

@font-face {
	font-family: Archivo;
	src: url("../fnt/Archivo-Regular.ttf") format("truetype");
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: Archivo;
	src: url("../fnt/Archivo-Medium.ttf") format("truetype");
	font-weight: 500;
	font-style: normal;
}

@font-face {
	font-family: Archivo;
	src: url("../fnt/Archivo-SemiBold.ttf") format("truetype");
	font-weight: 600;
	font-style: normal;
}


@font-face {
	font-family: Archivo;
	src: url("../fnt/Archivo-Bold.ttf") format("truetype");
	font-weight: 700;
	font-style: normal;
}

@font-face {
	font-family: Archivo;
	src: url("../fnt/Archivo-Italic.ttf") format("truetype");
	font-weight: normal;
	font-style: italic;
}

@font-face {
	font-family: Archivo;
	src: url("../fnt/Archivo-MediumItalic.ttf") format("truetype");
	font-weight: 500;
	font-style: italic;
}

@font-face {
	font-family: Archivo;
	src: url("../fnt/Archivo-SemiBoldItalic.ttf") format("truetype");
	font-weight: 600;
	font-style: italic;
}


@font-face {
	font-family: Archivo;
	src: url("../fnt/Archivo-BoldItalic.ttf") format("truetype");
	font-weight: 700;
	font-style: italic;
}

/* @end */

/* @group variables */



/* @end */

/* @group standard */

body {
	--text: #000;
	--blue: #05a8c3;
	--grey: #c2c2c2;
	--white: #fff;
	--menuFontsize: 15px;
	--small: 16px;
	--asideWidth: 185px;

	--numberOfItems: 3; /* the number of items in the carousel */
	--visibleItemDuration: 3s; /* time during which a carousel item is fully visible */
	--transitionDuration: 1s; /* duration of the transition between two carousel items*/

	--oneItemDuration: calc(var(--visibleItemDuration) + var(--transitionDuration));
	--carouselPeriod: calc(var(--oneItemDuration) * var(--numberOfItems));

	font: 400 18px Archivo, sans-serif;
	color: var(--text);
	line-height: 1.7rem;
	hyphens: none;
	-webkit-hyphens: none;
}

.index {
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	height: 100vh;
}

a:link, a:visited, a:active {
	color: var(--text);
	text-decoration: none;
}

a:hover {
	text-decoration: none;
	color: var(--blue) !important;
}

.active > a {
	color: var(--blue);
}

img {
	-ms-interpolation-mode: bicubic;
	width: 100%;
}

em {
	font-style: italic;
}

strong, .strong {
	font-weight: 700;
}

h3 {
	font-weight: 300;
	margin-bottom: 1rem;
}

h4 {
}

p {
	margin-bottom: 1rem;
}

/* @end */

#wrapper {
	padding-top: 30px;
	padding-left: 35px;
	display: flex;
}

.dissolve {
    width: 100vw;
    height: 100vh;
    position: fixed;
    overflow: hidden;
	z-index: -1;
}

.item {
    position:absolute;
    left: 0;
    right:0;
    opacity: 0;
    animation: dissolve var(--carouselPeriod) linear infinite;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.item:nth-child(2) {
    animation-delay: var(--oneItemDuration);
}

.item:nth-child(3) {
    animation-delay: calc(2 * var(--oneItemDuration));
}

.item:nth-child(4) {
    animation-delay: calc(3 * var(--oneItemDuration));
}

.item:nth-child(5) {
    animation-delay: calc(4 * var(--oneItemDuration));
}

@keyframes dissolve {
    0%, 38.3%, 100% { opacity: 0; }
    5%, 33.3% { opacity: 1;}
}


.item {
}

aside {
	min-width: var(--asideWidth);
	margin-right: 35px;
}

.menu {
	font-weight: 600;
	text-transform: uppercase;
	font-size: var(--menuFontsize);
	letter-spacing: 0.12em;
}

.index .menu {
}

.topMenu {
	line-height: 1.4rem;
}
.menu li {
	height: 24px;
}

index .menu {
	--paddingMenu: 10px;
	background-color: rgba(255, 255, 255, 0.65);
	backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
	padding: var(--paddingMenu);
	margin-left: calc(var(--paddingMenu) * -1);
	margin-top: calc(var(--paddingMenu) * -1);
}

index .search {
	color: var(--text);
	border-bottom: 2px solid var(--text) !important;
}

index .search::placeholder {
	color: var(--text);
}

.logo {
	margin-top: 80px;
	width: 80%;
	//filter: drop-shadow(1px 1px 2px rgb(255 255 255 / 0.9));
}

.logo.mobile {
	display: none;
}

main {
	display: flex;
	width: 100%;
	margin-bottom: 30px;
}

article {
	width: calc(50% - var(--asideWidth));
}

.small {
	font-size: var(--small);
	line-height: 1.4rem;
}

.event {
	font-size: var(--small);
	margin-top: 20px;
	line-height: 1.4rem;
}

.event h4 {
	font-weight: 600;
}

._erwerbungen, ._schenkungen {
	line-height: 1.4rem;
}

.acquisition, .contribution {
	margin-bottom: 40px;
}

.acquisition, .contribution {
	font-size: var(--small);
	margin-bottom: 15px;
}

.description p {
	margin-bottom: 0;
}

._erwerbungen h3, ._schenkungen h3, ._kontakt h3 {
	font-weight: 600;
	margin-top: 40px;
	font-size: 18px;
}

.acquisition figure, .contribution figure {
	width: 200px;
	margin-top: 40px;
	margin-right: 10px;
	margin-bottom: 0.3rem;
}

.contribution .images {
	display: flex;
}

.contribution .caption, .contribution p {
	font-size: var(--small);
	margin-bottom: 1rem;
}

figcaption {
	font-size: 12px;
	line-height: 1.1rem;
	margin-bottom: 1rem;
}

.description p {
	margin-bottom: 0;
}

.pageImg {
	height: 100vh;
	width: 50%;
	position: fixed;
	right: 0;
	top: 0;
}

.pageImg img {
	object-fit: cover;
	width: 100%;
	height: 100%;
}

.topMenu {
	font-weight: 600;
	display: flex;
	flex-wrap: wrap;
	text-transform: uppercase;
	margin-bottom: 40px;
	font-size: var(--menuFontsize);
	letter-spacing: 0.12em;
}

.topMenu li {
	margin-right: 20px;
}

.topMenu li a:after {
	content: "›";
	margin-left: 5px;
}

form {
	font-size: var(--small);
	position: relative;
}

.wf-radio {
	display: flex;
}
.wf-radio label {
	display: inline-block;
	margin-left: 5px;
}

form .small {
	margin-top: 1rem;
}

input:not([type=radio]):not([type=submit]) {
	-webkit-appearance: none;
	border: none;
	border-bottom: 1px solid var(--grey);
	width: 100%;
	margin-bottom: 10px;
}

input[type=submit] {
	background-color: black;
	color: white;
	font-family: Archivo, sans-serif;
	cursor: pointer;
	border: none;
	font-size: 16px;
	padding: 10px;
}

.wf-group > .wf-label {
	display: none;
}

.wf-radio, .wf-group {
	margin-top: 10px;
}

.wf-radio input {
	margin-top: 7px;
}

.search {
	border: none;
	border-bottom: 2px solid var(--grey) !important;
	color: var(--grey);
	background: transparent;
	font-size: var(--menuFontsize);
	text-transform: uppercase;
	width: calc(80% - 0px) !important;
	letter-spacing: 0.12em;
	font-weight: 400;
	font-family: Archivo, sans-serif;
	margin-top: 40px;
}

.result h4 a:link {
	color: var(--grey);
	text-transform: uppercase;
	letter-spacing: 0.12em;
}

.result h4 {
	color: var(--grey);
	margin-bottom: 3px;
	font-weight: 700;
}

.highlight {
	color: var(--blue);
}

.result {
	margin-top: 20px;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	-webkit-box-orient: vertical;
}

.price {
	margin-bottom: 40px;
}

.price input {
	width: 45px !important;
	margin-left: 10px;
}

.price > .wf-label {
	display: inline;
}

.-wf-group:nth-of-type(2) {
	display: inline-block;
	width: 70%;
}

.wf-fax-2 {
	display: none;
}

.lb-caption {
	font-weight: normal !important;
}

footer {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100vw;
	background: var(--white);
	font-size: 12px;
	line-height: 20px;
	display: flex;
	padding-top: 5px;
	padding-bottom: 5px;
	padding-left: 10px;
	overflow: hidden;
}

footer nav ul {
	display: flex;
}

footer nav ul li {
	margin-right: 10px;
}

.index footer .caption {
	margin-left: 40px;
}

footer .caption {
	position: absolute;
	left: calc(50% - 5px);
}

@media (max-width: 1100px) {

	body {
		--asideWidth: 0;
		--logoHeight: 100px;
	}

	aside {
		width: 0;
		margin-right: 0;
	}

	article {
		width: calc(50% - 60px);
	}

    .menu, .index .menu {
		padding: 0;
		margin-left: 0;
		margin-top: 0;

		position: fixed;
		width:  100vw;
		right: -100vw;
		top: 0;
		height: 100vh;
		text-align: right;
		padding-right: 2rem;
		padding-left: 2rem;
		padding-top: 5rem;
		transition: right 0.3s ease-in-out;
		z-index: 1;
		background-color: var(--white)
	}

	.menu.active {
		right: 0;
	}

	.menu li {
		margin-bottom: 1rem;
	}

	.menu li a {
		display: block;
	}

	.hamburger {
		position: fixed;
		right: 1.5rem;
		z-index: 2;
		top: 0.7rem;
	}

	.hamburger div {
		width: 26px;
		height: 4px;
		background-color: black;
		margin: 4px 0;
		transition: 0.4s;
	}

	.active .bar1 {
		transform: rotate(-45deg) translate(-4px, 4px) ;
	}

	.active .bar2 {
		opacity: 0;
	}

	.active .bar3 {
		transform: rotate(45deg) translate(-7px, -7px) ;
	}

	.search {
		text-align: right;
	}

	.logo.mobile {
		display: block;
		position: absolute;
		top: var(--padding);
		left: var(--padding);
		margin-top: 0;
		width: auto;
		height: var(--logoHeight);
	}

	.logo.mobile .symbol {
		width: 66px;
	}

	.logo.mobile .text {
		width: 108px;
	}

	.logo.desktop {
		display: none;
	}

	article nav {
		margin-top: calc(var(--logoHeight) + 20px);
	}

}

@media (max-width: 700px) {

	body {
		--padding: 10px;
		--logoHeight: 100px;
	}

	#wrapper {
		padding-left: var(--padding);
		padding-top: var(--padding);
		display: block;
	}

	aside {
		width: 100%;
	}

	main {
		display: block;
		margin-top: var(--logoHeight);
	}

	article {
		width: 100%;
		margin-bottom: 20px;
		margin-top: 40px;
		order: 2;
	}

	.logo.mobile .symbol {
		margin-left: calc(50vw - 141px);
	}

	.pageImg {
		width: calc(100% - 10px);
		height: 60vw;
		position: relative;
		order: 1;
		margin-top: 40px;
		margin-bottom: 20px;
	}

	main {
		display: flex;
		flex-direction: column;
	}

	article nav {
		margin-top: 0;
	}

	footer .caption {
		display: none;
	}

}

@media print {

	a[href^="http"]:not([href*="juligudehus.net"]):after {
		content: " (" attr(href) ")";
	}

}

@media (prefers-reduced-motion: reduce) {

	*, *::before, *::after {
		animation-duration: 0.001s !important;
		transition-duration: 0.001s !important;
	}

}
