/****** HTML, BODY ******/

html, body {
	background-color: var( --e-global-color-613cebf );
}

html {
}

body {
	overflow-x: hidden !important;
	-webkit-text-size-adjust: none;
}

* {
	-webkit-font-smoothing: antialiased !important;
	-moz-osx-font-smoothing: grayscale !important;
}

.ready/* , .pace-done */ {
	background: var( --e-global-color-613cebf );
	overflow-y: auto;

	[data-elementor-type="header"], [data-elementor-type="archive"], [data-elementor-type="product"], [data-elementor-type="single-page"], [data-elementor-type="footer"], [data-elementor-type="error-404"], [data-elementor-type="search-results"], #content {
		opacity: 1;
	}
}


/****** TYPOGRAPHY ******/

h1, h2, h3, h4, h5, p {
	cursor: text;
}

@font-face {
	font-family: 'LibreBaskerville-Italic';
	src:	url( 'fonts/LibreBaskerville-Italic.ttf' ) format( 'truetype' );
}

@font-face {
	font-family: 'OpenSans-Semibold';
	src:	url( 'fonts/OpenSans-Semibold.ttf' ) format( 'truetype' );
}

@font-face {
	font-family: 'Poppins-Bold';
	src:	url( 'fonts/Poppins-Bold.ttf' ) format( 'truetype' );
}

@font-face {
	font-family: 'Poppins-Regular';
	src:	url( 'fonts/Poppins-Regular.ttf' ) format( 'truetype' );
}

@font-face {
	font-family: 'Poppins-SemiBold';
	src:	url( 'fonts/Poppins-SemiBold.ttf' ) format( 'truetype' );
}

@font-face {
	font-family: 'Roboto-Regular';
	src:	url( 'fonts/Roboto-Regular.ttf' ) format( 'truetype' );
}

/* @font-face {
	font-family: 'SpaceMono-Regular';
	src:	url( 'fonts/SpaceMono-Regular.ttf' ) format( 'truetype' );
} */

.elementor-kit-5 {
	--e-global-typography-primary-font-family: "Poppins-Bold", Arial, sans-serif !important; //Primary
	--e-global-typography-secondary-font-family: "Poppins-Bold"; //Secondary
	--e-global-typography-81f8c7b-font-family: "LibreBaskerville-Italic", Arial, sans-serif !important; //Headline Accent
	--e-global-typography-text-font-family: "Roboto-Regular", Arial, sans-serif !important; //Text
	--e-global-typography-accent-font-family: "Roboto-Regular", Arial, sans-serif !important; //Accent
	--e-global-typography-d6063a5-font-family: "OpenSans-Semibold", Arial, sans-serif !important; //Menu Item
	//--e-global-typography-55ae9c0-font-family: "SpaceMono-Regular", Arial, sans-serif !important; //Monospace
}


/****** MIXINS ******/

.mixin_typography_primary() {
	font-family: var(--e-global-typography-primary-font-family ), Sans-serif;
    font-size: var(--e-global-typography-primary-font-size );
    font-weight: var(--e-global-typography-primary-font-weight );
    text-transform: var(--e-global-typography-primary-text-transform );
    font-style: var(--e-global-typography-primary-font-style );
    -webkit-text-decoration: var(--e-global-typography-primary-text-decoration );
            text-decoration: var(--e-global-typography-primary-text-decoration );
    letter-spacing: var(--e-global-typography-primary-letter-spacing );
    word-spacing: var(--e-global-typography-primary-word-spacing );
}

.mixin_typography_secondary() {
	font-family: var(--e-global-typography-secondary-font-family ), Sans-serif;
    font-size: var(--e-global-typography-secondary-font-size );
    font-weight: var(--e-global-typography-secondary-font-weight );
    text-transform: var(--e-global-typography-secondary-text-transform );
    font-style: var(--e-global-typography-secondary-font-style );
    -webkit-text-decoration: var(--e-global-typography-secondary-text-decoration );
            text-decoration: var(--e-global-typography-secondary-text-decoration );
    letter-spacing: var(--e-global-typography-secondary-letter-spacing );
    word-spacing: var(--e-global-typography-secondary-word-spacing );
}

.mixin_typography_headline_accent() {
	font-family: var(--e-global-typography-81f8c7b-font-family ), Sans-serif;
    font-size: var(--e-global-typography-81f8c7b-font-size );
    font-weight: var(--e-global-typography-81f8c7b-font-weight );
    text-transform: var(--e-global-typography-81f8c7b-text-transform );
    font-style: var(--e-global-typography-81f8c7b-font-style );
    -webkit-text-decoration: var(--e-global-typography-81f8c7b-text-decoration );
            text-decoration: var(--e-global-typography-81f8c7b-text-decoration );
    line-height: var(--e-global-typography-81f8c7b-line-height );
    letter-spacing: var(--e-global-typography-81f8c7b-letter-spacing );
    word-spacing: var(--e-global-typography-81f8c7b-word-spacing );
}

.mixin_typography_text() {
	font-family: var(--e-global-typography-text-font-family ), Sans-serif;
    font-size: var(--e-global-typography-text-font-size );
    font-weight: var(--e-global-typography-text-font-weight );
    text-transform: var(--e-global-typography-text-text-transform );
    font-style: var(--e-global-typography-text-font-style );
    -webkit-text-decoration: var(--e-global-typography-text-text-decoration );
            text-decoration: var(--e-global-typography-text-text-decoration );
    letter-spacing: var(--e-global-typography-text-letter-spacing );
    word-spacing: var(--e-global-typography-text-word-spacing );
}

.mixin_typography_accent() {
	font-family: var(--e-global-typography-accent-font-family ), Sans-serif;
    font-size: var(--e-global-typography-accent-font-size );
    font-weight: var(--e-global-typography-accent-font-weight );
    text-transform: var(--e-global-typography-accent-text-transform );
    font-style: var(--e-global-typography-accent-font-style );
    -webkit-text-decoration: var(--e-global-typography-accent-text-decoration );
            text-decoration: var(--e-global-typography-accent-text-decoration );
    letter-spacing: var(--e-global-typography-accent-letter-spacing );
    word-spacing: var(--e-global-typography-accent-word-spacing );
}

.mixin_typography_menu_item() {
	font-family: var(--e-global-typography-d6063a5-font-family ), Sans-serif;
    font-size: var(--e-global-typography-d6063a5-font-size );
    font-weight: var(--e-global-typography-d6063a5-font-weight );
    text-transform: var(--e-global-typography-d6063a5-text-transform );
    font-style: var(--e-global-typography-d6063a5-font-style );
    -webkit-text-decoration: var(--e-global-typography-d6063a5-text-decoration );
            text-decoration: var(--e-global-typography-d6063a5-text-decoration );
    line-height: var(--e-global-typography-d6063a5-line-height );
    letter-spacing: var(--e-global-typography-d6063a5-letter-spacing );
    word-spacing: var(--e-global-typography-d6063a5-word-spacing );
}

.mixin_typography_monospace() {
	font-family: var(--e-global-typography-55ae9c0-font-family ), Sans-serif;
    font-size: var(--e-global-typography-55ae9c0-font-size );
    font-weight: var(--e-global-typography-55ae9c0-font-weight );
    text-transform: var(--e-global-typography-55ae9c0-text-transform );
    font-style: var(--e-global-typography-55ae9c0-font-style );
    -webkit-text-decoration: var(--e-global-typography-55ae9c0-text-decoration );
            text-decoration: var(--e-global-typography-55ae9c0-text-decoration );
    line-height: var(--e-global-typography-55ae9c0-line-height );
    letter-spacing: var(--e-global-typography-55ae9c0-letter-spacing );
    word-spacing: var(--e-global-typography-55ae9c0-word-spacing );
}


/****** BLOG MASONRY ******/

body {

	.elementor-posts--thumbnail-top .elementor-post__thumbnail__link {
		margin-bottom: 0;
	}

	.elementor-post__thumbnail__link {
		margin-bottom: 0 !important;
	}

}


/****** MISC ******/

body {

	&.sponsoren .sponsoren {
		display: none;
	}

	&.home .cta, &.mitgliedschaft .cta {
		display: none;
	}

	&[data-elementor-device-mode="mobile"] {
		.elementor-column-gap-wider>.elementor-column>.elementor-element-populated {
			padding: 10px;
		}
	}

	.elementor-posts .elementor-post__card .elementor-post__thumbnail img {
		object-fit: cover;
		height: 100% !important;
		width: 100% !important;
		object-position: center;
	}

}


/****** TIMELINE ******/

body {

	.twae-vertical.twae-wrapper .twae-arrow {
		display: none;
	}

	.twae-wrapper .twae-content, .twae-vertical.twae-wrapper .twae-story.twae-story-left .twae-content {
		border: none !important;
		box-shadow: none !important;
	}

	.twae-wrapper .twae-label-small {
		white-space: normal;
	}

	&[data-elementor-device-mode="mobile"] {
		.twae-vertical.twae-wrapper .twae-icondot {
			top: 0;
		}
	}

}


/****** MENU ******/

#header_menu {
	width: auto;
	
	.ue_inner_menu-box {
		#menu-main-menu {
			.menu-item {
				a {
					transition: none;
					&:hover {
						color: var( --e-global-color-9082406 );
					}
				}
				.sub-menu {
					padding-left: 40px;
				}

				&.current-menu-item:not(.news) {
					a {
						color: var( --e-global-color-9082406 );
					}
				}
			}
		}
	}

}


/****** GALLERY ******/

.tck_gallery {
	@columns: 3;
	@gap: 0px;
	//pointer-events: none;

	.elementor-widget-container {
		transition: height 1s;

		.gallery{

			//pointer-events: none;
			margin-left: -20px;
			margin-right: -20px;

			.gallery-item {
				max-width: calc( 100% / @columns - ( ( @columns - 1 ) * @gap ) / @columns );

				img {
					width: 100%;
					height: 100%;
					aspect-ratio: 1;
					-o-object-fit: cover;
					   object-fit: cover;
					padding: 15px;
				}

				&:first-of-type {
					max-width: calc( 100% / 3 * 2 );
					img {
						height: 100%;
						aspect-ratio: 2 / 1;
						-o-object-fit: cover;
						   object-fit: cover;
					}
				}

				&:nth-of-type( 5n - 4 ) {
					max-width: calc( 100% / 3 * 2 );
					img {
						height: 100%;
						aspect-ratio: 2 / 1;
						-o-object-fit: cover;
						   object-fit: cover;
					}
				}
			}

		}


	}
}


/****** DSGVO ******/

#cmplz-manage-consent {
	display: none !important;
}