/* 手机版*/

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: 5px;
}

.m-logo img {
  height: 50px;
}

.m-top .btn {
  position: absolute;
  z-index: 100;
  top: 0;
  right: 0;
  height: 60px;
  padding: 22px 52px 0 10px;
  text-align: center;
  background: #028c2d;
}
.m-top .btn::before {
  content: "导航";
  position: absolute;
  right: 10px;
  top: 20px;
  font-size: 18px;
  line-height: 20px;
  color: #fff;
}

.m-top .btn span {
  display: block;
  width: 20px;
  height: 3px;
  background: #fff;
  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;
}
.head-right {
  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: relative;
    right: 0;
    width: 100%;
    height: auto;
    padding: 0;
    overflow: visible;
    background: #fff;
  }
  .head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1vw 2vw;
  }
  .logo {
    display: block;
  }
  .logo img {
    width: 16.8vw;
  }

  .nav {
    padding: 0;
  }
  .nav ul {
    display: flex;
  }
  .nav ul li {
    padding: 0 1vw;
  }
  .nav ul a {
    display: block;
    position: relative;
    height: 1.6vw;
    overflow: hidden;
    font-size: 0.9vw;
    line-height: 1.6vw;
    color: #333;
  }
  .nav ul .t {
    display: block;
    position: relative;
    transition: 0.3s;
  }
  .nav ul .b {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    text-align: center;
    opacity: 0;
    transform: translate3d(0, 100%, 0);
    transition: 0.3s;
  }
  .nav ul a:hover {
    color: #339933;
  }
  .nav ul a:hover .t {
    opacity: 0;
    transform: translate3d(0, -100%, 0);
  }
  .nav ul a:hover .b {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  .head-right {
    position: relative;
    display: flex;
    align-items: center;
  }
  .head-right i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.8vw;
    height: 1.8vw;
    background: #339933;
    border-radius: 0.4vw;
  }
  .head-right i img {
    width: 0.9vw;
  }
  .head-right-number {
    padding: 0 0.5vw;
    font-weight: bold;
    font-size: 1vw;
    line-height: 1.2vw;
    color: #339933;
  }
  .top-ewm {
    position: relative;
    overflow: hidden;
    perspective: 1000px;
  }
  .top-ewm span {
    display: block;
    cursor: pointer;
  }
  .top-ewm span img {
    width: 1.65vw;
  }
  .top-ewm p {
    position: absolute;
    right: 0;
    top: 2vw;
    opacity: 0;
    transform: rotateX(-120deg);
    transform-origin: center 0;
    transition: 0.6s;
  }
  .top-ewm p img {
    width: 18vw;
  }
  .top-ewm:hover {
    overflow: visible;
  }
  .top-ewm:hover p {
    opacity: 1;
    transform: rotateX(0);
  }
}

/* public */
.public {
  background: #028c2d;
}
.public-main {
  padding: 0.2rem;
}
.public-ewm {
  width: 4.2rem;
  /* margin: 0 auto; */
}
.public-ewm ul {
  display: flex;
  justify-content: space-between;
}
.public-ewm ul li {
  text-align: center;
}
.public-ewm-img {
  width: 1.8rem;
}
.public-ewm-img img {
  width: 100%;
}
.public-ewm-font {
  margin: 5px 0 0;
  font-size: 14px;
  line-height: 20px;
  color: #fff;
  text-align: center;
}

.public-title {
  padding: 0.2rem 0;
}
.public-title p {
  font-size: 18px;
  line-height: 24px;
  color: #fff;
}
.public-title span {
  display: block;
  margin: 5px 0 0;
  font-size: 14px;
  line-height: 20px;
  color: #fff;
}

.public-map {
  width: 2.4rem;
  margin: 0 auto;
}
.public-map a {
  display: block;
  font-size: 14px;
  line-height: 30px;
  color: #4f7130;
  text-align: center;
  background: #fff;
  border: 1px solid #028c2d;
  border-radius: 20px;
}

.public-right {
  padding: 0.2rem 0 0;
}
.public-right-name {
  padding: 0 0 0.2rem;
  font-weight: bold;
  font-size: 18px;
  line-height: 24px;
  color: #fff;
}
.public-right-p {
  font-size: 14px;
  line-height: 20px;
  color: #fff;
  color: #fff;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 5px 0;
  font-size: 14px;
  line-height: 20px;
  background: #0a5c2d;
}

footer p {
  padding: 0 5px;
  color: #fff;
}
footer a {
  padding: 0 5px;
  color: #fff;
}
@media (min-width: 1200px) {
  .public {
    background: #028c2d;
  }
  .public-main {
    display: flex;
    justify-content: space-between;
    width: 80vw;
    margin: 0 auto;
    padding: 2.8vw 0;
  }
  .public-ewm {
    width: 16vw;
  }
  .public-ewm ul {
    display: flex;
    justify-content: space-between;
  }
  .public-ewm ul li {
    text-align: center;
  }
  .public-ewm-img {
    width: 7vw;
  }
  .public-ewm-img img {
    width: 100%;
  }
  .public-ewm-font {
    margin: 1vw 0 0;
    font-size: 0.9vw;
    line-height: 1.4vw;
    color: #fff;
    text-align: center;
  }

  .public-title {
    width: 16vw;
    padding: 0;
    text-align: center;
  }
  .public-title p {
    font-size: 1.2vw;
    line-height: 1.8vw;
    color: #fff;
  }
  .public-title span {
    display: block;
    margin: 2vw 0 0;
    font-size: 0.9vw;
    line-height: 1.2vw;
    color: #fff;
  }

  .public-map {
    width: 10vw;
    margin: 0;
  }
  .public-map a {
    display: block;
    font-size: 1vw;
    line-height: 2.4vw;
    color: #4f7130;
    text-align: center;
    background: #fff;
    border: 1px solid #028c2d;
    border-radius: 1.2vw;
  }
  .public-map a:hover {
    color: #fff;
    background: #028c2d;
    border: 1px solid #fff;
  }

  .public-right {
    width: 20vw;
    padding: 0;
  }
  .public-right-name {
    padding: 0 0 0.8vw;
    font-weight: bold;
    font-size: 1vw;
    line-height: 1.4vw;
    color: #fff;
  }
  .public-right-p {
    font-size: 0.8vw;
    line-height: 1.2vw;
    color: #fff;
  }

  footer {
    display: flex;
    justify-content: center;
    padding: 1vw 0;
    font-size: 0.9vw;
    line-height: 1.6vw;
    background: #0a5c2d;
  }

  footer p {
    padding: 0 5px;
    color: #fff;
  }
  footer a {
    padding: 0 5px;
    color: #fff;
  }
}
