/*
 Theme Name:   Divi Child
 Theme URI:    https://www.elegantthemes.com/gallery/divi/
 Description:  Ein Child Theme für das Divi Theme.
 Author:       Mike Pridik
 Author URI:   https://medienkonkret.net
 Template:     Divi
 Version:      0.0.5
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  divi-child
*/

/* Zusätzliches CSS für das Child Theme kann hier eingefügt werden */
:root {
	--background-color: #F2FEFA;
	--dark-color: #29524e;
}

/* divi-reset.css v1.0 – Für alle, die ein Divi-Projekt geerbt haben 😅 */

/* Erzwungene Breiten zurücksetzen */
.et_pb_row {
	max-width: unset;
}

/* Inline-Padding-Overrides */
.et_pb_section {
	padding: unset;
}

/* z-index Chaos */
.et_pb_module {
	z-index: unset;
}

h1,h2,h3 {font-size:36px;}
h2 {line-height: 1.2}
h4 {font-size:28px;}
h5 {font-size:20px;}

strong {font-family: 'DIN Pro black'!important; letter-spacing: 0.05em!important; color:"#29524e";}

body {
	background-color: var(--background-color);
}

/*replace the back to top button icon*/
body .et_pb_scroll_top:before {
	content: "3a" !important;
	color: rgb(41, 82, 78) !important;
	position: relative;
	top: 3px;
	font-size: 50px !important;
}
/*style and position the back to top button*/
body .et_pb_scroll_top {
	background-color: rgb(242, 254, 250, 0.0) !important;
	color: rgb(41, 82, 78) !important;
	padding: 10px 20px 10px 10px !important;
	right: 20px !important;
	bottom: 125px !important;
	border-radius: 5px !important;
}

body .dfm-fractal-magnifier-container {
	max-height: 80vh;
	/*align-items: flex-end;*/
}

/* Animation tweaks */
.et_pb_scroll_top.et-visible {
	-webkit-animation: fadeInBottom 1s 1 cubic-bezier(.50,0,.160,1);
	-moz-animation: fadeInBottom 2s 1 cubic-bezier(.50,0,.160,1);
	-o-animation: fadeInBottom 1s 1 cubic-bezier(.50,0,.160,1);
	animation: fadeInBottom 1s 1 cubic-bezier(.50,0,.160,1);
}

/*POLYLANG MENU*/
body .et_pb_menu--style-left_aligned .et_pb_menu_inner_container, .et_pb_menu--style-left_aligned .et_pb_row {
	padding-left: 2rem;
}
#menu-switch-menu-1 {
	margin-top: 2.2rem;
}
#menu-switch-menu li,
#menu-switch-menu-1 li{
	margin-left: 1rem;
}

#menu-switch-menu li a,
#menu-switch-menu-1 li a{
	font-weight: 200;
}

#menu-switch-menu li.current-lang a,
#menu-switch-menu-1 li.current-lang a{
	font-weight: 700;
}

body .fs_border_top::before {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	height: 1px;
	background-color: #416666;
	width: 100%;
	max-width: 1184px;
}

@media (max-width: 980px) {

	h1,h2,h3,h4,h5,h6,
	body .et_pb_accordion_0.et_pb_accordion h5.et_pb_toggle_title {
		line-height: 1.4;
	}

	/* Rows */
	body :not(.et_pb_section--with-menu) > [class*="et_pb_row_"].et_pb_row {
		padding-top: 0px !important;
		padding-bottom: 0px !important;
		padding-left: 15px !important;
		padding-right: 15px !important;
		margin-top: 0px !important;
		margin-bottom: 20px !important;
		margin-left: 0px !important;
		margin-right: 0px !important;
	}

	/* Columns */
	body [class*="et_pb_column_"] {
		padding: 0 !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		margin-bottom: 20px !important;
		width: 100% !important;
	}

	/* Text-Module */
	body [class*="et_pb_text_"] {
		padding-left: 0px !important;
		padding-right: 12px !important;
		margin-top: 0px !important;
		margin-bottom: 0px !important;
		margin-left: 0px !important;
		margin-right: 0px !important;
	}

	/* Sections */
	body [class*="et_pb_section_"] {
		padding-left: 15px !important;
		padding-right: 15px !important;
	}
	body .et_pb_fullwidth_section {
		padding: 0 !important;
	}
	body .et_pb_accordion_0.et_pb_accordion {
		margin-left: 0 !important;
	}
	body header .et_pb_column.et_pb_column_3_4.et_pb_column_0_tb_header.et_pb_css_mix_blend_mode_passthrough {
		margin-top: 12px !important;
		width: 80% !important;
	}

	body header .et_pb_column--with-menu {
		width: 20% !important;
		margin-top: 0.2rem !important;
	}
	.divimegapro-open .et-db #et-boc .et-l .et_pb_column_2-dmp_337 {
		width: 100% !important;
	}

}

/* DIVI MEGA PRO */
body .divimegapro .fs_menu_container {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	padding-bottom: 0;
	max-width: 980px;
}
body .fs_menu_container:after {
	content: "";
	display: none;
	visibility: hidden;
}
body .fs_menu_container .fs_menu_right {
	padding-right: 0 !important;
	width: 50%;
	max-width: 475px;
}
body .fs_menu_container .fs_menu_left {
	padding-right: 0;
	margin-right: 0;
	width: 33%;
	max-width: 320px;
}
/*body .fs_menu_container > * {*/
/*	flex: 1;*/
/*}*/
.fs_menu_right .et_pb_module.et_pb_text {
	margin-bottom: inherit;
}
.fs_menu_right h2 {
	font-weight: bold;
	border-top: 1px solid var(--dark-color);
	padding-left: 2.3rem;
	padding-bottom: 0 !important;
}
.fs_menu_right h3 {
	padding-left: 8rem;
	padding-bottom: 0 !important;
}
.tippy-popper-wide {
	top: 40px !important;
}
.toggle-icon:after {
	content: "\61";
	font-size: 46px;
	font-weight: 1000;
	font-family: ETmodules !important;
	color: #003e51;
	/*position: absolute;*/
	/*top: 26px;*/
	/*right: 0;*/
	cursor: pointer;
}

#divi-menu .et_pb_menu__menu>nav {
	/*margin-right: 38px;*/
	visibility: hidden;
	opacity: 0;

	-webkit-transition: .1s ease-in-out;
	-moz-transition: .1s ease-in-out;
	-o-transition: .1s ease-in-out;
	transition: .1s ease-in-out;

	transform: translateY(50%);
}

.reveal-menu-items {
	/*opacity: 1 !important;*/
	/*visibility: visible !important;*/
	/*transform: translateY(0%) !important;*/
}

.icon-switch:after {
	content: "\61";
	/*  content: '\4d'; */
	font-size: 46px;
	font-weight: 1000;
	font-family: ETmodules !important;
	color: #003e51;
	/*position: absolute;*/
	/*top: 26px;*/
	/*right: 0;*/
	cursor: pointer;
}
body .et_pb_section--with-menu {
	padding: 0;
}
.et_pb_section--with-menu .et_pb_image img {
	max-width: 260px;
}


body footer .fs_footer_menu .et_pb_module {
	margin-bottom: 0 !important;
}

body .divimegapro #et-boc .et_pb_module.et_pb_text:hover,
body footer .fs_footer_menu .et_pb_module:hover:not(:nth-last-child(-n+2)) {
	background: #F2FEFA;
	cursor: pointer;
}

/* TICKER */
.ticker-wrapper {
	width: 100%;
	background-color: #e8ff00;
	overflow: hidden;
	padding: 16px 0 ;
	font-family: 'DIN Pro black';
	margin-inline: auto;
	width: 100vw;
}

.ticker-track {
	display: flex;
	width: max-content;
	animation: ticker 36s linear infinite;
}

.ticker-track:hover {
	animation-play-state: paused;
}

.ticker-item {
	display: flex;
	align-items: flex-end;
	white-space: nowrap;
}

.ticker-item span {
	font-weight: 400;
	font-size: clamp(16px, 2.8vw, 24px);
	color: #1a2a4a;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 0 4px;
	line-height: 1;
}

.line {
	display: inline-block;
	width: clamp(30px, 5vw, 70px);
	height: 2px;
	background-color: #1a2a4a;
	margin: 0 6px;
	margin-bottom: 3px;
	flex-shrink: 0;
}

@keyframes ticker {
	0%   { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}

@media (min-width: 1080px) {
	body .et_pb_row:not(.fs_menu_container) {
		display: flex;
		/*align-items: center;*/
		padding: 42px 0;
	}
}

@media (max-width: 980px) {
	body .divimegapro .fs_menu_container {
		flex-direction: column-reverse;
		display: flex;
	}
	.fs_menu_right h2 {
		padding-left: 1rem;
		line-height: 2;
	}
	.fs_menu_right h3 {
		padding-left: 2.2rem;
		line-height: 1.6;
	}

	body .divimegapro .fs_menu_container  {
		padding: 0 !important;
		width: 80% !important;
	}
	body .et_pb_section--with-menu {
		padding: 1rem 0;
	}
	.et_pb_section--with-menu .et_pb_image_0_tb_header {
		text-align: left;
	}
	.et_pb_section--with-menu .et_pb_column:first-child {
		width: 80%;
		margin-bottom: 0;
	}
	.et_pb_section--with-menu .et_pb_column:last-child {
		width: 20%;
	}
	.et_pb_section--with-menu .fs_menu_container .fs_menu_right .et_pb_text {
		padding-left: 80px !important;
		font-size: 1.4rem !important;
	}
	body .fs_sprache.et_pb_menu .et_pb_menu__menu,
	body .fs_sprachen.et_pb_menu .et_pb_menu__menu {
		display: block;
	}
	body .fs_sprache.et_pb_menu .et_mobile_nav_menu,
	body .fs_sprachen.et_pb_menu .et_mobile_nav_menu {
		display: none;
	}
}

@media (max-width: 479px) {
	body {
		h1, h2, h3, h4, h5, h6, .et_quote_content blockquote p, .et_pb_slide_description .et_pb_slide_title {
			line-height: 1.3em;
		}
		.et_pb_text_inner > p > strong {
			hyphens: auto;
		}
		.ticker-wrapper {
			margin-left: -30px;
		}
	}
	body :not(.et_pb_section--with-menu) > [class*="et_pb_row_"].et_pb_row.mk_border_box {
		margin-bottom: -20px !important;
	}

	footer.et-l.et-l--footer {
		margin-top: -20px;
	}

	body header .et_pb_column.et_pb_column_3_4.et_pb_column_0_tb_header.et_pb_css_mix_blend_mode_passthrough {
		margin-top: 0px !important;
		width: 80% !important;
	}
	body .et_pb_row--with-menu {
		width: 100%;
	}

	#training .et_pb_row.et_pb_row_17 {
		width: 100%;
	}
	body .divimegapro .fs_menu_container {
		padding: 0 !important;
		width: 100% !important;
	}
	.et_pb_section--with-menu .fs_menu_container .fs_menu_right .et_pb_text {
		padding-left: 0 !important;
	}
	body .et_pb_section--with-menu {
		padding: 1rem 0;
	}
	.et_pb_section--with-menu .et_pb_image_0_tb_header {
		text-align: left;
	}
	.et_pb_section--with-menu .et_pb_image img {
		max-width: 100%;
	}

	.et_pb_section--with-menu .et_pb_column.fs_menu_right,
	body .fs_menu_container .fs_menu_left {
		width: 100% !important;
		max-width: 100% !important;
	}
	body footer .fs_footer_menu .et_pb_module {
		margin-bottom: 0 !important;
		padding-bottom: 0.5em !important;

		&.et_pb_text_4_tb_footer h3,
		&.et_pb_text_5_tb_footer h3,
		&.et_pb_text_6_tb_footer h3,
		&.et_pb_text_7_tb_footer h3,
		&.et_pb_text_8_tb_footer h3,
		&.et_pb_text_9_tb_footer h3 {
			font-size: 1.8rem;
		}
	}
	body .et_pb_row_0_tb_footer.et_pb_row, .fs_footer_menu {
		padding-left: 0 !important;
		width: 100% !important;
	}
	body .et_pb_image_0_tb_footer {
		margin-left: auto !important;
		margin-right: auto !important;
		margin-top: 3em !important;
		line-height: 0;
		transform: none;
		width: 100%;
	}
	body.et-db #et-boc .et-l .et_pb_icon_4-dmp_337,
	body footer .fs_footer_menu .et_pb_module.et_pb_icon {
		margin-left: 10px !important;
	}

}