/* Static preview bridge for the source navigation runtime state. */
#header {
  margin-bottom: 0 !important;
  background: #fff;
}

#header .row {
  position: relative;
  width: 100%;
  max-width: 1240px;
  margin-right: auto;
  margin-left: auto;
}

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

#navbar {
  background: #fff;
  border: 0;
}

#navbar[data-type='new_desktop_top'] .header-nav-dropdown .dropdown-third-menu {
  padding-left: 0;
}

#navbar[data-type='new_desktop_top'] .dropdown-hover {
  pointer-events: auto;
}

#navbar[data-type='new_desktop_top'] .dropdown-hover.open > .header-nav-dropdown {
  display: flex;
  opacity: 1;
  height: unset;
}

#navbar .nav > li.dropdown-hover.open > a {
  color: #1791fb;
}

#navbar .nav > li.dropdown-hover.open > a .icon-angle-down::before {
  content: '\e6e2';
}

#headNav .hotline,
#headNav .hotline .phone {
  font-size: 13px;
  line-height: 28px;
}

#headNav a {
  font-size: 14px !important;
  color: #666;
}

/* The source CSS targets relative hrefs. The static navigation keeps remote hrefs. */
@media (min-width: 769px) {
  .navbarWrapperNew #navbar .nav > li > a.first-nav-name[href='https://www.zentao.net/demo.html'] {
    position: absolute;
    right: 0;
    padding: 6px 12px 8px !important;
    background: var(--theme-color);
    color: #fff;
    height: 36px;
    top: 18px;
    z-index: 1;
    border-radius: 4px;
  }

  .navbarWrapperNew #navbar .nav > li > a.first-nav-name[href='https://www.zentao.net/demo.html']:hover {
    opacity: 0.8;
  }

  .navbarWrapperNew #navbar .nav > li > a.first-nav-name[href='https://www.zentao.net/downloads.html'] {
    position: absolute;
    right: 100px;
    padding: 6px 12px 8px;
    background: #fff;
    color: var(--theme-color);
    border: 1px solid var(--theme-color);
    height: 36px;
    top: 18px;
    z-index: 1;
    border-radius: 4px;
  }

  .navbarWrapperNew #navbar .nav > li > a.first-nav-name[href='https://www.zentao.net/downloads.html']:hover {
    background: var(--theme-color);
    color: #fff;
  }
}

#footer {
  position: relative;
  z-index: 1;
  background: #2e4a74;
  color: rgba(255, 255, 255, 0.6);
}

#footer .wrapper {
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px 0;
  text-align: center;
}

#footer #icpInfo {
  font-size: 12px;
  line-height: 22px;
}

#footer #copyright {
  font-size: 12px;
  line-height: 22px;
}

#footer a,
#footer span {
  color: rgba(255, 255, 255, 0.6);
}

#footer a:hover {
  color: #fff;
}

#footer #icpInfo a + a {
  margin-left: 16px;
}

#footer #icpInfo img {
  width: 20px;
  height: 20px;
  margin-right: 4px;
  vertical-align: middle;
}

@media (max-width: 767px) {
  #headNav {
    height: 28px !important;
    min-height: 28px !important;
    padding-right: 20px;
    padding-left: 20px;
    line-height: 28px !important;
  }

  #headNav .hotline,
  #headNav .hotline {
    font-size: 12px !important;
    line-height: 28px;
  }

  #headNav .hotline .phone {
    margin-left: 8px;
  }

  #headTitle.with-navbar {
    height: 72px;
  }

  .is-mc-nav #headTitle > .row > #siteTitle {
    top: 9px;
    left: 18px;
    width: 50%;
    margin-right: 0;
    background: #fff;
  }

  #headTitle.with-navbar #siteTitle #siteLogo {
    margin: 0;
  }

  #headTitle.with-navbar #siteTitle #siteLogo img {
    width: 120px;
    min-width: 0;
    height: auto;
    margin: 2px 0 0;
  }

  #headTitle.with-navbar #navbar .navbar-header {
    top: 11px;
    z-index: 2;
  }

  .navbar-toggle {
    margin-top: 19px;
  }

  #headTitle.with-navbar #navbar .navbar-collapse {
    top: 60px;
  }

  #navbarWrapper #navbar .nav > li {
    width: 100%;
    padding: 0;
  }

  #navbarWrapper #navbar .nav > li > a {
    box-sizing: border-box;
    height: 53px;
    padding: 16px 0;
    font-size: 18px;
    font-weight: bold;
    line-height: 21px;
  }
}
