/* 手机版*/

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;
}

.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;
    z-index: 99;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    padding: 0 7vw;
    background: #fff;
  }
  .head {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .logo {
    display: block;
  }
  .logo img {
    width: 5vw;
  }
  .nav ul {
    display: flex;
  }
  .nav ul li {
    padding: 0 0.6vw;
  }
  .nav ul a {
    display: block;
    padding: 1.28vw 1.2vw;
  }
  .nav ul a span {
    display: block;
    padding: 0.6vw 0;
    font-size: 0.8vw;
    line-height: 1vw;
    color: #000;
    transition: 0.3s transform;
  }
  .nav ul a:hover {
    background: #c7000b;
  }
  .nav ul a:hover span {
    color: #fff;
    background: url(../images/nav_en.png) no-repeat center bottom;
    transform: translate3d(0, -0.2vw, 0);
  }
  .tel {
    padding: 1.2vw 0 1.2vw 5vw;
    color: #000;
    background: url(../images/tel.png) no-repeat 2.2vw center/2vw;
    border-left: 1px solid #dbdbdb;
  }
  .tel span {
    display: block;
    font-size: 0.9vw;
    line-height: 1vw;
  }
  .tel p {
    font-size: 1.2vw;
    line-height: 1.4vw;
    color: #c7000b;
  }
}

/* public */
.public {
  padding: 0.4rem 0.2rem;
  background: #fff;
}
.public-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.public-logo img {
  width: 1.4rem;
}
.public-icon {
  display: none;
}

.public-nav {
  display: none;
}

.public-24 {
  font-size: 12px;
  line-height: 18px;
  color: #000;
}
.public-number {
  margin: 5px 0;
  font-weight: bold;
  font-size: 0.36rem;
  line-height: 0.4rem;
  color: #c7000b;
}
.public-p {
  font-size: 12px;
  line-height: 18px;
  color: #000;
}

footer {
  display: flex;
  flex-wrap: wrap;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0.2rem;
  border-top: 2px solid #c7000b;
}
footer p {
  padding: 0 2px;
  color: #000;
}
footer a {
  padding: 0 2px;
  color: #000;
}
@media (min-width: 1200px) {
  .public {
    padding: 4vw 8vw;
    background: #fff;
  }
  .public-main {
    display: flex;
    justify-content: space-between;
  }
  .public-slide {
    text-align: center;
  }
  .public-logo {
    padding: 0 0 1vw;
  }
  .public-logo img {
    width: 6.5vw;
  }
  .public-icon {
    position: relative;
    display: flex;
    justify-content: space-between;
  }
  .public-icon-li {
    padding: 0 0.6vw 5.8vw;
    cursor: pointer;
  }
  .public-icon-li p {
    position: absolute;
    left: 0;
    bottom: 0;
    opacity: 0;
    width: 100%;
    text-align: center;
    transition: 0.3s;
  }
  .public-icon-li p img {
    width: 5.4vw;
  }
  .public-icon-li:hover p {
    opacity: 1;
  }

  .public-nav {
    display: block;
  }
  .public-ul {
    display: flex;
  }
  .public-li {
    padding-right: 4vw;
  }
  .public-li-name {
    padding: 0 0 0.8vw;
    background: url(../images/part1_line.jpg) no-repeat 0 bottom/0.8vw;
  }
  .public-li-name a {
    font-size: 1.2vw;
    line-height: 1.6vw;
    color: #000;
  }
  .public-li-name a:hover {
    color: #c7000b;
  }
  .public-nav ul {
    padding: 0.8vw 0 0;
  }
  .public-nav ul li {
    padding-bottom: 0.4vw;
  }
  .public-nav ul a {
    display: block;
    font-size: 0.9vw;
    line-height: 1.6vw;
    color: #000;
  }
  .public-nav ul a:hover {
    color: #c7000b;
  }

  .public-24 {
    font-size: 0.8vw;
    line-height: 1.4vw;
    color: #000;
  }
  .public-number {
    margin: 0.8vw 0;
    font-weight: bold;
    font-size: 1.8vw;
    line-height: 2vw;
    color: #c7000b;
  }
  .public-p {
    font-size: 0.8vw;
    line-height: 1.2vw;
    color: #000;
  }
  footer {
    display: flex;
    justify-content: center;
    padding: 2vw 0;
    border-top: 0.2vw solid #c7000b;
  }
  footer p {
    padding: 0 2px;
    color: #000;
  }
  footer a {
    padding: 0 2px;
    color: #000;
  }
}
