﻿.topbar{ width: 100%; height: 50px; line-height: 22px; padding: 14px 0;}
.topbar a{ color: #FFFFFF;}

.topbarleft{}
.topbarleft ul{ margin-left: 20px;}
.topbarleft ul li:first-child:after{ content: "|"; padding: 0 15px;}

.topbarright{}
.topbarright img{ margin-right: 10px;}
.topbarright ul{ margin-left: 20px;}
.topbarright ul li:first-child:after{ content: "|"; padding: 0 15px;}

header{ width: 100%; height: 109px; padding: 15px 0; background: #FFFFFF;}

header .logo{ width: 18%; height: auto; padding-right: 30px;}
header .logo a{ display: block; width: 100%; height: auto;}
header .logo a img{ width: 100%; height: auto;}

header .topsearch{ width: 55%; margin-top: 10px; position:relative;}
header .topsearchbox{ width: 100%;}
header .topsearchbox input{ width: 90%; height: 42px; border: 1px solid #a80005; border-radius: 3px 0 0 3px; padding:0 15px; border-right: none;}
header .topsearchbox button{ width: 10%; height: 42px; background: #a80005; border-radius:0 3px 3px 0; border: none; color: #FFFFFF; font-size: 20px;}
header .topsearchtxt{ width: 100%; height: 34px; line-height: 34px;}
header .topsearchtxt a{ padding-right: 10px;}


.search-window{ display:none; position:absolute;background: #fff;border-radius: 0 0 4px 4px;border-top: none;box-shadow: 0 4px 4px -2px #999;padding: 20px;top: 40px;left: 0;width: 800px;z-index: 20;}
.search-window a{margin-right:10px;line-height:24px;color: #999!important;}
.search-window ul.search-rst{
    padding-left: 0;
}
.search-window ul.search-rst li{margin-bottom: 8px;}
.search-window ul.search-rst li a p{color:#000;margin-bottom: 0px;}
.search-window ul.search-rst li a:hover p{color:#ff6221;}
.search-window ul.search-rst li a p.mfg{ color:#999 }
.search-window b{font-size:1rem; display:block;}



header .toplinks{ width: auto; margin-top: 10px;}
header .toplinks a{ font-size: 14px; margin-left: 15px; display: block; width: auto; height: 42px; padding: 0 10px; line-height: 40px; text-align: center; border: 1px solid #EEEEEE; border-radius: 3px;}
header .toplinks a img{ vertical-align: middle; margin-right: 10px;}
header .toplinks a em{ margin-left: 5px; display: inline-block; font-style: normal; background: #a80005; width: 22px; height: 22px; font-size: 12px; line-height: 22px; color: #FFFFFF; border-radius: 50%;}
header .topmenu{ display: none;}
header .topmenu a:hover{ text-decoration:none;}


nav{ width: 100%; height: 60px; background: #8a8989; line-height: 60px;}
.navleft{ width: 20%; height: 60px;  background: #a80005; position: relative; }
.navleft a.navlinks{ color: #FFFFFF; padding: 0 20px; font-weight: bold; font-size:1rem;}
.navleft a.navlinks i{ line-height: 60px; font-size: 20px; margin-right: 20px;}
.navleft:hover ul.navul{ display: block;}
.navleft ul{ width: 100%; padding: 15px 0; z-index: 999; background: #FFFFFF; position: absolute; display: none; }
.navleft ul li{ font-size: 0.9rem;}
.navleft ul li a{ display: block; line-height: 36px; height: 36px; overflow: hidden; padding: 0 20px;}
.navleft ul li a i{ line-height: 36px; color: #999; font-size: 18px;}
.navleft ul li a img{ vertical-align: middle; margin-right: 10px;}
.navleft ul li a:hover{ background: #f7f7f7;}
.navleft ul li a:hover i{ color: #a80005;}
.navleft ul li.navmore{ font-weight: bold; margin-top: 10px;  font-size: 15px;}
.navleft ul li.navmore a:hover{ background: none;}
.navleft ul li ul{ display: none; padding: 20px; width: 1000px; border:2px solid #a80005; min-height: 545px; position: absolute; left:100%; top: 0; background: #FFFFFF;}
.navleft ul li ul li{ width: 33.3%; line-height: 32px; height: 32px; overflow: hidden; float: left;}
.navleft ul li ul li a{ display: block; line-height: 32px; height: 32px;}
.navleft ul li:hover ul{ display: block;}


.navright{ width: 80%; height: 60px;   }
.navright li { margin-left: 45px; font-weight: bold; font-size:1rem;}
.navright li a{ color: #FFFFFF;}

.bannerleft ul{ width: 100%; padding: 15px 0; z-index: 999; flex: 1; /* 占据父容器的剩余空间 */
  display: flex; /* 添加 flex 布局 */
  flex-direction: column; /* 子元素垂直排列 */ }
.bannerleft ul li{ font-size: 0.9rem; flex: 1; /* 让每个 li 平均分配高度 */}
.bannerleft ul li a{ display: block; line-height: 36px; height: 36px; overflow: hidden; padding: 0 20px;}
.bannerleft ul li a i{ line-height: 36px; color: #999; font-size: 18px;}
.bannerleft ul li a img{ vertical-align: middle; margin-right: 10px;}
.bannerleft ul li a:hover{ background: #f7f7f7;}
.bannerleft ul li a:hover i{ color: #a80005;}
.bannerleft ul li.navmore{ font-weight: bold; margin-top: 10px;  font-size: 15px;}
.bannerleft ul li.navmore a:hover{ background: none;}
.bannerleft ul li ul{ display: none; padding: 20px; width: 1000px; border:2px solid #a80005; min-height: 545px; position: absolute; left:100%; top: 0; background: #FFFFFF;}
.bannerleft ul li ul li{ width: 33.3%; line-height: 32px; height: 32px; overflow: hidden; float: left;}
.bannerleft ul li ul li a{ display: block; line-height: 32px; height: 32px;}
.bannerleft ul li:hover ul{ display: block;}

.banner{  }
.bannerleft{ width: 20%;  height: auto;  background: #FFFFFF; position: relative; display: flex; /* 添加 flex 布局 */ flex-direction: column; /* 垂直方向排列 */}
.bannerright{ width: 80%;}
.main_visual{ width: 100%; height: 100%; position:relative;}
.main_visual .owl-carousel,.main_visual .owl-stage-outer,.main_visual .owl-stage,.main_visual .owl-carousel .owl-item{width: 100%;height: 100% !important;}
.main_visual .owl-carousel .item{width: 100%;height: 100%; background-repeat: no-repeat; background-position: center center;-webkit-background-size: cover; background-size: cover;}
.main_visual .owl-carousel .item img{ width: 100%; height:auto;}
.main_visual .owl-prev,.main_visual .owl-next{ display: none; text-indent: -999px; overflow: hidden;}
.main_visual .owl-nav{ display: none; height: 0;}


.main_visual .owl-dots{ width: 100%; text-align: center; height: 12px; position:absolute; left: 0; bottom: 30px;  z-index: 999;}
.main_visual .owl-dots .owl-dot{display: inline-block;  margin:0 5px;}
.main_visual .owl-dots .owl-dot span{  display: inline-block; width: 12px; height: 12px; background:#FFFFFF; }
.main_visual .owl-dot.active span{ background:#a80005; }



@media (max-width: 768px) {
	
.topbar{ display: none;}


header{ width: 100%; height: 60px; padding: 5px 0; background: #FFFFFF; border-bottom:1px solid #EEEEEE;}

header .logo{ width: 155px; height: 50px; padding-right: 0;}
header .logo a{ display: block; width: 100%; height: auto;}
header .logo a img{ width: 100%; height: 50px;}

header .topsearch{ display: none;}


header .toplinks{ display: none;}
header .topmenu{ display: block;}
header .topmenu a{ border: 1px solid #EEEEEE; border-radius: 3px; padding: 8px; font-size: 20px; margin-top: 7px;}

.navleft{ display: none;}
.banner{ width: 100%;}
.bannerleft{ display: none;}
.bannerright{ width: 100%;}

nav{ width: 100%; height: auto; background: #FFFFFF; line-height: 42px; position: absolute; left: 0; top: 60px; z-index: 999;}
.navright{ width: 100%; height: auto;   }
.navright li { margin-left: 0; font-weight: normal; width: 100%; height: 42px; line-height: 42px; border-bottom:1px solid #EEEEEE;}
.navright li a{ color: #333;}

#mainnav {
    display: none;
    transition: max-height 0.3s ease;
}

/* 当添加 active 类时显示 */
#mainnav.active {
    display: block;
}

#mainnav1 {
    display: none;
    transition: max-height 0.3s ease;
}

/* 当添加 active 类时显示 */
#mainnav1.active {
    display: block;
}


}