﻿.topbar{ width: 100%; height: 52px; background: #222222; color: #FFFFFF;}

.topbar-left{}
.topbar-left span{ display: block;}
.topbar-left span a{ color: #FDC500; text-decoration: underline;}
.topbar-left span:after{ content: "|"; padding: 0 20px; }

.topbar-left em{ display: block; height: 20px; line-height: 20px; }
.topbar-left em a{ display: block; color: #FFFFFF}
.topbar-left em a img{ margin-right: 10px; margin-left: 10px;}
.topbar-left em a:hover{ text-decoration: underline;}



.topbar-right1{}
.topbar-right1 a{ color: #FFFFFF;}
.topbar-right1 a img{ margin-right: 5px;}
.topbar-right1 a:first-child:after{ content: "|"; padding: 0 20px; color: #FFFFFF;}
.topbar-right1 a:hover{ text-decoration: underline;}


.topbar-share{padding-left: 20px;}
.topbar-share a{ font-size: 1.1rem; margin-left: 10px; color: #FFFFFF;}
.topbar-share a:hover{color: #FDC500;}

header{ width: 100%; background: #313131;}

.header-all{ padding: 25px 0;}

.logo{ width: 209px;}
.logo h1{ display: none;} 
.logoimg img {
  animation: rotate360 10s linear infinite; /* 10s一圈，可自行调整速度 */
}

/* 定义旋转动画 */
@keyframes rotate360 {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.header-right{ width: calc(100% - 309px);}



.hsearch{ width: 80%; height: 46px; background: #FFFFFF;  border-radius:4px; position:relative;}
.hsearch input{ width: 90%; height: 46px; line-height: 46px; border: none; background:none; padding: 0 25px;}
.hsearch button{ border: none; border-radius:0 4px 4px 0; width: 10%;  height: 46px; line-height: 46px; background: #ffbf43;  font-size:1.2rem;}
.hsearch button:hover{ background: #d64851;}


.hcart{}
.hcart dl{ height:46px; background: #454545;border-radius: 4px 0px 0px 4px;}
.hcart dl a{ color: #FFFFFF;}
.hcart dl dt{ padding: 0 20px;}
.hcart dl dt img{ margin-right: 10px;}
.hcart dl dd{padding: 0 12px; height: 100%; background: #d64851; border-radius: 0 4px 4px 0;}
.hcart dl dd a{ display: block; }


.nav-box{}


.web-language-box{ display:none; background:rgba(0,0,0,.5); width:100%; height:100%; position:fixed; left:0; top:0; z-index:999;}
.web-language-box .flex{width:100%; height:100%;  }
.web-language-box .flex a{ display: inline-block; border-radius:6px; height: 42px; line-height: 42px; overflow: hidden; text-align: center; color: #FFFFFF; margin-bottom: 10px;  background:#ffbf43; width: 120px;}
#web-language-close{ width: 60px; font-size: 1.5rem;}



.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: 100%;z-index: 999;}
.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:#d64851;}
.search-window ul.search-rst li a p.mfg{ color:#999 }
.search-window b{font-size:1rem; display:block; line-height:32px; border-bottom:1px solid #eee; margin-bottom:10px;}


header .topmenu{ display: none;}


.nav-main{}
.navigation-main-left{ width: 21%; height: 46px; line-height: 46px; background: #181818; border-radius: 4px 4px 0 0; padding: 0 15px; position: relative;}
.navigation-main-left a{ color: #FFFFFF; display: block; font-size: 1rem;}
.navigation-main-left a i.fa-th{ margin-right: 10px;}
.navigation-main-left a i.fa-angle-down{ line-height: 48px; font-size: 1.2rem;}



.navigation-main-left:hover ul.navul{ display: block;}
.navigation-main-left ul{ width: 100%; padding: 10px 0; z-index: 999; background: #FFFFFF;  border-radius:0 0 6px 6px; box-shadow: 0px 8px 16px 1px rgba(0,0,0,0.08); border: 1px solid #E9F0F9; border-top: none;  position: absolute; display: none; top:48px; left: 0; }
.navigation-main-left ul li{ font-size: 0.9rem; font-size: 0.9rem;}
.navigation-main-left ul li a{ display: block; line-height: 30px; height: 30px; overflow: hidden; padding: 0 20px; color: #333333; font-size: 0.9rem; }
.navigation-main-left ul li a img{ margin-right: 10px;}
.navigation-main-left ul li a i{ line-height: 30px; color: #999; font-size: 18px;}
.navigation-main-left ul li a:hover{ background: #d64851; color: #FFFFFF}
.navigation-main-left ul li a:hover i{ color: #FFFFFF;}
.navigation-main-left ul li a:hover img{filter: brightness(0) invert(1);}
.navigation-main-left ul li.navmore{ font-weight: bold; margin-top: 10px; font-size: 1rem;}
.navigation-main-left ul li.navmore a:hover{ background: none; color: #d64851;}
.navigation-main-left ul li ul{ display: none; padding: 20px; width: 900px; border:2px solid #d64851; min-height: 420px; position: absolute; left:100%; top: 0; background: #FFFFFF;}
.navigation-main-left ul li ul li{ width: 33.3%; line-height: 30px; height: 30px; overflow: hidden; float: left;}
.navigation-main-left ul li ul li a{ display: block; line-height: 30px; height: 30px; color: #333333;}
.navigation-main-left ul li ul li a:hover{ color: #FFFFFF;}
.navigation-main-left ul li:hover ul{ display: block;}


.navright{ background: #181818; height: 46px; line-height: 46px; border-radius: 4px 4px 0 0;}
.navright a{ color: #FFFFFF; padding: 0 21.5px; display: block;}
.navright a:hover{ background: #3a3a3a;}


.navigation-bom{height: 46px;}
.navigation-bom a{ background: #ffbf43; border-radius: 4px 4px 0px 0px; height: 46px; padding: 0 15px;}
.navigation-bom a img{ margin-right: 8px;}
.navigation-bom a:hover{ background: #d64851; color: #111;}

@media (max-width: 768px) {

.topbar{ display: none;}

header.container{background: #FFFFFF; width: 100%; padding: 15px 3%;}
header .header-right{ display: none;}
.header-all{ padding: 15px 0;}
header .topmenu{ display: block; }
header .topmenu a{ border: 1px solid #ffbf43;  color: #ffbf43; border-radius: 3px; padding: 8px; font-size: 20px; }

.logo{ width: auto;}

.navright li.navlangue{ display: block;}
.logo img{ width: 90px; height: auto;}
.logoimg{ margin-right: 15px;}
.logoimg img{ width: 50px; height: auto;}


.web-language-box .flex a{ display: block; width: 48%; float: left; margin: 1%; }
.web-language-box .flex div{ width: 100%; justify-content: space-between;}
#web-language-close{ width: 60px; font-size: 1.5rem;}



.nav-main{height: 0; overflow: hidden;}

.navright{ width: 100%; height: auto; line-height: 38px; padding: 0;}
nav{ width: 100%; display: none; height: auto; background: #FFFFFF; line-height: 42px; position: absolute; left: 0; top: 81px; z-index: 999;}
nav li {   background: #FFFFFF; width: 100%; height: 42px; line-height: 42px; border-bottom:1px solid #EEEEEE;}
nav li a{ color: #333 !important; padding: 0 10px;}


#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;
}


}