/* QQG.NET v17 mobile navigation width reset. */

@media (max-width: 1120px) {
  html.qqg-front-v9 body .qqg-unified-header .header-panel,
  body .qqg-unified-header .header-panel {
    right: 0 !important;
    left: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }

  html.qqg-front-v9 body .qqg-unified-header .primary-nav,
  body .qqg-unified-header .primary-nav {
    display: grid !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    grid-template-columns: minmax(0, 1fr) !important;
    justify-items: stretch !important;
    box-sizing: border-box !important;
  }

  html.qqg-front-v9 body .qqg-unified-header .nav-item,
  html.qqg-front-v9 body .qqg-unified-header .nav-label,
  body .qqg-unified-header .nav-item,
  body .qqg-unified-header .nav-label {
    right: auto !important;
    left: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    grid-column: 1 / -1 !important;
    transform: none !important;
    box-sizing: border-box !important;
  }

  html.qqg-front-v9 body .qqg-unified-header .submenu,
  body .qqg-unified-header .submenu {
    position: static !important;
    right: auto !important;
    left: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: stretch !important;
    justify-items: stretch !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 10px !important;
    overflow: visible !important;
    transform: none !important;
    box-sizing: border-box !important;
  }

  html.qqg-front-v9 body .qqg-unified-header .has-sub.open > .submenu,
  html.qqg-front-v9 body .qqg-unified-header .has-sub.open:hover > .submenu,
  body .qqg-unified-header .has-sub.open > .submenu,
  body .qqg-unified-header .has-sub.open:hover > .submenu {
    display: grid !important;
  }

  html.qqg-front-v9 body .qqg-unified-header .submenu a,
  body .qqg-unified-header .submenu a {
    display: grid !important;
    position: relative !important;
    right: auto !important;
    left: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 58px !important;
    grid-column: 1 / -1 !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 11px 14px !important;
    overflow: visible !important;
    color: #1b3760 !important;
    background: #fff !important;
    transform: none !important;
    box-sizing: border-box !important;
    white-space: normal !important;
  }

  html.qqg-front-v9 body .qqg-unified-header .submenu a span,
  html.qqg-front-v9 body .qqg-unified-header .submenu a small,
  body .qqg-unified-header .submenu a span,
  body .qqg-unified-header .submenu a small {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    overflow: visible !important;
    color: inherit !important;
    text-overflow: clip !important;
    overflow-wrap: anywhere !important;
    white-space: normal !important;
  }

  html.qqg-front-v9 body .qqg-unified-header .submenu a span,
  body .qqg-unified-header .submenu a span {
    text-align: left !important;
  }

  html.qqg-front-v9 body .qqg-unified-header .submenu a small,
  body .qqg-unified-header .submenu a small {
    color: #6d7f99 !important;
    text-align: right !important;
  }
}

@media (max-width: 480px) {
  html.qqg-front-v9 body .qqg-unified-header .submenu a,
  body .qqg-unified-header .submenu a {
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 4px !important;
  }

  html.qqg-front-v9 body .qqg-unified-header .submenu a small,
  body .qqg-unified-header .submenu a small {
    text-align: left !important;
  }
}
