/*清除默认样式 */
body{padding-top: 0px;}
/*基础*/
.lf {
  float: left;
}
.lr {
  float: right;
}

/*清除浮动*/
.clear {
  zoom: 1;
}
.clear:after {
  content: "";
  width: 0;
  height: 0;
  visibility: hidden;
  display: block;
  clear: both;
  overflow: hidden;
}

header{
  background: none;
  width: 100%;
  height: 75px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 19;  
}
header ul,
header li {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}
header a,header a:hover {  text-decoration: none;}
header img {
  display: block;
  max-width: 100%;
  height: auto;
  border: none;
}
header h1{
  margin: 0px;
  padding: 0px;
}
header .menu{position: relative; height: 100%;}
/* header .nav .navitems i{display: none;} */
body.on {
  height: 100%;
  overflow: hidden;
}
header .nav .navitems i{display: none;}
header.cur{
  background-color: #fff;
  -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.07);
  -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.07);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.07);
}
/* 控制logo */
header .logo {    
  position:  absolute;
  right: 15px;
  top: 10px;
  width: 132px;
  z-index: 3;
}
header .logo img:first-child{
  display: none;
}
header .logo img:last-child{
  display: block;
}
header.cur .logo img:first-child{
  display: block;
}
header.cur .logo img:last-child{
  display: none;
}
/* 控制按钮 */
header .menuBtn{
  position:  absolute;
  left: 15px;
  top: 30px;
  z-index: 5;
  cursor: pointer;
}
header .menuBtn .menuBtnDiv{
  position: relative;
  width: 28px;
  height: 28px;
}
header .menuBtn span{
  width: 100%;
  height: 3px;
  display: block;
  background-color: #fff;
  position: absolute;
  left: 0;

  transform: rotate(0deg);
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
  transition:transform 0.5s;
  -moz-transition:transform 0.5s; /* Firefox 4 */
  -webkit-transition:transform 0.5s; /* Safari and Chrome */
  -o-transition:transform 0.5s; /* Opera */
}
header .menuBtn span:nth-of-type(1) {
  top: 0px;
}
header .menuBtn span:nth-of-type(2) {
  top: 8px;
}
header .menuBtn span:nth-of-type(3) {
  top: 16px;
} 

header .menuBtn.cur span:nth-of-type(1) {
  top: 8px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
}
header .menuBtn.cur span:nth-of-type(2) {
  opacity: 0;
}
header .menuBtn.cur span:nth-of-type(3) {
  top: 8px;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
}
header.cur .menuBtn span{
  background-color: #333;
}
header .menuBtn.cur span{
  background-color: #333;
}

header .menuBtn{
}
/* 控制菜单 */

header .nav{
  position:  absolute;
  left: -100%;
  top: 0px;
  
  width: 350px;
  height: 100vh;
  padding-top:75px;
  background: #fff;
  overflow-y: scroll;
  
  
  z-index: 3;
  
  transition:left 0.5s;
  -moz-transition:left 0.5s; /* Firefox 4 */
  -webkit-transition:left 0.5s; /* Safari and Chrome */
  -o-transition:left 0.5s; /* Opera */
}
header .nav img{
  display: none;
}
header .nav .navitems{
  padding: 0px 15px 0 15px;
}
header .nav ul{
  width: 100%;
}
header .nav ul li{
  width: 100%;
  position: relative;
}
header .nav ul li.navitem:before {
  position: absolute;
  bottom: 0px;
  left: 0px;
  content: " ";
  height: 1px;
  width: 100%;
  background: #d8d8d8;
  z-index: 1;
  display: block;
}
header .nav ul li.navitem::after {
  position: absolute;
  bottom: 0px;
  left: 0px;
  content: " ";
  height: 1px;
  width: 40%;
  background: #9e9e9e;
  z-index: 2;
  display: none;
}
header .nav ul li a {
  display: inline-block;
  padding: 10px 0px;
  line-height: 24px;
  font-size: 16px;
  color: #3f3f3f;
  cursor: pointer;
}

header .nav ul li a.lf{
  width: 80%;
}

header .nav ul li .subMenuBtn{
  width: 15%;
  cursor: pointer;
  text-align: right;
}
/* 控制2级菜单 */
header .navitem .subMenuBtn:before {
  content: "+";
  display: block;
  color: #3f3f3f;
  font-size: 24px;
  height: 100%;
}
header .navitem .subMenuBtn.cur:before {
  content: "--";
}
header .nav .sub-menu{
  width: 100%;
  height: 0px;
  overflow: hidden;
}
header .nav .sub-menu.cur{
  height: auto;
}

header .nav .sub-menu li{
  border-bottom: #d7d7d7 solid 1px;
}
header .nav .sub-menu li a{
  font-size: 14px;
}

header .nav.cur{
  left:0px;
}
/* 控制电话 */
header .navright{
  display: none;
} 
/* 控制背景 */
header .bg{
  position:  fixed;
  width: 100%;
  height: 100%;
  opacity: .5;
  background: #000;
  z-index: 2;
  display: none;
} 
header.on  .bg{
  display: block;
} 
