.all-content {
  width: 100%;
  background-color: #fff;
  position: relative;
  z-index: 3;
}
.all-content .nav {
  width: 100%;
}
.all-content .nav .top,
.all-content .nav .bot {
  width: 100%;
  border-bottom: 1px solid #dcdcdc;
}
.all-content .nav .top .content {
  margin: 0 auto;
  width: 81.25%;
  height: 0.675rem;
  display: flex;
}
.all-content .nav .top .content a {
  flex-shrink: 0;
  display: block;
  height: 0.675rem;
  line-height: 0.675rem;
  padding: 0 0.3rem;
  text-align: center;
  font-size: 0.18rem;
  color: #000;
  position: relative;
  transition: all 0.5s;
  margin-right: 0.0075rem;
}
.all-content .nav .top .content a::after {
  content: "";
  display: block;
  width: 100%;
  height: 0%;
  background-color: #e84227;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -1;
  transition: all 0.5s;
}
.all-content .nav .top .content a:hover {
  color: #fff;
}
.all-content .nav .top .content a:hover::after {
  height: 100%;
}
.all-content .nav .top .content .active {
  color: #fff;
}
.all-content .nav .top .content .active::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -1;
  transition: all 0.5s;
}
.all-content .nav .bot .content {
  margin: 0 auto;
  width: 81.25%;
  height: 0.9rem;
  display: flex;
}
.all-content .nav .bot .content a {
  display: block;
  height: 0.9rem;
  line-height: 0.9rem;
  margin-right: 0.9rem;
  text-align: center;
  font-size: 0.15rem;
  color: #000;
  position: relative;
  transition: all 0.5s;
}
.all-content .nav .bot .content a::after {
  content: "";
  display: block;
  width: 0;
  height: 0.035rem;
  background-color: #e84227;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  transition: all 0.5s;
}
.all-content .nav .bot .content a:hover::after {
  width: 0.15rem;
}
.all-content .nav .bot .content .active::after {
  content: "";
  display: block;
  width: 0.15rem;
  height: 0.035rem;
  background-color: #e84227;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  transition: all 0.5s;
}
.all-content .list {
  padding-top: 0.75rem;
  margin: 0 auto;
  width: 81.25%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  position: relative;
  /* 一行四列多余两个 */
  /* 一行四列多余三个 */
}
.all-content .list .item {
  margin-bottom: 0.6rem;
  flex-shrink: 0;
  width: 2.655rem;
  position: relative;
  transition: all 0.5s;
}
.all-content .list .item:hover .img {
  box-shadow: none;
  border: 1px solid #E50003;
}
.all-content .list .item .img {
  width: 100%;
  height: 1.575rem;
  box-shadow: 0px 0px 0.225rem 0px rgba(0, 0, 0, 0.1);
  border: 1px solid transparent;
  background-color: #FFFFFF;
  position: relative;
  transition: all 0.5s;
}
.all-content .list .item .img img {
  margin: auto;
  height: 100%;
  position: absolute;
  top: 0;
  left: -100%;
  right: -100%;
}
.all-content .list .item .name {
  margin-top: 0.225rem;
  text-align: center;
  font-size: 0.18rem;
  color: #000000;
}
.all-content .list .item:last-child:nth-child(4n+2) {
  margin-right: calc((100% - 24%) / 3 * 2);
}
.all-content .list .item:last-child:nth-child(4n+3) {
  margin-right: calc((100% - 24%) / 3 * 1);
}
@media screen and (max-width: 1020px) {
  .all-content .nav .top .content {
    margin: 0 auto;
    width: 90%;
    height: 0.8rem;
    display: flex;
    overflow-x: scroll;
  }
  .all-content .nav .bot .content {
    margin: 0 auto;
    width: 90%;
    height: 0.9rem;
    display: flex;
    overflow-x: scroll;
  }
  .all-content .nav .top .content a {
    flex-shrink: 0;
    display: block;
    height: 0.8rem;
    line-height: 0.8rem;
    padding: 0 0.3rem;
    text-align: center;
    font-size: 0.3rem;
    color: #000;
    position: relative;
    transition: none;
  }
  .all-content .nav .bot .content a {
    display: block;
    height: 0.9rem;
    line-height: 0.9rem;
    margin-right: 0.9rem;
    text-align: center;
    font-size: 0.3rem;
    color: #000;
    position: relative;
    transition: all 0.5s;
  }
  .all-content .list {
    padding-top: 0.75rem;
    margin: 0 auto;
    width: 90%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
  }
  .all-content .list .item {
    margin-bottom: 0.4rem;
    flex-shrink: 0;
    width: 48%;
    position: relative;
    transition: all 0.5s;
  }
  .all-content .list .item .name {
    margin-top: 0.225rem;
    text-align: center;
    font-size: 0.25rem;
    color: #000000;
  }
}
