@import url("nav.css");

@font-face {
  font-family: "SourceHanSans";
  src: url("../fonts/SourceHanSans-Regular.woff2") format("woff2"),
    url("../fonts/SourceHanSans-Regular.woff") format("woff"),
    url("../fonts/SourceHanSans-Regular.ttf") format("truetype"),
    url("../fonts/SourceHanSans-Regular.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

body,
html {
  font-family: "HuaweiSans-Bold" !important;
}

.header {
  background-color: #111111;
}

.header .right {
  float: right;
  margin-right: 150px;
}

.header .right img {
  width: 13px;
}

.header .right a {
  color: #cccccc;
  font-size: 12px;
  margin: 0 20px;
}

.banner {
  height: 65vh;
}

.banner .swiper-container {
  width: 100%;
  height: 100%;
}

.banner img {
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.banner .swiper-container .swiper-button-prev {
  display: none;
}

.banner .swiper-container .swiper-button-next {
  display: none;
}

.banner .swiper-container:hover .swiper-button-prev {
  display: block;
}

.banner .swiper-container:hover .swiper-button-next {
  display: block;
}

.swiper-button-prev,
.swiper-button-next {
  --swiper-theme-color: #ff0004;
}

.search-bar {
  position: relative;
}

.search-icon {
  padding: 5px 10px;
  position: absolute;
  width: 38px;
  height: 38px;
  position: absolute;
  right: 5px;
  top: 0px;
}

.main {
  /* margin-bottom: 90px; */
}
.main .top {
  margin: 80px 0;
}
.main .top h1 {
  color: #333333;
  text-align: center;
  position: relative;
}

.main .top h1:after {
  display: block;
  content: "";
  width: 40px;
  height: 2px;
  background-color: #c7000b;
  position: absolute;
  left: 50%;
  bottom: -10px;
  margin-left: 0;
  transform: translateX(-50%);
}

.main .new .left,
.right {
  overflow: hidden;
  position: relative;
}

.main .new .text {
  width: 100%;
  box-sizing: border-box;
  background: linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
  padding: 30px;
  position: absolute;
  bottom: -60px;
  left: 0;
  transition: all 0.5s;
}

.main .new .text p {
  margin: 5px 0;
}

.main .new .text .cate {
  color: #fff;
  line-height: 1.6;
}

.main .new .text .name {
  color: #fff;
  font-size: 22px;
  font-weight: bold;
  line-height: 1.5;
}

.main .new .text a {
  display: block;
  margin-top: 40px;
  color: #fff;
}
.main .new .text a span {
  margin-left: 10px;
  color: #f00;
}

.main .new .new1-content {
  margin: 20px 0;
  display: flex;
  gap: 20px;
}

.main .new .new1-content .left {
  flex: 2;
  max-height: 415px;
}

.main .new .new1-content .right {
  flex: 1;
}
.main .new .new1-content .left img {
  width: 100%;
  height: 415px;
  object-fit: cover;
}

.main .new .new1-content .right img {
  width: 100%;
  height: 415px;
  object-fit: cover;
}

.main .new .new2-content {
  margin: 20px 0;
  display: flex;
  gap: 20px;
}

.main .new .new2-content .left {
  flex: 1;
  max-height: 415px;
}

.main .new .new2-content .right {
  flex: 2;
}

.main .new .new2-content .left img {
  width: 100%;
  height: 415px;
  object-fit: cover;
}

.main .new .new2-content .right img {
  width: 100%;
  height: 415px;
}

.main .new .new3-content {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.main .new .new3-content .left {
  max-height: 293px;
  flex: 1;
}

.main .new .new3-content .left img {
  width: 100%;
  height: 293px;
}

.main .new img {
  transition: 0.5s all;
}

.main .new .left:hover img {
  transform: scale(1.08);
}
.main .new .left:hover .text {
  position: absolute;
  bottom: 0;
}
.main .new .right:hover img {
  transform: scale(1.08);
}
.main .new .right:hover .text {
  position: absolute;
  bottom: 0;
}
.icon {
  position: fixed;
  bottom: 67px;
  right: 0;
}

.icon img {
  width: 40px;
  opacity: 0.7;
}

.video {
  position: relative;
}

.video video {
  width: 100%;
}

.video .img {
  position: absolute;
  left: 0;
  top: 0;
}

.video .img img {
  width: 100%;
}

.video .text {
  padding: 0 160px;
  position: absolute;
  left: 0;
  top: 200px;
  color: #fff;
}

.video .text h2 {
  font-size: 30px;
  margin-bottom: 20px;
}

.video .text h2:after {
  content: "";
  display: block;
  margin-top: 20px;
  width: 140px;
  height: 2px;
  background-color: #c7000b;
}

.video .text p {
  margin: 30px 0 50px 0;
}

.video .text a {
  color: #fff;
  padding: 10px 50px;
  border: 1px solid #fff;
}

.video .text a:hover {
  background-color: #c7000b;
  border: 1px solid #c7000b;
}
.main .news {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.main .news .new-content {
  width: 416px;
  height: 520px;
  background-color: #f8f8f8;
}
.main .news .scroll {
  overflow-y: auto;
}
.main .news .new-content .img {
  overflow: hidden;
  width: 100%;
  height: 243px;
  margin: 0 auto;
}
.main .news .new-content .img img {
  transition: all 0.5s;
  vertical-align: bottom;
  width: 100%;
}
.main .news .new-content:hover .img img {
  transform: scale(1.05);
}
.main .news .new-content .text {
  height: 190px;
  padding: 35px 30px;
  transition: all 0.5s;
}
.main .news .new-content:hover .text {
  background-color: #f3f3f3;
}
.main .news .new-content .text h3 {
  color: #333;
  margin-bottom: 20px;
}
.main .news .new-content .text .info {
  color: #333;
}

.main .news .new-content .text .info .description {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5; /* 显示的行数 */
  overflow: hidden;
}

.main .news .new-content .text p {
  color: #666;
}
.main .news .new-content .item {
  padding: 30px 20px;
}
.main .news .new-content .item .list {
  padding: 5px 0;
}
.main .news .new-content .item .list a {
  color: #333;
}
.main .news .new-content .item .list a:hover {
  color: #c7000b;
}
.main .news .new-content .item .list h3,
span {
  line-height: 1.8;
}
.main .href {
  text-align: center;
  margin: 80px 0;
}
.main .href a {
  border: 1px solid #000;
  color: #333;
  padding: 10px 50px;
  margin: 0 20px;
  transition: all 0.1s;
}
.main .href a:hover {
  background-color: #c7000b;
  color: #fff;
  border: 1px solid #c7000b;
}
.footer {
  padding-top: 20px;
  background-color: #f2f2f2;
}
.footer .footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid #e2e2e2;
}
.footer .footer-top span img {
  width: 30px;
}
.footer .footer-form {
  padding: 50px 0;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #e2e2e2;
}
.footer .footer-form ul h3,
li {
  line-height: 2.8;
}
.footer .footer-form ul li {
  font-size: 14px;
}
.footer .footer-form ul li a {
  color: #595757;
  font-family: Microsoft YaHei, Arial, Helvetica, sans-serif !important;
}
.footer .footer-other {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}
.footer .footer-other ul li {
  font-size: 14px;
  color: #5a5858;
  margin-right: 28px;
  float: left;
}
.footer .footer-other ul li img {
  width: 35px;
}
.footer .footer-bottom {
  height: 50px;
  line-height: 50px;
  background-color: #e6e6e6;
  color: #666666;
  font-size: 14px;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
}
.footer .footer-bottom span {
  margin: 0 15px;
}

.item-conter .list {
  font-size: 16px;
  margin: 0 20px;
}

/* 选中效果样式 */
.item-conter .list.active a {
  color: #c3060e;
}

.item-conter .list {
  border-bottom: 2px solid transparent;
}
.item-conter .list.active {
  border-bottom: 2px solid #c3060e;
}

.conter_nav .none .sub-nav {
  width: 100% !important;
  display: flex;
  flex-wrap: wrap;
}

.conter_nav .none .sub-nav li {
}

.media-title-left h1 {
  text-align: left;
}

@media only screen and (min-device-width: 768px) {
  ::-webkit-scrollbar-thumb {
    background-color: rgba(130, 130, 130, 0.5);
    -webkit-border-radius: 4px;
    border-radius: 4px;
  }

  ::-webkit-scrollbar-thumb:hover {
    background-color: #f1404b;
    -webkit-border-radius: 4px;
    border-radius: 4px;
  }

  ::-webkit-scrollbar {
    width: 5px;
    height: 5px;
  }

  ::-webkit-scrollbar-thumb:active {
    background-color: #f1404b;
    -webkit-border-radius: 4px;
    border-radius: 4px;
  }

  ::-webkit-scrollbar-corner {
    background: rgba(0, 0, 0, 0);
    border-radius: 0 0 8px 0;
  }

  ::-webkit-scrollbar-button {
    background-color: rgba(0, 0, 0, 0);
    height: 2px;
    width: 2px;
  }
}

@media (max-width: 767.98px) {
  .tab-auto-scrollbar::-webkit-scrollbar {
    display: none;
  }
}
