/* Full Helix navigation on tablet; the existing smartphone menu remains below 768px. */
.mg-p51-submenu-toggle{display:none}
@media(min-width:768px) and (max-width:1199px){
 #sp-header#sp-header.mg-p51-header{height:auto!important;min-height:78px!important}
 #sp-header#sp-header.mg-p51-header .mg-p51-header-row{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;flex-wrap:nowrap!important;padding:0 24px!important;min-height:78px!important}
 #sp-header#sp-header.mg-p51-header #sp-logo{width:210px!important;max-width:210px!important;flex:0 0 210px!important}
 #sp-header#sp-header.mg-p51-header #sp-logo img{max-width:210px!important;max-height:58px!important;width:auto!important;height:auto!important}
 #sp-header#sp-header.mg-p51-header #sp-menu,#sp-header#sp-header.mg-p51-header .mg-p51-menu-shell{display:block!important;min-width:0!important}
 #sp-header#sp-header.mg-p51-header #sp-menu{width:auto!important;max-width:none!important;flex:1 1 auto!important}
 #sp-header#sp-header.mg-p51-header .sp-megamenu-parent{display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:flex-end!important;gap:0!important;margin:0!important;padding:0!important;float:none!important}
 #sp-header#sp-header.mg-p51-header .sp-megamenu-parent>li{float:none!important;flex:0 0 auto!important;max-width:100%!important;padding:0!important;margin:0!important}
 #sp-header#sp-header.mg-p51-header .sp-megamenu-parent>li>a{font-size:16px!important;line-height:1.4!important;min-height:54px!important;padding:12px 8px!important;white-space:nowrap!important}
 #sp-header#sp-header.mg-p51-header .sp-megamenu-parent>li>a.mg-menu-contact{padding:8px 14px!important;min-height:40px!important}
 #sp-header#sp-header.mg-p51-header #offcanvas-toggler{display:none!important}
 #sp-header#sp-header.mg-p51-header #sp-menu-right:empty{display:none!important}
 #sp-header#sp-header.mg-p51-header .sp-dropdown{max-width:calc(100vw - 32px)!important}
 #sp-header-sticky-wrapper.mg-p51-sticky-shell{height:var(--mg-p51-header-height,auto)!important}
}
@media(min-width:768px) and (max-width:991px){
 #sp-header#sp-header.mg-p51-header .mg-p51-header-row{flex-wrap:wrap!important;gap:0!important;padding:8px 24px 0!important}
 #sp-header#sp-header.mg-p51-header #sp-logo{flex:0 0 100%!important;width:100%!important;max-width:100%!important}
 #sp-header#sp-header.mg-p51-header #sp-menu{flex:0 0 100%!important;width:100%!important;max-width:100%!important}
 #sp-header#sp-header.mg-p51-header .sp-megamenu-parent{justify-content:flex-start!important}
 #sp-header#sp-header.mg-p51-header .sp-megamenu-parent>li>a{min-height:48px!important;padding:10px 12px!important}
 #sp-header#sp-header.mg-p51-header .sp-megamenu-parent>li:first-child>a{padding-left:0!important}
}
@media(min-width:768px) and (max-width:1199px), (min-width:768px) and (pointer:coarse){
 #sp-header#sp-header.mg-p51-header .sp-megamenu-parent>li.mg-p51-haspopup{display:inline-flex!important;align-items:center!important;position:relative!important}
 #sp-header#sp-header.mg-p51-header .sp-megamenu-parent>li.mg-p51-haspopup>a{padding-right:3px!important}
 #sp-header#sp-header.mg-p51-header .sp-megamenu-parent>li.mg-p51-haspopup>a::after,
 #sp-header#sp-header.mg-p51-header .mg-p51-native-caret{display:none!important}
 #sp-header#sp-header.mg-p51-header .mg-p51-submenu-toggle{display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 32px;width:32px;min-height:44px;margin:0;padding:0;border:0;border-radius:4px;background:transparent;color:inherit;cursor:pointer}
 #sp-header#sp-header.mg-p51-header .mg-p51-submenu-toggle:focus-visible{outline:3px solid #4b89a8;outline-offset:1px}
 #sp-header#sp-header.mg-p51-header .mg-p51-caret{width:7px;height:7px;border-right:1.8px solid currentColor;border-bottom:1.8px solid currentColor;transform:rotate(45deg);margin-top:-4px}
 #sp-header#sp-header.mg-p51-header .mg-p51-submenu-toggle[aria-expanded="true"] .mg-p51-caret{transform:rotate(225deg);margin-top:3px}
 #sp-header#sp-header.mg-p51-header .mg-p51-haspopup>.sp-dropdown{top:100%!important}
 #sp-header#sp-header.mg-p51-header .mg-p51-open>.sp-dropdown{display:block!important;visibility:visible!important;opacity:1!important;transform:none!important;animation:none!important;pointer-events:auto!important}
 #sp-header#sp-header.mg-p51-header .mg-p51-align-right>.sp-dropdown{left:auto!important;right:0!important}
}
@media(min-width:768px) and (pointer:coarse){
 #sp-header#sp-header.mg-p51-header .mg-p51-haspopup:not(.mg-p51-open)>.sp-dropdown{display:none!important;visibility:hidden!important;opacity:0!important}
}
