﻿.top-bar{ width: 100%; height: 45px; line-height: 45px; background: #353535; color: #FFFFFF;}
.top-bar a{color: #FFFFFF;}
.top-bar-left{ width: auto;}
.top-bar-left h1{ display:inline-block; font-weight:normal; font-size:0.9rem; color:#fff;}
.top-bar-right{ width: auto;}
.top-bar-login{color: #FF7E01;}
.top-bar-login a{color: #FF7E01;}

.top-bar-list{}
.top-bar-list a:before{ content: "|"; color: #999; padding: 0 15px;}


.header-box{ background: #FFFFFF; margin-top: 20px; padding: 20px; background: #FFFFFF; border-radius:10px;}


header{ width: 100%;}

header .logo{}
header .logo a{ display: block; width: 216px; height: 84px; background: url(../images/logo.jpg) no-repeat;}
header .logo a h1{ display: none;}

header .header-right{ width: calc(100% - 300px);}

header .header-search{width: calc(100% - 350px);}
header .hsearch{ width: 100%; height: 42px; position:relative;}
header .hsearch input{ width: 90%; border: none; background: none; height: 42px; line-height: 38px; padding: 0 20px; border-radius: 6px 0 0 6px;border: 2px solid #053099;}
header .hsearch button{ width: 10%; background: #053099; color: #FFFFFF; border: none; border-radius:0 6px 6px 0;}
header .hsearch button i{ font-size: 1.2rem; margin-right: 10px;}
header .hsearch button:hover{ background: #FF7E01;}
header .hsearch .hsearchshow{ width: 100%; }
header .hsearch .htxt{ width: 100%; line-height: 30px;}
header .hsearch .htxt a{ font-size: 0.8rem; margin-right: 15px;}
header .hsearch .htxt a:nth-child(odd){ color: #FF7E01;}
header .hsearch .htxt a:nth-child(even){ color: #053099;}

.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: 38px;left: 0;width: 100%;z-index: 999;}
.search-window a{line-height:24px;color: #999!important;}
.search-window a:hover{ color:#053099 !important; }
.search-window ul.search-rst{
    padding-left: 0;
}
.search-window ul.search-rst li{ margin-bottom:3px;}
.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;}



header .header-cart{ }
header .header-cart a{ display: inline-block; position: relative; padding: 0 20px; margin-left: 20px; border-radius: 6px; height: 42px; line-height: 42px;  }
header .header-cart a img{ margin-right: 5px;}
header .header-cart a:first-child{background: #DFFAE5; color: #2A9D2C;}
header .header-cart a:last-child{background: #FFE8D2; color: #FF7E01;}
header .topmenu{ display: none;}


nav{ width: 100%; height: 46px; line-height: 46px; padding-right: 80px; margin-top: 10px;}
nav li a{ font-size: 1rem; font-weight: bold; color: #111; padding: 0 18px;}
nav li a:hover{ color: #053099;}

.section-box{ width: 100%; margin-top: 10px;}
.section-box-left {
    width: 20%;
    background: #f9f9f9;
    border-radius: 6px;
}

/* 左侧分类整体 */
.navigation-main {
    width: 100%;
    position: relative;
    z-index: 999;
}

/* 顶部全部分类 */
.navigation-main span {
    display: block;
    font-weight: bold;
    color: #111111;
    font-size: 1rem;
}

.navigation-main a.navlinks {
    width: 100%;
    height: 46px;
    line-height: 46px;
    padding: 0 20px;
    box-sizing: border-box;
}

/* 左侧一级分类列表 */
.navigation-main > ul#category-list {
    width: 100%;
    z-index: 999;
    padding-bottom: 10px;
    background: #f9f9f9;
    box-sizing: border-box;
}

/* 一级分类项 */
.navigation-main > ul#category-list > li {
    position: static !important;
}

/* 一级分类链接 */
.navigation-main > ul#category-list > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    line-height: 30px;
    height: 30px;
    overflow: hidden;
    color: #333333;
    padding: 0 20px;
    box-sizing: border-box;
}

/* 一级分类文字 */
.navigation-main > ul#category-list > li > a span {
    display: block;
    font-weight: normal;
    color: #333333;
    font-size: 14px;
    max-width: 190px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 一级分类图标 */
.navigation-main > ul#category-list > li > a img {
    margin-right: 10px;
}

/* 一级分类右箭头 */
.navigation-main > ul#category-list > li > a i {
    line-height: 30px;
    color: #999999;
    font-size: 18px;
}

/* 左侧 hover 效果，保持原来的蓝色 */
.navigation-main > ul#category-list > li:hover > a,
.navigation-main > ul#category-list > li.active > a {
    background: #053099;
    color: #ffffff;
}

.navigation-main > ul#category-list > li:hover > a span,
.navigation-main > ul#category-list > li.active > a span {
    color: #ffffff;
}

.navigation-main > ul#category-list > li:hover > a i,
.navigation-main > ul#category-list > li.active > a i {
    color: #ffffff;
}

.navigation-main > ul#category-list > li:hover > a img {
    filter: brightness(0) invert(1);
}

/* 查看全部分类 */
.navigation-main > ul#category-list > li.navmore {
    font-weight: bold;
    margin-top: 5px;
}

.navigation-main > ul#category-list > li.navmore > a {
    font-weight: bold;
}

.navigation-main > ul#category-list > li.navmore > a:hover {
    background: none;
    color: #053099;
}

.navigation-main > ul#category-list > li.navmore > a:hover span {
    color: #053099;
}

/* ===========================
   右侧二三级分类大面板
   =========================== */

.navigation-main .mega-panel {
    display: none;
    position: absolute !important;
    left: 100% !important;
    top: 0 !important;
    width: 900px;
    min-height: 420px;
    max-height: 520px;
    overflow-y: auto;
    background: #ffffff;
    border: 2px solid #053099;
    padding: 25px 35px;
    box-sizing: border-box;
    z-index: 10000;
}

/* 鼠标经过一级分类显示右侧面板 */
.navigation-main > ul#category-list > li:hover .mega-panel {
    display: block !important;
}

/* 如果当前分类下面没有三级，只显示二级平铺 */
.navigation-main > ul#category-list > li:hover .mega-panel.mega-panel-simple {
    display: grid !important;
}

/* 只有二级分类时的平铺效果 */
.navigation-main .mega-panel-simple {
    grid-template-columns: repeat(4, 1fr);
    column-gap: 45px;
    row-gap: 16px;
    align-content: flex-start;
}

.navigation-main .mega-simple-link {
    display: block;
    color: #333333;
    font-size: 14px;
    line-height: 24px;
    height: auto;
    padding: 0;
    background: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.navigation-main .mega-simple-link:hover {
    color: #053099;
    background: none;
}

/* 每组二级分类 */
.navigation-main .mega-section {
    margin-bottom: 28px;
}

/* 二级分类标题 */
.navigation-main .mega-title {
    display: inline-flex;
    align-items: center;
    color: #111111;
    font-size: 15px;
    font-weight: bold;
    line-height: 24px;
    height: auto;
    margin-bottom: 12px;
    padding: 0;
    background: none;
}

.navigation-main .mega-title i {
    margin-left: 10px;
    color: #777777;
    font-size: 15px;
    line-height: 24px;
}

.navigation-main .mega-title:hover {
    color: #053099;
    background: none;
}

.navigation-main .mega-title:hover i {
    color: #053099;
}

/* 三级分类列表 */
.navigation-main .mega-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 45px;
    row-gap: 12px;
}

/* 三级分类链接 */
.navigation-main .mega-links a {
    display: block;
    color: #586a83;
    font-size: 14px;
    line-height: 22px;
    height: auto;
    padding: 0;
    background: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.navigation-main .mega-links a:hover {
    color: #053099;
    background: none;
}

/* 没有三级分类时，二级标题单独显示 */
.navigation-main .mega-section-no-child {
    margin-bottom: 16px;
}

/* 清理旧版 ul 子菜单影响 */
.navigation-main ul li ul {
    display: none !important;
}

.navigation-main ul li:hover ul {
    display: none !important;
}

/* 右侧面板滚动条 */
.navigation-main .mega-panel::-webkit-scrollbar {
    width: 6px;
}

.navigation-main .mega-panel::-webkit-scrollbar-track {
    background: #f5f5f5;
}

.navigation-main .mega-panel::-webkit-scrollbar-thumb {
    background: #c8c8c8;
    border-radius: 10px;
}

.navigation-main .mega-panel::-webkit-scrollbar-thumb:hover {
    background: #999999;
}


.section-box-banner{ width: 55%;}

.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; border-radius: 8px; }
.main_visual .owl-prev,.main_visual .owl-next{ display: none; text-indent: -999px; overflow: hidden;}

.main_visual .owl-dots{ width: 100%; text-align: center; height: 4px; position:absolute; left: 0; bottom:20px;  z-index: 999;}
.main_visual .owl-dots .owl-dot{display: inline-block;  margin:0 4px;}
.main_visual .owl-dots .owl-dot span{  display: inline-block; width: 20px; height: 4px; background:#FFFFFF; border-radius: 4px;}
.main_visual .owl-dot.active span{ background:#f8491e; }
.main_visual .owl-nav{ display: none; height: 0;}

.section-box-ad{ width:15%; gap: 10px; grid-template-columns: repeat(1, 1fr); /* 3 列 */  display: grid;}
.section-box-ad a{ display: block; width: 100%; height: auto; overflow: hidden; border-radius: 10px;}
.section-box-ad a img{ width: 100%; height: auto; border-radius: 10px;}

.section-box-user{ width: 23%; }
.section-box-user-login {
  width: 100%;
  padding: 13px;
  box-sizing: border-box;

  border: 2px solid transparent;
  border-radius: 10px;
text-align: center;
  background:
    linear-gradient(#FFFFFF, #FFFFFF) padding-box,
    linear-gradient(315deg, rgba(185, 157, 249, 1), rgba(82, 226, 250, 1), rgba(63, 148, 254, 1)) border-box;
}

.section-box-user-login h2{ font-weight: normal; font-size: 0.95rem; line-height: 18px; margin-bottom: 12px;}
.section-box-user-login span a{ display: inline-block; height: 39px; line-height: 37px;  border-radius: 4px; padding: 0 35px; margin: 0 5px;}
.section-box-user-login span a:first-child{ background: #3095f0; border:1px solid #3095f0; color: #FFFFFF; }
.section-box-user-login span a:last-child{ border:1px solid #3095f0;  color: #3095f0;}

.section-box-user-blog{ width: 100%; margin-top: 9px; background: linear-gradient( 36deg, #F7DEE0 0%, #FFFFFF 100%);border-radius: 10px; padding: 10px 20px;}
.section-box-user-blog-title{ width: 100%; height: 26px; line-height: 26px; margin-bottom: 3px;}
.section-box-user-blog-title h2{ font-weight: normal; font-size: 0.95rem;}
.section-box-user-blog-title a{ font-size: 0.9rem; color: #777777;}
.section-box-user-blog-title a i{ margin-left: 10px;}

.section-box-user-blog-list{ width: 100%;}
.section-box-user-blog-list dl{ line-height: 24px; height: 24px; overflow: hidden;}
.section-box-user-blog-list dl dt{ color: #FF7E01; font-weight: bold;}
.section-box-user-blog-list dl dd a:hover{color: #FF7E01;  }

.section-box-user-menu{width: 100%; padding: 10px 20px; margin-top: 9px; border-radius: 10px; background: #f7f7f8; gap: 10px; grid-template-columns: repeat(3, 1fr); /* 3 列 */  display: grid;}
.section-box-user-menu dl{ width: 100%; text-align: center;}
.section-box-user-menu dl dd{ line-height: 25px;}


@media (max-width: 768px) {
.top-bar{ display: none;}
.section-box{ margin-top: 0;}
header{border-bottom: 1px solid #EEEEEE; padding-bottom: 10px;}
.header-box{ margin-top: 0; padding: 10px; }
.header-box.container{ width: 100%;}
header .logo a{ display: block; width:210px; height: 51px; background: url(../images/logom.jpg) no-repeat;}


header .topmenu{ display: block; }
header .topmenu a{ border: 1px solid #053099;  color: #053099; border-radius: 3px; padding: 8px; font-size: 20px; }

header .header-right{ display: none;}
.section-box-left{display: none;}
.section-box-banner{ width: 100%; margin-top: 10px;}
.section-box-ad{display: none;}
.section-box-user{display: none;}

nav{ border-radius:0 ; padding-right: 0; 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;}


.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;}



#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;
}


}