/* Grundlayout */
.minimenu {
    display: none;
}

/* Logo */
.logo {
  margin: 1rem 0;
}

.navbar {
  padding:0 0;
}

/*neues Minimenu*/

/* Hauptnavigation */
.hak-nav {
  background-color: #d0bd8c;
  color: #000000;
  position: relative;
  font-family: 'Roboto', sans-serif;
  z-index: 1000;
}

/* Toggle-Button (Burger-Icon) */
.hak-toggle {
  font-size: 2rem;
  padding: 1rem;
  cursor: pointer;
  display: none;
  user-select: none;
}

/* Menüliste Desktop */
.hak-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
}

/* Menüpunkt */
.hak-menu-item {
  margin: 0;
}

/* Link-Styling */
.hak-menu-link {
  display: block;
  padding: 1rem;
  color: #ecf0f1;
  text-decoration: none;
  transition: background 0.3s ease;
}

.hak-menu-link:hover {
  background-color: #d0bd8c;
}

/* Aktiver Link */
.hak-active {
  font-weight: bold;
  border-bottom: 2px solid #f39c12;
}

/* Untermenüs */ 

.hak-menu-list .sub2 a {
    display: block;
    padding:5px 10px 5px 45px;
    text-decoration: none;
    color:#000000;
}
.hak-menu-list .sub2 a:hover {
    background:#006ab2 ;
    color:#FFFFFF;  
    
}

.hak-menu-list .sub2 {
    list-style: none;
    padding:0;
    margin:0;
}


/* Mobile Ansicht */
@media (max-width: 768px) {
  .hak-toggle {
    display: block;
  }

.hak-menu-list {
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: #84744e;
  pointer-events: none;
}

.hak-menu-list.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  max-height: 80vh; /* oder 100vh */
  overflow-y: auto;
    
}
}

  .hak-menu-link {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #d0bd8c;
  }



/* Mega-Menü */
.megamenu {
  width: 100%;
  display: flex;
  justify-content: center;
  position: relative;
}

/* Hauptnavigation */
.megamenu ul.navilo {
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
  z-index: 10;
}

.megamenu ul.navilo > li:first-child a {
  background-image: url("/fileadmin/user_upload/logo/bhv-2022.png");
  background-repeat: no-repeat;
  background-position: left center;
  padding-left: 92px;
  background-size: 50px;
  border-left: 1px solid #d0bd8c;
  background-position: 31px 6px;
}

.megamenu ul.navilo > li {
  position: relative;
}

.megamenu ul.navilo > li > a {
  text-decoration: none;
  font-size: 17px;
  color: #d0bd8c;
  font-weight: bold;
  padding: 15px 40px;
  display: block;
  transition: color 0.3s ease;
    border-right: 1px solid #d0bd8c;
}

.megamenu ul.navilo > li > a:hover {
  color: #FFFFFF;
}


/* Flyout-Menü */
.megamenu ul.navilo > li > ul {
  display: none;
  position: fixed;
  top: 62px; /* Abstand von oben */
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px; /* gleiche Breite wie .container-fluid */
  background-color: #333;
  padding: 0;
  box-sizing: border-box;
  z-index: 5;
}

/* Zeige das Untermenü beim Hover */
.megamenu ul.navilo > li:hover > ul {
  display: block;

}

/* Untermenüpunkte */
.megamenu ul.navilo > li > ul > li {
  list-style: none;
  margin: 0.3rem 0;
  width: 33.33333%;
  float: left;
}

.megamenu ul.navilo > li > ul > li > a {
  display: block;
  color: #ffffff;
  font-size: 14px;
  padding: 2px 0px 2px 30px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.megamenu ul.navilo > li > ul > li > a:hover {
      
    background:#006ab2 ;
    color:#FFFFFF; 
}





/* ------------------------------------------------------------
	Sitemap Styles
------------------------------------------------------------ */

.frame-type-menu_sitemap_pages {
	display: inline-block;
	min-width: 100%;
	width:100%;
}

main .frame-type-menu_sitemap_pages li {
    float: left;
    width:20%;
    position: relative;
}
main .frame-type-menu_sitemap_pages li ul li {
    float: inherit;
    width:inherit;
    position: inherit;
}

main .frame-type-menu_sitemap_pages ul,
main .frame-type-menu_sitemap_pages li {
    list-style: none;
    margin:0;
    padding:0;
}
main .frame-type-menu_sitemap_pages li li {
    margin:0 0 0 20px;
}
.frame-type-menu_sitemap_pages li a,
.frame-type-menu_sitemap_pages li a.multi:after {
    position: relative;
	display: block;
	margin: 0;
	padding: 15px;
	font-size: 14px;
	font-weight: bold;
	line-height: 16px;
	white-space: normal;
	color: #333;
	background-color: white;
	border: 1px solid #f5f5f5;
	border-top: 4px solid #d0bd8c;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
    z-index: 1;
    text-decoration: none;
}
.frame-type-menu_sitemap_pages li a:hover {
    border-top: 4px solid #95a5a6 !important;
    background:#d0bd8c !important;
    color: #FFFFFF;
}

.framframe-type-menu_sitemap_pages li a {
	-webkit-box-shadow: 1px 1px 2px rgba(106,113,127,0.2);
    -moz-box-shadow: 1px 1px 2px rgba(106,113,127,0.2);
    box-shadow: 1px 1px 2px rgba(106,113,127,0.2); 
}

.frame-type-menu_sitemap_pages li a.multi:after {
	content: " ";
	position: absolute;
	left: 6px;
	top: 6px;
	width: 100%;
	height: 100%;
	border-width: 2px;
	border-color: #eee;
	border-top-width: 0 !important;
	border-left-width: 0 !important;
	background-color: transparent;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	-moz-border-bottom-right-radius: 8px;
	-webkit-border-bottom-right-radius: 8px;
	z-index: -1;
}

.frame-type-menu_sitemap_pages li a:before {
	content: " "attr(href)" ";
	display: block;
	text-transform: uppercase;
	font-size: 10px;
	font-weight: bold;
	word-wrap: break-word;
	color: #95a5a6;
}

.frame-type-menu_sitemap_pages li a small {
	display: block;
	font-weight: normal;
	font-size: 12px;
	margin-top: 10px;
}

.frame-type-menu_sitemap_pages .fa {
	position: absolute;
	top: 15px;
	right: 15px;
	font-size: 16px;
	vertical-align: middle;
}

/* ------------------------------------------------------------
	Sitemap Styles
------------------------------------------------------------ */