/* =================================
   Dropdown Navigation mit HOVER INTENT per CSS (left + transition-delay)
   Ggf. Steuerung per JS -> #ddnav bind click + lang chooser #lang-chooser, .lang-box (sup)
   ================================= */
#ddnav {
  width: 100%;
}
.main-nav-box {
  background: rgba(255, 255, 255, 0.85);
  position: absolute;
  bottom:0;
  left:0;
  width:100%;
}
#ddnav ul, #ddnav li, #ddnav a {
  margin: 0px;
  padding: 0px;
  list-style-type: none;
  color:  rgba(0, 0, 0, 0.75);


}

#ddnav > ul {
  display: flex;
  justify-content: space-between;
  position: relative;
  flex-wrap: wrap;
}

#ddnav > ul > li {
  position: relative;
  position: static;
  flex: 0 0 auto;

}

#ddnav a {
  display: block;
  /*padding: 0px 15px 0px 15px;*/
  height:50px;
  padding-top:14px;
}

/* =================================
   LVL 1
   ================================= */
#ddnav .lvl-1.active, #ddnav .lvl-1, #ddnav .lvl-1.inpath {
}

#ddnav > ul > li:last-child {

}

#ddnav .lvl-1 > a {
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

#ddnav .lvl-1.active > a {
  font-weight: bold;
  border-bottom:8px solid #ffff00;
}



/* =================================
   LVL 2
   ================================= */
#ddnav ul ul li {

  float: none;
  display: block;
  width: 100%;
}

#ddnav ul ul li:last-child {
  border-bottom: none;
}

#ddnav ul li:last-child ul{
  border-bottom: none;
  transform: translate(-60%, 0px);

}

#ddnav .lvl-2.active, #ddnav .lvl-2, #ddnav .lvl-2.inpath {
  text-align: left;
}



#ddnav .lvl-2.active {
  font-weight: bold;
}

#ddnav .lvl-2 > a {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
}

/* =================================
   LVL 3
   ================================= */

#ddnav .lvl-3 {
  display: none;
}

#ddnav .lvl-4 {
  display: none;
}

#ddnav .lvl-5 {
  display: none;
}

/* =================================
   HOVER INTENT - KEEP AT LAST POS
   ================================= */
#ddnav ul li.lvl-1:hover > a, #ddnav ul li.lvl-1.clicked > a {
  border-bottom:8px solid #ffff00;
}


#ddnav ul ul {
  position: absolute;
  left: -9999px;
  /*display:none;*/
  /*margin-top: 40px; !* line - height? *!*/
  z-index: 999;
  -webkit-transition: all 0s ease;
  transition: all 0s ease;

  -webkit-transition: opacity .25s ease;
  transition: opacity .25s ease;
  background: rgba(0, 0, 0, 0.9);
  background: rgba(9, 1, 1, 0.85);
  opacity: 0;
  width: 100%;
  padding:  30px 20px 30px 20px;
  line-height: 3.5rem;

}

#ddnav ul ul ul {
  position: absolute;
  left: -9999px;
  /*display:none;*/
  margin-top: -30px;
  margin-left: 180px;
  z-index: 999;
  opacity: 0;
}

/*#ddnav ul li:hover > ul  {*/
#ddnav .lvl-1.clicked > ul {
  left: 0;
  /*display:block;
  -webkit-transition-delay: .25s;
  transition-delay: .25s;*/
  opacity: 1;
}


#ddnav ul ul a {
  padding:5px 10px 7px 10px;
  height: auto;
}

/* =================================
   HCO has children online
   ================================= */
/*
.hco > a:after {
  content: "►";
  display: block;
  float: right;
}

.hco:hover > a:after {
  content: "▼";
}
*/

/*


.lang-box {
  position: absolute;
  width:137px;
  background: #FFF;
  -webkit-box-shadow:  0px 2px 3px 1px rgba(0, 0, 0, 0.15);
  -moz-box-shadow:     0px 2px 3px 1px rgba(0, 0, 0, 0.15);
  box-shadow:          0px 2px 3px 1px rgba(0, 0, 0, 0.15);
  padding:20px 20px;
  margin-left:-20px;
  margin-top:6px;
  display: none;
  z-index: 150;
}

.curr-lang {
  background: url(/layout/dd_icon.png) no-repeat 58px center;
  display: inline-block;
  cursor: pointer;
  width:100%;

}
.lang-line {
  padding-left:34px;
  width:102px;
  display: inline-block;

}
.lang-line a:hover { color: #00afd8; }
.lang-en {
  background:url(/layout/en.png) no-repeat center left;
}

.lang-de {
  background:url(/layout/de.png) no-repeat center left;
}

.lang-nl {
  background:url(/layout/nl.png) no-repeat center left;
}
*/


#ddnav .lvl-1.clicked > ul {
  left:auto;
}
#ddnav ul ul {
  width:auto;

}

#ddnav .lvl-2 > a:focus-visible, .side-nav >a:focus-visible ,  .side-nav > a.active:focus-visible {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #000 !important;
  background-color: #fff !important;
}

div.faq-a:focus-visible
{
  background-color: #000 !important;
}

.mini-desktop #ddnav .lvl-1:hover > ul, .mini-desktop #ddnav .lvl-1:focus-within > ul {
  left: 0 !important;
  width: 100%;
  right: auto !important;
  transform: none !important;
}
@media (max-width: 680px) {
.mini-desktop #ddnav a {
  height: 30px;
  padding-top: 5px;
}
}