/* CSS Document */

/* ---------- header ---------- */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: #fff;
  z-index: 100;
  transition: all 0.3s ease-in-out;
}

.header-logo {
  position: absolute;
  top: 0;
  left: 0;
  padding: 18px 0 0 32px;
}
.header-logo a {
  float: left;
}
.header-logo a img {
  width: 200px;
}

.header-tel {
  float: left;
  position: relative;
  margin-left: 20px;
  padding-left: 40px;
  border-left: 1px solid #e6e6e6;
  font-family: "AvantGarde-Medium";
  font-size: 19px;
  color: #666;
  line-height: 28px;
}
.header-tel .tel-ico {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: url("../images/tel-ico.png") no-repeat center;
  background-size: cover;
}

/* navigation */
#header-nav-wrap {
  text-align: center;
}
#header-nav-wrap .header-main-nav {
  height: 80px;
  font-size: 18px;
}
#header-nav-wrap .header-main-nav > li {
  display: inline-block;
  padding: 0 20px;
}
#header-nav-wrap .header-main-nav > li > a {
  display: inline-block;
  position: relative;
  padding: 0 4px;
  color: #333;
  line-height: 80px;
}
#header-nav-wrap .header-main-nav > li > a:hover {
  color: #0d2ea1;
}
#header-nav-wrap .header-main-nav > li > a:hover:before {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #0d2ea1;
  content: "";
}
#header-nav-wrap .header-main-nav > li.current > a {
  color: #0d2ea1;
}
#header-nav-wrap .header-main-nav > li.current > a:before {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #0d2ea1;
  content: "";
}

.header-bar {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 100;
}

.header-search {
  float: left;
  padding: 20px 0;
  height: 40px;
}
.header-search .search-btn {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: url("../images/search-ico.png") no-repeat center;
  background-size: 16px;
}

.header-member {
  float: left;
  padding: 20px 32px;
  height: 40px;
  font-size: 14px;
  line-height: 40px;
}
.header-member .login-btn {
  padding: 4px 12px;
  border-radius: 4px;
  background: #149e6b;
  color: #fff;
}
.header-member .space {
  display: inline-block;
  width: 35px;
  height: 14px;
  background: url("../images/member-space.png") no-repeat center;
  vertical-align: middle;
}
.header-member .username {
  padding-right: 22px;
  background: url(../images/user_arrow.png) no-repeat right center;
}

/* header scroll top */
#header.on {
  box-shadow: 0 0 12px rgba(0,0,0,.1);
}

/* header blank */
.header-blank {
  height: 80px;
}

/* menu trigger */
.header-menu-toggle {
  display: none;
  position: fixed;
  top: 12px;
  right: 20px;
  width: 40px;
  height: 40px;
  font-family: "montserrat-regular", sans-serif;
  font-size: 1.2rem;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  line-height: 40px;
  transition: all 0.3s ease-in-out;
}

.header-menu-toggle:hover,
.header-menu-toggle:focus {
  color: #fff;
}

.header-menu-toggle span {
  display: block;
  position: absolute;
  top: 50%;
  left: 8px;
  right: auto;
  bottom: auto;
  margin-top: -1px;
  width: 24px;
  height: 2px;
  background: #666;
  font: 0/0 a;
  color: transparent;
  transition: all 0.5s ease-in-out;
}

.header-menu-toggle span::before,
.header-menu-toggle span::after {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  background: inherit;
  content: "";
  transition: all 0.5s ease-in-out;
}

.header-menu-toggle span::before {
  top: -9px;
}

.header-menu-toggle span::after {
  bottom: -9px;
}

.header-menu-toggle.is-clicked span {
  background: rgba(255,255,255,0);
  transition: all 0.1s ease-in-out;
}

.header-menu-toggle.is-clicked span::before,
.header-menu-toggle.is-clicked span::after {
  background: #666;
}

.header-menu-toggle.is-clicked span::before {
  top: 0;
  -webkit-transform: rotate(135deg);
  -ms-transform: rotate(135deg);
  transform: rotate(135deg);
}

.header-menu-toggle.is-clicked span::after {
  bottom: 0;
  -webkit-transform: rotate(225deg);
  -ms-transform: rotate(225deg);
  transform: rotate(225deg);
}

/* responsive */
@media only screen and (max-width: 1440px) {
  #header-nav-wrap {
    padding: 0 0 0 60px;
  }
  #header-nav-wrap .header-main-nav li {
    padding: 0 16px;
  }
}

/* responsive */
@media only screen and (max-width: 1280px) {
  #header-nav-wrap .header-main-nav li {
    padding: 0 12px;
  }
}

@media only screen and (max-width: 1024px) {
  #header {
    height: 64px;
  }

  .header-logo {
    padding: 22px 0 0 20px;
  }
  .header-logo a img {
    width: 100px;
  }
  
  .header-tel {
    margin-left: 10px;
    padding-left: 30px;
    font-size: 15px;
    line-height: 20px;
  }
  .header-tel .tel-ico {
    left: 10px;
    width: 16px;
    height: 16px;
  }

  #header-nav-wrap {
    display: none;
    left: 0;
    right: 0;
    padding: 100px 40px 40px;
    background: #fff;
    box-shadow: 0 0 24px rgba(0,0,0,0.1);
  }
  #header-nav-wrap .header-main-nav {
    height: auto;
  }
  #header-nav-wrap .header-main-nav li {
    display: block;
    padding: 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }
  #header-nav-wrap .header-main-nav li a {
    display: block;
    padding: 16px 0;
    line-height: 20px;
  }
  #header-nav-wrap .header-main-nav li.current a {
    border-bottom: none;
  }

  .header-bar {
    position: static;
  }

  .header-search {
    float: none;
    padding: 16px 0;
    height: auto;
    border-left: none;
  }
  .header-search .search-btn {
    display: inline-block;
    width: 100%;
    height: 40px;
    border-radius: 4px;
    background: url("../images/search-ico.png") no-repeat center rgba(0, 0, 0, 0.05);
    background-size: 16px;
  }
  
  .header-member {
    float: none;
    padding: 0;
    border-radius: 4px;
  }

  .header-member .login-btn {
    display: block;
    padding: 0;
  }

  .header-menu-toggle {
    display: block;
  }
  
  .header-blank {
    height: 64px;
  }
}

/* make sure the menu is visible on larger screens */
@media only screen and (min-width: 1025px) {
  #header-nav-wrap {
    display: block !important;
  }
}

/* Sub Menu */
.sub-menu {
  display: none;
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  padding: 40px 20px;
  height: 500px;
  background: #f6f6f6;
}

#sub-menu-tab {
  float: left;
  width: 280px;
  border-right: 1px solid #ccc;
}
#sub-menu-tab ul {
  padding: 0 40px;
}
#sub-menu-tab li {
  padding: 4px;
}
#sub-menu-tab li a {
  display: block;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 16px;
  text-align: right;
}
#sub-menu-tab li a.out {
  color: #333;
}
#sub-menu-tab li a.over {
  background: linear-gradient(to right, #004596, #009a29);
  color: #fff;
}
#sub-menu-con {
  float: right;
  width: calc(100% - 360px);
}
#sub-menu-con .section {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
#sub-menu-con .item {
  margin-bottom: 32px;
  text-align: left;
}
#sub-menu-con .item h3 {
  font-size: 15px;
}
#sub-menu-con .item ul {
  padding-top: 14px;
}
#sub-menu-con .item li {
  padding: 6px 0;
  font-size: 14px;
}
#sub-menu-con .item li a {
  display: block;
  width: 88%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 显示隐藏(js调用) */
.dis {
	display: block;
}
.undis {
	display: none;
}

/* ---------- footer ---------- */
footer {
  background: url("../images/footer-bg.png") no-repeat left bottom #2e394d;
  color: #b2bed1;
}
footer a {
  color: #b2bed1;
}
footer a:hover {
  color: #fff;
}

.footer-con {
  padding: 80px 0 60px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-item {
  float: left;
  width: 30%;
}
.footer-logo {
  overflow: hidden;
}
.footer-logo .logo {
  float: left;
}
.footer-logo .logo img {
  padding: 4px 0;
  width: 140px;
  filter: invert(1) brightness(10);
}
.footer-logo .links {
  float: right;
}
.footer-logo .links select {
  padding: 0 8px;
  width: 160px;
  height: 36px;
  border: 2px solid rgba(255,255,255,0.2);
  background: none;
  color: #b2bed1;
}
.footer-tel {
  padding: 52px 0 12px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-tel .num {
  padding-left: 28px;
  background: url("../images/footer-tel-ico.png") no-repeat left center;
  background-size: 20px;
  font-family: "AvantGarde-Medium";
  font-size: 26px;
  color: #fff;
}
.footer-contact {
  padding-top: 40px;
  overflow: hidden;
}
.footer-contact .con {
  float: left;
  width: 68%;
}
.footer-contact .con li {
  padding-bottom: 10px;
  font-size: 14px;
  line-height: 24px;
}
.footer-contact .weixin {
  float: right;
  background: #fff;
  text-align: center;
}
.footer-contact .weixin img {
  width: 100px;
}
.footer-contact .weixin h4 {
  height: 24px;
  font-weight: normal;
  color: #666;
}

.footer-nav {
  float: right;
}
.footer-nav .item {
  float: left;
  margin-left: 56px;
}
.footer-nav .item h4 {
  padding-top: 8px;
  font-size: 15px;
  font-weight: normal;
}
.footer-nav .item h4 a {
  color: #fff;
}
.footer-nav .item ul {
  padding-top: 16px;
}
.footer-nav .item li {
  font-size: 14px;
  line-height: 26px;
}

.footer-btm {
  padding: 24px 0 80px;
  font-size: 14px;
  line-height: 24px;
}
.footer-btm .copyright {
  float: left;
}
.footer-btm .beian {
  float: right;
}

/* responsive */
@media only screen and (max-width: 1024px) {
  .footer-nav .item {
    margin-left: 28px;
  }
}

/* responsive */
@media only screen and (max-width: 768px) {
  footer {
    background-size: 240px;
  }

  .footer-con {
    padding: 48px 0 24px;
  }

  .footer-item {
    float: none;
    width: auto;
  }
  .footer-logo .logo img {
    padding: 6px 0;
    width: 100px;
  }
  .footer-logo .links select {
    height: 32px;
    border: 1px solid rgba(255,255,255,0.2);
  }
  .footer-tel {
    padding: 40px 0 12px;
  }
  .footer-tel .num {
    padding-left: 24px;
    background-size: 18px;
    font-size: 22px;
  }
  .footer-contact {
    padding-top: 32px;
  }
  .footer-contact .con {
    float: none;
    width: auto;
    text-align: center;
  }
  .footer-contact .con li {
    padding-bottom: 4px;
    font-size: 14px;
    line-height: 20px;
  }
  .footer-contact .weixin {
    float: none;
    padding-top: 20px;
    background: none;
  }
  .footer-contact .weixin h4 {
    display: none;
  }

  .footer-nav {
    display: none;
  }
  
  .footer-btm {
    padding: 24px 0 48px;
    font-size: 13px;
    text-align: center;
  }
  .footer-btm .copyright {
    float: none;
  }
  .footer-btm .beian {
    float: none;
  }
}

/* ---------- mask ---------- */
.mask {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 100;
}

/* ---------- 注册、登录 ---------- */
.member-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 80px 0 60px;
  width: 720px;
  border-radius: 4px;
  background: url("../images/member-popup-top.png") no-repeat top #fff;
  z-index: 200;
}
.member-popup .tit {
  float: left;
  padding: 0 60px;
}
.member-popup .tit h3 {
  padding-top: 20px;
  font-size: 24px;
  color: #0d2ea1;
}
.member-popup .con {
  float: right;
  padding: 0 60px;
  width: 360px;
  border-left: 1px solid #e6e6e6;
}
.member-popup .con h4 {
  font-size: 15px;
  font-weight: normal;
}
.member-popup .con li {
  position: relative;
  padding-top: 16px;
}
.member-popup .con li .popup-text {
  width: 100%;
  height: 45px;
  border: 0;
  border-bottom: 1px solid #e6e6e6;
  font-size: 15px;
}
.member-popup .con li i {
  position: absolute;
  top: 50%;
  right: 0;
}
.member-popup .con li .vcode {
  position: absolute;
  right: 0;
  bottom: 8px;
}
.member-popup .con li .popup-btn {
  width: 100%;
  height: 50px;
  border: 0;
  border-radius: 5px;
  background: linear-gradient(to right, #0d2ea1, #149e6b);
  font-size: 16px;
  color: #fff;
  cursor: pointer;
}
.member-popup .other {
  position: absolute;
  top: 50%;
  left: 60px;
}
.member-popup .other p {
  padding: 6px 0;
}
.member-popup .other a.popup-other-btn {
  display: inline-block;
  padding: 6px 24px;
  border: 1px solid #0d2ea1;
  border-radius: 4px;
  font-size: 15px;
  color: #0d2ea1;
}

/* responsive */
@media only screen and (max-width: 768px) {
  .member-popup {
    top: 50%;
    left: 50%;
    padding: 32px 0 80px;
    width: 360px;
  }
  .member-popup .tit {
    float: none;
    padding: 0 32px;
  }
  .member-popup .tit h3 {
    padding-top: 0;
    font-size: 20px;
  }
  .member-popup .con {
    float: none;
    padding: 12px 32px;
    width: auto;
    border-left: 0;
  }
  .member-popup .con li {
    padding-top: 12px;
  }
  .member-popup .con li .popup-text {
    height: 40px;
  }
  .member-popup .con li .popup-btn {
    height: 44px;
  }
  .member-popup .other {
    position: absolute;
    top: auto;
    left: 32px;
    right: 32px;
    bottom: 20px;
  }
  .member-popup .other-l {
  float: left;
}
  .member-popup .other-r {
    float: right;
  }
}

/* ---------- go to top ---------- */
#go-top {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 600;
}

#go-top a,
#go-top a:visited {
  display: block;
  width: 60px;
  height: 60px;
  border-radius: 5px;
  background: url("../images/go-top.png") no-repeat center rgba(0,0,0,0.6);
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

#go-top a:hover,
#go-top a:focus {
  background: url("../images/go-top.png") no-repeat center rgba(0,0,0,1);
}

/* responsive */
@media only screen and (max-width: 768px) {
  #go-top {
    bottom: 0;
    right: 0;
  }

  #go-top a,
  #go-top a:visited {
    width: 48px;
    height: 48px;
    border-radius: 5px 0 0 0;
  }
}