/* === v1.0.40 MHD 104 cleanup + unified mobile submenu on homepage === */
@media (max-width: 980px){
  body.home .sadlc-header .sadlc-main-menu,
  body.home .sadlc-header.is-scrolled .sadlc-main-menu,
  body.home .sadlc-header:not(.is-scrolled) .sadlc-main-menu,
  .sadlc-header .sadlc-main-menu{
    background:#fff!important;
    border:1px solid rgba(0,0,128,.08)!important;
    box-shadow:0 24px 58px rgba(10,18,58,.20)!important;
    border-radius:24px!important;
    padding:14px!important;
    color:var(--sadlc-blue)!important;
  }
  body.home .sadlc-header .sadlc-main-menu a,
  body.home .sadlc-header .sadlc-main-menu a:visited,
  body.home .sadlc-header.is-scrolled .sadlc-main-menu a,
  body.home .sadlc-header:not(.is-scrolled) .sadlc-main-menu a,
  .sadlc-header .sadlc-main-menu a,
  .sadlc-header .sadlc-main-menu a:visited{
    color:var(--sadlc-blue)!important;
    background:transparent!important;
    text-shadow:none!important;
    box-shadow:none!important;
  }
  body.home .sadlc-header .sadlc-main-menu a:hover,
  body.home .sadlc-header .sadlc-main-menu a.is-current,
  body.home .sadlc-header .sadlc-main-menu .current-menu-item>a,
  .sadlc-header .sadlc-main-menu a:hover,
  .sadlc-header .sadlc-main-menu a.is-current,
  .sadlc-header .sadlc-main-menu .current-menu-item>a{
    color:var(--sadlc-red)!important;
    background:rgba(224,43,32,.08)!important;
  }
  body.home .sadlc-header .sadlc-menu-list>li.menu-item-has-children,
  .sadlc-header .sadlc-menu-list>li.menu-item-has-children{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 44px!important;
    align-items:center!important;
    column-gap:4px!important;
  }
  body.home .sadlc-header .sadlc-menu-list>li.menu-item-has-children>a,
  .sadlc-header .sadlc-menu-list>li.menu-item-has-children>a{
    grid-column:1!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    width:auto!important;
    min-width:0!important;
    padding:13px 10px 13px 16px!important;
    color:var(--sadlc-blue)!important;
  }
  body.home .sadlc-header .sadlc-menu-list>li.menu-item-has-children>a:after,
  .sadlc-header .sadlc-menu-list>li.menu-item-has-children>a:after{
    content:none!important;
    display:none!important;
  }
  body.home .sadlc-header .sadlc-submenu-toggle,
  .sadlc-header .sadlc-submenu-toggle{
    grid-column:2!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:42px!important;
    height:42px!important;
    border:0!important;
    border-radius:14px!important;
    background:rgba(0,0,128,.06)!important;
    color:var(--sadlc-blue)!important;
    padding:0!important;
    margin:0!important;
    box-shadow:none!important;
  }
  body.home .sadlc-header .sadlc-submenu-toggle:before,
  .sadlc-header .sadlc-submenu-toggle:before{
    content:""!important;
    width:8px!important;
    height:8px!important;
    border-right:2px solid currentColor!important;
    border-bottom:2px solid currentColor!important;
    transform:rotate(45deg)!important;
    margin-top:-4px!important;
    display:block!important;
    background:transparent!important;
  }
  body.home .sadlc-header .sadlc-menu-list>li.is-submenu-open>.sadlc-submenu-toggle:before,
  .sadlc-header .sadlc-menu-list>li.is-submenu-open>.sadlc-submenu-toggle:before{
    transform:rotate(-135deg)!important;
    margin-top:4px!important;
  }
  body.home .sadlc-header .sadlc-menu-list>li.menu-item-has-children>.sub-menu,
  .sadlc-header .sadlc-menu-list>li.menu-item-has-children>.sub-menu{
    grid-column:1 / -1!important;
    position:static!important;
    left:auto!important;
    top:auto!important;
    transform:none!important;
    display:none!important;
    width:auto!important;
    min-width:0!important;
    margin:4px 0 10px 0!important;
    padding:8px!important;
    background:#f6f7ff!important;
    border:1px solid rgba(0,0,128,.06)!important;
    border-radius:16px!important;
    box-shadow:none!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
  }
  body.home .sadlc-header .sadlc-menu-list>li.menu-item-has-children.is-submenu-open>.sub-menu,
  .sadlc-header .sadlc-menu-list>li.menu-item-has-children.is-submenu-open>.sub-menu{
    display:block!important;
  }
  body.home .sadlc-header .sadlc-main-menu .sadlc-menu-list .sub-menu a,
  .sadlc-header .sadlc-main-menu .sadlc-menu-list .sub-menu a{
    color:var(--sadlc-blue)!important;
    background:transparent!important;
    padding:10px 12px!important;
  }
  body.home .sadlc-header .sadlc-main-menu .sadlc-menu-list .sub-menu a:hover,
  .sadlc-header .sadlc-main-menu .sadlc-menu-list .sub-menu a:hover{
    color:var(--sadlc-red)!important;
    background:rgba(224,43,32,.08)!important;
  }
}


/* === v1.0.41 mobile menu color + scrollable dropdowns === */
@media (max-width: 980px){
  body.home .sadlc-header .sadlc-main-menu,
  body.home .sadlc-header:not(.is-scrolled) .sadlc-main-menu,
  body.home .sadlc-header.is-scrolled .sadlc-main-menu,
  .sadlc-header .sadlc-main-menu{
    background:#fff!important;
    color:var(--sadlc-blue)!important;
    max-height:calc(100dvh - 100px)!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    -webkit-overflow-scrolling:touch!important;
    overscroll-behavior:contain!important;
    padding-bottom:20px!important;
  }
  body.home .sadlc-header .sadlc-main-menu *:not(.sadlc-mobile-menu-phone):not(.sadlc-mobile-menu-phone *),
  body.home .sadlc-header:not(.is-scrolled) .sadlc-main-menu *:not(.sadlc-mobile-menu-phone):not(.sadlc-mobile-menu-phone *),
  body.home .sadlc-header.is-scrolled .sadlc-main-menu *:not(.sadlc-mobile-menu-phone):not(.sadlc-mobile-menu-phone *),
  .sadlc-header .sadlc-main-menu *:not(.sadlc-mobile-menu-phone):not(.sadlc-mobile-menu-phone *){
    text-shadow:none!important;
  }
  body.home .sadlc-header .sadlc-main-menu .sadlc-menu-list a,
  body.home .sadlc-header .sadlc-main-menu .sadlc-menu-list a:link,
  body.home .sadlc-header .sadlc-main-menu .sadlc-menu-list a:visited,
  body.home .sadlc-header:not(.is-scrolled) .sadlc-main-menu .sadlc-menu-list a,
  body.home .sadlc-header:not(.is-scrolled) .sadlc-main-menu .sadlc-menu-list a:visited,
  body.home .sadlc-header.is-scrolled .sadlc-main-menu .sadlc-menu-list a,
  .sadlc-header .sadlc-main-menu .sadlc-menu-list a,
  .sadlc-header .sadlc-main-menu .sadlc-menu-list a:visited{
    color:var(--sadlc-blue)!important;
    background:transparent!important;
    text-shadow:none!important;
  }
  body.home .sadlc-header .sadlc-main-menu .sadlc-menu-list a:hover,
  body.home .sadlc-header .sadlc-main-menu .sadlc-menu-list a.is-current,
  body.home .sadlc-header .sadlc-main-menu .sadlc-menu-list .current-menu-item > a,
  .sadlc-header .sadlc-main-menu .sadlc-menu-list a:hover,
  .sadlc-header .sadlc-main-menu .sadlc-menu-list a.is-current,
  .sadlc-header .sadlc-main-menu .sadlc-menu-list .current-menu-item > a{
    color:var(--sadlc-red)!important;
    background:rgba(224,43,32,.08)!important;
  }
  body.home .sadlc-header .sadlc-submenu-toggle,
  .sadlc-header .sadlc-submenu-toggle{
    color:var(--sadlc-blue)!important;
    background:rgba(0,0,128,.06)!important;
  }
  body.home .sadlc-header .sadlc-submenu-toggle:before,
  .sadlc-header .sadlc-submenu-toggle:before{
    border-color:currentColor!important;
  }
  .sadlc-main-menu::-webkit-scrollbar{width:8px;}
  .sadlc-main-menu::-webkit-scrollbar-thumb{background:rgba(0,0,128,.22);border-radius:999px;}
  .sadlc-main-menu::-webkit-scrollbar-track{background:transparent;}
}


/* === v1.0.42 sticky hour column on mobile/tablet MHD timetables === */
@media (max-width: 1100px){
  .mhd-tableWrap{
    position:relative;
    overflow:auto;
    -webkit-overflow-scrolling:touch;
  }
  .mhd-table th:first-child,
  .mhd-table td:first-child,
  .mhd-table .c-hour{
    position:sticky!important;
    left:0!important;
    z-index:3!important;
    min-width:76px;
    box-shadow:8px 0 16px rgba(10,18,58,.08);
  }
  .mhd-table th:first-child,
  .mhd-table th.c-hour{
    z-index:6!important;
    background:linear-gradient(135deg,var(--sadlc-blue),#16169e)!important;
    color:#fff!important;
  }
  .mhd-table td:first-child,
  .mhd-table td.c-hour{
    background:#f1f3f9!important;
    color:#111827!important;
    text-align:center;
  }
  .mhd-table tr:nth-child(even) td:first-child,
  .mhd-table tr:nth-child(even) td.c-hour{
    background:#eef1f8!important;
  }
  .mhd-table tr:hover td:first-child,
  .mhd-table tr:hover td.c-hour{
    background:#fff0ee!important;
  }
}
@media (max-width: 780px){
  .mhd-table th:first-child,
  .mhd-table td:first-child,
  .mhd-table .c-hour{
    min-width:64px;
    width:64px;
    padding-left:9px!important;
    padding-right:9px!important;
  }
}

/* === v1.0.43 mobile/tablet hamburger menu scroll refinement === */
@media (max-width: 980px){
  .sadlc-header .sadlc-main-menu.is-open,
  body.home .sadlc-header .sadlc-main-menu.is-open,
  body.home .sadlc-header:not(.is-scrolled) .sadlc-main-menu.is-open,
  body.home .sadlc-header.is-scrolled .sadlc-main-menu.is-open{
    position:fixed!important;
    top:96px!important;
    left:16px!important;
    right:16px!important;
    bottom:14px!important;
    height:auto!important;
    max-height:none!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    -webkit-overflow-scrolling:touch!important;
    overscroll-behavior:auto!important;
    touch-action:pan-y!important;
    scrollbar-width:none!important;
    -ms-overflow-style:none!important;
  }
  .sadlc-header .sadlc-main-menu.is-open::-webkit-scrollbar,
  body.home .sadlc-header .sadlc-main-menu.is-open::-webkit-scrollbar{
    display:none!important;
    width:0!important;
    height:0!important;
  }
  body.sadlc-menu-open{
    overflow:hidden!important;
    touch-action:none!important;
  }
  body.sadlc-menu-open .sadlc-header .sadlc-main-menu.is-open{
    touch-action:pan-y!important;
  }
}

@media (max-width: 520px){
  .sadlc-header .sadlc-main-menu.is-open,
  body.home .sadlc-header .sadlc-main-menu.is-open{
    top:88px!important;
    left:12px!important;
    right:12px!important;
    bottom:10px!important;
  }
}

/* === v1.0.44 repair mobile/tablet hamburger menu on homepage + subpages === */
@media (max-width: 980px){
  .sadlc-header,
  body.home .sadlc-header{
    overflow:visible!important;
  }

  .sadlc-header .sadlc-header-inner,
  body.home .sadlc-header .sadlc-header-inner,
  body.home .sadlc-header:not(.is-scrolled) .sadlc-header-inner,
  body.home .sadlc-header.is-scrolled .sadlc-header-inner{
    overflow:visible!important;
  }

  .sadlc-header .sadlc-main-menu,
  body.home .sadlc-header .sadlc-main-menu,
  body.home .sadlc-header:not(.is-scrolled) .sadlc-main-menu,
  body.home .sadlc-header.is-scrolled .sadlc-main-menu,
  .sadlc-header .sadlc-main-menu.is-open,
  body.home .sadlc-header .sadlc-main-menu.is-open,
  body.home .sadlc-header:not(.is-scrolled) .sadlc-main-menu.is-open,
  body.home .sadlc-header.is-scrolled .sadlc-main-menu.is-open{
    position:absolute!important;
    top:82px!important;
    left:16px!important;
    right:16px!important;
    bottom:auto!important;
    width:auto!important;
    height:auto!important;
    max-height:calc(100dvh - 102px)!important;
    margin:0!important;
    padding:14px!important;
    background:#fff!important;
    border:1px solid rgba(0,0,128,.08)!important;
    border-radius:24px!important;
    box-shadow:0 22px 46px rgba(0,0,80,.20)!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    -webkit-overflow-scrolling:touch!important;
    overscroll-behavior:contain!important;
    touch-action:pan-y!important;
    scrollbar-width:none!important;
    -ms-overflow-style:none!important;
    color:var(--sadlc-blue)!important;
  }

  .sadlc-header .sadlc-main-menu::-webkit-scrollbar,
  body.home .sadlc-header .sadlc-main-menu::-webkit-scrollbar,
  .sadlc-header .sadlc-main-menu.is-open::-webkit-scrollbar,
  body.home .sadlc-header .sadlc-main-menu.is-open::-webkit-scrollbar{
    display:none!important;
    width:0!important;
    height:0!important;
  }

  .sadlc-header .sadlc-main-menu.is-open,
  body.home .sadlc-header .sadlc-main-menu.is-open,
  body.home .sadlc-header:not(.is-scrolled) .sadlc-main-menu.is-open,
  body.home .sadlc-header.is-scrolled .sadlc-main-menu.is-open{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
  }

  .sadlc-header .sadlc-menu-list,
  body.home .sadlc-header .sadlc-menu-list{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
    gap:2px!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
  }

  .sadlc-header .sadlc-menu-list > li,
  body.home .sadlc-header .sadlc-menu-list > li{
    width:100%!important;
  }

  .sadlc-header .sadlc-main-menu .sadlc-menu-list a,
  .sadlc-header .sadlc-main-menu .sadlc-menu-list a:link,
  .sadlc-header .sadlc-main-menu .sadlc-menu-list a:visited,
  body.home .sadlc-header .sadlc-main-menu .sadlc-menu-list a,
  body.home .sadlc-header .sadlc-main-menu .sadlc-menu-list a:link,
  body.home .sadlc-header .sadlc-main-menu .sadlc-menu-list a:visited,
  body.home .sadlc-header:not(.is-scrolled) .sadlc-main-menu .sadlc-menu-list a,
  body.home .sadlc-header:not(.is-scrolled) .sadlc-main-menu .sadlc-menu-list a:visited,
  body.home .sadlc-header.is-scrolled .sadlc-main-menu .sadlc-menu-list a,
  body.home .sadlc-header.is-scrolled .sadlc-main-menu .sadlc-menu-list a:visited{
    color:var(--sadlc-blue)!important;
    background:transparent!important;
    text-shadow:none!important;
  }

  .sadlc-header .sadlc-main-menu .sadlc-menu-list a:hover,
  .sadlc-header .sadlc-main-menu .sadlc-menu-list a.is-current,
  .sadlc-header .sadlc-main-menu .sadlc-menu-list .current-menu-item > a,
  .sadlc-header .sadlc-main-menu .sadlc-menu-list .current_page_item > a,
  body.home .sadlc-header .sadlc-main-menu .sadlc-menu-list a:hover,
  body.home .sadlc-header .sadlc-main-menu .sadlc-menu-list a.is-current,
  body.home .sadlc-header .sadlc-main-menu .sadlc-menu-list .current-menu-item > a,
  body.home .sadlc-header .sadlc-main-menu .sadlc-menu-list .current_page_item > a{
    color:var(--sadlc-red)!important;
    background:rgba(224,43,32,.08)!important;
  }

  .sadlc-header .sadlc-menu-list > li.menu-item-has-children,
  body.home .sadlc-header .sadlc-menu-list > li.menu-item-has-children{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 46px!important;
    align-items:center!important;
    column-gap:4px!important;
  }

  .sadlc-header .sadlc-menu-list > li.menu-item-has-children > a,
  body.home .sadlc-header .sadlc-menu-list > li.menu-item-has-children > a{
    grid-column:1!important;
    width:auto!important;
    min-width:0!important;
    justify-content:flex-start!important;
    padding-right:10px!important;
  }

  .sadlc-header .sadlc-menu-list > li.menu-item-has-children > a::after,
  body.home .sadlc-header .sadlc-menu-list > li.menu-item-has-children > a::after{
    display:none!important;
    content:none!important;
  }

  .sadlc-header .sadlc-submenu-toggle,
  body.home .sadlc-header .sadlc-submenu-toggle,
  body.home .sadlc-header:not(.is-scrolled) .sadlc-submenu-toggle,
  body.home .sadlc-header.is-scrolled .sadlc-submenu-toggle{
    grid-column:2!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:42px!important;
    height:42px!important;
    margin:0 0 0 auto!important;
    border:0!important;
    border-radius:14px!important;
    background:rgba(0,0,128,.06)!important;
    color:var(--sadlc-blue)!important;
    box-shadow:none!important;
    cursor:pointer!important;
  }

  .sadlc-header .sadlc-submenu-toggle:before,
  body.home .sadlc-header .sadlc-submenu-toggle:before{
    content:""!important;
    width:8px!important;
    height:8px!important;
    border-right:2px solid currentColor!important;
    border-bottom:2px solid currentColor!important;
    transform:rotate(45deg)!important;
    margin-top:-4px!important;
    background:transparent!important;
    box-shadow:none!important;
  }

  .sadlc-header .sadlc-menu-list > li.is-submenu-open > .sadlc-submenu-toggle:before,
  body.home .sadlc-header .sadlc-menu-list > li.is-submenu-open > .sadlc-submenu-toggle:before{
    transform:rotate(-135deg)!important;
    margin-top:4px!important;
  }

  .sadlc-header .sadlc-menu-list > li.menu-item-has-children > .sub-menu,
  body.home .sadlc-header .sadlc-menu-list > li.menu-item-has-children > .sub-menu{
    grid-column:1 / -1!important;
    display:none!important;
    position:static!important;
    left:auto!important;
    top:auto!important;
    transform:none!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    margin:4px 0 10px 0!important;
    padding:8px!important;
    background:#f6f7ff!important;
    border:1px solid rgba(0,0,128,.06)!important;
    border-radius:16px!important;
    box-shadow:none!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
  }

  .sadlc-header .sadlc-menu-list > li.menu-item-has-children.is-submenu-open > .sub-menu,
  body.home .sadlc-header .sadlc-menu-list > li.menu-item-has-children.is-submenu-open > .sub-menu{
    display:block!important;
  }

  .sadlc-header .sadlc-main-menu .sadlc-menu-list .sub-menu a,
  .sadlc-header .sadlc-main-menu .sadlc-menu-list .sub-menu a:visited,
  body.home .sadlc-header .sadlc-main-menu .sadlc-menu-list .sub-menu a,
  body.home .sadlc-header .sadlc-main-menu .sadlc-menu-list .sub-menu a:visited{
    color:var(--sadlc-blue)!important;
    background:transparent!important;
    text-shadow:none!important;
    white-space:normal!important;
  }

  body.sadlc-menu-open{
    overflow:auto!important;
    touch-action:auto!important;
  }
}

@media (max-width: 520px){
  .sadlc-header .sadlc-main-menu,
  body.home .sadlc-header .sadlc-main-menu,
  .sadlc-header .sadlc-main-menu.is-open,
  body.home .sadlc-header .sadlc-main-menu.is-open{
    top:78px!important;
    left:12px!important;
    right:12px!important;
    max-height:calc(100dvh - 92px)!important;
  }
}

