@import "teaser_news-event.css?v=1.2";

/*** DGFMM STATRSEITE ***/

.site-main .page {
	background: rgb(var(--white)) !important;
}
.site-main .page-content:not(:has(#siteteaser)) {
	padding-bottom: 0 !important;
}

#stageslider {
	background-color:rgb(var(--blue));
}

#stageslider .swiper-wrapper {
	
}
#stageslider .swiper-slide {
	width: 100% !important;
	height: auto !important;
}
#stageslider .swiper-slide figure {
	position: relative;
	width: 100.5% !important;
	left:50%;
	transform:translateX(-50%);
	top:0;
	max-height: 500px;
	/*! _overflow: hidden; */
	transition: none !important;
	height:23.25vw;
}
#stageslider .swiper-slide figure img {
	position: absolute;
	max-width: none;
	width: 100%;
	left:50%;
	top:50%;
	transform: translate(-50%, -50%);
}

@media(max-width:767px){
	#stageslider .swiper-slide figure {
		width:200vw !important;
		height: 46vw;
		max-height: 280px;
		min-width: 800px !important;
		min-height: 185px
	}
}

#hero .infotext {
	padding-left: 10%;
	position: relative;
}

#hero .infotext .e-con-inner > div {
	display: block;
	position: static;
}
#hero .infotext h2::before {
	content:"";
	position:absolute;
	width:0.91em;
	height:4.6em;
	background:rgb(var(--red));
	left:0em;
}
#hero .infotext h2 {
	font-size:2.625em;
	position: static !important;
	line-height: 1.2;
}
#hero h2 span.red {
	display:block;
}
@media(max-width:767px){
	#hero > .e-con-inner {
		padding-top: 4vw;
		padding-bottom: 4vw;
	}
	#hero .infotext {
		padding-left: 9%;
	}
	#hero .infotext h2 {
		font-size: calc(1.65em + 1.875vw);
	}
	#hero .infotext h2::before {
		left:-.325em;
	}
}
@media(max-width:599px){
	#hero .infotext {
		padding-left: 0%;
	}
	#hero .infotext h2 {
		font-size: calc(1em + 2.5vw) !important;
		padding-left: 9%;
	}
	#hero .infotext .button {
		margin-top:-1em;
		margin-bottom: 1em
	}
	.elementor-2 .elementor-element.elementor-element-5ad7de0 > .elementor-widget-container {
		padding: 1.25em 2.125em 1.25em 2.125em;
	}
	#news {
		padding-bottom:0 !important;
	}
	#info >.e-con-inner {
		padding-top:2em;
	}
	#groups {
		padding-bottom:0 !important;
	}
}


#groups {
	background: linear-gradient(rgba(var(--grey),0), rgba(var(--grey),0.6), rgba(var(--grey),0));
	padding-bottom: 5vw;
	padding-top: 0;
}
#groups.weel::before {
	content:'';
	position:absolute;
	width:25em;
	height:25em;
	left:calc(55% + 30vw);
	bottom:-8vw;
	background: url(/wp-content/themes/dgfmm/images/weel.svg) center / 100% auto no-repeat;
	padding-bottom: 5vw;
	padding-top: 0;
}
#groups h2 {
	font-weight: 500;
	margin-top:0em;
	margin-bottom:0em;
	display:inline-block;
	position:relative;
	text-transform: none
}
#groups h2::before,
#groups h2::after {
	content:"";
	width:80%;
	height:1.25em;
	right:110%;
	position:absolute;
	background:url(/wp-content/themes/dgfmm/images/icons/illu_1-saite_blue_right.svg) center / 100% auto no-repeat;
}
#groups h2::after {
	left:110%;
	right:auto;
	background:url(/wp-content/themes/dgfmm/images/icons/illu_1-saite_red_left.svg) center / 100% auto no-repeat;
}

#groups .group-teaser {
	flex-wrap: wrap !important;
	justify-content: space-between;
	gap: 2.5em
}
#groups .group-teaser .group {
	flex-basis: calc(33.333% - 1.75em);
	align-self: stretch;
	_flex-direction: column;
	_justify-content: space-between
}
#groups .group-teaser .group > .elementor-element:has(.button) {
	margin-top: auto;
}

@media(max-width:1699px){
	#groups .group-teaser {
		gap: 4vw 2vw
	}
	#groups .group-teaser .group {
		flex-basis: calc(33.333% - 1.5vw)
	}	
}
@media(max-width:900px) {
	#groups .group-teaser .group {
		justify-content: center;
		flex-basis: calc(50% - 1.01vw) !important;
		gap: 0.5em !important;
	}
	#groups .group-teaser .group h3 {
		margin-top:0.5em;
		font-size: 1.5em !important;
	}
	#groups .group-teaser .group p {
		font-size: 1em !important;
	}
	#groups .e-flex .group {
		margin-bottom:1em
	}
}
@media(max-width:599px){
	#groups .group-teaser .group {
		flex-basis: 100% !important;;
	}
	#groups .group-teaser .group h3 {
		margin-bottom: -0.5em;
		font-size: 1.375em !important;
	}	
}


#info {
	padding-bottom:0;
	background: linear-gradient(rgba(var(--grey),0.3), rgba(var(--grey),0) 10em);
}
#news:has(.teaserlist) + #info {
	background: none;
}

#info .member_col,
#info .e-grid {
	background: rgb(var(--red));
	padding: 3vw 2em 0em;
	_margin: 2vw 1.25em;
	margin-top: 14em;
	color: rgb(var(--white));
	position: relative;
	box-shadow: 0 0 0.5em rgba(var(--blue),0.25);
	align-self: stretch;
	align-items: start;
	justify-content: center;
	grid-template-rows: 1.5em 2em 1fr auto;
	gap: 1em 0
}
#info .head {
	margin:0.75em auto -0.5em;
	min-height:1.5em;
	align-self: self-start;
}
#info .desc {
	line-height: 1.35;
	font-weight:500;
	min-height: 7.5em;
	margin-bottom: 1em;
}
#info .img {
	height:2em;
	align-self: bottom;
	
}
#info .img > .elementor-widget-container {
	_text-align: center;
	_display: flex;
	justify-items: center;
	justify-content: center;
}
#info img {
	max-height: 17em;
	margin-top: -15em;
	margin-bottom:0em;
	filter: drop-shadow(1.5em 0.5em 0 rgb(var(--blue),0.2))drop-shadow(0.125em 0.125em 0.15em rgb(var(--blue),0.75));
	display: block;
	width: 100vw;
	align-self: end;
}
#info .img .elementor-widget-container {
	display: flex;
}
#info .mitgliedwerden img {
	max-width: 12em;
	margin-bottom: 15%;
}
#info .fachzeitschrift img {
	max-width: 11em;
	margin-bottom:5%
}
#info .button {
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translate(-50%, 50%);
	white-space: nowrap;
}
@media(max-width:1699px){
	#info .e-child {
		gap: 1em 2vw
	}
	#info .e-grid {
		padding-left:1em;
		padding-right:1em;
		
	}
	#info .e-grid .desc {
		font-size:0.9em;
		margin-bottom: 1.5em
	}	
}
@media(max-width: 1023px){
	#info .e-grid .img img {
		max-width: 75%;
	}
	#info .e-grid.fachzeitschrift .img img {
		max-width: 65%;
	}
}

@media(max-width:767px) {
	#info .teaserbox {
		justify-content: center;
	}
	#info .e-grid {
		flex-basis: calc(50% - 1.01vw);
		margin-top:12em;
		
	}
	#info .e-grid:has(+ .e-grid) {
		margin-bottom:1.5em
	}
	#info .e-grid .img img {
		max-width: 10em !important;
	}
	#info .desc {
		min-height: 0;
	}
}
@media(max-width:599px){
	#info .e-grid {
		flex-basis: 100%;
	}
	#info .e-grid.mitgliedwerden {
		margin-top:9em;
		margin-bottom:2.5em
	}
}

