/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

.green-half {
	position: relative;
	z-index: 1;
}

.green-half:after {
	content: "";
	background-color: var(--lott-dark-green-80);
	position: absolute;
	right: 0;
	top: 0; 
	bottom: 0;
	width: max(57vw,100%);
	z-index: -1;
	border-radius: 0 39px 39px 0;
}

.e-n-accordion-item {
    border-bottom: 2px solid var(--lott-dark-green);
}

.e-n-accordion-item .e-n-accordion-item-title {
    justify-content: space-between;
}

.e-n-accordion-item .e-n-accordion-item-title-icon svg {
	fill: var(--lott-dark-green) !important;
}

header #smMenuMobile {
	height: 100%;
    align-content: center;
}

header #smMenuMobile nav {
	margin-top: 0 !important;
	top: calc(100% + 10px) !important;
}

header #smMenuMobile .sub-menu {
	background-color: transparent;
}

header #smMenuMobile .elementor-sub-item {
	line-height: 27px !important;
}

header .current-menu-parent > .elementor-item {
	color: #124E16 !important;
	fill: #124E16 !important;
}

@media(min-width: 1025px){
	header .sub-menu {
		width: calc(100% - var(--e-nav-menu-horizontal-menu-item-margin)) !important;
	}

	header .sub-menu .elementor-sub-item {
		justify-content: start !important;
	}

	header .elementor-nav-menu .menu-item > .elementor-item {
		padding: 0 min(4rem, 4vw) !important;
	}

	header .elementor-sub-item {
		padding: 0 !important;
		margin: 0;
		justify-content: start !important;
		width: auto;
		display: inline-block !important;
	}

	header .sub-menu .menu-item {
		margin: 32px 20px;
	}

	header .elementor-sub-item:hover,
	header .elementor-sub-item:focus,
	header .elementor-sub-item.elementor-item-active {
		line-height: var( --e-global-typography-text-line-height );
	}


	header .current-menu-parent > .elementor-item::after, 
	header .current-menu-parent > .elementor-item::before {
		opacity: 1 !important;
	}

	header .elementor-sub-item::after {
		position: absolute;
		bottom: 0;
		content: "";
		height: 3px;
		left: 0;
		width: 100%;
		z-index: 2;
		background-color: #124E16;
		opacity: 0;
		transition: opacity .25s ease;
	}

	header .elementor-sub-item:hover::after,
	header .elementor-sub-item:focus::after,
	header .elementor-sub-item.elementor-item-active::after {
		opacity: 1;
	}	
}

/* Buttons ohne Link ausblenden */
button.button.e-button-base {
	display: none;
}