/* 手机版*/

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: 5px;
  top: 12px;
}

.m-logo img {
  height: 36px;
}

.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: #333;
}

.m-top .btn span {
  display: block;
  width: 20px;
  height: 3px;
  background: #00579d;
  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: #444;
}
.logo {
  display: none;
}
header li a {
  display: block;
  font: 400 16px/36px "微软雅黑";
  color: #fff;
  text-align: center;
}
header li a .b {
  display: none;
}
.wrapper {
  position: relative;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  background: #fff;
}
.search {
  display: none;
}
@media (min-width: 1200px) {
  .wrapper {
    padding: 0;
  }
  header {
    display: block;
    position: relative;
    z-index: 99;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
    overflow: visible;
    padding: 0;
    background: #fff;
  }
  .head {
    display: flex;
    justify-content: space-between;
    width: 80vw;
    margin: 0 auto;
    padding: 1vw 0;
  }
  .head .logo {
    display: block;
  }
  .head .logo img {
    height: 4.6vw;
  }
  .search {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 20vw;
  }
  .search-box {
    display: flex;
    width: 16vw;
    border: 1px solid #d2d2d2;
    border-right: 0;
  }

  .from-type {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 92px;
    flex-shrink: 0;
    padding: 0 10px;
  }

  .from-select {
    height: 2.4vw;
    overflow: hidden;
    font-size: 14px;
    line-height: 2.4vw;
    color: #333333;
    text-align: center;
    cursor: pointer;
  }

  .from-list {
    display: none;
    position: absolute;
    z-index: 5;
    left: 0;
    top: 2.42vw;
    width: 100%;
    border-left: 1px solid #d2d2d2;
    border-right: 1px solid #d2d2d2;
    background: #fff;
  }
  .from-list.active {
    display: block;
  }

  .type-item {
    font-size: 14px;
    line-height: 2.4vw;
    color: #333333;
    text-align: center;
    border-bottom: 1px solid #d2d2d2;
    cursor: pointer;
  }
  .type-item:hover {
    color: #fff;
    background: #e50213;
  }

  .search input {
    flex-grow: 1;
    height: 2.4vw;
    font-size: 14px;
    line-height: 2.4vw;
    color: #333;
    border: 0;
  }
  .search input::placeholder {
    color: #999999;
  }
  .search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4vw;
    height: 2.48vw;
    border: 0;
    text-align: center;
    background: #e50213;
  }
  .search-btn img {
    width: 1.4vw;
    cursor: pointer;
  }
  .nav {
    background: #00579d;
  }
  .nav ul {
    display: flex;
    width: 80vw;
    margin: 0 auto;
    border-right: 1px solid #1c6199;
  }

  .nav ul li {
    width: 10%;
    border-left: 1px solid #1c6199;
  }

  .nav ul a {
    display: block;
    position: relative;
    overflow: hidden;
    font: 400 0.9vw/3.2vw "微软雅黑";
    color: #fff;
    text-align: center;
  }
  .nav ul a:hover {
    background: #e50213;
  }
}

/* public */
.public {
  background: url(../images/public_bg.jpg) no-repeat center 0 / cover;
}
.public-main {
  width: 72vw;
  margin: 0 auto;
}
.public-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2.4vw 0;
}
.public-logo {
  padding: 0;
}
.public-logo img {
  width: 34vw;
}
.public-text {
  font-size: 0.9vw;
  line-height: 1.2vw;
  color: #fff;
}

.public-nav {
  display: flex;
  justify-content: space-between;
  padding: 2vw 0;
  border-top: 1px solid #3c6689;
}
.public-nav-li {
  width: 14.2%;
}

.public-nav-title {
  display: flex;
  padding: 0 0 1.5vw;
}
.public-nav-title a {
  display: block;
  padding-right: 0.5vw;
  font-weight: bold;
  font-size: 1.2vw;
  line-height: 1.5vw;
  color: #fff;
  background: url(../images/line_w.png) no-repeat right bottom;
}
.public-nav-title a:hover {
  color: #00579d;
}
.public-nav ul li {
  padding: 0 0 1vw;
}
.public-nav ul a {
  font-size: 0.8vw;
  line-height: 1.6vw;
  color: #7aa1c3;
}
.public-nav ul a:hover {
  color: #fff;
}

footer {
  display: flex;
  width: 72vw;
  margin: 0 auto;
  padding: 1vw 0;
  font-size: 0.8vw;
  line-height: 1.2vw;
  color: #fff;
  border-top: 1px solid #3c6689;
}
footer a,
footer p {
  padding-right: 5px;
  color: #fff;
}
@media (max-width: 1200px) {
  .public-main {
    width: 100%;
    padding: 0 0.2rem;
  }
  .public-line {
    display: block;
    padding: 0.2rem 0;
  }
  .public-logo {
    padding: 0;
  }
  .public-logo img {
    width: 6rem;
  }
  .public-text {
    padding-top: 0.2rem;
    font-size: 16px;
    line-height: 24px;
    color: #fff;
  }

  .public-nav {
    display: none;
  }

  footer {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    padding: 0.2rem;
    font-size: 12px;
    line-height: 20px;
    color: #fff;
    border-top: 1px solid #3c6689;
  }
  footer a,
  footer p {
    padding-right: 2px;
    color: #fff;
  }
}
