/* Joomla 6 markup bridge; original theme.css and artwork are retained. */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
#header .mod-menu__toggle-sub { border: 0; background: transparent; padding: 0; font-family: inherit; cursor: pointer; color: inherit; }
#header .mod-menu__toggle-sub .icon-chevron-down { display: none; }
#header ul.menu li:focus-within, #header ul.menu li.idc-open { position: relative; z-index: 599; background: rgb(119,0,89); }
#header ul.menu li:focus-within > button > span, #header ul.menu li.idc-open > button > span { color: white; }
#header ul.menu > li:focus-within > ul, #header ul.menu > li.idc-open > ul { visibility: visible; max-height: 400px; min-height: 400px; }
#header ul.menu > li > ul > li:focus-within > ul, #header ul.menu > li > ul > li.idc-open > ul { display: block; position: absolute; top: 0; margin: 0 0 0 173px; padding: 0; z-index: 740; }
#header ul.menu > li > ul > li > ul > li { width: 250px; }
#header ul.menu a, #header ul.menu a:hover, #header ul.menu a:focus { text-decoration: none; }
#header button:focus-visible, #header a:focus-visible { outline: 2px solid #ffbb4c; outline-offset: -2px; }
#menu-fa { background: transparent; border: 0; cursor: pointer; }
@media screen and (max-width: 1030px) {
    #menu-fa { position: absolute; left: 15px; top: 15px; z-index: 110; }
    #header .responsive-menu i { position: static; }
    #header div.menu { transform: translateX(-110%); padding-top: 70px; height: calc(100vh - 70px); max-width: 90vw; overflow: auto; }
    #header div.menu.active { transform: translateX(0); }
    #header ul.menu { position: relative; height: auto; width: 100%; overflow: visible; }
    #header ul.menu > li > ul, #header ul.menu > li:focus-within > ul, #header ul.menu > li.idc-open > ul { min-height: 0; max-height: none; width: 100%; overflow: visible; }
    #header ul.menu > li > ul > li { height: auto; width: auto; }
    #header ul.menu > li > ul > li > ul, #header ul.menu > li:hover > ul > li:hover.parent > ul, #header ul.menu > li > ul > li:focus-within > ul, #header ul.menu > li > ul > li.idc-open > ul { display: block; position: static; margin: 0; padding: 0 0 0 12px; width: auto; }
    #header ul.menu li li a, #header ul.menu li li span, #header ul.menu > li > ul > li > ul > li, #header ul.menu > li > ul > li > ul > li a { width: auto; height: auto; }
    #header ul.menu li a, #header ul.menu li span { font-size: 20px; }
    #header div.mod-languages { height: 45px; }
    #header div.mod-languages ul { position: static; margin: 5px; }
}
@media (prefers-reduced-motion: reduce) {
    #header div.menu, #header ul.menu > li:hover > ul { transition: none; }
}
