/**
 * @author Studio Tillack Knöll, Sven Tillack
 * @version 1.0
 */

body {
	font-feature-settings: 'calt' 0;
/*	opacity: 0;*/
	transition: .2s opacity ease;
}

	body.load {
/*		opacity: 1;*/
	}

p a {
	text-decoration: underline;
}

p {
	hyphens: auto;
}

#site_title {
	border-radius: var(--rad-md);
	display: block;
	transition: all .2s ease;
}

	#site_title:hover {
		transform: scale(.95);
		animation: anim .25s infinite;
		-webkit-animation: anim .25s infinite;
	}

	#site_title:hover h1 {
		animation: stretchy .25s infinite;
		-webkit-animation: stretchy 1s infinite;
	}

@keyframes anim {
	0% {
		transform: rotate(.5deg);
	}
	25% {
		transform: rotate(-.5deg);
	}
	50% {
		transform: rotate(.5deg);
	}
	75% {
		transform: rotate(-.5deg);
	}
	100% {
		transform: rotate(.5deg);
	}
}

@keyframes stretchy {
	0% {
		letter-spacing: 0em;
	}
	50% {
		letter-spacing: .5em;
	}
	100% {
		letter-spacing: 0em;
	}
}

#navigation-footer li a:hover {
	animation: wiggle .25s infinite;
	-webkit-animation: wiggle .25s infinite;
	cursor: pointer
}

@keyframes wiggle {
	0% { transform: translate(2px, 0px); }
	33% { transform: translate(-3px, -2px); }
	66% { transform: translate(1px, 2px); }
	99% { transform: translate(-4px, 2px); }

}

#page-footer {
	margin-top: 60px;
}

.rad--md { border-radius: var(--rad-md); }
.rad--lg { border-radius: var(--rad-lg); }
.rad--lg__inset { border-radius: var(--rad-lg__inset); }

.bg--gray { background-color: var(--col-gray); }
.bg--blue {	background-color: var(--col-blue); }
.bg--red { background-color: var(--col-red); }
.bg--yellow { background-color: var(--col-yellow); }

.txt--white { color: var(--col-white) !important; }
.txt--red { color: var(--col-red) !important; }
.txt--blue { color: var(--col-blue) !important; }
.txt--yellow { color: var(--col-yellow) !important; }

.txt--uc { text-transform: uppercase; }
.txt--center { text-align: center; }

.p--20 { padding: 20px 0; }
.p--20-all { padding: 20px; }
.p--40-20-20 { padding: 30px 20px 20px 20px; }
.m--20 { margin-top: 20px; }

@media (max-width: 768px) {
	.p--20-40 { padding: 20px 40px; }
	.container--text h2 {
		height: auto !important;
	}
	.container--text {
		padding-bottom: 0px !important;
	}
}

.style--button { display: inline-block; margin-top: 10px; }

.trigger {
    padding: 19px 0px 9px;
    border-radius: var(--rad-md);
    line-height: 1;
	transition: all .2s ease;
}

	.trigger:hover {
		transform: scale(.95);
		animation: anim .25s infinite;
		-webkit-animation: anim .25s infinite;
		cursor: pointer;
	}

@media (max-width: 1024px) {
		.trigger {
			padding: 19px 0px 19px;
		}
			
}

	@media (max-width: 768px) {
		.trigger {
			padding: 19px 0px 9px;
		}	
		
		.trigger svg {
			margin: 0 0 10px 0;
		}
	}

#navigation-main {
	top: -160vh;
	position: relative;
	z-index: 2;
	transition: all .25s ease;
	left: 0;
	padding: 0 10px;
	height: 0px;
}

	@media (max-width: 768px) {
		#navigation-main {
			top: -230vh;

		}
	}

	#navigation-main .bg--blue {
		border-radius: var(--rad-md);
	}

#navigation-main.open {
	top: 0px;
	height: auto;
/*	max-height: 100vh;*/
}

	#site_title,
	.trigger {
		transition: box-shadow .25s ease;
	}



#navigation-main > ul {
  display: grid;
  grid: auto / repeat(6, 1fr);
  gap: 8px;
}

#navigation-main > ul > li {
  padding: 1rem;
  grid-column: span 2;
}

/* #navigation-main > ul > li:nth-child(1),
#navigation-main > ul > li:nth-child(4),
#navigation-main > ul > li:nth-child(5) {
	grid-column: span 3;
}

#navigation-main > ul > li:nth-child(2),
#navigation-main > ul > li.menu-item-191,
#navigation-main > ul > li.menu-item-274,
#navigation-main > ul > li.menu-item-606,
#navigation-main > ul > li.menu-item-607 {
	grid-column: span 1;
} */

	@media (max-width: 768px) {
		#navigation-main > ul {
		  display: grid;
		  grid: auto / repeat(4, 1fr);
		  gap: 8px;
		}

		#navigation-main > ul > li,
		#navigation-main > ul > li:nth-child(1),
		#navigation-main > ul > li:nth-child(2),
		#navigation-main > ul > li:nth-child(4),
		#navigation-main > ul > li:nth-child(5),
		#navigation-main > ul > li.menu-item-191,
		#navigation-main > ul > li.menu-item-274,
		#navigation-main > ul > li.menu-item-606,
		#navigation-main > ul > li.menu-item-607 {
		  padding: 1rem;
		  grid-column: span 2;
		}

/*
		#navigation-main > ul > li:nth-child(1),
		#navigation-main > ul > li:nth-child(4),
		#navigation-main > ul > li:nth-child(5) {
			grid-column: span 3;
		}	
*/
	}

	#navigation-main > ul > li {
		display: inline-block;
		transition: box-shadow .25s ease;
	}

	#site_title:hover,
	.trigger:hover,
	#navigation-main > ul > li:hover {
		box-shadow: 2px 2px 5px rgba(128, 128, 128, .5); 
	}

	#navigation-main > ul > li {
		background-color: var(--col-blue);
		padding: 15px 20px;
    	display: inline-block;
	    border-radius: var(--rad-md);
		margin-bottom: 10px;
		color: var(--col-white);
		text-align: center;
	}

	#navigation-main > ul > li.menu--icon {
		padding: 0px !important;
	}

	#navigation-main > ul > li.menu--icon a {
		padding: 15px 20px;
	}

	.menu-item-29,
	.menu-item-26,
	.menu-item-27,
	.menu-item-25 {
		min-width: 20%;
	}

	#navigation-main > ul > li:hover {
		animation: anim .25s infinite;
		-webkit-animation: anim .25s infinite;
	}
	
	#nvaigation-main .sub-menu {
		margin-top: 10px !important;
		border-top: 2px solid white !important;
		padding-top: 10px;
	}



	#navigation-main > ul > li > ul > li {
		font-family: 'scr';
		text-transform: uppercase;
		text-align: center;
/*		font-size: 1.25em;*/
		border-bottom: 2px solid white; 
		margin: 10px 0;
		padding-bottom: 10px;
	}

	@media (max-width: 769px) {
		#navigation-main > ul > li {
			width: 100%;
			box-sizing: border-box;
			padding: 15px 20px 5px 20px;
		}
	}

	#navigation-main > ul > li > ul > li:last-of-type {
		border-bottom: none; 
		margin-bottom: 10px;
		padding-bottom: 0px;
	}

	@media (max-width: 768px) {
		.menu--icon,
		.menu-item-191 {
			padding: 15px 20px 15px 20px !important;
			
		}
		.menu--icon a {
			height: auto !important;	
			text-indent: 0px !important;
			width: 100% !important;
		}
	}

#navigation-footer li {
	display: inline;
}

#navigation-footer li a {
    background-color: var(--col-blue);
    color: var(--col-yellow);
    border-radius: var(--rad-md);
    padding: 3px 30px 8px 30px;
    text-transform: uppercase;
    line-height: 1;
    display: inline-block;
}

.row--uberschrift__bild .container--bild img {
	margin-top: 10px;
	border-radius: var(--rad-xl);
	object-fit: cover;
}

	@media (max-width: 768px) {
		.row--uberschrift__bild .container--bild img {
			margin-top: 10px;
			border-radius: var(--rad-xl);
		}
		
/*
		.row--uberschrift__bild {
			padding-bottom: 10px;
		}
*/
	}



	.wrap > aside.row--uberschrift__bild:nth-of-type(odd) .row-inner {
		display: flex;
		max-width: 100%;
	}

	.wrap > aside.row--uberschrift__bild:nth-of-type(odd) .container--bild {
		order: 1;
	}

	.wrap > aside.row--uberschrift__bild:nth-of-type(odd) .container--text {
		order: 2;
	}

	.container--text {
		display: block;
		box-sizing: border-box;
		margin-bottom: 10px;
		padding-bottom: 10px;
	}

	.container--text h2 {
		display: flex;
		flex-direction: column;
		height: 100%;
		justify-content: center;
	}

	.container--text h2 span {

	}


.glide__track {
	transition: height .2s ease;
}

.glide__bullets {
	position: absolute;
	top: 16px;
	left: 50%;
	transform: translateX(-50%);
}

.glide__bullet {
	width: 16px;
    height: 16px;
    margin-right: 10px;
    background: var(--col-gray);
    border-radius: 10px;
	opacity: .5;
	transition: opacity .2s ease;
}

	@media (max-width: 768px) {
		.glide__bullet {
			width: 12px;
			height: 12px;
		}
	}

.glide__bullet--active {
	opacity: 1;
}

.glide__arrows {
	position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
}

	@media (max-width: 1080px) {
		.glide__arrows {
			display: none;
		}
	}

.glide__arrow {
	width: 50%;
    height: 100%;
    background: none;
	float: left;
}

.glide__arrow--left {
	cursor: w-resize;
}

.glide__arrow--right {
	cursor: e-resize;
}

@media (min-width: 1025px) {
	.card__wrapper {
	  perspective: 2000px;
	  -webkit-perspective: 2000px;
	  -moz-perspective: 2000px;
	  -o-perspective: 2000px;
	}
	
	.card {
		width: 100%;
		height: 100%;
		position: relative;
		transition: transform .5s;
		-webkit-transition: transform .5s;
		-moz-transition: transform .5s;
		-o-transition: transform .5s;
		transform-style: preserve-3d;	
		-webkit-transform-style: preserve-3d;
		-moz-transform-style: preserve-3d;
		-o-transform-style: preserve-3d;
	}
	
	.card__face {
		position: absolute;
		width: 100%;
		height: 100%;
		-webkit-backface-visibility: hidden;
		-moz-backface-visibility: hidden;
		-o-backface-visibility: hidden;
		backface-visibility: hidden;
	}

	.card__outer:hover .card {
	  transform: rotateY(180deg);
	  -webkit-transform: rotateY(180deg);
	  -moz-transform: rotateY(180deg);
	  -o-transform: rotateY(180deg);

	}

	.card__back {
	  transform: rotateY(180deg);
	  -webkit-transform: rotateY(180deg);
	  -moz-transform: rotateY(180deg);
	  -o-transform: rotateY(180deg);
	}
}

.card__content {
	width: 100%;
	height: 100%;
	padding: 10px;
	box-sizing: border-box;
	border-radius: var(--rad-lg);
}

	.card__content-back {
		display: flex;
		height: 100%;
		justify-content: center;
		align-items: center;
		font-size: 1.25em;
	}

.card__content img {
	width: 100%;
	object-fit: cover;
	border-radius: var(--rad-lg__inset);
}

.card__back .char__row {
	display: flex;
	flex-direction: row;
}

.card__back .char__row--topic,
.card__back .char__row--value {
	flex: 1;
}

	.safari .card__front.is-hidden {
		opacity: 0;
	}

.animation__self {
	width: 100%;
	margin: 120px 0;
	position: relative;
}

	.animation__self.opaque {
		background: none;
	}

	.animation__self svg {
		border-radius: var(--rad-lg);
		transition: border-radius .2s ease;
	}

	.animation__self svg:hover {
		border-radius: var(--rad-sm);
	}

	@media (max-width: 768px) {
		.animation__self svg {
			border-radius: var(--rad-sm);
		}
	}

.animWrap {
		left: 0;
}

.row--grid .row-inner .row-inner {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 0px 20px;
}

@media (max-width: 768px) {
	.row--grid .row-inner .row-inner {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	
}

@media (max-width: 1024px) {
	.row--grid .card__back {
		display: none;
		grid-template-columns: 1fr 1fr;
	}
}



.menu--icon a {
    display: block;
    height: 100%;
    width: 100%;
    padding: 20px;
    outline: none;
    text-indent: -9999px;
    background-position: 50% 50%;
    background-size: 50%;
    background-repeat: no-repeat;
    box-sizing: border-box;
}

.icon--contact a {
	background-image: url('../img/icon__contact.svg') !important; 
}

.icon--insta a {
	background-image: url('../img/icon__instagram.svg') !important; 
}

.icon--twitter a {
	background-image: url('../img/icon__twitter.svg') !important; 
}

		@media (max-width: 768px) {
			.icon--contact a,
			.icon--insta a,
			.icon--twitter a {
				background-image: none !important;
			}
		}

#curator-feed {
	font-size: 14px;
}

#curator-feed .crt-post .crt-post-fullname {
	font-weight: normal;
	font-family: 'scr';
    text-transform: uppercase;
    font-size: 30px;
    letter-spacing: .025em;
	color: white !important;
}

#curator-feed .crt-post-c.crt-post-border {
	border-radius: 10px !important;
	background-color: rgb(255, 0, 0) !important;
}

#curator-feed .crt-post .crt-post-content-image img {
	border-radius: 10px 10px 0px 0px !important;
}

#curator-feed .crt-widget.crt-social-icon svg {
	fill: white !important;
	color: white !important;
}

#curator-feed .crt-widget.crt-post-fullname a,
#curator-feed .crt-widget.crt-post-text,
.crt-widget.crt-post-text {
	color: white !important;
}

.page-id-18 .mobile__content {
	display: none;
}

@media (max-width: 1024px) {
	.page-id-18 .card__back {
		display: none;
		}
	.page-id-18 .mobile__content {
		display: block;
		padding-top: 10px;
	}
	.page-id-18 .char__row {
		text-align: center;
		margin-bottom: 20px;
		font-size: 23px;
		line-height: 28px;
	}
	.page-id-18 .member--name:last-child {
		padding-bottom: 10px;
	}
	
}

@media (max-width: 768px) {
	.page-id-18 .char__row {
		text-align: center;
		margin-bottom: 20px;
		font-size: 16px;
		line-height: 20px;
	}
}

.swiper--move {
	overflow: hidden;
}

.swiper--move img {
    width: 100%;
    height: calc( 100vh - 40px );
    display: block;
    object-fit: cover;
}

.swiper--move .slide-txt {
	width: 100%;
	height: calc( 100vh - 40px);
}

.swiper--move .slide-oembed {
	position: relative;
    aspect-ratio: 16 / 9;
    container-type: size;
}

.swiper--move .slide-oembed:after {
	content: "";
	position: absolute;
	z-index: 1;
	top: 0;
	left: 0;
	width: 100%;
	height: calc(100% - 14cqh);
	clip-path: polygon(0% 0%, 0% 100%, 44% 100%, 44% 49%, 56% 49%, 56% 67%, 0% 67%, 0% 100%, 100% 100%, 100% 0%); // show play button
}

.swiper--move .slide-oembed iframe {
	height: 100%;
}