/* CSS Document */

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

.header-logo {
  position: absolute;
  top: 0;
  left: 0;
  height: 100px;
}
.header-logo a {
  display: block;
  padding: 50px 40px 0;
}
.header-logo a img {
  width: 60%;          /* 修改logo宽度 */
  transform: translateY(-50%);
}

/* navigation */
#header-nav-wrap {
  text-align: center;
}
#header-nav-wrap .header-main-nav {
  height: 100px;
  font-size: 15px;
  position: absolute;
    right: 7%;
}
#header-nav-wrap .header-main-nav li {
  display: inline-block;
  padding: 20px;
}
#header-nav-wrap .header-main-nav li a {
  display: inline-block;
  padding: 0 4px;
  color: #fff;
  line-height: 58px;
}
#header-nav-wrap .header-main-nav li a:hover {
  color: #feb500;
}
#header-nav-wrap .header-main-nav li.current a {
  color: #feb500;
}

.header-tel {
  position: absolute;
  top: 0;
  right: 0;
  padding: 30px 40px 30px 66px;
  height: 40px;
  font-family: "DIN-Light";
  font-size: 24px;
  color: #fff;
  line-height: 40px;
}
.header-tel .tel-ico {
  position: absolute;
  top: 50%;
  left: 40px;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 100%;
  background: url("../image/tel-ico.png") no-repeat center;
}

/* header scroll top */
#header.on {
  background: rgba(45,48,51,0.9);
  box-shadow: 0 0 12px rgba(0,0,0,.1);
}
#header.on:after {
  background: rgba(0,0,0,.05);
}

/* 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: #ccc;
  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: #ccc;
}

.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: 1024px) {
  #header {
    height: 64px;
  }

  .header-logo {
    height: 64px;
  }
  .header-logo a {
    padding: 32px 20px 0;
  }
  .header-logo a img {
    width: 90px;
  }
  
  .header-tel {
    display: none;
  }

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

  .header-menu-toggle {
    display: block;
  }
}

/* ---------- footer ---------- */
footer {
  background: #2d3033;
  color: #a4a9ae;
}
footer a {
  color: #a4a9ae;
}
footer a:hover {
  color: #fff;
}

.footer-main {
  padding: 100px 0 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-con {
  float: left;
}
.footer-bar {
  height: 44px;
}
.footer-search {
  float: left;
}
.footer-search-text {
  padding: 0 20px;
  width: 300px;
  height: 44px;
  border: 0;
  background: rgba(255,255,255,0.1);
  color: #fff;
}
.footer-search-btn {
  margin-left: 10px;
  width: 122px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.3);
  background: none;
  color: #a4a9ae;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}
.footer-search-btn:hover {
  background: rgba(255,255,255,0.05);
}
.footer-sns {
  float: left;
  position: relative;
  margin-left: 160px;
}
.footer-sns a {
  display: inline-block;
  margin: 0 10px;
  width: 44px;
  height: 44px;
  border-radius: 100%;
  background-color: rgba(255,255,255,0.05);
  background-repeat: no-repeat;
  background-position: center;
}
.footer-sns a.weixin {
  background-image: url("../image/weixin-ico.png");
}
.footer-sns a.weibo {
  background-image: url("../image/weibo-ico.png");
}
.footer-sns a:hover {
  background-color: rgba(255,255,255,0.2);
}
.footer-sns .weixin-qrcode {
  display: none;
	position: absolute;
	top: 56px;
	left: -28px;
	background: #fff;
	width: 120px;
}
.footer-sns .weixin-qrcode:before {
	position: absolute;
	top: -6px;
	left: calc(50% - 6px);
	width: 12px;
	height: 6px;
	background: url("../image/footer-popup-arrow.png");
  content: "";
}
.footer-sns .weixin-qrcode img {
  width: 100%;
}
.footer-nav {
  padding-top: 68px;
}
.footer-nav a {
  margin-right: 40px;
}
.footer-contact {
  float: right;
}
.footer-tel {
  padding-top: 5px;
}
.footer-tel h4 {
  background: url(../image/footer-tel-ico.png) no-repeat left center;
    font-family: "DIN-Light";
    font-size: 28px;
    font-weight: normal;
    color: #fff;
    text-align: right;
    background-position-x: 16px;
    background-position-y: 7px;
}
.footer-tel p {
  padding-top: 4px;
  font-size: 13px;
  text-align: right;
}
.footer-mail {
  padding-top: 52px;
  text-align: right;
}

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

/* responsive */
@media only screen and (max-width: 1024px) {
  .footer-main {
    padding: 60px 0 40px;
  }
  .footer-con {
    float: none;
  }
  .footer-bar {
    height: auto;
  }
  .footer-search {
    float: none;
  }
  .footer-search form {
    display: -webkit-flex;
    display: flex;
  }
  .footer-search-text {
    -webkit-flex: 1;
    flex: 1;
    width: auto;
  }
  .footer-search-btn {
    width: 100px;
  }
  .footer-sns {
    float: none;
    margin-top: 36px;
    margin-left: 0;
    text-align: center;
  }
  .footer-sns .weixin-qrcode {
    left: calc(50% - 32px);
    transform: translateX(-50%);
  }
  .footer-nav {
    padding-top: 24px;
    padding-bottom: 20px;
    text-align: center;
  }
  .footer-nav a {
    display: inline-block;
    margin-right: 0;
    width: 33.33%;
    line-height: 40px;
    text-align: center;
  }
  .footer-contact {
    float: none;
    text-align: center;
  }
  .footer-tel h4 {
    display: inline-block;
  }
  .footer-tel h4 {
    background-position-x: 0px;
    background-position-y: 7px;
    padding-left: 30px;
}
  .footer-tel p {
    padding-top: 4px;
    font-size: 13px;
    text-align: center;
  }
  .footer-mail {
    padding-top: 32px;
    text-align: center;
  }

  .footer-btm {
    padding: 24px 0 48px;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
  }
  .footer-btm .copyright {
    float: none;
  }
  .footer-btm .beian {
    float: none;
    padding-top: 8px;
  }
  .footer-btm .beian span {
    display: block;
    padding-left: 0;
  }
}

/* ---------- 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("../image/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("../image/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;
  }
}