/* Storm Eye offline homepage layout fix */
html, body {
  width: 100% !important;
  height: auto !important;
  min-height: 100% !important;
  margin: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}
body { position: relative !important; }
.mdjl-loading, .footer-mask, .footer-2 { display: none !important; }
#offline-home {
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  transform: none !important;
  transition: none !important;
  overflow: visible !important;
}
#offline-home .section.index {
  position: relative !important;
  width: 100% !important;
  height: 100vh !important;
  min-height: 680px !important;
  overflow: hidden !important;
  display: block !important;
}
#offline-home .section.index .content {
  width: 100% !important;
  height: 100% !important;
  position: relative !important;
}
#offline-home .fp-tableCell,
#offline-home .fp-table,
#offline-home .fp-section {
  display: block !important;
  height: 100% !important;
  transform: none !important;
}
/* Footer is normal document flow, never fixed/off-screen */
.wrap.footer {
  display: block !important;
  position: relative !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  top: auto !important;
  width: 100% !important;
  height: auto !important;
  overflow: hidden !important;
  z-index: 2 !important;
  background: #f9f9f9 !important;
}
.wrap.footer .footer-max {
  width: 100% !important;
  height: auto !important;
  overflow: hidden !important;
}
.wrap.footer footer.content {
  width: 100% !important;
  height: auto !important;
  min-height: 276px !important;
  padding: 34px 0 30px !important;
  box-sizing: border-box !important;
  background: #f9f9f9 !important;
  border-top: 1px solid #222 !important;
}
.wrap.footer .footer-mid {
  width: calc(100% - 64px) !important;
  max-width: 1600px !important;
  height: auto !important;
  min-height: 210px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  font-size: 16px !important;
}
.wrap.footer .footer-mid-top {
  position: relative !important;
  top: auto !important;
  width: 100% !important;
  height: auto !important;
  min-height: 62px !important;
  display: flex !important;
  align-items: center !important;
  gap: 22px !important;
  flex-wrap: wrap !important;
}
.wrap.footer .footer-mid-img-1,
.wrap.footer .footer-mid-img-2,
.wrap.footer .footer-line,
.wrap.footer .footer-mid-top-txt {
  float: none !important;
  top: auto !important;
}
.wrap.footer .footer-mid-img-1 {
  width: auto !important;
  min-width: 220px !important;
  height: 54px !important;
  justify-content: flex-start !important;
  font-size: 20px !important;
}
.wrap.footer .footer-line {
  height: 46px !important;
  margin: 0 18px !important;
  flex: 0 0 1px !important;
}
.wrap.footer .footer-mid-img-2 {
  width: 150px !important;
  height: 58px !important;
  flex: 0 0 150px !important;
}
.wrap.footer .footer-mid-img-2 img {
  display: block !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
}
.wrap.footer .footer-mid-top-txt {
  margin-left: auto !important;
  height: auto !important;
  line-height: 1.9 !important;
  white-space: normal !important;
  text-align: right !important;
}
.wrap.footer .footer-mid-top-txt::before { display: none !important; }
.wrap.footer .footer-mid-down {
  position: relative !important;
  top: auto !important;
  width: 100% !important;
  height: auto !important;
  margin-top: 28px !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 32px !important;
}
.wrap.footer .footer-mid-down-left,
.wrap.footer .footer-mid-down-right {
  float: none !important;
}
.wrap.footer .footer-mid-down-left {
  width: auto !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
  line-height: 1.55 !important;
}
.wrap.footer .footer-mid-down-left p {
  margin: 0 0 8px !important;
  overflow-wrap: anywhere !important;
}
.wrap.footer .footer-mid-down-right {
  flex: 0 0 74px !important;
  margin: 0 !important;
}
@media (max-width: 900px) {
  .wrap.footer .footer-mid { width: calc(100% - 32px) !important; }
  .wrap.footer .footer-mid-top { gap: 14px !important; }
  .wrap.footer .footer-line { display: none !important; }
  .wrap.footer .footer-mid-top-txt {
    width: 100% !important;
    margin-left: 0 !important;
    text-align: left !important;
  }
  .wrap.footer .footer-mid-down { flex-direction: column !important; }
  .wrap.footer .footer-mid-down-right { align-self: flex-start !important; }
}

/* v5: offline single-screen + footer + side legal navigation */
html, body { max-width: 100vw !important; overflow-x: hidden !important; }
body.fp-viewing-index, body[class*="fp-viewing-"] { overflow-y: auto !important; }
#offline-home, #offline-home.fp-enabled, .fp-enabled #offline-home {
  height: auto !important; min-height: 0 !important; transform: none !important;
}
#offline-home .section.index,
#offline-home .section.index.fp-section,
#offline-home .section.index .fp-tableCell {
  height: 100vh !important;
  min-height: 680px !important;
  transform: none !important;
}
.mdjl-loading, .footer-mask, .footer-2, #fp-nav { display:none !important; }

/* Footer must stay in normal flow and inside viewport */
.wrap.footer, .wrap.footer *, .footer-max, footer.content, .footer-mid {
  box-sizing: border-box !important;
}
.wrap.footer {
  clear: both !important;
  float: none !important;
  transform: none !important;
  max-width: 100vw !important;
  min-width: 0 !important;
  overflow: hidden !important;
}
.wrap.footer .footer-max,
.wrap.footer footer.content,
.wrap.footer .footer-mid,
.wrap.footer .footer-mid-top,
.wrap.footer .footer-mid-down {
  max-width: 100% !important;
  min-width: 0 !important;
}
.wrap.footer .footer-mid-top-txt {
  flex: 1 1 420px !important;
  min-width: 0 !important;
  max-width: 100% !important;
  overflow-wrap: anywhere !important;
}
.wrap.footer .footer-mid-down-right {
  width: 74px !important;
  height: 96px !important;
  flex: 0 0 74px !important;
  background-size: contain !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
}

/* Local side menu independent from the original fullpage sections */
.menu-list-left-scroll, .menu-left-line, .menu-right-line { display:none !important; }
.menu-list-left {
  display:block !important;
  position:fixed !important;
  left:0 !important;
  top:0 !important;
  bottom:0 !important;
  width:320px !important;
  height:100vh !important;
  padding:120px 34px 40px !important;
  box-sizing:border-box !important;
  background:rgba(7,8,12,.95) !important;
  backdrop-filter:blur(14px) !important;
  -webkit-backdrop-filter:blur(14px) !important;
  transform:translateX(-105%) !important;
  transition:transform .28s ease !important;
  opacity:1 !important;
  visibility:visible !important;
  z-index:9997 !important;
  overflow-y:auto !important;
}
body.offline-menu-open .menu-list-left { transform:translateX(0) !important; }
.menu-list-left-content {
  position:static !important;
  width:100% !important;
  height:auto !important;
  background:transparent !important;
  overflow:visible !important;
}
.menu-list-left-content ul {
  position:static !important;
  top:auto !important;
  transform:none !important;
  margin:0 !important;
  padding:0 !important;
  width:100% !important;
}
.menu-list-left-content .menu-list-line { width:100% !important; height:1px !important; background:rgba(255,255,255,.16) !important; margin:0 !important; }
.menu-list-left-content .offline-nav-item { list-style:none !important; width:100% !important; height:auto !important; margin:0 !important; padding:0 !important; }
.menu-list-left-content .offline-nav-item a { display:block !important; width:100% !important; padding:18px 8px !important; color:#fff !important; text-decoration:none !important; }
.menu-list-left-content .offline-nav-item a > div { display:flex !important; align-items:center !important; gap:14px !important; }
.menu-list-left-content .offline-nav-item .box { width:6px !important; height:6px !important; margin:0 !important; border:1px solid rgba(255,255,255,.7) !important; background:transparent !important; opacity:1 !important; transform:rotate(45deg) !important; flex:0 0 6px !important; }
.menu-list-left-content .offline-nav-item .box-txt { position:static !important; width:auto !important; height:auto !important; color:#fff !important; font-size:18px !important; line-height:1.4 !important; }
.menu-list-left-content .offline-nav-item a:hover .box-txt { color:#b7a3ff !important; }
.menu-list-left-icon { z-index:10000 !important; position:fixed !important; }
body.offline-menu-open .hamburger .line { background-color:#fff !important; }
body.offline-menu-open::after {
  content:""; position:fixed; inset:0; background:rgba(0,0,0,.32); z-index:9996; pointer-events:none;
}
@media(max-width:700px){
  .menu-list-left{width:min(84vw,320px) !important;padding-left:24px !important;padding-right:24px !important;}
  #offline-home .section.index,#offline-home .section.index.fp-section,#offline-home .section.index .fp-tableCell{min-height:560px !important;}
}

/* v6: legal links, logo correction, TapTap availability, and desktop filing links */
.index .logo {
  top: 2.6rem !important;
  width: 25rem !important;
  height: 14rem !important;
}
.index .logo img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}
.index .download-tap.download-unavailable {
  position: relative !important;
  cursor: default !important;
}
.index .download-tap.download-unavailable > img {
  display: block !important;
}
.index .download-tap.download-unavailable > span {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #050507;
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: .08em;
  pointer-events: none;
}
.site-records {
  position: fixed;
  right: 2.4vw;
  bottom: 2.2vw;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 14px;
}
.site-records a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 18px;
  color: #fff;
  border: 0;
  background: rgba(5, 8, 15, .38);
  font: 600 15px/1.35 "Microsoft YaHei", sans-serif;
  text-decoration: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .65);
  transition: background .18s ease, border-color .18s ease;
}
.site-records a:hover,
.site-records a:focus-visible {
  background: rgba(5, 8, 15, .68);
}
@media (max-width: 700px) {
  .index .logo { top: 2.1rem !important; width: 18rem !important; height: 10.08rem !important; }
  .site-records { right: 16px; bottom: 16px; gap: 8px; flex-direction: column; align-items: flex-end; }
  .site-records a { min-height: 32px; padding: 5px 9px; font-size: 11px; }
}
/* v7: enlarge the original-ratio logo and prevent any late desktop footer from returning */
.index .logo {
  top: .9rem !important;
  width: 34rem !important;
  height: 25.96rem !important;
}
@media (min-width: 701px) {
  .wrap.footer,
  .footer-2,
  .footer-mask,
  .page-footer,
  .page-footer-animate,
  .page-footer-copyright {
    display: none !important;
  }
}
@media (max-width: 700px) {
  .index .logo {
    top: 1.5rem !important;
    width: 23rem !important;
    height: 17.56rem !important;
  }
}

/* v8: filing links have no red framing */
.site-records a,
.site-records a:hover,
.site-records a:focus-visible {
  border: 0 !important;
  outline: 0;
}



/* v9: display filing numbers as text only, without a frame or panel */
.site-records a,
.site-records a:hover,
.site-records a:focus-visible {
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* v10: keep the unavailable label inside the TapTap tile border */
.index .download-tap.download-unavailable > span {
  left: 1px;
  right: 1px;
  bottom: 1px;
  height: 2.75rem;
  box-sizing: border-box;
  overflow: hidden;
}
