* {
  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;
}
.my_width {
  width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 1250px) {
  .my_width {
    width: 970px;
  }
}
@media (max-width: 992px) {
  .my_width {
    width: 750px;
  }
}
@media (max-width: 768px) {
  .my_width {
    width: 92%;
  }
}
.mt50 {
  margin-top: 50px;
}
.ml30 {
  margin-left: 30px;
}
body {
  background: url(../img/bg.png) center;
}
/* ******************************* */
/* ******************************* */
.header {
  background-color: #ac0000;
}
.header .my_width {
  height: 143px;
  position: relative;
}
.header .my_width .nav_btn {
  display: none;
  width: 8vw;
  height: 8vw;
  background: url(../img/nav-btn.png) no-repeat center;
  background-size: cover;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}
.header .my_width .logo {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
.header .my_width .header_r {
  width: 235px;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}
.header .my_width .header_r .home {
  float: right;
  display: inline-block;
  background: url(../img/home.png) no-repeat;
  background-position: 0 0;
  font-size: 14px;
  color: #fff;
  line-height: 15px;
  padding-left: 20px;
}
.header .my_width .header_r .search {
  float: left;
  width: 235px;
  height: 35px;
  margin-top: 10px;
  background-color: rgba(0, 0, 0, 0.3);
}
.header .my_width .header_r .search .search_val {
  float: left;
  width: calc(100% - 60px);
  height: 35px;
  line-height: 35px;
  border: none;
  background: none;
  color: #fff;
  font-size: 14px;
  padding-left: 20px;
}
.header .my_width .header_r .search .submit {
  float: right;
  width: 60px;
  height: 35px;
  background: url(../img/search.png) no-repeat center;
  border: none;
}
/* ******************************* */
/* ******************************* */
.nav {
  background: #940000;
}
.nav .wp_nav {
  width: 1200px;
  margin: 0 auto;
}
.nav .wp_nav > .nav-item {
  float: left;
  width: calc(99.9% / 7);
  height: 46px;
  position: relative;
}
.nav .wp_nav > .nav-item > a {
  display: block;
  height: 46px;
  line-height: 46px;
  text-align: center;
  font-size: 14px;
  font-weight: bolder;
  color: #ffd155;
}
.nav .wp_nav > .nav-item > .sub-nav {
  width: 100%;
  background: #ffffff;
  position: absolute;
  top: 46px;
  box-shadow: 0px 0px 8px 1px rgba(50, 50, 50, 0.14);
  opacity: 0;
  z-index: 99;
}
.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: #000000;
  text-align: center;
  transition: height 0.3s;
}
@media (max-width: 1250px) {
  .nav .wp_nav {
    width: 970px;
  }
}
@media (max-width: 992px) {
  .nav .wp_nav {
    width: 750px;
  }
}
@media (max-width: 768px) {
  .nav .wp_nav {
    width: 92%;
  }
}
/* ******************************* */
/* ******************************* */
.footer {
  background: url(../img/foot-bg.png) no-repeat center;
  background-size: cover;
}
.footer .my_width {
  height: 136px;
  position: relative;
}
.footer .my_width .logo {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
}
.footer .my_width .about {
  width: 378px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 441px;
}
.footer .my_width .about p {
  font-size: 14px;
  line-height: 24px;
  color: #fff;
  text-align: left;
}
.links {
  background-color: #eeeeee;
}
.links .links_title {
  float: left;
  width: 90px;
  line-height: 40px;
  font-size: 14px;
  letter-spacing: 2px;
  color: #930e03;
  font-weight: bolder;
}
.links .links_list {
  float: left;
  width: calc(100% - 90px);
}
.links .links_list li {
  float: left;
  padding: 0 25px;
}
.links .links_list li a {
  display: block;
  font-size: 14px;
  letter-spacing: 2px;
  color: #000000;
  text-align: center;
  line-height: 40px;
  text-decoration: underline;
}
.links .links_list li:hover a {
  color: #930e03;
}
/* ******************************* */
/* ******************************* */
@media (min-width: 768px) {
  .wp_nav > .nav-item:hover > a {
    color: #bc0707;
    background: #fff;
  }
  .wp_nav > .nav-item:hover > .sub-nav {
    opacity: 1;
  }
  .wp_nav > .nav-item:hover > .sub-nav > .nav-item > a {
    height: 40px;
  }
  .wp_nav > .nav-item > .sub-nav > .nav-item:hover > a {
    background: #bc0707;
    color: #fff;
  }
}
@media (max-width: 768px) {
  .header .my_width {
    height: 17vw;
    position: relative;
  }
  .header .my_width .logo {
    width: 65%;
    position: absolute;
  }
  .header .my_width .nav_btn {
    display: block;
  }
  .nav .wp_nav > .nav-item {
    width: 100%;
  }
  .footer .my_width {
    height: auto;
    padding: 30px 0;
  }
  .footer .my_width .logo {
    display: block;
    width: 80%;
    position: initial;
    transform: translateY(0);
  }
  .footer .my_width .about {
    width: auto;
    position: initial;
    transform: translateY(0);
    margin-top: 15px;
  }
  .footer .my_width .about p {
    text-align: left;
  }
}
