.header{padding-top:22px!important;padding-bottom:18px!important}
.header .box{position:relative;min-height:92px}
.header .logo{position:absolute;left:0;top:4px}
.header .tel{position:absolute!important;right:0!important;top:42px!important;width:300px!important;margin:0!important}
.header .lang-switch{position:absolute!important;right:0!important;top:0!important;width:154px!important;z-index:999999!important;display:block!important;font-size:14px!important;line-height:1!important;text-align:left!important;color:#222!important}
.header .lang-switch .lang-current{display:flex!important;align-items:center!important;gap:8px!important;height:36px!important;padding:0 30px 0 12px!important;background:#fff!important;border:1px solid #e5e8ef!important;border-radius:4px!important;box-shadow:0 2px 8px rgba(0,0,0,.08)!important;white-space:nowrap!important;box-sizing:border-box!important;cursor:pointer!important;position:relative!important}
.header .lang-switch .lang-current i{position:absolute!important;right:11px!important;top:13px!important;width:7px!important;height:7px!important;border-right:1px solid #333!important;border-bottom:1px solid #333!important;transform:rotate(45deg)!important}
.header .lang-switch .lang-panel{position:absolute!important;right:0!important;top:42px!important;width:154px!important;padding:6px 0!important;background:#fff!important;border:1px solid #e5e8ef!important;border-radius:4px!important;box-shadow:0 10px 24px rgba(0,0,0,.15)!important;opacity:0!important;visibility:hidden!important;transform:translateY(8px)!important;transition:all .2s ease!important;box-sizing:border-box!important}
.header .lang-switch:hover .lang-panel,.header .lang-switch.open .lang-panel{opacity:1!important;visibility:visible!important;transform:translateY(0)!important}
.header .lang-switch .lang-panel a{display:flex!important;align-items:center!important;gap:8px!important;height:34px!important;padding:0 13px!important;color:#222!important;background:#fff!important;text-decoration:none!important;box-sizing:border-box!important}
.header .lang-switch .lang-panel a:hover,.header .lang-switch .lang-panel a.active{background:#f3f7ff!important;color:#0056f9!important}
.header .lang-switch .lang-flag,header .lang-switch .lang-flag{display:inline-block!important;width:22px!important;height:14px!important;min-width:22px!important;border:0!important;border-radius:2px!important;box-sizing:border-box!important;background-size:100% 100%!important;background-repeat:no-repeat!important;background-position:center!important;box-shadow:0 0 0 1px rgba(0,0,0,.10),0 1px 2px rgba(0,0,0,.12)!important;overflow:hidden!important}
.flag-en{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'><clipPath id='r'><rect width='60' height='40' rx='3'/></clipPath><g clip-path='url(%23r)'><path fill='%23012169' d='M0 0h60v40H0z'/><path stroke='%23fff' stroke-width='8' d='m0 0 60 40M60 0 0 40'/><path stroke='%23c8102e' stroke-width='4.8' d='m0 0 60 40M60 0 0 40'/><path stroke='%23fff' stroke-width='13' d='M30 0v40M0 20h60'/><path stroke='%23c8102e' stroke-width='8' d='M30 0v40M0 20h60'/></g></svg>")!important}
.flag-de{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'><clipPath id='r'><rect width='60' height='40' rx='3'/></clipPath><g clip-path='url(%23r)'><path fill='%23000' d='M0 0h60v13.34H0z'/><path fill='%23dd0000' d='M0 13.34h60v13.32H0z'/><path fill='%23ffce00' d='M0 26.66h60V40H0z'/></g></svg>")!important}
.flag-pt{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'><clipPath id='r'><rect width='60' height='40' rx='3'/></clipPath><g clip-path='url(%23r)'><path fill='%23046a38' d='M0 0h24v40H0z'/><path fill='%23da291c' d='M24 0h36v40H24z'/><circle cx='24' cy='20' r='7.2' fill='%23ffcd00'/><circle cx='24' cy='20' r='4.6' fill='%23fff'/><path fill='%23d01c1f' d='M20.8 16.4h6.4v7.2h-6.4z'/><path fill='%23046a38' d='M22 17.5h4v5h-4z'/></g></svg>")!important}
.flag-ar{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'><clipPath id='r'><rect width='60' height='40' rx='3'/></clipPath><g clip-path='url(%23r)'><path fill='%23007a3d' d='M0 0h60v13.34H0z'/><path fill='%23fff' d='M0 13.34h60v13.32H0z'/><path fill='%23000' d='M0 26.66h60V40H0z'/><path fill='%23ce1126' d='M0 0h16v40H0z'/></g></svg>")!important}
html[lang="ar"],html[lang="ar"] body{direction:ltr!important}
html[lang="ar"] .index_pro,html[lang="ar"] .submain,html[lang="ar"] .subleft,html[lang="ar"] .subright,html[lang="ar"] .content,html[lang="ar"] .ny_about,html[lang="ar"] .xunjia{direction:rtl;text-align:right}
html[lang="ar"] .nav,html[lang="ar"] .header,html[lang="ar"] header,html[lang="ar"] .banner,html[lang="ar"] .toolbar{direction:ltr!important}
html[lang="ar"] .nav a,html[lang="ar"] .lang-switch,html[lang="ar"] .header .tel{text-align:left!important}
@media screen and (min-width:901px){body>header{display:none!important}}
@media screen and (max-width:900px){
  .header{display:none!important}
  body>header{display:flex!important;align-items:center!important;justify-content:space-between!important;height:66px!important;padding:8px 12px!important;box-sizing:border-box!important;position:relative!important;background:#fff!important;z-index:100000!important;overflow:visible!important;direction:ltr!important}
  body>header:after{display:none!important}
  body>header .logo{float:none!important;display:block!important;width:auto!important;max-width:48%!important;height:48px!important;line-height:48px!important;position:static!important}
  body>header .logo img{display:block!important;width:auto!important;max-width:100%!important;height:auto!important;max-height:48px!important}
  body>header .tel{display:none!important}
  body>header .lang-switch{position:absolute!important;right:12px!important;top:16px!important;width:136px!important;z-index:999999!important;display:block!important;font-size:13px!important;line-height:1!important;text-align:left!important;color:#222!important;direction:ltr!important}
  body>header .lang-switch .lang-current{font-size:13px!important;display:flex!important;align-items:center!important;gap:7px!important;height:34px!important;padding:0 28px 0 9px!important;background:#fff!important;border:1px solid #e5e8ef!important;border-radius:4px!important;box-shadow:0 2px 8px rgba(0,0,0,.12)!important;white-space:nowrap!important;box-sizing:border-box!important;cursor:pointer!important;position:relative!important;overflow:hidden!important}
  body>header .lang-switch .lang-current i{position:absolute!important;right:10px!important;top:12px!important;width:7px!important;height:7px!important;border-right:1px solid #333!important;border-bottom:1px solid #333!important;transform:rotate(45deg)!important}
  body>header .lang-switch .lang-panel{position:absolute!important;right:0!important;top:38px!important;width:136px!important;max-width:calc(100vw - 20px)!important;padding:5px 0!important;background:#fff!important;border:1px solid #e5e8ef!important;border-radius:4px!important;box-shadow:0 10px 24px rgba(0,0,0,.18)!important;opacity:0!important;visibility:hidden!important;transform:translateY(6px)!important;transition:all .2s ease!important;box-sizing:border-box!important}
  body>header .lang-switch.open .lang-panel,body>header .lang-switch:hover .lang-panel{opacity:1!important;visibility:visible!important;transform:translateY(0)!important}
  body>header .lang-switch .lang-panel a{font-size:13px!important;display:flex!important;align-items:center!important;gap:7px!important;height:34px!important;padding:0 10px!important;color:#222!important;background:#fff!important;text-decoration:none!important;box-sizing:border-box!important}
  body>header .lang-switch .lang-panel a:hover,body>header .lang-switch .lang-panel a.active{background:#f3f7ff!important;color:#0056f9!important}
  body>header .lang-switch .lang-flag{width:20px!important;height:13px!important;min-width:20px!important}
  html[lang="ar"] .nav ul li.nLi a{white-space:normal!important;line-height:20px!important;padding:4px 3px!important;display:flex!important;align-items:center!important;justify-content:center!important}
  html[lang="ar"] .index_pro .lmt strong,html[lang="ar"] .index_pro .lmt p{word-break:normal!important;overflow-wrap:anywhere!important}
}
@media screen and (max-width:380px){
  body>header{padding-left:9px!important;padding-right:9px!important}
  body>header .logo{max-width:43%!important}
  body>header .lang-switch{right:9px!important;width:126px!important;font-size:12px!important}
  body>header .lang-switch .lang-current{height:32px!important;padding-left:8px!important;padding-right:25px!important}
  body>header .lang-switch .lang-panel{top:36px!important;width:126px!important}
}
/* i18n desktop nav spacing: size menu items by text instead of fixed eighths */
@media screen and (min-width:901px){
  .nav .box{display:flex!important;align-items:center!important}
  .nav ul{display:flex!important;align-items:center!important;justify-content:space-between!important;float:none!important;width:calc(100% - 270px)!important;min-width:0!important;height:65px!important;margin:0!important}
  .nav ul li.nLi{float:none!important;width:auto!important;flex:0 1 auto!important;height:65px!important;line-height:65px!important;white-space:nowrap!important}
  .nav ul li.nLi a{height:65px!important;line-height:65px!important;padding:0 12px!important;white-space:nowrap!important;box-sizing:border-box!important}
  .nav ul li.nLi .sub{left:50%!important;transform:translateX(-50%) translateY(8px)!important}
  .nav ul li.nLi:hover .sub{transform:translateX(-50%) translateY(0)!important}
  .nav-search{position:relative!important;right:auto!important;top:auto!important;flex:0 0 240px!important;margin-left:28px!important}
  html[lang="de"] .nav ul li.nLi a{font-size:15px!important;padding-left:10px!important;padding-right:10px!important}
  html[lang="pt"] .nav ul li.nLi a{font-size:15px!important}
  html[lang="ar"] .nav ul{direction:rtl!important}
  html[lang="ar"] .nav ul li.nLi a{font-size:15px!important;text-align:center!important}
}
/* i18n desktop dropdown: allow translated labels to wrap without overlap */
.nav ul li.nLi .sub{width:280px!important;height:auto!important;max-height:none!important;padding:6px 0!important;line-height:normal!important;box-sizing:border-box!important}
.nav ul li.nLi .sub a{display:flex!important;align-items:center!important;justify-content:center!important;min-height:46px!important;height:auto!important;line-height:1.35!important;padding:9px 14px!important;white-space:normal!important;word-break:normal!important;overflow-wrap:anywhere!important;box-sizing:border-box!important}
.nav ul li.nLi .sub a+a{border-top:1px solid rgba(255,255,255,.08)!important}
html[lang="ar"] .nav ul li.nLi .sub{direction:rtl!important}
html[lang="ar"] .nav ul li.nLi .sub a{direction:rtl!important;justify-content:flex-end!important;text-align:right!important;padding-left:14px!important;padding-right:18px!important}
@media screen and (max-width:900px){.nav ul li.nLi .sub{display:none!important}}
/* keep hidden translated dropdowns from widening the page */
.nav ul li.nLi .sub{display:none!important;position:absolute!important}
.nav ul li.nLi:hover .sub{display:block!important}
.nav ul li.nLi .sub.empty-sub{display:none!important;visibility:hidden!important;opacity:0!important;padding:0!important;height:0!important;overflow:hidden!important}
/* mobile nav: keep desktop dropdowns disabled */
@media screen and (max-width:900px){
  .nav ul li.nLi .sub,
  .nav ul li.nLi:hover .sub,
  .nav ul li.nLi:focus-within .sub{
    display:none!important;
    visibility:hidden!important;
    opacity:0!important;
    height:0!important;
    padding:0!important;
    overflow:hidden!important;
    pointer-events:none!important;
  }
}
/* localized language menu width final */
.header .lang-switch,
header .lang-switch{
  width:190px!important;
}
.header .lang-switch .lang-panel,
header .lang-switch .lang-panel{
  width:190px!important;
}
.header .lang-switch .lang-current span:last-child,
.header .lang-switch .lang-panel a span:last-child,
header .lang-switch .lang-current span:last-child,
header .lang-switch .lang-panel a span:last-child{
  display:block!important;
  min-width:0!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
@media screen and (max-width:900px){
  body>header .lang-switch{
    right:8px!important;
    width:168px!important;
  }
  body>header .lang-switch .lang-current{
    height:32px!important;
    gap:6px!important;
    padding-left:8px!important;
    padding-right:24px!important;
    font-size:12px!important;
  }
  body>header .lang-switch .lang-panel{
    top:36px!important;
    width:168px!important;
    max-width:calc(100vw - 16px)!important;
  }
  body>header .lang-switch .lang-panel a{
    height:32px!important;
    gap:6px!important;
    padding:0 9px!important;
    font-size:12px!important;
    line-height:1.2!important;
  }
  body>header .lang-switch .lang-flag{
    width:17px!important;
    height:11px!important;
    min-width:17px!important;
    flex:0 0 17px!important;
  }
}
@media screen and (max-width:360px){
  body>header .lang-switch{
    width:158px!important;
  }
  body>header .lang-switch .lang-panel{
    width:158px!important;
  }
}
