/* Contao 5 header compatibility: compact logo, early mobile menu, bounded dropdowns. */
#header .topbar { padding: 15px 30px; }
#header .topbar > .row { align-items: center; flex-wrap: nowrap; }
#header .topbar .logo { flex: 1 1 auto; min-width: 0; }
#header .topbar .logo figure { margin: 0; }
#header .topbar .logo a { display: inline-block; }
#header .topbar .logo img { display: block; width: auto; height: 90px; max-width: 100%; object-fit: contain; }
#header .mainnavi { flex: 0 0 auto; padding-top: 0; overflow: visible; }
#header .mainnavi > .level_1 { margin: 0; white-space: nowrap; }
#header .mainnavi .level_2 { white-space: normal; }
#header .mainnavi > .level_1 > li:last-child > .level_2 { left: auto; right: 0; }
#header .mainnavi li:focus-within > .level_2 { display: block; }
#header .InsideOut-dark .ce_image img { display: block; }
@media (max-width: 1199px) {
 #header .mainnavi { display: none; }
 #header .topbar { position: relative; padding: 12px 25px; }
 #header .topbar .logo img { height: 76px; }
 #header .button-menu { display: block; position: absolute; top: 50%; right: 25px; transform: translateY(-50%); padding: 0; width: 44px; height: 44px; }
 #header .button-menu .fa { position: static; display: block; line-height: 44px; font-size: 32px; color: #fff; }
 .overlay-menu > .button-menu { display: block; }
}
/* Place subpage navigation over the hero; homepage uses its separate top section. */
body:not(.home) #header > .inside { position: relative; }
body:not(.home) #header .bangb1:not(.fixedTop) { position: absolute; inset: 0 0 auto; z-index: 100; width: 100%; }
body:not(.home) #header .bangb1:not(.fixedTop) .topbar { background: transparent; }
body:not(.home) #header .bangb1:not(.fixedTop) .logo img { filter: drop-shadow(0 1px 3px rgba(0,0,0,.8)); }
body:not(.home) #header .bangb1:not(.fixedTop) .mainnavi > .level_1 > li > a,
body:not(.home) #header .bangb1:not(.fixedTop) .mainnavi > .level_1 > li > strong,
body:not(.home) #header .bangb1:not(.fixedTop) .button-menu { text-shadow: 0 1px 4px #000, 0 0 8px rgba(0,0,0,.65); }
body:not(.home) #header .bangb1_clone { display: none; }
body:not(.home) #header .InsideOut-dark .ce_image img { min-height: 240px; width: 100%; object-fit: cover; }
body:not(.home) #header + #container #main .inside > .InsideOut-dark:first-child .banner-bg { padding-top: 125px; }
@media(max-width:1199px) {
 body:not(.home) #header .InsideOut-dark .ce_image img { min-height: 210px; }
 body:not(.home) #header + #container #main .inside > .InsideOut-dark:first-child .banner-bg { padding-top: 105px; }
}
