/*------------------------------------*\
	#Allgemein
\*------------------------------------*/
* {
	min-height: 0;
	min-width: 0;
}

body {
	background: #fff;
}

img {
	max-width: 100%;
	height: auto;
}

figure {
	margin:0;
	padding:0
}

/*------------------------------------*\
	Imageteaser
	(Used on category and frontage and search)
\*------------------------------------*/

.teaser {
	width: 100%;
	height: auto;
	margin-bottom: 10vh;
}

.teaser a {
	display: block;
	width: 100%;
	height: 100%;
	text-decoration: none;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
	position: relative;
	-webkit-transition: opacity .4s ease-in-out, color .2s ease-in-out, background-color .4s ease-in-out;
	transition: opacity .4s ease-in-out, color .2s ease-in-out, background-color .4s ease-in-out;
}

.teaser a .project_inner_wrap {
	position: relative;
}

.teaser a .project_inner_wrap:after {
	content: "\A";
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	opacity: 1;
	-webkit-transition: all .2s;
	transition: all .2s;
	background: rgba(0, 0, 0, 0);
}

.teaser a:hover .project_inner_wrap:after {
	background: rgba(0, 0, 0, 0);
}

.teaser img.teaser {
	width: 100%;
	display: block;
	position: relative;
	height: auto;
	-webkit-transition: opacity .4s ease-in-out;
	transition: opacity .4s ease-in-out;
	margin: 0;
}

.teaser img.icon {
	opacity: 0;
	-webkit-transition: opacity .4s ease-in-out, -webkit-transform .4s ease-out;
	transition: opacity .4s ease-in-out, -webkit-transform .4s ease-out;
	transition: opacity .4s ease-in-out, transform .4s ease-out;
	transition: opacity .4s ease-in-out, transform .4s ease-out, -webkit-transform .4s ease-out;
	margin: 2%;
	position: absolute;
	display: block;
	width: 15%;
	height: auto;
	right: 0;
	top: 0;
}

.teaser a:hover img.icon {
	opacity: 1;
	-webkit-transform: rotate(90deg);
	-ms-transform: rotate(90deg);
	transform: rotate(90deg);
}

.teaser .bottom-info {
	display: flex;
	align-items: center;
}

.teaser .bottom-info .sep {
	padding: 0 4px;
}

.teaser h1,
.teaser h2,
.teaser .bottom-info {
	margin: 0;
	letter-spacing: 0;
	position: relative;
	z-index: 7;
	text-decoration: none;
}

.teaser h2,
.teaser .bottom-info {
	padding: 5px 0;
}

.teaser.categoryteaser .video_ico {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 3;
	width: 40%;
	max-width: 252px;
	transform: translate(-50%, -50%);
}

.teaser.categoryteaser .video_ico svg {
	display: block;
	width: 100%;
	height: auto;
}

/*------------------------------------*\
	#Category Page / Search Page
\*------------------------------------*/

div.category {
	overflow: hidden;
	margin: 0 auto;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-ms-flex-direction: row;
	flex-direction: row;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
}

div.category div.categoryinfo {
	height: auto;
	width: 100%;
	margin: 33px 0 0 0;
}

.categoryinfo.mb-0 {
	padding: 10px 0;
}

@media (min-width: 769px) {
	.categoryinfo.mb-0 {
		padding: 18px 0;
	}
}

@media (min-width: 769px) {
	.categoryinfo {
		padding-top: 40px
	}
}

.mb-0 {
	margin-bottom: 0 !important;
}

div.category div.categoryinfo h1 {
	margin: 0;
}

div.category .teaser.categoryteaser {
	height: 400px;
	height: 20vw;
	width: 35vw;
}

div.category .teaser.categoryteaser.wide {
	height: 400px;
	height: 40vw;
	width: 80vw;
}

div.category div.categoryinfo {
	background: #fff;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
}

div.category div.categoryinfo > div {
	padding: 6px;
	text-align: center;
}

div.category div.categoryinfo h1 {
	font-size: 16px;
	color: #000;
	margin: 0;
}

div.category div.categoryinfo h2 {
	font-size: 30px;
	text-transform: uppercase;
	color: #707070;
	letter-spacing: 3px;
	margin: 25px 0;
}

/*------------------------------------*\
	#Page
\*------------------------------------*/
@media (min-width: 769px) {
	div.static-container {
		flex-basis: 50%;
		max-width: 50%;
		padding-top: 25px;
	}

	div.static-container2 {
		flex-basis: 50%;
		max-width: 50%;
		padding-top: 0px;
	}
}

div.static-container.contact {
	padding-top: 12px;
}

div.static-box {
	margin-bottom: 10vh;
}


@media (max-width: 991px) {
	.teaser {
		margin-bottom: 35px;
	}

	#mainnav div.navigation > div {
		width: 100%;
	}

	#mainnav ul {
		padding: 0;
	}

	div.frontpagecontainer {
		padding-bottom: 25px;
	}

	div.category div.categoryinfo {
		margin-bottom: 35px;
	}

	div.category .teaser.categoryteaser {
		width: calc(50% - 15px);
		height: 25vw;
	}

	div.category div.categoryinfo > div {
		padding: 20px;
	}

	div.static-box {
		margin-bottom: 35px;
	}

	.maincontent {
		width: 100%;
		margin-top: 121px;/*!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/
	}

	#headnav {
		margin: 0;
	}

	.social {
		display: none !important;
	}

	body.story #headnav {
		height: auto;
	}

	#headnav .container {
		height: 120px;
		padding-top: 0;
	}

	#headnav a.logo img {
		height: 60px;/*!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/
		/*margin: 0 0 5px;*/
	}

	#mainnav div.searchinput input.searchinput {
		height: 30px;
		font-size: 0.9rem;
    	line-height: 1.44rem;
		padding: 5px 15px;
	}
}

@media (max-width: 768px) {
	.teaser {
		margin-bottom: 5vw;
	}

	.teaser h2,
	.teaser .bottom-info {
		padding-left: 20px;
		padding-right: 20px;
	}

	div.frontpagecontainer {
		padding-bottom: 10px;
	}

	div.storydetails {
		height: auto;
		display: block;
	}

	div.storydetails div.title,
	div.storydetails div.detail {
		display: block;
		white-space: normal;
		margin: 0 0 5px;
		text-align: left;
	}

	div.category div.categoryinfo {
		margin-bottom: 25px;
	}

	div.category .teaser.categoryteaser {
		width: 100%;
		/* height: 50vw; */
		height: auto;
	}

	div.category .teaser.categoryteaser:not(.project_item) {
		height: 50vw;
	}

	div.category div.categoryinfo > div {
		padding: 15px;
	}

	div.static-container {
		padding-top: 0;
	}

	div.static-box {
		margin-bottom: 25px;
	}

	div.storynav div.prev img,
	div.storynav div.next img,
	div.storynav div.storyclose img {
		width: 10vw;
	}
}

.story-img-wrap {
	position: relative;
}

@-webkit-keyframes smooth {
	0% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}

@keyframes smooth {
	0% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}

body.story .slide div.videostage {
	position: relative;
}

body.story .slide div.videostage iframe {
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
}

.page-title {
	text-align: center;
	color: #000;
	font-size: 16px;
}



div.category .teaser.categoryteaser.search:not(.project_item) {
	height: auto;
}

div.category .teaser.categoryteaser.search:not(.project_item) img.attachment-category_search {
	width: 100%;
}

div.category .teaser.categoryteaser.search:not(.project_item) .project_inner_wrap {
	height: auto;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
}

div.category .teaser.categoryteaser.search:not(.project_item) .videoicon {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 3;
	width: 100%;
	transform: translate(-50%, -50%);
}

/* Für Bildschirmgrößen von 769px bis 1680px (zwei Bilder nebeneinander) */
@media (min-width: 769px) and (max-width: 1680px) {
    div.category .teaser.categoryteaser.search:not(.project_item) {
        width: 49.75%; /* zwei Bilder nebeneinander */
        flex-basis: 49.75%;
        max-width: 49.75%;
        height: auto;
        margin-bottom: 0.4vw;
    }
}

/* Für Bildschirmgrößen ab 1681px (drei Bilder nebeneinander) */
@media (min-width: 1681px) {
    div.category .teaser.categoryteaser.search:not(.project_item) {
        width: 32.99%; /* drei Bilder nebeneinander */
        flex-basis: 32.99%;
        max-width: 32.99%;
        height: auto;
        margin-bottom: 0.4vw;
    }
}

@media (min-width: 1200px) {
	div.category {
		max-width: 90vw;
	}
}

.team-item {
	position: relative;
	font-size: 7.5px;
	line-height: 9px;
}

.team-item .team-img img {
	width: 100%;
}

@media (max-width: 1023px) {
	div.static-container.contact {
		padding-top: 15px;
	}
}

@media (max-width: 767px) {
	.container {
		padding-left: 25px;
		padding-right: 25px;
	}

	.team-item {
		display: flex;
		flex-wrap: wrap;
		margin-bottom: 24px;
	}

	.team-item .team-img {
		flex-basis: 171px;
		max-width: 171px;
	}

	.team-item .team-text {
		flex-basis: calc(100% - 171px);
		max-width: calc(100% - 171px);
		padding: 0 0 0 11px;
	}
}

@media (max-width: 413px) {
	.container {
		padding-left: 20px;
		padding-right: 20px;
	}
}

@media (max-width: 374px) {
	.container {
		padding-left: 15px;
		padding-right: 15px;
	}
}

@media (min-width: 769px) {
	.teams-col {
		display: grid;
		grid-gap: 15px;
		grid-template-columns: repeat(2, 1fr);
	}

	.team-item .team-text {
		position: absolute;
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
		font-size: 10px;
		line-height: 13px;
		color: #000;
		background: rgba(255, 255, 255, 0.7);
		padding: 8%;
		opacity: 0;
		visibility: hidden;
		transition: 0.25s ease opacity, 0.25s ease visibility;
	}

	.team-item:hover .team-text {
		opacity: 1;
		visibility: visible;
	}
}

@media (min-width: 1024px) {
	.contact-row {
		display: flex;
		flex-wrap: wrap;
		padding: 62px 0 0;
	}

	.teams-col {
		grid-gap: 25px;
		flex-basis: 56.8%;
		max-width: 56.8%;
	}

	.team-item .team-text {
		font-size: 11px;
		padding: 10%;
		line-height: 13px;
	}
}

@media (min-width: 1200px) {
	.container {
		width: 100%;
		max-width: 1564px;
	}

	.teams-col {
		grid-gap: 35px;
		max-width: 760px;
	}

	.team-item .team-text {
		font-size: 12px;
		padding: 12%;
		line-height: 16px;
	}
}

@media (min-width: 1460px) {
	.teams-col {
		grid-gap: 40px;
	}
}

.archive-video-box {
	position: relative;
	margin-bottom: 30px;
}

.archive-video-box .video-frame {
	width: 100vw;
	position: relative;
	left: 50%;
	transform:  translate(-50%,0);
}

.project-top-detail {
	padding: 24px 0;
}

.project-top-detail .title-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.project-top-detail .title-wrap a[rel="prev"] svg,
.project-top-detail .title-wrap a[rel="next"] svg {
	display: block;
	fill:  #707070;
}

.project-top-detail .title-wrap a[rel="prev"]:hover svg,
.project-top-detail .title-wrap a[rel="next"]:hover svg {
	fill: #000;
}

.project-top-detail .projectname {
	padding: 0 15px;
	margin: 0;
	width: 100%; /*90vw;*/
	max-width: 800px;
}

.project-top-detail .projectname,
.single-project-detail {
	font-size: 0.9rem;  /* !!! project title smartphone !!! */
	line-height: 1.44;
	color: #707070;
}

.project-top-detail .single-project-detail {
	padding-top: 10px; /* !!! Abstand Projekt-Titel zu Untertitel smartphone !!! */
	padding-bottom: 6px;
	margin: 0  /* top right bottom left */
}

@media (max-width: 768px) {
    .project-top-detail {
        padding:96px 0 46px 0 /*Smartphone; Abstand: 1Oberkante 2rechts 3Unterkante 4links */
    }
}

@media (min-width: 769px) {
	.project-top-detail {
		padding: 50px 0;
	}

	.archive-video-box {
		margin-bottom: 40px;
	}

	.project-top-detail .projectname,
	.single-project-detail {
		font-size: 1.0rem; /* !!! project title pc display !!! */
		line-height: 1.6;
		color: #707070;
	}

	.project-top-detail .projectname {
		padding: 0 20px;
	}

	.project-top-detail .single-project-detail {
		padding-top: 14px;
		margin: 0 46px 0 46px;  /* top right bottom left */
	}
}

@media (min-width: 1200px) {
	.archive-video-box {
		margin-bottom: 50px;
	}
}