/*
  Theme Name: kamboscha
  Theme URI: https://www.vonierdesign.de
  Version: 1.0.0
  Template: Divi
  Author: Thomas Vonier
  Author URI: https://thomas-vonier.de
  Text Domain: doppeldeutlich
  License: GNU General Public License v2 or later
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/


.et-menu a {
    color: rgba(0, 0, 0, 1);
}

/* Button Style .dd-btn
-------------------------------------------------- */

.btn a
{
	border: none;
	color: inherit;
	background: none;
	cursor: pointer;
	padding: 10px 20px !important;
	display: inline-block;
	outline: none;
	position: relative;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

.btn a:after{
	content: '';
	position: absolute;
	z-index: -1;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}
  
.btn-red a{
    background: #fd4343; /* Change button background color here */
    color: #fff !important; /* Change button text color here */
	z-index: 2;
}

.btn-red a:after{
	width: 0%;
	height: 100%;
	top: 0;
	left: 0;
	background: #000; /* Change button hover background color here */
}

.btn-red a:hover,
.btn-red a:active{
	color: #fff; /* Change button hover text color here */
}

.btn-red a:hover:after,
.btn-red a:active:after{
	width: 100%;
}

/* WPML Sprachumschalter */
/* -------------------------------------------------- */
.wpml-ls,
.wpml-ls ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

/* Items untereinander, obwohl "horizontal" */
.wpml-ls-legacy-list-horizontal .wpml-ls-item {
    display: flex;
    flex-direction: column;
}

/* Links Gestaltung */
.wpml-ls a {
    text-transform: uppercase;
    color: #666;
    padding: 0;
    text-decoration: none;
}

/* Aktive Sprache hervorheben */
.wpml-ls .wpml-ls-current-language a {
    font-weight: 700;
    color: #000;
}

/* Menü 
/* -------------------------------------------------- */

/* Mega-Menü volle Breite und linksbündig zur Header-Container-Positionierung */
.et_pb_menu_0_tb_header {
    position: static !important;
}

.et_pb_menu_0_tb_header .nav > li.mega-menu {
    position: static !important;
}

.et_pb_menu_0_tb_header .nav > li.mega-menu > ul.sub-menu {
    position: absolute !important;
    top: 100% !important; /* direkt unterhalb des Menüs starten */
    left: 0 !important;  /* ganz links beginnen */
    width: 100% !important; /* komplette Breite des Containers nutzen */
    max-width: none !important;
    box-sizing: border-box;
}

/* Overflow sicherstellen */
.et_pb_menu_inner_container,
.et_pb_column--with-menu,
.et_pb_menu__wrap {
    overflow: visible !important;
    position: static !important;
}

.et_pb_menu_0_tb_header .nav > li.mega-menu > ul.sub-menu::before {
    content: "";
    position: absolute;
    bottom: 100%; /* direkt oberhalb des Menüs */
    left: 0;
    width: 100%;
    height: 40px; /* Höhe entsprechend anpassen */
    background-color: transparent; /* unsichtbar */
}


/* Headline Menu*/
.et-menu-nav li.mega-menu>ul>li>a:first-child{
    padding-left:0;
    padding-right:0;
    width:95% !important;
}
#menu-main ul.sub-menu ul.sub-menu li{
    display: block;
    clear:both;
}
/* Text Menü */
#menu-main ul.sub-menu ul.sub-menu li a{

    font-family: Open Sans, Arial, sans-serif;
    font-size:18px;
    text-transform: none;
    letter-spacing: 0;
    width:100% !important;
    padding-left:0;
    padding-right:0;
}
