﻿.topbar{ height: 52px; padding: 15px 0; background: #f7f9fa; color: #666666;}
.topbar a{ color: #666666;}
.topbar a:hover{ color: #00ae9b;}
.topbar-left{}

.topbar-right{}
.topbar-right em a{ display: inline-block;}
.topbar-right em a:after{ content: "|"; color: #CCCCCC; padding: 0 15px;}
.topbar-right i{ display: inline-block; padding-left: 15px;}
.topbar-right img{ margin-right: 15px;}

header{ padding: 25px 0;}
header .logo{ width: 219px; height: 49px;}
header .logo a{ display: block; width: 219px; height: 49px; }
header .logo a img{width: 219px; height: 49px;}
header .logo a h1{display: none;}
header .hright{ width: calc(100% - 219px); padding-left: 85px;}

header .hsearch-box{width: 65%;}
header .hsearch{ width: 100%; height: 40px; background: #FFFFFF; border:1px solid #0C6E87; border-radius:4px; position:relative;}
header .hsearch input{ width: 85%; height: 38px; line-height: 38px; border: none; background:none; padding: 0 20px; font-size:0.9rem;}
header .hsearch button{ border: none;  width: 15%;  height: 38px; line-height: 38px; background: #0C6E87; font-size:1.2rem; color: #FFFFFF}
header .hsearch-txt{ line-height: 32px;}
header .hsearch-txt a{ margin-right: 10px;}


header .hcart{ width: auto;}
header .hcart a{ display: inline-block; padding: 0 12px; height: 40px; line-height: 40px; border-radius:4px; position: relative;}
header .hcart a img{ margin-right: 5px;}
header .hcart a.hcarta1{ background: #00AE9B; color: #FFFFFF; margin-right:10px;}
header .hcart a.hcarta2{ color: #00AE9B; background: #FFFFFF; border:1px solid #00AE9B;}
header .hcart a.hcarta2 em{ border-radius:50%; display: inline-block; width: 20px; height: 20px; line-height: 20px;  text-align: center; color: #FFFFFF; margin-left: 5px; font-size: 0.8rem; background: #00AE9B;}

.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{line-height:24px;color: #999!important;}
.search-window ul.search-rst{
    padding-left: 0;
}
.search-window ul.search-rst li{margin-bottom: 4px;}
.search-window ul.search-rst li a p{color:#000;margin-bottom: 0px;}
.search-window ul.search-rst li a:hover p{color:#00ae9b;}
.search-window ul.search-rst li a p.mfg{ color:#999 }
.search-window b{font-size:1rem; display:block;}



header .topmenu{ display: none;}


.navigation-main{ height: 48px; border-bottom:2px solid #0c6e87;  }


.navigation-main-left{ width: 20%; padding: 0 18px; height: 46px; line-height: 46px; background: #0c6e87;  border-radius: 8px 8px 0 0; position: relative;}
.navigation-main-left a{ font-size: 1rem; color: #FFFFFF; }
.navigation-main-left a i.fa-th{  display: block;  height: 46px; line-height: 46px;}



.navright{ width: 80%; line-height: 46px; padding-left: 15px;}
.navright li{ position: relative;}
.navright a{ font-size: 1rem; color: #111111; display: inline-block; padding: 0 15px;}
.navright a:hover{ background: #f9f9f9; border-radius:6px 6px 0 0 ;}
.navright li ul{ display: none; width: 150px; text-align: center; background: #FFFFFF; box-shadow: 3px 3px 20px 0 rgba(0,0,0,.1);  border-radius:6px; position: absolute; left: 0; top: 46px; z-index: 666;}
.navright li ul li a{ padding: 0; display: block; font-size: 0.9rem; height: 42px; line-height: 42px;}
.navright li ul li a:hover{ background: #0c6e87; color: #FFFFFF; border-radius: 0 }
.navright li  a i{ margin-right:5px; color:#0C6E87;}


.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: 2px solid #0c6e87; position: absolute; display: none; top:46px; 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: 36px; height: 36px; 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: 36px; color: #999; font-size: 18px;}
.navigation-main-left ul li a:hover{ background: #0c6e87; 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: #0c6e87;}
.navigation-main-left ul li ul{ display: none; padding: 20px; width: 900px; border:2px solid #0c6e87; 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;}

.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: linear-gradient( 89deg, #0c6e87 0%, #0d4857 100%);; width: 120px;}
#web-language-close{ width: 60px; font-size: 1.5rem;}


#home .home,
#products .products,
#brand .brand,
#rfq .rfq,
#news .news,
#contact .contact,
#about .about{ background: #f9f9f9; border-radius:6px 6px 0 0 ;}



@media (max-width: 768px) {

.topbar{ display: none;}
header{ padding: 10px 0; height: 62px; }
header .logo { width: auto !important; height: 42px !important;}
header .logo a img{ width: auto !important; height: 42px !important;}
.hright{ display: none;}


.navigation-main{height: 0; padding: 0;}
.navigation-main-left{ display: none;}






.navright{ width: 100%; height: auto; line-height: 38px; padding-left: 0;}
nav{ width: 100%; display: none; height: auto; background: #FFFFFF; line-height: 42px; position: absolute; left: 0; top: 62px; 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;}


header .topmenu{ display: block; margin-top: 3px;}
header .topmenu a{ border: 1px solid #0c6e87; color: #0c6e87; border-radius: 3px; padding: 8px; font-size: 20px; }

.navright a{ display: block; width: 100%;}
.navrightmobile ul li{ height: auto;}
.navrightmobile ul li ul{ position: inherit; left: inherit; top: inherit; width: 100%;}
.navrightmobile ul li ul li a{ padding: 0 45px; text-align: left;}

#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;
}


}