/* 手机版*/

body {
  position: relative;
  overflow-x: hidden;
  background: #333;
}

.m-top {
  position: absolute;
  z-index: 99;
  left: 0;
  top: 0;
  width: 100%;
  height: 60px;
  background: #fff;
}

.m-logo {
  display: block;
  position: absolute;
  left: 10px;
  top: 15px;
}

.m-logo img {
  height: 30px;
}

.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;
}
header li a .t {
  display: none;
}

.wrapper {
  position: relative;
  left: 0;
  top: 0;
  width: 100%;
  padding: 0 0 1.4rem;
  overflow-x: hidden;
  background: #fff;
}

@media (min-width: 1200px) {
  .wrapper {
    padding: 0;
  }
  header {
    display: block;
    position: absolute;
    z-index: 10;
    top: 0;
    right: 0;
    width: 100%;
    height: auto;
    padding: 0 0 0 5vw;
    overflow: visible;
    background: none;
  }
  .head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 3vw;
    background: rgba(255, 255, 255, 0.95);
  }
  .logo {
    display: block;
    padding: 1.5vw 0;
  }
  .logo img {
    width: 16vw;
  }
  .nav {
    padding: 0;
  }
  .nav ul {
    display: flex;
  }
  .nav ul li {
    padding: 0 1.5vw;
  }
  .nav ul a {
    display: block;
    position: relative;
    overflow: hidden;
    font-size: 0.9vw;
    line-height: 1.2vw;
    color: #000;
  }
  .nav ul a .t {
    display: block;
    transition: 0.3s;
  }
  .nav ul a .b {
    display: block;
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    opacity: 0;
    transform: translate3d(0, 100%, 0);
    transition: 0.3s;
  }
  .nav ul a:hover .t {
    opacity: 0;
    transform: translate3d(0, -100%, 0);
  }
  .nav ul a:hover .b {
    color: #007b2d;
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* public */

.public {
  background: #fff;
}
.public-main {
  padding: 0.2rem;
}

.public-slide {
  text-align: center;
}
.public-logo {
  padding: 0 0 0.2rem;
}
.public-logo img {
  width: 4rem;
}
.public-p {
  font-size: 14px;
  line-height: 24px;
  color: #000;
}
.public-ewm {
  display: flex;
  justify-content: center;
  margin: 0.2rem 0 0;
}
.public-ewm p {
  padding: 0 0.1rem;
}
.public-ewm img {
  width: 1.2rem;
  padding: 2px;
  border: 1px solid #999999;
}

.public-nav {
  display: none;
}

footer {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0.4rem 0;
  font-size: 14px;
  line-height: 24px;
  border-bottom: 0.2rem solid #007b2d;
}
footer p,
footer a {
  padding: 0 2px;
  color: #000;
}
@media (min-width: 1200px) {
  .public {
    background: #fff;
  }
  .public-main {
    display: flex;
    justify-content: space-between;
    width: 80vw;
    margin: 0 auto;
  }

  .public-slide {
    width: 24vw;
    text-align: left;
  }
  .public-logo {
    padding: 0 0 2vw;
  }
  .public-logo img {
    width: 20vw;
  }
  .public-p {
    padding-left: 4.5vw;
    font-size: 0.9vw;
    line-height: 1.4vw;
    color: #000;
  }
  .public-ewm {
    margin: 1vw 0 0 4.5vw;
  }
  .public-ewm p {
    padding: 0 0.5vw 0 0;
  }
  .public-ewm img {
    width: 5vw;
    padding: 3px;
    border: 1px solid #999999;
  }

  .public-nav {
    display: flex;
    justify-content: flex-end;
    width: 56vw;
  }
  .public-li {
    padding-left: 2.4vw;
  }
  .public-li-name {
    font-size: 1.2vw;
    line-height: 1.5vw;
    color: #000;
  }
  .public-li ul {
    padding: 0;
  }
  .public-li ul li {
    padding: 1vw 0 0;
  }
  .public-li ul a {
    display: block;
    font-size: 0.9vw;
    line-height: 1.6vw;
    color: #000;
  }
  .public-li ul a:hover {
    color: #007b2d;
  }

  footer {
    display: flex;
    justify-content: flex-start;
    padding: 3vw 0 3vw 14.5vw;
    font-size: 0.8vw;
    line-height: 1.2vw;
    border-bottom: 0.8vw solid #007b2d;
  }
  footer p,
  footer a {
    padding-right: 5px;
    color: #000;
  }
}
