/* 手机版*/

body {
  position: relative;
  overflow-x: hidden;
  background: #333;
}

.m-top {
  position: relative;
  z-index: 99;
  left: 0;
  top: 0;
  width: 100%;
  height: 60px;
  background: #fff;
}

.m-logo {
  display: block;
  position: absolute;
  left: 10px;
  top: 10px;
}

.m-logo img {
  height: 40px;
}

.m-top .btn {
  position: absolute;
  z-index: 100;
  top: 0;
  right: 0;
  height: 60px;
  padding: 22px 52px 0 10px;
  text-align: center;
}
.m-top .btn::before {
  content: "导航";
  position: absolute;
  right: 10px;
  top: 20px;
  font-size: 18px;
  line-height: 20px;
  color: #000;
}

.m-top .btn span {
  display: block;
  width: 20px;
  height: 3px;
  background: #000;
  transition: 0.3s;
}

.m-top .btn span:nth-child(2) {
  margin: 4px 0;
}

.cross span:nth-of-type(1) {
  transform: translateY(7px) rotate(-45deg);
}

.cross span:nth-of-type(2) {
  opacity: 0;
}

.cross span:nth-of-type(3) {
  transform: translateY(-7px) rotate(45deg);
}

header {
  position: absolute;
  z-index: 99;
  right: -150px;
  top: 0;
  width: 0;
  height: 100%;
  overflow: hidden;
  padding-top: 86px;
  background: #333;
}
.logo {
  display: none;
}
header li a {
  display: block;
  font: 400 16px/36px "微软雅黑";
  color: #fff;
  text-align: center;
}
.nav ul a .b {
  display: none;
}

.wrapper {
  position: relative;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  background: #fff;
}

@media (min-width: 1200px) {
  header {
    display: block;
    position: absolute;
    right: 0;
    width: 100%;
    height: auto;
    padding: 1.5vw 4vw 0;
    overflow: visible;
    background: none;
  }
  .head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6vw 16vw;
    background: rgba(255, 255, 255, 0.8);
  }
  .logo {
    display: block;
  }
  .logo img {
    width: 12vw;
  }
  .nav {
  }
  .nav ul {
    display: flex;
  }
  .nav ul li {
    padding-left: 1.6vw;
  }
  .nav ul a {
    display: block;
    position: relative;
    overflow: hidden;
    padding: 0.2vw 0.8vw;
    font-size: 0.8vw;
    line-height: 1.4vw;
    color: #000;
    text-align: center;
  }
  .nav ul a .t {
    position: relative;
    transition: 0.3s;
  }
  .nav ul a .b {
    display: block;
    position: absolute;
    left: 0;
    top: 0.2vw;
    width: 100%;
    border-radius: 0.7vw;
    opacity: 1;
    transform: translate3d(0, 100%, 0);
    transition: 0.3s;
  }
  .nav ul a:hover .t {
    display: block;
    opacity: 0;
    transform: translate3d(0, -100%, 0);
  }
  .nav ul a:hover .b {
    color: #fff;
    opacity: 1;
    background: #047837;
    transform: translate3d(0, 0, 0);
  }
}

/* public */

.fix-search {
  display: none;
}

.public {
  padding: 0.4rem 0 0;
  background: #fff;
  border-top: 3px solid #047837;
}

.public-main {
  position: relative;
  padding: 0.2rem 0.2rem 0.4rem;
  border-bottom: 1px solid #ede9e9;
}
.public-logo {
  position: absolute;
  right: 0.2rem;
  top: 0;
  text-align: center;
}
.public-logo img {
  width: 1.6rem;
}

.public-tel {
  padding: 0;
}
.public-tel-24 {
  padding: 0.3rem 0 0;
  font-size: 14px;
  line-height: 20px;
  background: url(../images/tel_icon.png) no-repeat 0 0/0.28rem;
}
.public-tel-num {
  font-size: 0.6rem;
  line-height: 1;
  color: #047837;
}

.public-info {
  margin: 0.3rem 0 0;
  font-size: 14px;
  line-height: 20px;
  color: #000;
}

.public-ewm {
  display: none;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0.15rem 0;
  font-size: 14px;
  line-height: 20px;
  color: #999999;
}

footer p {
  padding: 0 2px;
}
footer a {
  padding: 0 2px;
  color: #999999;
}
@media (min-width: 1200px) {
  .fix-search {
    display: block;
    position: fixed;
    z-index: 99;
    right: 2vw;
    bottom: 2vw;
  }
  .fix-search img {
    width: 10vw;
  }

  .public {
    padding: 0;
    background: #fff;
    border-top: 0.8vw solid #047837;
  }

  .public-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 78vw;
    margin: 0 auto;
    padding: 4vw 0;
    border-bottom: 1px solid #ede9e9;
  }
  .public-logo {
    position: relative;
    right: 0;
    top: 0;
  }
  .public-logo img {
    width: 8.4vw;
  }

  .public-tel {
    padding: 1vw 0 0;
  }
  .public-tel-24 {
    padding: 1.6vw 0 0;
    font-size: 0.8vw;
    line-height: 1.4vw;
    background: url(../images/tel_icon.png) no-repeat 0 0/1.2vw;
  }
  .public-tel-num {
    font-size: 2.4vw;
    line-height: 3vw;
    color: #047837;
  }

  .public-info {
    margin: 0;
    font-size: 0.8vw;
    line-height: 1.2vw;
    color: #000;
  }

  .public-ewm {
    display: block;
    text-align: center;
  }
  .public-ewm-img img {
    width: 5.6vw;
  }
  .public-ewm-p {
    font-size: 0.9vw;
    line-height: 1.4vw;
    color: #000;
  }

  footer {
    display: flex;
    justify-content: center;
    padding: 2vw 0;
    font-size: 0.8vw;
    line-height: 1.2vw;
    color: #999999;
  }

  footer p {
    padding: 0 5px;
  }
  footer a {
    padding: 0 5px;
    color: #999999;
  }
}
