*{
    /*font-size: 1rem!important;*/
}
:root{
    --primary:#002B5B;
    --accent:#FFB703;
    --muted:#6c757d;
    --dark-blue:#0d1b3d;
    --accent-orange:#ff7a00;
    --page-bg:#f2f4f8;
    --card-bg:#ffffff;
    --text-light:#e6e6e6;
    --text-dark:#1a1a1a;
    --dark-blue:#0d1b3d;
    --bg-light:#f7f9fc;    
}
body{
    font-family: "Roboto", Arial, sans-serif;
    font-size: 1.0rem;
    /*line-height: 1.428;*/
    color: #474747;
    margin-bottom: 0 !important;
    background:#f7f9fc;
}
a{
    text-decoration: none;
}
a:hover {
text-decoration: underline;
}
.navbar{background:#fff; box-shadow:0 2px 8px rgba(0,0,0,.04);}
.navbar-brand{color:var(--primary); font-weight:700;}
/*侧边栏菜单*/
.sidebar-left ul{
	
	margin-bottom:15px;
}
.sidebar-left ul li{
	border-bottom:1px solid #fff;
	background:#f4f5f8;
}

.sidebar-left ul li h2{
	font-weight: bold;
	background:#17a2b8;
}

.sidebar-left ul li a,.sidebar-left ul li h2{
	font-size: 17px;
	padding:24px 30px;
	line-height:1;
}
.sidebar-left ul li p{
	font-size: 15px;
	padding:10px 20px;
	/*line-height:1;*/
}
.sidebar-left ul li a:hover{
	background:#e9e9e9;
}

span.btn{
    font-weight:bold;
}

/*.active{*/
/*    background:#e9e9e9!important;*/
    
/*}*/
/*.active a{*/
/*    color:#0056b3;*/
/*}*/

/*超出两行甚至多行，隐藏文本并显示省略号本*/
.card-title{
    
 text-overflow: -o-ellipsis-lastline;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 2;
  -webkit-box-orient: vertical;

}

/*公司介绍*/
.about .card-footer{
    background-color:#fff;
    border-top:none;
}
.about .card-text{
    color:#6c757d;
}

/*表格隔行变色*/
.ue-table-interlace-color-single{
    /*background-color: #fcfcfc;*/
}
.ue-table-interlace-color-double {
    /*background-color: #f7faff;*/
}

.nav>li:hover .dropdown-menu {display: block;}

/*相关产品*/
.pro-list ul li a{
	display: block;
	padding:10px;
	background: #fff;
	height:100%;
	border:1px solid #eee;	
	animation: fadeShow .5s;
	transition: all .3s;
}
.pro-list ul li a:hover{
	-moz-box-shadow: 0 0 .5em rgba(0,0,0,.2);
    -webkit-box-shadow: 0 0 0.5em rgb(0 0 0 / 20%);
    box-shadow: 0 0 0.5em rgb(0 0 0 / 20%);    
}
.pro-list ul li a:hover .text h3 {
    color: #247DE5;
}
.pro-list ul li a .text h3{
	font-size:16px;
	color:#888;
}
.text-overflow{
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}
/*相关文章*/
.post-xg ul li a{
	color: #888;
    border-bottom: 1px solid #eee;
    display: inline-block;
    padding-bottom: 10px;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding-left: 15px;
    font-size:15px;
}
.post-xg ul li a:hover {
    color: #247DE5;
}
.post-xg ul li a:before {
    content: '';
    position: absolute;
    top: 9px;
    left: 15px;
    width: 5px;
    height: 5px;
    background-color: #247DE5;
    border-radius: 50%;
}

/*首页产品分类*/
.cate .text{
	padding:5px;
	background:#001648;
	color:#fff;

}
.cate .text h3{
    font-size: 1.25rem

}
.cate a div.images{
	overflow: hidden;
}
.cate a:hover img{
	transform:scale(1.08);
}
.animate3s{
	transition: all 0.3s linear;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -ms-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
}
/*产品页表格*/
.content table td{
    padding:0 8px 0 8px;
}
/*价格样式*/
.pages .price{
    margin-left:-18px;
}
.pages .price strong{
    font-size:28px;
    font-weight: bold;
}
.pages .price strong span{
    font-size:18px;
    margin-left:10px
}
/*产品概况列表增加圆点*/
.pages .text-secondary{
    padding-left:15px;
}
.pages .text-secondary ul li{
    list-style:disc;
}
.pages .attri ul{
    padding-left:16px;
}
.pages .attri li{
    list-style:disc;
}
.pages .pic{
    height:120px;
    overflow:hidden;
}
.pages .pic img{
    width:70%;
    height:100%;
    object-fit:cover;
}
.pages .a{
    color:#007bff;
}
/*隔行变色*/
.content table tr{
    /*background-color:rgba(0,0,0,.05);*/
}
.content table tr:nth-child(2n){
    /*background-color:#fff;*/
}

/*表格自适应*/
table a{
    color:#007bff;
}
table{
    /*white-space: nowrap;*/
    width:100%;
    /*border:1px solid #222;*/
}
table td{
    border:1px solid #ccc;
}
/*表格链接文本颜色*/
.content table a{
    color:#548dd4;
}

.content table td{
    /*word-break: break-all; */
    word-wrap: break-word; /* 适配旧版浏览器 */
    overflow-wrap: break-word; /* 推荐用于现代浏览器 */
    border-width: 1px; border-style: solid;
}
.content img{
    max-width: 100%;
    height: auto;
}
.circle-span{
    display: block;
    width: 2.125rem;
    height: 2.125rem;
    color: #333;
    /*float: left;*/
    line-height: 2.125rem;
    text-transform: uppercase;
    text-align: center;
    vertical-align: middle;
    border-radius: 50%;
    font-family: Sandvik Sans Regular,Tahoma,Verdana,sans-serif;
}

.circle-span.p {
    background-color: #00b8f1;
}
.circle-span.m
{
    background-color: #ffea3d;
}
.circle-span.s
{
    background-color: #ffbb86;
}
.circle-span.k
{
    background-color: #ff2d16;
    color:#fff;
}
.circle-span.n
{
    background-color: #4caf53;
    color:#fff;
}
.circle-span.h
{
    background-color: #999;
    /*color:#fff;*/
}
/*列表页*/

.product-list{
    border-bottom:1px solid #ccc;
}
.product-end-mill-list h2{
    font-weight:700;
}

.product-end-mill-list ul{
    /*list-style-type:circle;*/
}
.endmill-list li{
   list-style:square;
   font-size:80%;
   font-weight:400;
}

.product-end-mill-list .card-body{
    /*top:0;*/
    /*left:0;*/
    /*right:0;*/
    /*bottom:0;*/
    /*background-color:rgba(0,0,0,0.5);*/
    /*color:white;*/
    /*align-items:center;*/
}
.product-end-mill-list P{
    font-size:84%;
}

/*文章页列表样式改回显示数字*/
.content li{
    /*list-style: list-style-type;*/
}


.pages .card-text{
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: normal;    
}

blockquote {
    padding: 0px 15px;
    margin: 0 0 20px;
    border-left: 5px solid #eee;
}

/*文章表格样式*/
.news table th,.pages table th{
    border-top: 1px solid #BBB;
    /*background-color: #F7F7F7;*/
    padding: 5px 10px;
    border: 1px solid #DDD;
}

/*导航菜单鼠标悬停*/
.navbar-nav .dropdown:hover>.dropdown-menu {
	display:block;
}

.dropdown-menu{
	margin-top:0;
}
.nav-item{
	margin-right:20px;
}
.dropdown-item{
	margin-bottom:12px;
}

/*图文文字左右交替*/

.content-block {
    padding: 3rem 0;
    border-bottom: 1px solid #eee;
}
.img-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 2rem;
}

.choose .card{
    background-color: transparent !important;
    border: none !important;
}
.btn-accent{background:var(--accent); border:none; color:#000;}
footer{
    background:var(--primary); 
    color:#fff; 
    /*padding:28px 0;*/
}
.testimonial{background:#f8f9fa; padding:18px; border-radius:8px;}

.category-card{
  border:1px solid #eee;
  border-radius:14px;
  transition:0.3s;
  background:#fff;
}
.category-card:hover{
  box-shadow:0 8px 20px rgba(0,0,0,0.1);
  transform:translateY(-3px);
}
.category-img{
  border-top-left-radius:14px;
  border-top-right-radius:14px;
  /*height:220px;*/
  object-fit:cover;
}
.description{
    display: -webkit-box;
    -webkit-line-clamp: 3;       /* 限制显示三行 */
    -webkit-box-orient: vertical;
    overflow: hidden;
}
  /* Sidebar CTA */
.sidebar-cta {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 0.5rem;
  text-align: center;
  margin-bottom: 2rem;
}
/* 一级菜单 hover 显示下拉 */
.navbar .dropdown:hover > .dropdown-menu {
  display: block;
  margin-top: 0;
}

/* 去除 Bootstrap 点击箭头偏移 */
.navbar .dropdown-toggle::after {
  margin-left: 0.3em;
}

/* 二级菜单样式 */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -1px;
  display: none;
  position: absolute;
}

.dropdown-submenu:hover > .dropdown-menu {
  display: block;
}

/* 下拉菜单对齐与美化 */
.dropdown-menu a {
  white-space: nowrap;
}

.navbar-brand img {
  object-fit: contain;
}

/* 使菜单 hover 更平滑 */
.navbar .dropdown-menu {
  transition: all 0.15s ease;
}
.btn-active{
    color: var(--bs-btn-hover-color);
    background-color: var(--bs-btn-hover-bg);
    border-color: var(--bs-btn-hover-border-color);
}
/*左侧导航栏*/
  .sidebar-sticky {
    position: sticky;
    top: 90px;
  }

  .product-card {
    border: 1px solid #eee;
    border-radius: 8px;
    transition: 0.3s;
  }

  .product-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transform: translateY(-3px);
  }

  .product-card img {
    max-height: 180px;
    object-fit: contain;
  }

  .filter-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    border-radius: 50px;
    z-index: 2000;
  }
  .accordion-button{
    /*display: block;*/
  }
  .btn-up{
    display: flex;
  }

.breadcrumb { background: #f8f9fa; }
.article-header { background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), center/cover no-repeat; color: white; }
/*.toc { position: sticky; top: 100px; }*/
/*.table th { background:#f1f3f5; }*/
.author-box { border-left: 4px solid var(--primary); }
.cta-box { background: linear-gradient(135deg, var(--primary), #0052a3); color: white; }
.internal-link { color: var(--primary); font-weight: 500; }
/*悬停效果*/
 .hover-shadow {
    transition: all 0.3s ease;
}
.hover-shadow:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12) !important;
}
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}  

pre.code-box { background:#0f1724; color:#e6eef8; padding:1rem; border-radius:6px; overflow:auto;}

.blog-header { background:#0d1b3d; color:#fff; padding:60px 0; }
.section-title { border-left: 4px solid #ff7a00; padding-left:12px; margin-top:40px; }
.product-card { border:1px solid #e1e1e1; border-radius:8px; padding:20px; background:white; }
.highlight-box { background:#fff3e6; border-left:4px solid #ff7a00; padding:18px; border-radius:8px; }
.table thead { background:#0d1b3d; color:white; }

/*product desc*/
.section-title {
    border-left: 5px solid var(--accent-orange);
    padding-left: 10px;
    margin-bottom: 20px;
}
.card {
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}
.card-title {
    color: var(--dark-blue);
    font-weight: 600;
}
.btn-orange {
    background-color: var(--accent-orange);
    color: #fff;
    border-radius: 6px;
}
.btn-orange:hover {
    background-color: #e06900;
}
.table-header {
    background-color: var(--dark-blue);
    color: var(--text-light);
}
/* 深蓝 + 橙色工业风表头 */
.spec-table thead th {
  background: #0d1b3d;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  font-weight: 600;
  font-size: 14px;
  padding: 10px;
}

/* 表格内容 */
.spec-table tbody td {
  text-align: center;
  font-size: 14px;
  padding: 8px;
  color: #0d1b3d;
}

/* 移动端：允许横向滚动，但列名不拆字 */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* 移动端列名换行（使用 <br> 不拆英文才有效） */
@media (max-width: 576px) {
.spec-header br {
   display: block;
}
}

/*Inquiry*/
.inquiry-section {
  background-color: var(--page-bg);
}

.inquiry-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(13, 27, 61, 0.08);
}

.inquiry-title {
  color: var(--dark-blue);
  font-weight: 700;
}

.inquiry-subtitle {
  color: #555;
  font-size: 0.95rem;
}

.form-label {
  font-weight: 600;
  color: var(--dark-blue);
}

.form-control {
  border-radius: 8px;
  border: 1px solid #dce1ec;
}

.form-control:focus {
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 0.15rem rgba(255, 122, 0, 0.2);
}

.captcha-box {
  min-width: 120px;
  height: 42px;
  background: #f2f4f8;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--dark-blue);
  letter-spacing: 2px;
}

.btn-inquiry {
  background-color: var(--accent-orange);
  color: #fff;
  font-weight: 700;
  border-radius: 30px;
  padding: 12px 36px;
}

.btn-inquiry:hover {
  background-color: #e66f00;
  color: #fff;
}


.badge-tech {
  background:#ff7a00;
}
.info-box {
  background:#ffffff;
  border-radius:8px;
  padding:24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.param-table th {
  width: 40%;
  background:#f1f4f9;
}
    .feature-icon {
      font-size: 20px;
      color: #ff9f1c;
      margin-right: 8px;
    }