* {
  padding: 0px;
  margin: 0px;
  box-sizing: border-box;
  font-family: 微软雅黑;
}
ul,
li {
  list-style: none;
}
a:link,
a:visited,
a:visited,
a:hover,
a:active {
  text-decoration: none;
  color: inherit;
}
input,
select,
option,
textarea {
  outline: none;
  resize: none;
  -webkit-appearance: none;
}
.clr::after {
  content: '';
  display: block;
  clear: both;
}
.fl {
  float: left;
}
.fr {
  float: right;
}
.w1200 {
  width: 1400px;
  margin-left: auto;
  margin-right: auto;
}
.mt40 {
  margin-top: 40px;
}
.ml30 {
  margin-left: 30px;
}
/* ******************************* */
/* ******************************* */
.header {
  background: url(../img/header_bg.png) no-repeat;
  background-size: cover;
}
.header .w1200 {
  height: 108px;
  position: relative;
}
.header .w1200 .logo {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
.header .w1200 .search {
  width: 220px;
  height: 30px;
  border: 1px solid #fff;
  border-radius: 15px;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  overflow: hidden;
}
.header .w1200 .search .search_val {
  float: left;
  width: calc(100% - 50px);
  height: 30px;
  line-height: 30px;
  color: rgba(255, 255, 255, 0.7);
  padding-left: 15px;
  border: none;
  background: rgba(50, 50, 50, 0);
}
.header .w1200 .search .search_val::-webkit-input-placeholder {
  color: rgba(255, 255, 255, 0.7);
}
.header .w1200 .search .search_val::-moz-input-placeholder {
  color: rgba(255, 255, 255, 0.7);
}
.header .w1200 .search .search_val::-ms-input-placeholder {
  color: rgba(255, 255, 255, 0.7);
}
.header .w1200 .search .submit {
  float: left;
  background: url(../img/search.png) no-repeat;
  background-position: center;
  height: 30px;
  width: 50px;
  border: none;
  color: #fff;
}
.header .w1200 .nav_btn {
  display: none;
  float: right;
  width: 35px;
  height: 35px;
  background: url(../img/nav_icon.png) no-repeat;
  background-size: cover;
  margin-left: 50px;
}
/* ******************************* */
/* ******************************* */
.nav {
  background-color: #fff;
}
.nav .wp_nav {
  width: 1400px;
  margin: 0 auto;
}
.nav .wp_nav > .nav-item {
  float: left;
  width: calc(99.9% / 8);
  position: relative;
}
.nav .wp_nav > .nav-item > a {
  display: block;
  line-height: 40px;
  text-align: center;
  font-size: 14px;
  color: #333;
}
.nav .wp_nav > .nav-item > .sub-nav {
  width: 100%;
  background: #4184dd;
  position: absolute;
  top: 40px;
  box-shadow: 0px 0px 8px 1px rgba(50, 50, 50, 0.14);
  opacity: 0;
  z-index: 9999;
  border: none;
}
.nav .wp_nav > .nav-item > .sub-nav > .nav-item {
  position: relative;
}
.nav .wp_nav > .nav-item > .sub-nav > .nav-item a {
  display: block;
  height: 0px;
  overflow: hidden;
  line-height: 40px;
  font-size: 14px;
  color: #fff;
  text-align: center;
  transition: height 0.3s;
}
/* 控制三级栏目展示位置 */
.nav .wp_nav>li>.sub-nav>li .sub-nav {
background: #4184dd;
    left: 100%;
    top: 0;
    box-shadow: rgba(0, 0, 0, 0.28) 1px 1px 6px;
}
/* 控制 三级栏目 a 标签的展示样式 */
.nav .wp_nav>li>.sub-nav>li:hover .sub-nav li a {
    height: 40px;
    opacity: 1;
    transition: height 0.6s;
}
.footer {
  margin-top: 55px;
  background-color: #282c35;
}
.footer .w1200 {
  height: 140px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer .w1200 .about p {
  font-size: 14px;
  line-height: 1;
  color: #fff;
}
.footer .w1200 .line {
  width: 1px;
  height: 56px;
  background-color: #ffffff;
  opacity: 0.3;
}
.footer .w1200 .address {
  font-size: 14px;
  line-height: 1;
  color: #fff;
}
/* ******************************* */
/* ******************************* */
/* ******************************* */
/* ******************************* */
@media (max-width: 992px) {
  .nav .wp_nav {
    width: 750px;
  }
}
@media (max-width: 768px) {
  .nav .wp_nav {
    width: 100%;
  }
}
/*  pc端导航hover样式 */
@media (min-width: 768px) {
  .wp_nav > .nav-item:hover > a {
    color: #fff;
    background: #4184dd;
    font-weight: bolder;
  }
  .wp_nav > .nav-item:hover > .sub-nav {
    opacity: 1;
  }
  .wp_nav > .nav-item:hover > .sub-nav > .nav-item > a {
    height: 40px;
  }
.nav .wp_nav>li>.sub-nav>li .sub-nav li:hover a,
  .wp_nav > .nav-item > .sub-nav > .nav-item:hover > a {
    color: #4184dd;
    background: #fff7e6;
    overflow: hidden;
  }
}
