/* 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:after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(255,255,255,.15);
  content: "";
}

.header-logo {
  position: absolute;
  top: 0;
  left: 0;
  height: 100px;
 
}
.header-logo a {
  display: block;
  padding: 50px 40px 0;
}
/* .header-logo a img:nth-child(1){
	width: 24px;
	margin-right: 15px;
} */
.header-logo a img {
  width: 370px;          /* 修改logo宽度 */
  transform: translateY(-50%);
}

/* navigation */
#header-nav-wrap {
  text-align: right;padding-right: 230px;
}
#header-nav-wrap .header-main-nav {
  height: 100px;
  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;
  padding: 0 4px;
  color: #fff;
  line-height: 98px;
}
#header-nav-wrap .header-main-nav>li>a:hover {
  color: #fff;
}
#header-nav-wrap .header-main-nav>li.current>a,#header-nav-wrap .header-main-nav>li.active>a {
  border-bottom: 2px solid #fff;
  color: #fff;
}
@media (min-width:1025px){
	#header-nav-wrap{display: block;}
	#header-nav-wrap .header-main-nav>li:hover>a{
		 border-bottom: 2px solid #fff;
	}
}
#header.on #header-nav-wrap .header-main-nav>li:hover>a,#header.ons #header-nav-wrap .header-main-nav>li:hover>a{
	 border-bottom: 2px solid transparent;
}
#header .img_a{
	display: none;
}
#header .img_b{
	display: flex;
	align-items: center;
}
#header.on .img_a,#header.ons .img_a{
	display: flex;
	align-items: center;
}
#header.on .img_b,#header.ons .img_b{
	display: none;
}
.header-bar {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 100;
}
.header-search {
  float: left;
  padding: 30px;
  height: 40px;
  border-left: 1px solid rgba(255,255,255,.15);
}
.header-search .search-btn {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: url("../images/search-ico.png") no-repeat center;
}
.header-tel {
  float: left;
  position: relative;
  padding: 30px 40px 30px 70px;
  height: 40px;
  border-left: 1px solid rgba(255,255,255,.15);
  font-family: "DIN-Light";
  font-size: 16px;
  color: #fff;
  line-height: 24px;
}
.header-tel .tel-ico {
  position: absolute;
  top: 50%;
  left: 40px;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 100%;
  background: url("../images/tel-ico.png") no-repeat center #fff;
}

/* header scroll top */
#header.on,#header.ons {
  background: #fff;
  box-shadow: 0 0 12px rgba(0,0,0,.1);
}
#header.on:after,#header.ons:after {
  background: rgba(0,0,0,.05);
}
#header.on #header-nav-wrap .header-main-nav>li>a,#header.ons #header-nav-wrap .header-main-nav>li>a {
  color: #333;
}
#header.on #header-nav-wrap .header-main-nav>li>a:hover,#header.ons #header-nav-wrap .header-main-nav>li>a:hover {
  color: #3168ab;
}
#header.on #header-nav-wrap .header-main-nav>li.current>a,#header.ons #header-nav-wrap .header-main-nav>li.current>a,#header.on #header-nav-wrap .header-main-nav>li.active>a,#header.on #header-nav-wrap .header-main-nav>li.active>a{
  color: #3168ab;
}
#header.on .header-search,#header.ons .header-search {
  border-left: 1px solid rgba(0,0,0,.05);
}
#header.on .header-tel,#header.ons .header-tel {
  border-left: 1px solid rgba(0,0,0,.05);
  color: #666;
}
#header.on .header-tel .tel-ico,#header.ons .header-tel .tel-ico {
  background: url("../images/tel-ico.png") no-repeat center #f6f6f6;
}

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

.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: 1520px) {
  #header-nav-wrap .header-main-nav>li {
    padding: 0 12px;
  }
}
@media only screen and (max-width: 1440px) {
  #header-nav-wrap .header-main-nav>li {
    padding: 0 1%;
  }
  .header-logo a{padding: 50px 0px 0 40px;}
  .header-logo a img{width: 260px;}
  /* .header-logo a img:nth-child(1){width: 18px;} */
}

@media only screen and (max-width: 1290px) {
  #header-nav-wrap .header-main-nav>li>a{padding: 0 1px;}
}
@media only screen and (max-width: 1240px) {
	.header-tel{padding: 30px 20px 30px 40px;}
	.header-logo a{padding: 50px 0px 0 20px;}
	#header-nav-wrap .header-main-nav>li {padding: 0px;}
	#header-nav-wrap{padding-right: 170px;}
	.header-tel .tel-ico{left: 10px;}
}

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

  .header-logo {
    height: 64px;
  }
  .header-logo a {
    padding: 18px 20px 0;
	display: flex;
	align-items: center;
	height: calc(100% - 18px);
  }
 /* .header-logo a img:nth-child(1){
  	width: 12px;
	margin-right: 10px;
  } */
  .header-logo a img {
    width: 160px;
  }

  #header-nav-wrap {
    display: none;
    left: 0;
    right: 0;
    padding: 100px 40px 40px;
    background: #121212;
    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(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,#header-nav-wrap .header-main-nav>li.active>a {
    border-bottom: none;
  }
 
  #header.on #header-nav-wrap .header-main-nav> li>a,#header.ons #header-nav-wrap .header-main-nav> li>a {
    color: #fff;
  }

  .header-bar {
    position: static;
    background: #121212;
  }
  .header-search {
    float: none;
    padding: 20px 0;
    height: auto;
    border-left: none;
  }
  .header-search .search-btn {
    display: inline-block;
    width: 100%;
    height: 48px;
    background: url("../images/search-ico.png") no-repeat center rgba(255, 255, 255, 0.03);
    background-size: 16px;
  }
  .header-tel {
    display: none;
  }

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

/* ---------- footer ---------- */
footer {
  background: #282c35;
  color: #b8becc;
}
footer a {
  color: #b8becc;
}
footer a:hover {
  color: #fff;
}

.footer-con {
  padding: 100px 0 60px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo {
  float: left;
  width: 132px;
}
.footer-logo img {
  filter: contrast(0) brightness(100);
}
.footer-logo .mail {
  padding-top: 50px;
}
.footer-nav {
  float: left;
  padding: 0 40px;
  width: 27%;
  border-left: 1px solid rgba(255,255,255,0.1);
}
.footer-nav .tit h3 {
  position: relative;
  height: 36px;
  font-size: 15px;
  color: #fff;
}
.footer-nav .tit h3:after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 20px;
  height: 2px;
  background: #b8becc;
  content: "";
}
.footer-nav .con {
  padding-top: 24px;
  font-size: 14px;
  line-height: 30px;
}
.footer-nav .con a {
  display: inline-block;
  margin-right: 32px;
}
.footer-contact {
  float: left;
  padding: 0 40px;
  width: 27%;
  border-left: 1px solid rgba(255,255,255,0.1);
}
.footer-contact .tit h3 {
  position: relative;
  height: 36px;
  font-size: 15px;
  color: #fff;
}
.footer-contact .tit h3:after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 20px;
  height: 2px;
  background: #b8becc;
  content: "";
}
.footer-contact .con {
  padding-top: 24px;
  font-size: 14px;
  line-height: 30px;
}
.footer-qrcode {
  float: right;
}
.footer-qrcode img {
  width: 120px;
}

.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-contact {
    width: 24%;
  }
  #header.on #header-nav-wrap .header-main-nav>li.current>a, #header.ons #header-nav-wrap .header-main-nav>li.current>a,#header.on #header-nav-wrap .header-main-nav>li.active>a, #header.ons #header-nav-wrap .header-main-nav>li.active>a{
  	color: #fff !important;
  }
  #header.on #header-nav-wrap .header-main-nav>li:hover>a, #header.ons #header-nav-wrap .header-main-nav>li:hover>a{
  	color: #fff !important;
	border: 0px;
  }
  #header.ons .img_a{display: flex;}
  #header.ons .img_b{display: flex;}
  #header .img_a{display: none !important;}
  #header .img_b{display: flex !important;}
  #header.on .img_a{display: flex !important;}
  #header.on .img_b{display: none !important;}
  #header.onss .img_b{display: flex !important;}
  #header.onss .img_a{display: none !important;}
  #header .img_a.on{display: none !important;}
  #header.ons:after{background: rgba(255,255,255,.15)}
  #header.on:after{background: rgba(255,255,255,.05) !important;}
  #header:after{background: rgba(255,255,255,.05) !important;}
}

@media only screen and (max-width: 912px) {
  .footer-con {
    padding: 60px 0 40px;
    text-align: center;
  }
  .footer-logo {
    float: none;
    width: auto;
  }
  .footer-logo .mail {
    padding-top: 20px;
  }
  .footer-nav {
    float: none;
    padding: 32px 0;
    width: auto;
    border-left: none;
  }
  .footer-nav .tit h3 {
    display: none;
  }
  .footer-nav .con {
    padding-top: 0;
    line-height: 40px;
  }
  .footer-nav .con a {
    margin-right: 0;
    width: 33.33%;
  }
  .footer-contact {
    display: none;
  }
  .footer-qrcode {
    float: none;
  }

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