@import url(./base.css);
/* 通过 CSS 引入 */

/* 模糊淡入 */
@keyframes blurFadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 20px, 0);
        filter: blur(1px);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
        filter: blur(0);
    }
}

.blurFadeInUp {
    animation-name: blurFadeInUp;
    animation-timing-function: ease-out;
}

/******************header*******************/
.breadcrumb span,.breadcrumb a{font-size: calc(18*var(--vw))}
.inner-page .header-top{}
.header .logo{}
.header-top{height: 50px;color: #fff;}
.header{position: fixed; /* 优先用 sticky 代替 fixed */top: 0;height: calc(150 * var(--vw));width: 100%;z-index: 999;color: #000;transition: all 0.5s ease;box-shadow: 0 2px 10px rgba(0, 0, 0, 0); /* 初始无阴影 */}
.header.scrolled{height: calc(150 * var(--vw)); /* 高度收缩 */background:var(--color-primary); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* 下滑后显示阴影 */}
.inner-page .header{background:var(--color-primary); }
.inner-page:not(.page-contact):not(.showarticle) {
    padding-top: calc(150 * var(--vw));
}
header{height:100%;display:flex;}
header .logo{transition: 0.8s all ease;width:calc(300 * var(--vw));font-size: 24px; font-weight: bold;z-index: 998;transform: translate(-50%, 200px) scale(4);}
.inner-page .header .logo{transform: translate(-50%, -50%) scale(1);}
header .menu{align-self: stretch;font-size: calc(20 * var(--vw));text-transform: capitalize;z-index: 998;}
header .other,header .searchbox{z-index: 998;}
header .menu ul.menu-0{display: flex;align-items: center;height: 100%;}
header .menu ul.menu-0>li>a{position: relative;}
header .menu ul.menu-0>li.active{}
/*header .menu ul.menu-0>li.active>a::after,*/
header .menu ul.menu-0>li:hover>a::after
{content: "";position: absolute;bottom: -10px;left: 50%;width:120%;height: 2px;background-color:#fff;transform: translateX(-50%);}
header .menu ul.menu-0>li:hover .dropdown-menu-1{background-color:#fff ;visibility: visible;transform: translate(0%,0px);opacity: 1;     color: #000;}
header .menu ul.menu-0>li{padding: 0 calc(20 * var(--vw));display: flex;align-items: center;height: 100%;position: relative;}
.header.scrolled .logo{transform:translate(-50%,-50%) scale(1);z-index:99999}

@media screen and (max-width: 1550px) {
}

/* 下拉菜单美化 - 居中并对齐 */
header .menu ul.dropdown-menu-1 {
    flex-direction: column;
    visibility: hidden;
    position: absolute;
    opacity: 0;
    top: 100%;
    left: 50%; /* 居中关键：相对于父元素居中 */
    transform: translateX(-50%) translateY(10px); /* 水平居中 + 初始偏移 */
    width: auto; /* 自动宽度，适应内容 */
    min-width: 180px; /* 最小宽度，避免太窄 */
    transition: all 0.3s ease-out;
    background: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 999;
    text-align: center; /* 文本居中 */
}

/* 悬停时显示下拉菜单 */
header .menu ul.menu-0 > li:hover .dropdown-menu-1 {
    visibility: visible;
    transform: translateX(-50%) translateY(0); /* 水平居中 + 无偏移 */
    opacity: 1;
}

/* 下拉菜单项样式 */
header .menu ul.dropdown-menu-1 > li {
    width: 100%;
    text-align: center; /* 确保文本居中 */
    padding: 8px 20px; /* 增加左右 padding */
    transition: all 0.2s ease;
    white-space: nowrap; /* 防止换行 */
}

/* 下拉菜单项悬停效果 */
header .menu ul.dropdown-menu-1 > li:hover {
    background-color: var(--color-secondary);
    color: white;
}

/* 二级下拉菜单（如果有） */
header .menu ul.dropdown-menu-2 {
    position: absolute;
    left: 100%;
    top: 0;
    visibility: hidden;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    min-width: 180px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center; /* 文本居中 */
    color:#333;
}

/* 二级菜单显示效果 */
header .menu li.dropdown-submenu:hover .dropdown-menu-2 {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
}
header .menu ul.dropdown-menu-2 li{padding:5px 0}
header .menu ul.dropdown-menu-2 li:hover{background-color: var(--color-secondary);color: white;}
/* 当前激活菜单项样式 */
header .menu ul.menu-0 > li{color:#fff;}
header .menu ul.menu-0 > li.active {}
/* 菜单项悬停效果 */
header .menu ul.menu-0 > li:hover {color: #fff;}
.inner-page.page-contact .header,
.inner-page.showarticle .header
{position: relative;background:var(--color-primary)}



/******************banner*******************/
.banner .pic{width: 100%;overflow: hidden;}
/*.banner .pic img{transition: all 0.5s ease-in-out;}*/
/*.banner .swiper-slide-active img {animation: scaleImg 15s ease forwards;}*/
.banner .swiper-slide-active .pic .wenzi {transform: translateY(0);opacity: 1;transition: all 1s linear;}
.banner{position: relative;}
.warp{width:76.9%;margin: 0 auto;}

/*index*/
@keyframes heartbeat {
    0% { transform: scale(1); }
    14% { transform: scale(1.04); }
    28% { transform: scale(1); }
    42% { transform: scale(1.06); }
    70% { transform: scale(1); }
}
.animate-heartbeat{  animation: heartbeat 3s ease-in-out infinite;}
/****************footer**********************/


/******************common*******************/
.title-all h4{font-size: calc(36*var(--vw));font-weight: 500;}
.title-all h5{font-size: calc(28*var(--vw));color: #b8b8b8;margin-top: 20px;letter-spacing: 2px;font-weight:500}


/******************侧边栏*******************/
.leftsearch .form-control,
.leftsearch .input-group-text {  border-radius: 1.5rem; background-color: #fff}
.leftsearch  #search-keyword{  display: block; width: 100%;padding: 0.375rem 0.75rem;font-size: 14px;font-weight: 400;line-height: 1.5;color:#333;background-color: #fff;background-clip: padding-box;border: 1px solid  #999;border-right: none;-webkit-appearance: none;-moz-appearance: none;appearance: none;border-radius: 0.375rem;transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;border-top-right-radius: 0;border-bottom-right-radius: 0;}
.leftsearch .input-group-text{display: flex;align-items: center;padding: 0.375rem 0.75rem;font-size: 1rem;font-weight: 400;line-height: 1.5;color: #333;text-align: center;white-space: nowrap;background-color: #eee;border: 1px solid #999;border-radius: 0.375rem;border-top-left-radius: 0;border-bottom-left-radius: 0;}

.leftborder{border: 1px solid var(--cprimary);}
.leftsidetitle{position: relative;}
.leftsidetitle .title{ position: relative; z-index: 2; line-height: 3.25rem;font-size: 1rem;}
.leftsidetitle .title span{ display: inline-block; margin:0 0;font-size:1rem; font-family: var(--titlefamily); font-weight: 600;}
.leftsidecategorylist ul li{position: relative;border-bottom: 1px solid var(--cprimary);}
.leftsidecategorylist ul li a{ padding: 0.5rem 1rem; line-height: 2rem; display: block;}
.leftsidecategorylist ul li a i{ float: right;line-height: 2rem; }
.leftsidenewslist ul li a{ padding: 0.25rem 1rem; line-height: 2rem; display: block;}
.leftsidekeywordslist ul li{ margin: 0.25rem 0;}
.leftsidekeywordslist ul li a{display: block;text-align: center;font-size: 14px;color:var(--lightWords);line-height: 2rem;border: 1px dashed var(--cprimary);}
.leftsidekeywordslist ul li a:hover {color:var(--hongse); border-color: var(--hongse);}
.leftsidecontactlist{ line-height: 2rem;}

.menuTree ul{}
.menuTree li{line-height:3rem;color:var(--lvse); display:block;position:relative;}
.menuTree li:after{ position:absolute;content: "";display: block;height:1px;width:100%;border-bottom: 1px dashed var(--footerwords);left: 0; top: 2.9375rem;}
.menuTree li a{font-size: 16px;line-height:3rem;height:3rem;overflow:hidden; position:relative;color:var(--color-grey );white-space:nowrap;text-overflow:ellipsis;word-break:break-all;border-bottom:1px dashed #cecccc;padding:0 0.25rem;}
.menuTree li a::before{ display: inline-block;content: ""; height: 1rem; width: 1rem; border: 1px solid var(--color-grey ); margin-right: 0.75rem;}
.menuTree ul li a.active::before{ background-color: var(--color-text );}
.menuTree ul ul a{font-size: 12px;color: #666}
.menuTree li i{    user-select: none; display:block; float:right; color:var(--color-grey ); font-size:24px; width: 20px; height: 45px; line-height: 45px; text-align: center; font-style: normal; position: absolute; top: 0; right: -3px; cursor: pointer;}
.menuTree li.parent>i.parent::after{content: "+"; display: block;}
.menuTree li.parent.expanded>i.parent::after{content: "-"; display: block;}
.menuTree ul li ul li a{line-height:3rem;height:3rem;overflow:hidden;color:var(--color-grey );white-space:nowrap;text-overflow:ellipsis;word-break: break-all; display:block;padding:0 0.25rem 0 2rem;}
.menuTree ul li ul li a:hover,.menuTree ul li a.active{color:var(--color-grey );/*text-decoration:underline;*/}
.menuTree ul li ul li ul li a{padding:0 0.25rem 0 3rem;}
.menuTree ul li ul li ul li ul li a{padding:0 0.25rem 0 3rem;}

/******************服务中心*******************/
.page-server .content {font-size: calc(20 * var(--vw));}
.page-server .step {margin-top:calc(20 * var(--vw));line-height: 2;padding-left: calc(22 * var(--vw));position: relative;}
.page-server .step::after {content: attr(data-step);position: absolute;width: calc(18 * var(--vw));height: calc(18 * var(--vw));border-radius: 50%;font-size: calc(12 * var(--vw));display: flex;justify-content: center;align-items: center;background-color: #301500;color: white;left: 0;top:calc(10 * var(--vw));}
.page-server .step p {line-height: 2;margin: 0;}
.page-server .step + .step {margin-top: 1.25rem;}
.page-server ol li{list-style:auto}
/******************新闻详情页面*******************/
.showarticle img{display: inline-block;}
/******************产品详情页面*******************/
[thumbsslider] .swiper-slide{cursor: pointer}
[thumbsslider] .swiper-slide-thumb-active>div  {background: #F0E2D3;}
.contentshow img{margin: auto;width: 100%}
/* 容器整体布局 */

/* 主图 Swiper */

/**新闻列表**/

/**新闻详情**/

/** weihzi.html **/
.weihzhibg li { position: relative;}
.weihzhibg li::after{position: absolute;content: '';width: 60%; height: 2px;background:var(--color-primary);left: 50%;bottom: -21px; transform: translateX(-50%);visibility: hidden;}
.weihzhibg li.active::after{visibility: visible;}
.weihzhibg li a{display: block;line-height: 2rem;}
.weihzhibg li:not(:last-of-type)::before{content: "";position: absolute;top: 50%;right: 0;width: 2px;height: 13px;background-color: #ddd;z-index: -1;transform: translateY(-50%);}
.mb .active{color:var(--color-primary)}
/*****************list-image.html*******************/
/**除了中文*/
html:not([lang="zh-cn"]) header .menu{font-size: calc(14 * var(--vw));}
html:not([lang="zh-cn"]) header .menu ul.menu-0 > li {padding: 0 calc(14 * var(--vw));}
html:not([lang="zh-cn"]) .indexabout .warp-about{width: calc(1500 * var(--vw));}
html:not([lang="zh-cn"]) .indexvideo{width: calc(1500 * var(--vw));margin: 0 auto}
html:not([lang="zh-cn"]) .indexvideo .l{width: calc(900 * var(--vw));}
html:not([lang="zh-cn"])  .category_product_warp{gap:calc(185*var(--vw))}
html:not([lang="zh-cn"])  .category_product_warp .r{width: calc(850 * var(--vw));font-size:calc(24 * var(--vw));}
/*英文版*/

/*[lang="en"] header .menu ul.menu-0>li{    padding: 0 calc(8 * var(--vw));}*/



@media screen and (max-width: 768px) {
    .warp{width: 90%!important;min-width: auto;margin: 0 auto;min-width: 0px!important;}
    .title-all h4{ font-size: calc(24 * var(--vw));}
    .title-all h5{ font-size: calc(18 * var(--vw));margin-top: 10px;letter-spacing: 0}
    body{--swiper-navigation-size: 14px;--swiper-theme-color: #fff;}
    #app{padding-top: 0px;}
    body{padding-bottom:64px}
    header .menu ul.dropdown-menu-1{top:calc(100% + 20px)}
    header .menu{font-size:calc(14 * var(--vw));background:var(--color-primary);padding-bottom:10px}
    header .menu ul.menu-0{width:100%;display:flex;justify-content:space-evenly;align-items:center;padding-bottom: 10px;}
    header .menu ul.menu-0>li{padding:0}
    .banner .pic .bannerlogo{width: calc(100 * var(--vw))}

    html:not([lang="zh-cn"]) .category_product_warp{gap: calc(40 * var(--vw));}
    html:not([lang="zh-cn"]) .category_product_warp .r{    font-size: calc(16 * var(--vw));width: 100%;}
    .breadcrumb span, .breadcrumb a{font-size: calc(12 * var(--vw));}
    .page-server .content{font-size: calc(12 * var(--vw));}
    .page-server .step::after{width: calc(15 * var(--vw));height: calc(15 * var(--vw));top: calc(5 * var(--vw));}
    .showarticle img{display: block}
    .showarticle p span,.showarticle p {font-size: 14px!important;}
}



