* {
  list-style: none;
  text-decoration: none;
  margin: 0;
  padding: 0;
  word-wrap: break-word;
  /* 默认为normal */
  word-break: break-all;
  /* 默认为normal */
  box-sizing: border-box;
}
body {
  font-size: 16px;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif !important;
  color: #333;
  line-height: 1.4;
}
a {
  color: #333;
  font-size: 16px;
  display: inline-block;
}
a:hover {
  color: #ce1627;
}
input[type=search]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  /* 此处去掉默认的小× */
}
.img_wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.container {
  margin: 0 auto;
  width: 100%;
  max-width: 1400px;
  padding: 0 15px;
}
@media (min-width: 1200px) {
  .container {
    padding: 0 40px;
  }
}
.center {
  display: flex;
  justify-content: center;
  align-items: center;
}
h1,
h2,
h3,
p,
ol,
ul {
  margin: 0;
  padding: 0;
}
/* 单行内容超出时出现省略号 */
.ell {
  /*  text-overflow: ellipsis;
  white-space: nowrap; 
  overflow: hidden; */
  display: -webkit-box !important;
  white-space: normal!important;
  text-overflow: ellipsis;
  word-wrap: break-word;
  overflow: hidden;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  word-break: break-all;
  line-height: 1.3;
  /*  如果是line-height:1的话，在ios上会漏出第二行文字的头 */
}
/* 文本超过2行换行 */
.ell2 {
  display: -webkit-box !important;
  white-space: normal!important;
  text-overflow: ellipsis;
  /*  允许长单词或数字换行到下一行（默认情况下，当该行是以英文或者数字结尾时，则不换行即会溢出文本）*/
  word-wrap: break-word;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  /*表示允许长单词或者数字 之间的换行。默认是不换行（即若一行只能容纳10个字符，文本是两个中文字加一串大于6字符
  的英文，则会被自动分成两行，第一行是2个中文字，第二行是长英文；若英文小于6字符则全部在第一行显示）比如“650/盒 3900/箱”,加上后 “3900”会被分割进行了换行 */
  word-break: break-all;
}
/* pc导航栏 */
.header {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
  z-index: 999;
  transition: all 0.5s;
}
.header::after {
  content: "";
  width: 100%;
  position: absolute;
  top: 100px;
  left: 0;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.2);
}
.header .pc {
  flex: 1;
  display: flex;
}
.header .logo_wrap {
  width: 16.6%;
  height: 100px;
  margin-right: 8%;
  margin-left: 3.4%;
  max-width: 300px;
}
.header .logo_wrap a {
  height: 100%;
}
.header .logo_wrap a p{
  color:#fff;
  position: absolute;
  top: 75px;
  font-size: 13px;
  font-weight: normal;
}
.header.active .logo_wrap a p{
  color:#333;
}
.header .logo_wrap img {
  width: 100%;
  height: auto;
}
.header .logo_wrap img.img2 {
  display: none;
}
.header .pc .nav_list {
  height: 100%;
  flex: 1;
  display: flex;
  padding-right: 4.4%;
}
.header .pc .nav_list .nav_item {
  flex: 1;
  text-align: center;
  font-size: 16px;
  color: #fff;
  padding: 0 10px;
  position: relative;
  z-index: 10;
  /* align-self: flex-start; */
}
.header .pc .nav_list .nav_item .name {
  height: 100px;
  line-height: 100px;
  color: #fff;
}
.header .pc .nav_list .nav_item:hover .name {
  color: #ca1526;
  border-bottom: 2px solid #ca1526;
}
/* .header .pc .nav_list .nav_item:hover .box{
  display: block;
} */
.header .pc .nav_list .nav_item .box {
  position: relative;
  width: 100%;
  top: 0;
  left: 0;
  /* background-color: #fff; */
  padding-top: 25px;
  display: none;
  min-height: 200px;
}
.header .pc .nav_list .nav_item .box a {
  display: block;
  color: #666;
  margin-bottom: 20px;
  text-align: center;
}
.header .pc .nav_list .nav_item .box a:last-child {
  margin-bottom: 0;
}
.header .pc .nav_list .nav_item .box a:hover {
  color: #ca1526;
}
.header .right {
  width: 18.7%;
  height: 100px;
  display: flex;
  align-items: center;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}
.header .right .search_wrap {
  position: relative;
  margin: 0 44px;
  height: 40px;
}
.header .right .search_wrap .layui-icon {
  position: absolute;
  left: 0;
  bottom: 6px;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}
.header .right .search_wrap input {
  width: 100%;
  height: 100%;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  outline: none;
  background: transparent;
  padding: 0 40px;
  color: #fff;
  display: none;
}
.header.active {
  background-color: #fff;
}
.header.active .logo_wrap img {
  display: none;
}
.header.active .logo_wrap img.img2 {
  display: block;
}
.header.active .pc .nav_list .nav_item,
.header.active .pc .nav_list .nav_item .name {
  color: #333;
}
.header .pc .nav_list .nav_item.active .name {
  border-bottom: 2px solid #ca1526;
}
.header.active .pc .nav_list .nav_item:hover .name {
  color: #ca1526;
}
.header.active::after {
  background-color: rgba(196, 196, 196, 0.74);
}
.header.active .right {
  border-left-color: rgba(196, 196, 196, 0.74);
}
.header.active .right .search_wrap input {
  border-bottom-color: rgba(196, 196, 196, 0.74);
  color: #333;
}
.header.active .right .search_wrap .layui-icon {
  color: #333;
}
.header .mobile {
  display: none;
}
.header .menu {
  display: none;
}
/* 移动端导航栏 */
@media (max-width: 1100px) {
  .header .logo_wrap a p{
    display: none;
  }
  .header .pc {
    display: none;
  }
  .header {
    height: auto;
  }
  .header::after {
    top: 50px;
  }
  .header .logo_wrap {
    width: 200px;
    margin: 0 15px;
    height: 50px;
  }
  .header .logo_wrap img {
    max-height: 90%;
  }
  .header .menu {
    display: flex;
    flex-direction: column;
    padding-right: 15px;
  }
  .header .menu span {
    width: 22px;
    height: 2px;
    background: #fff;
    display: block;
    margin: 6px 0;
  }
  .header .menu:before {
    content: "";
    width: 22px;
    height: 2px;
    background: #fff;
    display: block;
  }
  .header .menu:after {
    content: "";
    width: 22px;
    height: 2px;
    background: #fff;
    display: block;
  }
  .header .right {
    width: 100%;
    height: auto;
    display: none;
    background: rgba(36, 60, 80, 0.8);
  }
  .header .right .search_wrap {
    margin: 0 15px;
  }
  .header .right .search_wrap .layui-icon {
    color: #fff;
  }
  .header .right .search_wrap input {
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    display: block;
  }
  .header .mobile {
    display: block;
    padding: 0 15px;
  }
  .header .mobile .nav_list .nav_item {
    display: block;
    color: #fff;
  }
  .header .mobile .nav_list .nav_item .name {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 40px;
    color: #fff;
  }
  .header .mobile .nav_list .nav_item .layui-icon {
    font-size: 14px;
  }
  .header .mobile .nav_list .nav_list {
    padding-left: 15px;
    display: none;
  }
}
/* 底部 */
.footer {
  height: auto!important;
  background-color: #6a6e78;
  padding: 80px 0 10px;
}
.footer .list1 {
  display: flex;
  position: relative;
  padding-right: 200px;
}
.footer .list1:after {
  content: "";
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.28);
  position: absolute;
  top: 60px;
  left: 0;
}
.footer .list1 .backTop {
  position: absolute;
  right: 0;
  top: -80px;
  height: calc(100% + 80px);
  background-color: #ce1627;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 7%;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
}
.footer .list1 .backTop .text {
  width: 14px;
}
.footer .list1 .backTop .layui-icon {
  color: #fff;
  font-weight: bold;
}
.footer .list1 .item1 {
  flex: 1;
}
.footer .list1 .item1:last-child {
  flex: 3;
}
.footer .list1 .item1 .name {
  font-size: 16px;
  color: #fff;
  margin-bottom: 40px;
}
.footer .list1 .item1 .box {
  display: flex;
  padding-top: 32px;
}
.footer .list1 .item1 .box .img_wrap {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  margin-left: 40px;
}
.footer .list1 .item1 .box .img_wrap img {
  width: 100%;
  height: 100%;
}
.footer .list1 .item1 .list2 .item2 {
  display: block;
  color: #e7e7e7;
  font-size: 14px;
  margin-bottom: 20px;
}
.footer .list1 .item1 .list2 .item2:last-child {
  margin-bottom: 0;
}
.footer .list1 .item1 .list2 .item2 .layui-icon {
  color: #fff;
  font-weight: bold;
}
.footer .list1 .item1 .list2 a.item2:hover {
  color: #ce1627;
}
.footer .logo_wrap {
  display: flex;
  justify-content: flex-end;
  margin: 100px 0;
}
.footer .logo_wrap img {
  max-width: 31%;
}
.footer .bottom {
  color: #fff;
  text-align: center;
  font-size: 14px;
}
.footer .bottom a {
  color: #fff;
  font-size: 14px;
}
.footer .bottom a:hover {
  color: #ce1627;
}
/* 移动端底部 */
@media (max-width: 1100px) {
  .footer {
    padding-top: 20px;
  }
  .footer .list1 {
    padding: 0;
    flex-wrap: wrap;
  }
  .footer .list1:after {
    content: none;
  }
  .footer .list1 .backTop {
    width: 8%;
    right: 12px;
    top: -20px;
    height: calc(100% + 0px);
  }
  .footer .list1 .item1 {
    flex: none;
    margin: 0 25px 25px 0;
  }
  .footer .list1 .item1:last-child {
    flex: none;
    width: 100%;
    margin: 0 0 20px 0;
    padding-right: 14%;
  }
  .footer .list1 .item1 .name {
    font-size: 14px;
    margin-bottom: 0;
  }
  .footer .list1 .item1 .box {
    padding-top: 15px;
  }
  .footer .list1 .item1 .box .img_wrap {
    width: 60px;
    height: 60px;
    margin-left: 10px;
  }
  .footer .list1 .item1 .list2 .item2 {
    font-size: 13px;
    margin-bottom: 10px;
  }
  .footer .logo_wrap {
    display: none;
  }
}
