@charset "utf-8";

/*
 * Mobile footer hotfix for Wanjie mobile pages
 * 目的：强制恢复底部 HOME/TEL/ADD/QQ 四栏固定导航，避免主 css 缓存或样式覆盖导致竖排错版。
 */
html,
body {
  min-height: 100%;
}

body {
  padding-bottom: 56px !important;
}

#mobileFooter {
  clear: both !important;
  display: block !important;
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 50px !important;
  z-index: 99999 !important;
  overflow: hidden !important;
  background: #fff !important;
  border-top: 1px solid #dddddd !important;
  box-shadow: 0 -1px 6px rgba(0, 0, 0, .12) !important;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

#mobileFooter .footerBar,
#mobileFooter .footerBar.white {
  display: -webkit-box !important;
  display: -webkit-flex !important;
  display: flex !important;
  width: 100% !important;
  height: 50px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: #fff !important;
  border: 0 !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

#mobileFooter .footerBar > div {
  float: none !important;
  display: block !important;
  -webkit-box-flex: 1 !important;
  -webkit-flex: 1 1 25% !important;
  flex: 1 1 25% !important;
  width: 25% !important;
  max-width: 25% !important;
  height: 50px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  text-align: center !important;
  border: 0 !important;
  box-sizing: border-box !important;
}

#mobileFooter .footerBar > div > a {
  display: block !important;
  width: 100% !important;
  height: 50px !important;
  margin: 0 !important;
  padding: 4px 0 0 0 !important;
  color: #666 !important;
  text-decoration: none !important;
  border: 0 !important;
  box-sizing: border-box !important;
  line-height: 1 !important;
}

#mobileFooter .footerBar > div > a em {
  display: block !important;
  width: 100% !important;
  height: 22px !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 22px !important;
  text-align: center !important;
  font-style: normal !important;
}

#mobileFooter .footerBar > div > a em img {
  display: block !important;
  width: auto !important;
  max-width: 24px !important;
  height: 20px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  object-fit: contain !important;
  border: 0 !important;
}

#mobileFooter .footerBar > div > a span {
  display: block !important;
  clear: both !important;
  width: 100% !important;
  height: 20px !important;
  line-height: 20px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  text-align: center !important;
  font-size: 12px !important;
  font-weight: normal !important;
  color: #666 !important;
  white-space: nowrap !important;
}

#mobileFooter .footerBar > div:first-child > a span {
  color: #0052a2 !important;
}

#fd {
  margin-bottom: 0 !important;
}

@supports (padding-bottom: env(safe-area-inset-bottom)) {
  body {
    padding-bottom: calc(56px + env(safe-area-inset-bottom)) !important;
  }

  #mobileFooter {
    height: calc(50px + env(safe-area-inset-bottom)) !important;
    padding-bottom: env(safe-area-inset-bottom) !important;
  }
}
