@charset "utf-8";
/*头部*/
#header {
  width: 100%;
  height: 80px;
  background-color: #f6f6f6;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

#header .inheader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

#header .inheader .header_logo img {
  height: 100%;
  width: auto;
}

#header .inheader .header_nav {
  display: flex;
  align-items: center;
}

/* --- 导航链接样式 --- */
#header .inheader .header_nav .main_nav ul .navPro {
  display: inline-block;
  vertical-align: middle;
  position: relative;
}

#header .inheader .header_nav .main_nav ul .navPro a {
  display: block;
  font-size: 16px;
  text-transform: uppercase;
  font-weight: bolder;
  margin: 0 60px;
  color: #000000; /* 默认黑色 */
  text-decoration: none;
  transition: color 0.3s ease; /* 颜色过渡动画 */
}

/* 鼠标悬浮：变红 */
#header .inheader .header_nav .main_nav ul .navPro:hover > a {
  color: #fc0001;
}

/* 【核心】激活状态：变红 (由JS添加 active 类触发) */
#header .inheader .header_nav .main_nav ul .navPro.active > a {
  color: #fc0001;
}

/* 下拉箭头图标 */

#header .inheader .header_nav .main_nav ul .navPro i {
  text-align: center;
  font-size: 13px;
  color: #000000;
  position: relative;
  margin-left: 5px;
  position: absolute;
  transition: transform 0.3s ease, color 0.3s ease; /* 旋转和颜色过渡 */
}
#header .inheader .header_nav .main_nav ul .navPro i:before {
  content: "\e611";
}
#header .inheader .header_nav .main_nav ul .navPro:hover i:before {
  display: block;
  transform: rotateX(180deg);
  transform-origin: center;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  color: #fc0001;
}

/* 下拉菜单容器 */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 130px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  right: 0;
  top: 100%;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-size: 14px;
  text-transform: none;
  font-weight: normal;
  margin: 0; /* 重置 margin */
}

.dropdown-content a:hover {
  color: #fc0001;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.navbar-search {
  margin-left: 10px;
  cursor: pointer;
}
#header .inheader .navbar-search i {
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  color: #000000;
  position: relative;
  margin-left: 5px;
}
#header .inheader .navbar-search i:before {
  content: "\e60f";
}

/* --- 新增：搜索弹出层样式 --- */
.search-overlay {
  position: absolute;
  top: 90px; /* Header的高度 */
  left: 15%;
  width: 60%;
  background-color: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 20px 0;
  transform: translateY(-20px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 99;
}

.search-overlay.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.search-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 12px 20px;
  font-size: 16px;
  border: 2px solid #ddd;
  border-radius: 30px;
  outline: none;
  transition: border-color 0.3s;
}

.search-input:focus {
  border-color: #fc0001;
}

.search-btn {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background: #fc0001;
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-search {
  position: absolute;
  right: 20px;
  top: -40px;
  color: #fff;
  cursor: pointer;
  font-size: 24px;
  display: none; /* 仅在背景遮罩模式下可能需要，这里简化处理 */
}

/*首页banner*/
#index_banner {
  display: block;
  width: 100%;
  overflow: hidden;
}
#index_banner .swiper-slide a {
  display: block;
  width: 100%;
  height: 100vh;
  max-height: 670px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
#index_banner .swiper-slide img {
  display: block;
  width: 100%;
}
#index_banner .swiper-button {
  width: 50px;
  height: 50px;
  text-align: center;
  line-height: 50px;
  top: 50%;
  margin-top: 0;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.3);
  border-radius: 3px;
  opacity: 0;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  color: #e1dbdb;
}
#index_banner:hover .swiper-button {
  opacity: 1;
}
#index_banner .swiper-button .fonticon {
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
#index_banner .swiper-button-prev .fonticon:before {
  content: "\e669";
}
#index_banner .swiper-button-next .fonticon:before {
  content: "\e667";
}
#index_banner .swiper-button:hover {
  background: #fc0001;
}
#index_banner .swiper-button:hover .fonticon {
  color: #fff;
}

@media (max-width: 768px) {
  #index_banner,
  #index_banner .swiper-slide a {
    height: auto;
  }
}
/*footer*/
#footer {
  background: #1f1f1f;
  position: relative;
}
#footer .footer_con {
  padding-top: 80px;
}
#footer .footer_con .footer_head{margin-bottom: 15px;}

#footer .footer_con .footer_head p {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #fff;
}
#footer .footer_con  .f_by{color: #fff;}
/* CONTACT、INFORMATION 标题下加红色短横线（第 2、3 列，长度 5px） */
#footer .footer_con li:nth-child(2) .footer_head p,
#footer .footer_con li:nth-child(3) .footer_head p {
  position: relative;
  padding-bottom: 8px;
}
#footer .footer_con li:nth-child(2) .footer_head p::after,
#footer .footer_con li:nth-child(3) .footer_head p::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30%;
  height: 2px;
  background-color: #fc0001;
}
#footer .footer_con p {
  font-size: 14px;
  line-height: 25px;
  color: #686868;
  font-weight: bold;
}
#footer .footer_con p a {
  color: #686868;
}
#footer .footer_con p a:hover {
  color: #fc0001;
}
#footer .footer_con .add{display: flex;}
#footer .footer_con .add i.fonticon,
#footer .footer_con .tel i.fonticon,
#footer .footer_con .fax i.fonticon,
#footer .footer_con .email i.fonticon {
  font-size: 15px;
  
  transition: transform 0.3s ease, color 0.3s ease;
  color: #fc0001;
  margin-right: 10px;
}

#footer .footer_con .add i:before {
  content: "\e64e";
}
#footer .footer_con .tel i:before {
  content: "\e65f";
}
#footer .footer_con .fax i:before {
  content: "\e844";
}
#footer .footer_con .email i:before {
  content: "\e908";
}
/* 页脚三列 flex 布局：第一列靠左、第二列居中、第三列靠右 */
#footer .footer_con .row {
  display: flex;
  justify-content: space-between;
}
@media (min-width: 992px) {
  #footer .footer_con .row > li {
    flex: 0 0 auto;
    width: auto;
  }
}
#footer .bottom{border-top: 1px solid #535353; margin-top: 50px;}
#footer .bottom p{text-align: center; line-height: 50px; color: #fff;}
#footer .bottom p a{text-align: center; line-height: 50px; color: #fff;}