/*
Theme Name: euttest
Description: euttest-site
Version: 2.0.0
Author: euttest
Author URI: https://www.euttest.com
Requires PHP: 7.4.0
*/
/**:not([class*="icon"]):not(i) {*/
    
/*}*/
/* 选择文档的根元素（HTML 中的 <html>） */

/*响应式代码*/
@media only screen and (min-width: 100px) {
    .footer2 {
    display: flex;
    flex-direction: column;
    margin-bottom:20px;
            border-top: 1px solid #F1F1F1;
        padding-top: 30px;
    /*margin-top:10px;*/
    }
    #wpadminbar{
        /*width:100%;*/
        /*min-width: unset !important;*/
    }
        .site-info {
        width: 50%;
    }
        .search-div {
        width: 25%;
    }
}

@media only screen and (min-width: 360px) {
    .logo {
    width: 20%;
    }
    .site-info {
    width: 55%;
    }
    nav.main-menu {
    width: 15%;
    }
    .search-div {
    width: 15%;
    }
    
    .footer2{
    display: flex;
    flex-direction:column;
            border-top: 1px solid #F1F1F1;
        padding-top: 30px;
    }
    .footer2 p{
        /*padding:0;*/
        margin:0;
    }
    /* .desktop-menu{*/
    /*    display: none;*/
    /*}*/
    /*    .index-card {*/
    /*    flex-direction: column !important;*/
    /*}*/
}

/* 小设备 (平板电脑和大型手机，600 像素及以上) */
@media only screen and (min-width: 600px) {
    .logo {
    width: 15%;
    }
    .site-info {
    width: 55%;
    }
    nav.main-menu {
    width: 15%;
    }
    .search-div {
    width: 15%;
    }
    .index-card {
        flex-direction: row !important;
    }
    .site-info-ul-2{
    display: none;
    }
}


/* 超小设备 (手机, 767px 以下屏幕设备) */
@media only screen and (max-width: 767px) {
.tags-title-div {
    flex-direction: column;
}
    .card-text{
       width: 100% !important;   
    }
    .copy-btn{
      top: 10% !important;  
    }
    .copied-message{
        left: 0 !important;
        bottom: -30px !important;
    }
    .ins-page-link {
    flex-direction: column;
}
    .related-product-link,.related-post-link
    {
        flex-direction: column;
    }
    .index-post-image{
        flex-direction: column;
    }
    .about-us{
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    h2.modal-title {
    width: 100%;
    /* padding-left: 10px; */
    display: flex;
    justify-content: center;
    }
    .euttst-wechat-img {
    max-width: 50vw;
    }
.contact-box {
    display: flex;
    align-items: center;
    flex-direction: column-reverse;
    }
    #contact-list {
    width: 100% !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    }
    .logo {
    width: 15%;
    min-width: 60px;
    }
    .term-description{
    width:100%;
    }
    .term-featured-image {
        width: 100%;
        max-width: 150px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 20px auto;
        flex-direction: column;
    }
    .term-info{
    display: -webkit-flex !important;
    display: flex !important;
    flex-direction: column-reverse !important
    }

    .instruments-card{
    width:100% !important;
    }
    .post-card{
    width:100% !important;
    /*margin: 10px !important;*/
    flex-direction: column !important;
    }
    .card-title{
     text-align: center;
     padding-left: unset !important;
    }
    .card-img-top{
        margin-right: unset !important;
    }
    .card-body {
    flex-direction: column !important;
    align-items: center !important;
    /*width: 100% !important;*/
    }
    
    .term-image {
    max-width: 200px;
    }
    /*.main-menu{*/
    /*    display: none !important;*/
    /*}*/
    /*#mobile-menu-icon{*/
    /*display: flex;*/
    /*align-items: center;*/
    /*width: 15%;*/
    /*}*/
    
    h1 {
    font-size: 1.1rem !important;
    }
    h2 {
        font-size: 1.0rem !important;
    }
    span{
        font-size: 0.9rem !important;
    }
    html {
    font-size: 0.9rem !important;
    }
    p,.site-description {
    font-size: 1rem !important;
    }
    
    .home-post-content h2 {
    font-size: 1.1rem !important;
    /*padding: 0px !important;*/
    border-radius: 10px;
    }
    a {
    font-size: 0.9rem !important;
    }
    #mobile .menu-level-1-text {
    font-size: 1.5rem !important;
    }
    #mobile .menu-level-2-text {
    font-size: 1.35rem !important;
    }
    #mobile .menu-level-3-text {
    font-size: 1.2rem !important;
    }
    .instrument-image {
    width: 80% !important;
    }
    .instrument-infor{
        flex-direction: column !important;
    }
    .inquiry-box{
       max-width: 100% !important; 
    }
    button#inquiry-button {
    width: 100%;
    }
    .inquiry{
        padding-left:unset !important;
    }
    .more-select-type{
        flex-direction: column !important;
    }
    .select-div{
        padding: 20px !important;
        margin: 10px 0 !important;
    }

    .sub-taxonomy{
        width: 40% !important;
    }
    .instrument-info{
        width: 100% !important;
        padding: 20px 10px !important;
    }
    
    article.instruments-content{
        padding: 5px !important;
    }
    .footer2 a {
    line-height: 25px;
    }
    #search-content{
        width: 100% !important;
    }
    .inquiry-div{
        width: 80% !important;
    }
    .card-aside {
    margin: 20px 0;
    }
    .post{
        margin:20px 0;
    }
    .tab-menu {
        /*flex-direction: column;*/
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100% !important;
    max-width: 100% !important;
    }

    .tab-button {
        width: 100%;
        box-shadow: 0px -5px 8px 0px rgba(0, 0, 0, 0.3);
    }
    body{
        margin-bottom: 50px !important;
    }
    .index-card-body{
    width: calc(50% - 10px) !important;
    flex-direction: column !important;
    padding: 5px !important;
    }
    .meta-list-index{
        margin:10px 0 !important;
        width: 100% !important;
    }
    .index-product-image {
    width: 100% !important;
    }
    #articles-index {
    width: 100% !important;
    }
    .article-div {
    flex-direction: column !important;
    }
    .meta-list-span{
     margin: 5px 0 !important;
     border-bottom: unset !important;
     font-size:0.8rem;
     text-align: left !important;
    }
    .index-archive-link {
    width: 70% !important;
    display: flex;
    }
    .first-archive .index-archive-link {
    width: 100% !important;
    }
    .archive-modify-time {
    width: 40% !important;
    }
    .frend-links{
        display: none !important;
    }
    .post-taxonomy ul{
        flex-direction: column;
        align-items: flex-start !important;
        padding-left: 10px !important;
    }
    .post-data ul{
        flex-direction: column;
        align-items: flex-start !important;
        padding-left: 10px !important;
    }
    .more-card-body {
        width: calc(50% - 20px) !important;
    }
    /*.table-notice {*/
    /*    display: flex !important;*/
    /*}*/
    .carousel-div {
        padding: 40px !important;
    }
    .calculate {
        width: 100% !important;
    }
    .calculate-form-num {
        flex-direction: column;
    }
    .search-body{
        width: 100% !important;
    }
    .card{
        width:100% !important;
    }
    .instrument-title {
        text-align: left;
        padding: 5% 1% !important;
        line-height: 3rem;
    }
}
@media only screen and (min-width: 100px) and (max-width: 300px) {


}
/* 超小设备 (手机, 500px 以下屏幕设备) */
@media only screen and (min-width: 100px) and (max-width: 600px) {
    .sub-taxonomy{
        width:45% !important;
    }

    .more-card-body {
    width: calc(100% - 20px) !important;
    }
    .site-info-ul-1{
        display: none;
    }
    .site-info-ul-2{
        display: flex;
    }
    .first-archive{
        flex-direction: column !important;
    }
    .copy-btn{
        top: 40px !important;
        right: 0px;
    }
        .search-results .card {
        width: calc(100% - 20px) !important;
    }
    .index-card-body{
        width:100% !important;
    }
    
}



/* 中型设备（平板电脑，768 像素及以上） */
@media only screen and (min-width: 768px) {
    .logo {
    width: 12%;
    /*min-height: 85px;*/
    }
    .site-info {
    width: 50%;
    }
    nav.main-menu {
    width: 30%;
    }
    .search-div {
    width: 10%;
    }

    .term-description{
    width:70%;
    }
    .term-featured-image{
    width:30%;
    padding: 20px;
    }
    /*.mobile-menu{*/
    /*    display: none !important;*/
    /*}*/
    #mobile-menu-icon{
    display: none;
    }
    .index-card-body{
        width: calc(50% - 20px) !important;
    }
    .articles-index {
    width: 100% !important;
    }
    .sub-taxonomy {
    width: 35% !important;
    }
        .article-div {
    flex-direction: column !important;
}

} 

/* 大型设备（笔记本电脑/台式机，992 像素及以上） */
@media only screen and (min-width: 900px) {

    /*.footer2 p, a{*/
    /*    padding:0 10px;*/
    /*    margin:0;*/
    /*}*/
    .index-card-body{
        width: calc(50% - 20px) !important;
    }
    .articles-index {
    width: 48% !important;
    }
    .sub-taxonomy {
    width: 30% !important;
    }
    .article-div {
        flex-direction: row  !important;
    }
    .index-archive-link {
    width: 75% !important;
    }


} 


@media only screen and (min-width: 1000px) {
    .index-card-body{
        width: calc(33.33% - 20px) !important;
    }
    .articles-index {
    width: 50% !important;
    }
    .sub-taxonomy {
    width: 25% !important;
    }

} 


/* 超大型设备（大型笔记本电脑和台式机，1200 像素及以上） */
@media only screen and (max-width: 1100px) {
 /*.search-results .card {*/
 /*       width: calc(50% - 20px) !important;*/
 /*   }*/
.instrument-content{
    width:100% !important;
    padding:10px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center;
    align-items:center;
}
.instrument-title{
    font-size: 1.4rem;
}
.card-content{
    width:100% !important;
    padding:10px !important;
}
.card-aside{
    width: 100% !important;
    padding: 10px !important;
    margin: 30px auto;
    background-color: #f6f7f9 !important;
}
.qa-content{
    width:100% !important;
    padding:10px !important;
}
.qa-aside{
    width: 100% !important;
    padding: 10px !important;
    margin: 30px auto;
    background-color: #f6f7f9 !important;
}
.related-card{
       display: flex !important;
    flex-direction: column !important;

}
.next_product {
    text-align: left !important;
    width: 100% !important;
    line-height: 40px;
}
.previous_product {
    text-align: left !important;
    width: 100% !important;
    line-height: 40px;
}
.card-aside ul li{
    line-height: 50px;
}
.card-aside ul li a{
    font-size:1rem !important;
    line-height: unset;
}
.post{
    width:100% !important;
    padding:10px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center;
    align-items:center;
}
.tab-menu {
    /* flex-direction: column; */
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100% !important;
    max-width: 100% !important;
}
body {
    margin-bottom: 50px !important;
}
.hidden-button{
    display: block !important;
}
#mobile-menu-icon{
    display: flex;
    align-items: center;
    width: 10%;
    justify-content: center;
}
.main-menu {
    display: none !important;
}
#desktop-menu{
    display: none !important;
}

/*下面是移动新菜单*/
/*.main-menu-list {*/
/*  list-style-type: none;*/
/*  margin: 0;*/
/*  padding: 0;*/
/*  display: flex; */
   /*设置为flex布局 */
/*  flex-direction: column;*/
/*  align-items: center;*/
/*}*/
 
/*.menu-item {*/
/*  margin-right: 10px; */
   /*为了更好的可视化间隔 */
/*}*/
/*.sub-menu-2,.sub-menu-3{*/
/*    display:flex;*/
/*}*/
/*.main-menu-list>li {*/
/*    padding: 10px 0;*/
/*    width: 80%;*/
/*    display: flex;*/
/*    justify-content: flex-start;*/
/*}*/
/*.main-menu-list .first-menu-1:not(:first-child){*/
/*    border-top: 1px solid #F1F1F1;*/
/*}*/
/*.menu-item .menu-text{*/
/*    color: #FFF;*/
/*    width: 90%;*/
/*}*/
/*.more-menu-button{*/
/*    color: #FFF;*/
/*    padding: 0 10px;*/
/*    border: 1px solid #FFF;*/
/*    font-size: 1.5rem !important;*/
/*    width: 10%;*/
/*    text-align: center;*/
/*    display: flex;*/
/*    justify-content: center;*/
/*    align-items: center;*/
/*}*/
/*.menu-text .trp-ls-language-name{*/
/*     border: 1px solid  #fff;*/
/*}*/
/*.first-menu-1 .menu-text {*/
/*    font-size: 1.2rem !important;*/
/*    font-weight: 700;*/
/*    margin: 10px 0;*/
/*}*/
/*.sub-menu-2 .menu-text {*/
/*    font-size: 1.1rem !important;*/
/*    margin: 5px 0;*/
/*    padding-left: 15px;*/
/*}*/
/*.sub-menu-2 .menu-text::before{*/
/*    content: " - ";*/
/*    margin-right: 0.5em;*/
/*    color: #FFF;*/
/*}*/
/*.sub-menu-3 .menu-text {*/
/*    font-size: 1.0rem !important;*/
/*    color: #fff126;*/
/*    margin-left: 30px;*/
/*    border-bottom: 1px solid #FFF;*/
/*}*/
/*.sub-menu-3 .menu-text::before{*/
/*    content: " - - ";*/
/*    margin-right: 0.5em;*/
/*    color: #FFF;*/
/*}*/
/*.more-button-2 {*/
/*    color: #fff126;*/
/*    border: 1px solid #fff126;*/
/*}*/
/*上面是移动新菜单*/

}

/*@media (max-width: 1200px) { .container, .container-y{ max-width: 1000px; } }*/
@media only screen and (min-width: 1280px)  { 
        .index-card-body{
        width:20% !important;
    }
    .sub-taxonomy {
        width: 20% !important;
    }
    .container, .container-y,.carousel { 
        max-width: 80vw !important; 
    } 
    
}

@media only screen and (min-width: 1300px) {
    .footer2{
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items:center;
        box-sizing: border-box;
        margin-bottom: 5px;
        margin-top: 5px;
        border-top: 1px solid #F1F1F1;
        padding-top: 0;
    }
    
} 

@media only screen and (min-width: 1400px)  { 
    .sub-taxonomy {
        width: 15% !important;
    }
    .container, .container-y,.carousel { 
        max-width: 80vw !important; 
    } 
    
}
/*/////自定义代码/////*/
.text-nowarp {
    width: 100%;
    margin: auto;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.more-product-title {
    margin-top: 10px;
}
.container{
    width: 100%;
    max-width: 1280px;
    min-width: 360px;
    /*overflow: hidden;*/
    box-sizing: border-box;
    margin: 0 auto;
    display: -webkit-flex;
    display: flex;
    flex-direction:row;
    justify-content: space-around;
}

.container-y{
    width: 100%;
    max-width: 1280px;
    min-width: 360px;
    overflow: hidden;
    box-sizing: border-box;
    margin: 0 auto;
    display: -webkit-flex;
    display: flex;
    flex-direction:column;
    padding: 10px;
}

.flex-center{
    display: flex;
    align-items:center;
    box-sizing: border-box;
    justify-content: center;
}
.flex-cc-x{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction:row;
    box-sizing: border-box;

}
.flex-cc-y{
    display: flex;
    justify-content: center;
    align-items:center;
    flex-direction:column;
    box-sizing: border-box;

}
.flex-x{
    display: flex;
    flex-direction:row;
    box-sizing: border-box;
    flex-wrap: wrap;
    justify-content: space-around;

}
.flex-y{
    display: flex;
    flex-direction:column;
    box-sizing: border-box;
    justify-content: space-around;


}
.flex-left{
    -webkit-display: flex;
    display: flex;
    -webkit-justify-content:flex-start;
    justify-content:flex-start;
    align-items:center;
    box-sizing: border-box;

}
.flex-right{
    -webkit-display: flex;
    display: flex;
    -webkit-justify-content: flex-end;
    justify-content: flex-end;
    align-items:center;
    box-sizing: border-box;

}
.text-left{
    text-align:left;
}

.text-right{
    text-align:right;
}
.text-justify{
    text-align:justify;/*两端对齐*/
}

/*自定义代码*/
.w-50{
    width:50%;
}

.pd-10{
    padding: 10px;
}
.border-bottom{
    border-bottom:1px solid #F1F1F1;
}

.content{
    width:70%;
    box-sizing: border-box;
    padding:10px;
    margin:20px 0;
}
.aside{
    width:30%;
    box-sizing: border-box;
    padding:10px;
    margin:20px 0;
}
/*定义统一的白色卡片显示*/
.card-content{
    box-sizing: border-box;
    padding-bottom: 30px;
    width: 75%;
    display: flex;
    flex-direction: column;
}
.card-aside{
    box-sizing: border-box;
    border-radius: 5px;
    box-shadow: none;
    width:23%;
    display: flex;
    flex-direction: column;
    border: 1px solid #F1F1F1;
}
/*定义统一的灰色卡片显示*/
.card-f1{
    box-sizing: border-box;
    background: #F1F1F1;
    border: 2px solid #F1F1F1;
    border-radius: 5px;
    box-shadow: none;
}
.sticky-header{
    position: fixed;
    top: 0;
    z-index: 999;
    box-sizing: border-box;
    background: #fff;
    box-shadow: 0 8px 16px rgba(55, 99, 170, .1);
    transition: transform .3s, opacity .3s, visibility .3s, -webkit-transform .3s;
}

/*响应式代码*/


html, body{
    background-color:#f6f7f9;
    min-width: 360px;
    font-family: -apple-system, BlinkMacSystemFont, "Microsoft Yahei","Helvetica Neue","Times New Roman",Verdana,Arial, sans-serif;
}
:root {
    background: #f4f4f4;
}

html {
    font-size: 16px;
}
header, footer, html, body, div {
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.html-footer {
    margin: 60px 0 0 0;
    background-color: #eaeef2;
    width: 100%;
}



img {
    max-width: 100%;
    border-radius: 10px;
}
h1 {
    font-size: 1.6rem; /*2 rem * 16 px= 32 px*/
    text-align: center;
    padding: 30px 0;
    margin: 10px 0;
    font-weight: 700;
    line-height: 3.75rem;
}
h2{
    font-size: 1.2rem; /*1.2 rem * 16 px= 19.2 px*/
    font-weight: 700;
    line-height: 2.5rem;
    background-color: #f6f7f9;
    color: #024bb1;
    padding: 5px;
    margin: 10px 0;
}
h3{
    font-size: 1.1rem; /*1.2 rem * 16 px= 19.2 px*/
    font-weight: 700;
    line-height: 2.5rem;
    background-color: #f6f7f9;
    color: #1c2127;
    padding: 3px;
    margin: 10px 0;
}

h4, h5, h6 {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5rem;
    color: #0c0c0c;
    padding: 5px;
    margin: 10px 0;
}

p {
    font-size: 1rem; /*1rem * 16 px= 16 px*/
    line-height: 1.6rem;
} 
span, table, td p {
    font-size: 0.875rem;
    line-height: 25px;
    /*padding: 0 !important;*/
    word-wrap: break-word !important;
}

thead th {
  background-color: #f2f2f2; /* 表头背景色 */
}

/*超链接定义*/
a {font-size:1rem}   
a:link {color: blue; text-decoration:none;} /*未访问：蓝色、无下划线   */
a:active:{color: red; } /*激活：红色   */
a:visited {color:blue;text-decoration:none;} /*已访问：purple、无下划线 */  
a:hover {color: red; text-decoration:none !important;} /*鼠标移近：红色、无下划*/

ul{
    padding:0;
    margin:0;
}

ul li{
    list-style-type: none !important;
    list-style: inside;
}
button{
    background: unset;
    border: unset;
  }
.box-shadow:hover{
    box-shadow: 0 0 8px #6ea7f5;
    border-radius: 10px;
}
.box-shadow {
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    padding: 10px;
}
/*菜单*/
#logo{
    transition: all .2s ease;
    min-width: 50px;
}
.logo-title {
    font-weight: 700;
    line-height: 25px;
    font-size: 1.2rem;
    color: #1e4a87;
    white-space: nowrap;
}
.logo-info {
    font-size: 1rem;
}

.site-header{
    box-shadow: 2px 2px 5px #d3d8de;
    height: 85px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    position: sticky;
    position: -webkit-sticky; /* Safari */
    top: 0;
    transition: height 0.5s ease-out; /* 添加过渡效果 */
    z-index: 999;
}
.header-box {
    height: 100%;
}
#main-nav {
    height: 100%;
    display: flex;
}
#backToTop {
    position: fixed;
    bottom: 140px;
    right: 10px;
    display: none;
    cursor: pointer;
    font-size: 20px;
    box-shadow: rgb(33, 93, 176) 2px 2px 11px;
    border-radius: 30%;
    background-color: #FFF;
    color: #215db0;
    padding: 20px;
}

img.trp-flag-image {
    display: none !important;
}
.bi-search:hover {
  fill: blue; 
}


.bi-search {
  transition: transform 0.3s ease;
}
 
.search-popup:hover .bi-search {
  transform: scale(1.5);
}
#search-content{
    display: none;
    position: fixed;
    top: 50vh;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #215db06e;
    width: 100%;
    padding: 40px;
    border-radius: 5px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
}
.search-body{
    position: absolute;
    top: 30vh;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    width: 70%;
    height: auto;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    z-index: 999;
    overflow-y: auto;
}
#close-search {
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}
.popular-searches ul{
    display: flex;
    flex-wrap: wrap;
}
.popular-searches {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
    height: 32px;
}
.popular-searches-title {
    font-size: 0.9em;
    font-weight: 700;
}
.popular-searches-link {
    font-size: 0.9em;
    font-weight: 700;
    border: 1px solid blue;
    padding: 0 10px;
    border-radius: 5px;
}
.popular-searches li {
    margin: 5px;
}
/*20250415新的桌面菜单CSS代码*/
.desktop-menu.main-menu {
    justify-content: flex-end !important;
}
.main-menu li {
    white-space: nowrap;
}
#desktop-menu .menu-list ul {
  display: none; /* 默认隐藏子菜单 */
}
#desktop-menu .menu-list .menu-level-1-submenu {
    position: absolute;
    z-index: 99999;
    width: auto;
    background: #fff;
    box-shadow: 0px 0px 2px 2px rgba(0, 0, 0, 0.2);
    padding: 10px;
    left: 50%;
    transform: translate(-50%, 0);
    -webkit-transform: translate(-50%, 0);
    top: 80px;
    border-radius: 5px;
    cursor: pointer;
    min-width: 180px;
}
#desktop-menu .menu-list .menu-level-2-submenu {
    position: absolute;
    z-index: 99999;
    width: auto;
    background: #fff;
    box-shadow: 0px 0px 2px 2px rgba(0, 0, 0, 0.2);
    padding: 10px;
    left: 100%;
    top: 0;
    border-radius: 5px;
}
#desktop-menu .menu-list .menu-level-3-submenu {
position: absolute;
    z-index: 99999;
    width: auto;
    background: #fff;
    box-shadow: 0px 0px 2px 2px rgba(0, 0, 0, 0.2);
    padding: 10px;
    left: 100%;
    top: 0;
    border-radius: 5px;
}
#desktop-menu .has-submenu{
    position: relative; 
 }
#desktop-menu .has-submenu:hover > ul {
  display: block; /* 鼠标悬停时显示子菜单 */
      display: flex;
    flex-direction: column;
}
.menu-list {
    display: flex;

}
#desktop-menu .has-submenu .menu-item-li{
   padding-right: 10px; 
}
#desktop-menu .menu-item-text {
    /*white-space: nowrap;*/
    width: 100%;
    display: flex;
    color: #000;
}
#desktop-menu .menu-level-1 .menu-item-text{
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
}
#desktop-menu .menu-level-1 .menu-level-2 .menu-item-text {
    padding: 10px 5px;
    margin-right: 10px;
    text-align: center;
}
/*#desktop-menu .menu-level-2.has-submenu .menu-item-text {*/
/*    min-width: 200px;*/
/*}*/

#desktop-menu .menu-item-text:hover {
    color: blue !important;
    background-color: #f6f7f9;
    border-radius: 5px;
}
#desktop-menu .menu-level-1 {
    padding: 0.5em;
    margin-right: 0.1rem;
}
#desktop-menu .menu-level-1-submenu::before {
    content: "";
    display: block;
    border-width: 10px;
    position: absolute;
    top: -20px;
    border-style: solid dashed dashed dashed;
    border-color: transparent transparent #ccc transparent;
    font-size: 0;
    line-height: 0;
    transform: translateX(-100%);
    left: 55%;
}
#desktop-menu .menu-level-1-submenu::after {
    content: "";
    display: block;
    border-width: 10px;
    position: absolute;
    top: -17px;
    border-style: solid dashed dashed dashed;
    border-color: transparent transparent #fff transparent;
    font-size: 0;
    line-height: 0;
    transform: translateX(-100%);
    left: 55%;
}
#desktop-menu .menu-level-1.menu-item-li {
    line-height: 3rem;
    color: #333;
    letter-spacing: 1px;
    transition: transform 0.3s ease;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
#desktop-menu .menu-level-2.menu-item-li {
    line-height: 30px;
    color: #333;
    letter-spacing: 1px;
    transition: transform 0.3s ease;
    font-weight: 700;
}
#desktop-menu .menu-level-1.has-submenu::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #333;
    top: 42px;
    right: 12px;
}
#desktop-menu .menu-level-2.has-submenu::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-bottom: 6px solid transparent;
    border-top: 6px solid transparent;
    border-left: 7px solid #333;
    top: 18px;
    right: 0;
    margin-right: 10px;
}
#desktop-menu .menu-level-3.has-submenu::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-bottom: 6px solid transparent;
    border-top: 6px solid transparent;
    border-left: 7px solid #333;
    top: 18px;
    right: 0;
    margin-right: 10px;
}

#desktop-menu .trp-ls-language-name {
    border: 1px solid #000;
    padding: 2px 5px;
}
#desktop-menu .trp-ls-language-name:hover {
    border: 1px solid red;
}

#desktop-menu .menu-level-2-submenu::before {
    content: "";
    display: block;
    border-width: 10px;
    position: absolute;
    top: 15px;
    border-style: dashed dashed dashed solid;
    border-color: transparent #CCC transparent transparent;
    font-size: 0;
    line-height: 0;
    left: 0;
    transform: translateX(-100%);
}
#desktop-menu .menu-level-2-submenu::after {
    content: "";
    display: block;
    border-width: 10px;
    position: absolute;
    top: 15px;
    border-style: dashed dashed dashed solid;
    border-color: transparent #fff transparent transparent;
    font-size: 0;
    line-height: 0;
    left: 3px;
    transform: translateX(-100%);
}
#desktop-menu .menu-level-3-submenu::before {
    content: "";
    display: block;
    border-width: 10px;
    position: absolute;
    top: 15px;
    left: -8%;
    border-style: dashed dashed dashed solid;
    border-color: transparent #CCC transparent transparent;
    font-size: 0;
    line-height: 0;
}
#desktop-menu .menu-level-3-submenu::after {
    content: "";
    display: block;
    border-width: 10px;
    position: absolute;
    top: 15px;
    left: -7%;
    border-style: dashed dashed dashed solid;
    border-color: transparent #fff transparent transparent;
    font-size: 0;
    line-height: 0;
}

#desktop-menu .current-page {
    color: blue !important;
    /*border-bottom: 2px solid #FFF;*/
}
#desktop-menu .menu-level-1-text {
    font-size: 1.1rem;
}
#desktop-menu .menu-level-2-text {
    font-size: 1.0rem;
    /*font-weight: 400;*/
}
#desktop-menu .menu-level-3-text {
    font-size: 1.0rem;
    font-weight: 400;
    padding: 5px !important;
    border-bottom: 1px solid;
}
#desktop-menu .menu-level-4-text {
    font-size: 1.0rem;
    /*font-weight: 400;*/
    padding: 5px !important;
    border-bottom: 1px solid;
}
/*移动菜单*/
#mobile .menu-list {
    flex-direction: column;
}
#mobile .toggle-btn { 
  margin-left: 10px;
  cursor: pointer; 
}
#mobile .menu-level-1.menu-item-li{
    display: flex;
    flex-direction: column;
}
#mobile .submenu {
    width: 100%;
    background-color: #444444;
}
#mobile .menu-div .menu-item-text {
    width: 100%;
    color: #FFF;
    /*font-size: 1.3rem;*/
}
#mobile .menu-level-1-text {
    font-size: 1.5rem;
}
#mobile .menu-level-2-text {
    font-size: 1.35rem;
}
#mobile .menu-level-3-text {
    font-size: 1.2rem;
}
/*#mobile .menu-level-1 > :first-child {*/
/*    font-size: 2rem;*/
/*}*/
#mobile .submenu .menu-item-text {
    border-bottom: 1px solid #fff;
    padding-bottom: 10px;
    /*margin-right: 50px;*/
}
#mobile .menu-level-2-submenu.submenu {
    margin: 30px 0;
}
#mobile .has-submenu >.menu-item-text {
    margin-right: unset;
}
#mobile .menu-div {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 10px 0;
}
#mobile .menu-level-2{
margin: 10px 0 10px 20px;
}
#mobile .menu-level-3{
    margin-left: 30px;
}
#mobile .menu-level-2 .menu-item-text::before {
    content: "-";
    margin-right: 0.5rem;
    color: #FFF;
}
#mobile .menu-level-3 .menu-item-text::before {
    content: "--";
    margin-right: 0.5rem;
    color: #FFF;
}
#mobile .toggle-btn {
    font-size: 1.8rem;
    border: 1px solid #FFF;
    color: #FFF;
    cursor: pointer;
    width: 80px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
#mobile .menu-level-1 {
    /*padding: 0.5em;*/
    margin-right: 15px;
    /*margin: 0.5rem;*/
}
#mobile .trp-ls-language-name {
    border: 1px solid #FFF;
    border-radius: 5px;
    padding: 2px 5px;
    font-size: 1.5rem;
}
#mobile .current-page {
    /*color: #ff0000 !important;*/
    /*border-bottom: 2px solid #FFF;*/
}

#mobile-menu {
    display: none;
    position: fixed;
    top: 50vh;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #444444;
    width: 100%;
    padding: 40px;
    border-radius: 5px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    height: 100vh;
    overflow-y: auto;
     z-index: 1000;
}

#mobile-menu-close {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    cursor: pointer;
}
#mobile-menu-window-close {
    border: 1px solid #FFF;
    border-radius: 10px;
}
/*20250325新的桌面菜单CSS代码*/

/*产品详情页 tab菜单*/
.tab .img-sales-wechat {
    width: 50%;
    max-width: 250px;
}
.tab-panel {
    width: 100%;
    max-width: 1260px;
    display: flex;
    flex-direction: column;
}

.tab-menu {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 60%;
    padding: 0 10px;
    z-index: 2;
}

.tab-button {
    flex: 1;
    /*padding: 10px;*/
    border: none;
    background-color: #FFF;
    transition: background-color 0.3s;
    border: 2px solid #F1F1F1;
    margin-bottom: -1px;
    padding: 15px 0;
    border-radius: 10px 10px 0 0;
    font-size: 0.9rem;
    font-weight: 700;
    /*color:#FFF;*/
    transition: background-color 0.2s ease;
    transition: color 0.2s ease;
    cursor: pointer;
}

.tab-button.active {
    background-color: #FFF;
    border: 2px solid #2d72d2;
    border-bottom: 2px solid #FFF;
    margin-bottom: -3px;
    padding: 15px 0;
    z-index: 2;
    font-size: 1rem;
    font-weight: 700;
    color: #2d72d2;
    transition: background-color 0.2s ease;
    transition: color 0.2s ease;
    box-shadow: rgb(33, 93, 176) 0px -4px 2px;
}

.tab-button:hover {
    background-color: #fff;
    color: #2d72d2;
    border: 2px solid #2d72d2;
    border-bottom: 2px solid #FFF;
    margin-bottom: -3px;
}

.tab-content {
    border-top: 2px solid #2d72d2;
    /*border-bottom: 2px solid #2d72d2;*/
    padding: 10px;
    margin-top: 1px;
}
button.active::after {
    background: #06c;
}
button.tab-button::after {
    background: #FFF;
}

.tab {
    display: none;
    margin-bottom: 100px;
}

.tab.active {
    display: block;
}

/*产品详情页 tab菜单*/

/*产品详情页 产品信息部分*/
/*详情页表格自适应代码。需要function PHP配合使用，，*/
.content-table {
    /* 启用横向滚动 */
    overflow-x: auto; 
    margin: 20px 0; /* 上下边距 */
    position: relative;
    z-index: 1;
}
.content-table::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://www.euttest.com/wp-content/uploads/2025/06/EUTTEST-watermark-1.svg');
  background-position: center;
    opacity: 0.4;
    z-index: -1;
  background-repeat: repeat;
  background-size: 300px 300px; 
}
.instrument-content{
    margin-bottom: 50px;
    flex-direction: row-reverse;
    align-items: flex-start;
    justify-content: space-between;
}
/*禁用rankmath的目录CSS*/
.wp-block-rank-math-toc-block {
    display: none;
}

/*详情页表格内的P显示*/
/*tbody p {*/
/*    display: list-item;*/
/*}*/

/* 表格的基本样式 */
.content-table table {
    width: 100%; /* 确保表格宽度为100% */
    border-collapse: collapse; /* 合并边框 */
}

/* 表格单元格的样式 */
.content-table th,
.content-table td {
    border: 1px solid #32363c; /* 边框样式 */
    padding: 4px; /* 内边距 */
    text-align: left; /* 文本左对齐 */
    white-space: wrap;
}
/* 针对产品页面的第一列宽度设置为不换行，因为他们一般都是产品型号，只能对产品使用，所以必须限制 */
.tab-content table td:first-child {
  white-space: nowrap;
}
.content-table td p{
    padding: unset !important;
}
/*详情页表格自适应代码。需要function PHP配合使用，，*/

.more-product-list {
    font-size: 0.9rem;
}
.standard-list-ul {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.standard-list-li {
    display: flex;
    flex-wrap: nowrap;
    padding: 5px 0;
}
.standard-list-ul li:not(:first-child){
    margin-left: 5px;
}

article p {
    /*限制英文状态下p标签太宽在手机端显示溢出的问题*/
    word-wrap: break-word;
    padding: 0 10px;
}
#go-to-search {
    font-size: 1rem !important;
    font-weight: 700;
    color: #0917d7;
    cursor: pointer;
}
.flash {
   animation: flash-animation 0.5s infinite; /* 闪烁效果 */
}
@keyframes flash-animation {
    0% { background-color: #007bff; }
    50% { background-color: #ffcc00; }
    100% { background-color: #007bff; }
}
        
.instruments-content a {
    font-weight: 700;
    line-height: 2rem;
}
.statement-text {
    font-size: 0.8rem;
    color: #111418;
    margin: 0;
}
.product-order{
    display: flex;
    flex-direction: row;
}
.product-info{
    display: flex;
    flex-direction: row;
}

/*产品详情页图片和替代文字调整*/
img.stock-icon {
    position: absolute;
    top: 10px;
    right: 20px;
    width: 20%;
}
img.img-sales-wechat {
    width: 20%;
    min-width: 200px;
    margin: 20px 0;
    border: 1px solid #F1F1F1;
    padding: 10px;
    border-radius: 10px;
}
.wp-caption {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
	max-width:100%;
}
.instruments-content img{
	width:600px;
	max-width:100%;
	height: auto;
}
.post-content img {
    width: 600px;
    max-width: 100%;
    height: auto;
}
.post-data {
    margin: 10px 0 0 0;
}
.wp-caption-text {
    border: 1px;
    padding: 2px;
    background-color: #F1F1F1;
    border-radius: 10px;
}
.post-content ul>li,.instruments-content ul>li{
    list-style-type: disc !important;
    line-height: 1.6rem;
    word-wrap: break-word;
}
.post-content ul>li>ul>li,.instruments-content ul>li>ul>li{
    list-style-type: circle  !important;
    line-height: 1.6rem;
    word-wrap: break-word;
    padding-left:20px;
}
.post-content ul>li>ul,.instruments-content ul>li>ul{
    padding-bottom:20px;
}
.post-content a, .instruments-content a {
    border-bottom: 1px solid;
}

.instrument-infor {
    padding: 20px 10px;
}
.instrument-title {
    color: #2C2B2B;
    margin: unset;
    margin-bottom: 30px;
    padding: 50px 0;
}
.instruments-content h2{
    background-color: #f6f7f9;
    color: #2C2B2B;
    padding: 10px;
    margin: 10px 0;
    border-radius: 10px;
}
.instruments-content h3{
    background-color: #f6f7f9;
    color: #238551;
    padding: 5px;
    margin: 10px 0;
    padding-left: 20px;
}
/*产品侧边栏*/
.hidden-button{
    display: none;
}
/* 默认隐藏特定类的列表项 */
.bg-has-three {
    background-color: #f6f7f9;
}
.sub-term-li a {
    color: #32373c;
}
.sub-term-li a:hover {
    color: red;
}
.toggle-button {
    cursor: pointer;
    padding: 2px;
    background-color: #2d72d2;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.more-button-2 {
    background-color: #c87619;
}
.hidden {
    display: none !important;
 }
.more-term-page {
    margin: 20px 0;
    padding: 20px;
    border: 1px solid #F1F1F1;
    font-size: 1rem !important;
    border-radius: 10px;
}
.widget {
    background: #fff; 
    overflow: hidden;
    margin-bottom: 20px;
    padding: 0 5px 15px 5px;
}

.widget-title {
    color: #000000;
    padding: 5px;
    margin: 10px 0;
    background-color: unset;
    border-bottom: 5px solid #F1F1F1;
    border-radius:5px;
    text-align: center;
}
.acf-category-list a {
    font-size: 0.9em;
    line-height: 25px;
    width: 75%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.text-overflow-hidden-80{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 80%;
    display: block;
}
.instrument-types-name{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 80%;
    display: block;
}

#instrument-info .instrument-types-name {
    white-space: normal;
}
.chlid-term-list {
    padding-left: 15px;
}
.textwidget {
    padding: 0 12px;
}
.sub-term-li {
    display: flex;
    padding-left: 5px;
    margin: 5px 0;
}
.three-level-terms {
    padding-left: 8px;
    display: flex;
}

/*产品详情页面*/
.post-content  h2,.instrument-content #tab1 h2{
    counter-reset: h3-counter;
  counter-increment: section;
}

.post-content  h2:before,.instrument-content #tab1 h2:before {
  content:counters(section, ".", cjk-ideographic) "\3001";
  font-weight: bold;
}
/* 初始化计数器 */


/* H3 样式及其编号 */
.post-content h3,.instrument-content #tab1 h3{
    counter-reset: h4-counter;
    counter-increment: h3-counter; /* 增加 H3 计数器 */
    position: relative; /* 使伪元素相对定位 */
}

.post-content h3:before,.instrument-content #tab1 h3:before {
    content: counter(section) "." counter(h3-counter) "\3001"; /* H3 前的内容 */
    font-weight: bold; /* 加粗 */
}

/* H4 样式及其编号 */
.post-content h4,.instrument-content #tab1 h4{
    counter-reset: h5-counter;
    counter-increment: h4-counter; /* 增加 H4 计数器 */
    position: relative; /* 使伪元素相对定位 */
}

.post-content h4:before,.instrument-content #tab1 h4:before {
    content: counter(section) "." counter(h3-counter) "." counter(h4-counter) "\3001"; /* H4 前的内容 */
    font-weight: bold; /* 加粗 */
}

/* H5 样式及其编号 */
.post-content h5,.instrument-content #tab1 h5{
    counter-increment: h5-counter; /* 增加 H5 计数器 */
    position: relative; /* 使伪元素相对定位 */
}

.post-content h5:before,.instrument-content #tab1 h5:before {
    content: counter(section) "." counter(h3-counter) "." counter(h4-counter) "." counter(h5-counter) "\3001"; /* H5 前的内容 */
    font-weight: bold; /* 加粗 */
}




span.more-product-span {
    text-align: center;
}
.more-product {
    display: flex;
    flex-direction: column;
}
.more-card-body {
    display: flex;
    flex-direction: column;
    width: calc(33.33% - 20px);
    border: 1px soLid #F1F1F1;
    padding: 20px 10px;
    align-items: center;
    margin: 10px 0;
    border-radius: 10px;
}
.more-product-image {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.more-product-image img {
    width: 150px;
    height: 150px;
}
.table-notice {
    justify-content: center;
    color: red;
    font-size: 1rem;
    display: none;
}

.inquiry {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}
.parent-term-li {
    background-color: #f6f7f9;
    margin: 10px 0;
    padding: 0 5px;
    display: flex;
}
li.parent-term-li:nth-of-type(odd){ background:#F1F1F1;} 
li.parent-term-li:nth-of-type(even){ background:#FFF;}
.term-count {
    width: 20%;
    text-align: center;
}
/*.left-term{*/
/*    display: flex;*/
/*}*/
a.suggest-instrument {
    padding-top: 20px;
}
.discontinued-instruments {
    /*border: 1px solid #777;*/
    display: flex;
    flex-direction: column;
    align-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    margin: 20px 0;
    padding: 20px 10px;
    border: 10px solid #edFF00;
}
p.dis-info {
    padding: 0 10px;
    margin: 0;
    color: #e50101;
}
.instrument-image{
    width:40%;
    padding: 10px;
    margin:0 auto;
}
.instrument-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
}
.instrument-info{
    width:60%;
    padding-left: 20px;
    position: relative;
}
.instrument-stock {
    color: red;
    font-size: 1rem;
    font-weight: 700;
}
.product-info .meta-list {
    width: unset;
    display: flex;
    align-items: center;
}
.meta-list {
    font-size: 0.9rem;
    /*font-weight: 700;*/
}
.info-title {
    font-size: 0.9rem;
    font-weight: 700;
    min-width: 80px;
    color: #6d6d70;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-right: 10px;
}
.instrument-price {
    font-weight: 700;
    font-size: 1.2rem;
}
article.instruments-content {
    border: 1px solid #F1F1F1;
    padding: 20px;
    margin: 20px 0;
}

nav.related-card {
    padding: 20px;
}

 /* inquiry弹出框主体 */
button.button-inquiry {
    background-color: #2d72d2;
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    font-size: 16px;
    line-height: 25px;
    margin: 20px 0;
    cursor: pointer;
}
.inquiry-div{
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  width: 60%;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  /*display: none;*/
  z-index: 3;
  border: 1px solid #2d72d2;
}

#inquiry-popup {
    position: fixed;
    top: 0;
    left: 0;
    background: #215db06e;
    width: 100%;
    height: 100%;
    padding: 20px;
    border-radius: 5px;
    display: none;
    z-index: 3;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* 当弹窗打开时禁止滚动 */
}
.inquiry-box {
    background-color: #FFF;
    max-width: 50%;
    padding: 50px;
    border-radius: 20px;
}

button#inquiry-button-close {
    width: 100px;
    height: 50px;
    border: 1px solid #2d72d2;
    background-color: #2d72d2;
    color: #fff;
    /* padding: 10px; */
    border-radius: 5px;
    font-size: 16px;
    /* line-height: 25px; */
}
.navigation-product {
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 20px;
}
/*popup相关css*/
.popup_title {
    width: 100%;
}
.popup-title-close {
    display: flex;
    justify-content: space-around;
}
#hidden-text{
    z-index:5;
}
/*文章详情页*/
.post-content-div {
    margin-bottom: 20px;
    background-color: #FFF;
    padding: 10px;
}
.post {
    flex-direction: row-reverse;
    align-items: flex-start;
    justify-content: space-between;
}
.post-featured-image .featured-image {
    width: 100%;
    height: auto;
    max-width: 250px;
    max-height: 250px;
}
.card-content .post-featured-image {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}
.related-posts {
    margin: 30px 0;
    border-top: 5px solid #215db0;
}
article a:hover {
    border-bottom: 1px solid blue;
}
.post-content h2{
    background-color: #f6f7f9;
    color: #2f343c;
    padding: 5px;
    margin: 10px 0;
}
.post-content h3{
    background-color: #f6f7f9;
    color: #238551;
    padding: 5px;
    margin: 10px 0;
}
/*文章侧边栏*/
.tag-cloud-link {
    font-size: 0.9em !important;
    padding: 5px;
    border-radius: 10px;
    color: #FFF !important;
    background-color: #6c6d6e;
}
.tag-cloud-link:hover{
    background-color: #215db0 !important;
}
.widget a {
   font-size: 0.8em;
}
.post-date{
    font-size: 0.7em;
}
/*文章详情页定制123分页导航文字*/
.page-numbers {
    font-size: 1.5em;
    padding: 10px;
    border: 1px solid #0d6efd;
    margin-right: 20px;
}
/*静态的brands和types页面*/
.instruments-static-page {
    background-color: #fff;
    border-radius: 10px;
    padding: 50px 10px;
}


/*css 增加到elementor后面或style.css。 修改自定义文章和产品列表的显示方式。*/
.post-list-name {
    padding-left: 0px;
}
.post-list-name li{
    font-size:14px;
}

.post-list-name li:nth-of-type(odd){
    background-color:#e3e5e7;
}

.fs-7{
	font-size: 0.9rem !important;
}
.bg-white{
	background-color: #ffffff;
}
.bg-f1{
	background-color: #F1F1F1;
}



/*taxonomy 分类展示页面*/
/*分类页面*/
.imp-product-list {
    box-shadow: 0 0 2px 0 rgba(0, 0, 0, .2);
    padding: 10px;
    list-style-type: circle !important;
}
.taxonomy-page .card-content {
    background-color: #FFF;
    padding: 10px;
}
.term-description img {
    width: 100%;
    height: auto;
    max-width: 300px;
}
.current-term-title {
    color: #2d72d2;
    border-bottom: 10px solid #F1F1F1;
    margin-bottom: 30px;
}
.term-description p {
    text-align: left;
}
.pagination {
    margin: 20px;
    display: flex;
    justify-content: center;
}
.child-terms-group {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-around;
}

.child-term {
    position: relative;
    margin: 10px;
}
.child-term-title {
    display: block;
    width: 100%;
    text-align: center;
}
.term-url:hover .term-image {
    transform: scale(1.1);
}
.term-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 200px;
}
.child-term-title a {
    font-size: 16px;
    padding: 20px;
}
nav.rank-math-breadcrumb {
    padding: 20px;
}
.taxonomy-div{
    flex-direction:column;
    padding:0 10px;
}
.term-info{
    display: -webkit-flex;
    display: flex;
    flex-direction:row;
}
.term-description h2 {
    margin: unset;
    text-align: left;
}
.term-image {
    border: 1px solid #F1F1F1;
    width: 150px;
    height: 150px;
    padding: 10px;
}
.child-term .term-image {
    opacity: 0.7; /* 设置透明度为50% */
}
.child-term:hover .term-image {
     opacity: 1;
     border: 1px solid #FFF;
}
.instruments-card{
    width:50%;
    padding: 10px;
    border: 1px solid #2d72d2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card-img-top {
    width: 22%;
    height: 150px;
    min-width: 150px;
    margin-right: 5%;
}
.abstract {
    font-size: 14px;
}

.card-list {
    margin: 10px 0;
    padding: 20px 0;
}
h5.card-title {
    justify-content: center;
    display: flex;
}
/*文章详情页*/
article ul {
    padding: 0 10px;
}
.widget .index-archive-title {
    font-size: 0.8rem;
    white-space: unset;
}
.widget .archive-modify-time{
    width:30%;
    font-size: 12px;
}
.post-taxonomy ul {
    list-style-type: none;
    display: flex;
    justify-content: end;
    align-items: center;
    padding: 10px 0;
    margin: 0 0 10px 0;
    background-color: #F1F1F1;
    /*border: 1px solid #1c2127;*/
  }
.post-taxonomy ul li {
    margin-right: 10px; /* 可选，为了给列之间留出间隔 */
    list-style-type: none !important;
  }
  
  .post-data ul {
    list-style-type: none;
    display: flex;
    justify-content: end;
    align-items: center;
    padding: 10px 0;
    margin: 0 0 10px 0;
    background-color: #F1F1F1;
    /*border: 1px solid #1c2127;*/
  }
.post-data ul li {
    margin-right: 10px; /* 可选，为了给列之间留出间隔 */
    font-size: 0.8rem;
    list-style-type: none !important;
  }
  
.post-navigation {
    padding: 20px 10px;
    margin-top: 20px;
    margin-bottom: 20px;
}
.post-navigation li {
    padding: 5px;
}
 
.post-card-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    box-sizing: border-box;
}
.post-card {
    width: 47%;
    margin: 20px 0;
    border-radius: 10px;
    padding: 10px;
    border: 1px soLid #F1F1F1;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    box-shadow: 0 0 2px 0 rgba(0, 0, 0, .2);
    flex-direction: row;
}
.related-instruments .post-card {
    width: 100%;
}
.related-product-link,.related-post-link {
    width: 100%;
}
.statement {
    margin-top: 20px;
    padding: 10px;
    border: 1px solid #F1F1F1;
    border-radius: 10px;
    background-color: #FFF;
}
.instrument-card-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    box-sizing: border-box;
}
.instruments-card {
    width: 50%;
    padding: 10px;
    border: 1px solid #2d72d2;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* margin: 5px; */
    box-sizing: border-box;
}
/*面包屑*/
li.seperator {
    padding: 0 5px;
}
ul#all-breadcrumb {
    display: flex;
    padding: 20px 10px;
    width: 100%;
    flex-wrap: wrap;
    line-height: 30px;
}

 /*首页定义*/
/*.index-term-title {*/
/*    white-space: nowrap;*/
/*    overflow: hidden;*/
/*    text-overflow: ellipsis;*/
/*    text-align: left;*/
/*    width: 100%;*/
/*    margin: 0;*/
/*}*/
.term-list {
    display: flex;
    justify-content: center;
}
.index-product-image img,.sub-taxonomy img{
    width: 150px;
    height: 150px;
}
.company-news-index {
    padding: 0 10px;
}

 .index-excerpt {
    font-size: 0.9rem;
}
 .index-term-title {
    font-size: 0.9rem;
    width: 100%;
    display: block;
    text-align: center;
}
 .first-archive {
    flex-direction: row;
    margin-bottom: 10px;
}
 .article-div {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}
.index-more{
    display: block;
    padding: 10px 20px;
    text-align: center;
    background-color: #fff;
    margin: 30px auto;
    font-weight: 700;
    color: #23282d !important;
    border: 1px solid;
    border-radius: 10px;
}
.index-more:hover{
    color: #fff !important;
    background-color: #0052d9;
}
.triangle {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-color: transparent transparent transparent #215db0;
    margin-right: 10px;
  }
.index-post-image {
    display: flex;
    align-items: center;
}
.index-archive-title {
    width: 100%;
    margin: 0;
    /*white-space: nowrap;*/
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.875rem;
    display: block;
}
.index-archive-link {
    width: 80%;
    padding: 10px 0;
}
.archive-modify-time {
    width: 20%;
    text-align: right;
}
 .index-archive-card {
    padding: 10px;
    color: #000;
}
.index-archive-card:hover{
    color: red;
}
 .index-archive {
    display: flex;
    box-shadow: 0 0 2px 0 rgba(0, 0, 0, .2);
    align-items: center;
    padding: 10px;
    margin: 5px 0;
}
 .meta-list-span {
    padding: 8px;
    display: flex;
    white-space: nowrap;
    justify-content: center;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.9rem;
}
.index-product-image {
    width: 100%;
    text-align: center;
}
 .meta-list-index {
    display: flex;
    justify-content: space-around;
    margin: 10px auto;
    flex-direction: column;
    width: 65%;
    padding: 5px;
}
.section-title {
font-size: 1.5rem;
    color: #000;
    background-color: unset;
    margin: unset;
    padding: 25px 0;
    display: flex;
    justify-content: center;
}
.section-line {
    width: 10%;
    height: 5px;
    margin: auto 20px;
    padding: 0 10px;
    background: #1e4a87;
}
.select {
    text-align: center;
    color: #3e444a;
    margin: unset;
    margin-bottom: 20px;
}
.more-term {
    display: block;
    padding: 5px;
    text-align: center;
    width: 20%;
    margin: auto;
}
.des-link {
    color: #edff00;
    font-size: 18px;
    padding: unset;
}
.des-link:hover {
    color: #ff0000;
}
/*页脚*/
.footer-item {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 1rem 0;
}
.foot-item-div {
    width: 15%;
    font-size: 0.95rem;
    min-width: 140px;
    margin-bottom: 2rem;
}
.company-item{
   width: 30%; 
   min-width: 400px;
}
.foot-item-ul {
    margin: 1rem 0;
}
.foot-item-ul li{
    margin: inherit;
}
.foot-item-ul li a {
    font-size: inherit;
}
li.foot-item-text {
    margin: 0.3rem 0;
}
.foot-item-title {
    font-size: 1rem;
    font-weight: 700;
    color: #111418;
    border-bottom: 3px solid #FFF;
    width: 80%;
    display: block;
    padding: 10px 0;
}
.footer1 {
    margin-top: 20px;
    padding: 0 20px;
}
.footer-div-common {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.foot-nav {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.foot-nav-item {
    margin: 10px;
}
a.foot-nav-link {
    color: #545454;
    font-size: 0.9rem;
    padding: 5px;
    border: 1px solid #f6f7f9;
    border-radius: 5px;
}
.foot-nav-link::hover {
    color: red;
}
.frend-link-title {
    font-size: 12px;
    color: #263447;
}
.frend-links {
    margin-bottom: 20px;
    display: flex;
    justify-content: flex-start;
    padding: 10px;
}
.fenge {
    padding: 5px 0;
}
.frend-link {
    margin: 0 2px;
}
.frend-links-url {
    color: #545454 !important;
    font-size: 12px;
}
.foot-text {
    padding-right: 10px;
    text-align: center;
    line-height: 1.6rem;
    margin: 0;
    color: #545454 !important;
}
a.foot-text:hover {
    color: red !important;
}
 /*首页的页脚特殊定义*/
 ul.links-group {
    display: flex;
    flex-direction: row;
   flex-wrap: wrap;
}
a.links-url {
    font-size: 0.875rem !important;
    color: #000;
    line-height: 25px;
}
a.links-url:hover{
    color: #ff0000;
}
li.links-list {
   padding: 5px 3px;
}
.external-links {
    margin: 10px 0;
    padding: 0 10px;
}
span.links-name {
    font-weight: 700;
    padding: 5px;
}
hr {
border: none; /* 移除默认边框 */
height: 1px; /* 设置高度 */
background-color: #8f99a8; /* 设置颜色 */
margin: 2px 0; /* 设置上下外边距 */
}
 .home-post-content{
    display: flex;
    flex-direction:column;
    box-sizing: border-box; 
    margin: 20px auto;
    border-radius: 10px;
 }
#news-index {
    width: 100%;
    padding:10px;
    
}
.articles-index {
    width: 100%;
    padding:10px;
}
#instruments-index {
    width: 100%;
}
.mg-b-20{
   margin-bottom: 20px;
}
.related-products-title,.other-product-title {
    font-size: 1.5rem;
    color: #000;
    background-color: unset;
    margin: unset;
    padding: 25px 0;
    display: flex;
    justify-content: center;
    width: 100%;
}
.related-instruments {
    margin-top: 30px;
}
.related-products, .popular-products {
    margin: 20px 0;
    padding: 20px 10px;
}


h3.service {
    padding-left: 20px;
}
.related-instruments .card-title,.related-posts .card-title {
    background-color: #FFF;
    color: blue;
    width: 100%;
    padding-left: 20px;
}
/*.card-body a {*/
/*    padding-left: 0;*/
/*    margin-left: 0;*/
/*    font-weight: 700;*/
/*}*/
.instruments-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    margin: 0;
    display: block;
}
a.more {
    padding: 2px;
    border: 1px solid;
    border-radius: 5px;
    white-space: nowrap;
}
.site-index{
    background-image: url('/wp-content/uploads/2024/08/background-1.webp');
    background-repeat:no-repeat;
    background-position: center center;
    background-size:1260px 500px;
    min-height: 400px;
    position: relative;
        display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
}

.home-header-content{
    display: flex;
    flex-direction: row;
    justify-content: center;
    background-image: url('/wp-content/uploads/2024/08/background-1.webp');
    background-repeat:no-repeat;
    background-position: center center;
    background-size:1260px 500px;
}



.site-content{
    padding: 30px 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(180deg, #06306af2 70%, #737f8fd6 100%);
}
.site-name {
    color: #FFF;
    margin: 0;
    padding: 20px !important;
    justify-content: flex-start;
}

.site-more-info {
    padding: 10px 10px 5px 20px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    font-size: 18px;
    line-height: 25px;
    color: #fff;
}
.button-main {
    color: #FFF;
    border: 1px solid #FFF;
    margin: 30px 30px 0 0;
    padding: 10px;
}
.more-post {
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 20px;
}
.index-card {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    /*margin-bottom: 50px;*/
}
/*.card-title {*/
/*    padding: 15px;*/
/*}*/

.card-title h3 {
    font-size: 1rem;
    margin: 10px;
    padding: 10px;
    color: blue;
}

/*联系我们*/
.text-center{
    text-align: center;
    width: 100%;
    display: block;
}
.company-title {
    text-align: center;
    margin-bottom: 20px;
}
.company-name {
    background-color: unset;
}
.modal-title {
    width: 100%;
    padding-left: 10px;
    margin-bottom: 20px;
    text-align: center;
}
.contact-box {
    display: flex;
    align-items: flex-start;
    justify-content: space-around;
}
.text-special-margin {
    margin: unset;
    padding: 5px 0;
    font-weight: 700;
}
.contact {
    flex-direction: column;
    padding: 20px;
}
#contact-list {
    border-top: 1px solid #F1F1F1;
    margin-top: 30px;
    width: 47%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
h1.contact-title {
    border-bottom: 1px solid #F1F1F1;
    margin-bottom: 20px;
}

/*search*//*search*//*search*/
#clear-search,#clear-search-page {
    margin-left: -50px;
    z-index: 2;
    cursor: pointer;
}
.search-popup {
    border: unset;
    cursor: pointer;
    margin-left: 10px;
}
.search-result-a {
    display: flex;
    align-items: center;
    margin: 5px 0;
    width: 90%;
}
#search-results ul li,#search-results-page ul li{
   display: flex;
   margin-bottom: 5px;
}
.search-result-type {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3px;
    min-width: 30px;
    background-color: #2d72d2;
    color: #fff;
    padding: 5px;
    border-radius: 5px;
    margin-right: 5px;
}
#search-results,#search-results-page{
    display: flex;    
    max-width: 600px;
    border: 1px solid #F1F1F1;
    max-height: 750px;
    overflow-y: auto;
    padding: 10px;
    margin: 20px 0;
    background-color: #FFF;
    display: none;
}
#more-results-link,#more-results-link-page{
    display: flex;    
    max-width: 600px;
    border: 1px solid #F1F1F1;
    padding: 10px;
    background-color: #FFF;
    display: none;
    margin-bottom: 10px;
}
.search-input-button {
    width: 600px;
    max-width: 90%;
    display: flex;
}
.search-result-title {
    width: 85%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.search-result-image {
    height: 30px;
    padding: 0px 5px;
}
#search-input,#search-input-page {
    border: 1px solid #000;
    padding: 10px;
    margin-right: 10px;
    width: 100%;
}

.search-container,.search-container-page {
    display: flex;
    flex-direction: column;
    margin: 10px 0;
}
.search-results-container {
    padding: 20px;
    margin: 0 auto;
    padding: 0 10px;
}
.search-results-container .search-container,.search-results-container .search-container-page {
    margin-bottom: 50px;
}
.search-results {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-around;
}
.search-pagination {
    margin: 50px;
    display: flex;
    justify-content: center;
}
.card-title h2 {
    font-size: 0.9rem !important;
}
.card {
    background-color: #fff;
    /*border: 1px solid #ddd;*/
    border-radius: 8px;
    overflow: hidden;
    width: calc(33.333% - 20px); /* 3 cards per row */
    box-shadow: 0 0 2px 0 rgba(0, 0, 0, .2);
    transition: transform 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    flex-direction: column;
}
.taxonomy-name {
    padding: 5px;
    border-radius: 10px;
    background-color: #f6f7f9;
    margin: 10px;
}
.taxonomy-name a{
    color: #111418 !important;
    font-size: 0.8rem;
}
.taxonomy-name a:hover{
    color: red !important;
}
.card-body {
    display: flex;
    width: 100%;
}
.card-img {
    width: 30%;
    margin-right: 2%;
    height: 130px;
    min-width: 130px;
}
.card-text {
    width: 65%;
    color: #333;
}
.card-text:hover{
    color:red;
}

.index-card-body {
    width: 20%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    flex-direction: row;
    border-radius: 10px;
    box-shadow: 0 0 2px 0 #3e444a;
}

/* 鼠标靠近变化的代码
.card:hover {*/
/*    transform: translateY(-5px);*/
/*}*/
.card-image {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.card-image img {
    width: 100%;
    max-width: 150px;
    height: 150px;
    /*max-height: 150px;*/
}

.related {
    display: flex;
    flex-direction: row;
    width: 100%;
    margin: 5px 0;
}

/*分类显示图片和名称页面*/
.search-results .card a {
    width: 95%;
}
.card-title p {
    width: 95%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.card-title {
    background-color: unset;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #215db0;
    white-space: nowrap;
    font-size: 1rem;
}
.card-title:hover{
    color:red;
}
.taxonomy-list-url {
    width: 100%;
}
.sub-taxonomy {
    width: 15%;
    align-items: center;
    margin: 1%;
    box-shadow: 0 0 2px 0 #3e444a;
    padding: 10px;
    background-color: white;
    border-radius: 10px;
}
.taxonomy-title-info {
    display: flex;
    flex-direction: column;
    margin-bottom: 50px;
    padding: 50px 10px;
}
.taxonomy-content {
    margin: 10px 0;
    padding: 0 10px;
}

/* 分页导航 */
.navigation li a,
.navigation li a:hover,
.navigation li.active a,
.navigation li.disabled {
    color: #fff;
    text-decoration:none;
}
  
.navigation li {
    display: inline;
}
  
.navigation li a,
.navigation li a:hover,
.navigation li.active a,
.navigation li.disabled {
    background-color: #6FB7E9;
    border-radius: 3px;
    cursor: pointer;
    padding: 12px;
    padding: 0.75rem;
}
  
.navigation li a:hover,
.navigation li.active a {
    background-color: #3C8DC5;
}
/*关于我们*/
.about-us {
    padding: 20px;
}
.office-address-img {
    width: 400px;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}
.about-euttest {
    width: 50%;
    padding: 2%;
}

/*404*/
.nothing {
    flex-direction: column;
    padding-bottom: 50px;
    background-color: #FFF;
}
.nothing-title {
    font-size: 4rem;
}

/*instrument-archive*/
div#primary {
    display: flex;
    flex-direction: column;
}
.archive-title-info {
    padding: 0 20px;
    margin-bottom: 50px;
}
.more-select {
    flex-direction: column;
    padding: 50px 10px;
    background-color: #FFF;
    margin-top: 30px;
}
.more-select-type {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}
.select-div {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 40px;
    /*background-color: #F1F1F1;*/
    margin: 20px;
}
.select-div a {
    width: 100%;
    display: flex;
    /* align-self: center; */
    justify-content: center;
}
/*问答页面*/
.qa-content {
    box-sizing: border-box;
    background: #fff;
    border: 2px solid #fff;
    border-radius: 5px;
    box-shadow: none;
    /*margin: 0 5px;*/
    padding: 0 10px;
    width: 60%;
    margin-bottom: 40px;
    padding-bottom: 40px;
}
.qa-aside {
    box-sizing: border-box;
    background: #fff;
    border: 2px solid #fff;
    border-radius: 5px;
    box-shadow: none;
    /*margin: 0 0 0 10px;*/
    padding: 10px;
    width: 38%;
    margin-bottom: 40px;
    padding-bottom: 40px;
}
/*footer*/
.footer2 p {
    font-size: 0.8rem !important;
}
.footer2 a {
    font-size: 0.8rem !important;
}
/*关于我们*/
.margin-bottom-div {
    margin-bottom: 60px;
}

/*首页-轮播图*/
.carousel {
    position: relative;
    width: 100%; /* 设置为100%以自适应父元素 */
    max-width: 1280px;  /*最大宽度 */
    height:400px;
    margin: auto;
    overflow: hidden;
}
.banner-image{
    background-image: linear-gradient(40deg, #1e4a87 70%, #fff 100%);
}
.carousel-div {
    padding: 50px;
    display: flex;
    flex-direction: column;
}
.white-font{
    color:#FFF !important;
}
.business{
    background-color: unset;
}
.company-name{
    /*text-align:unset;*/
    padding:unset;
    margin: unset;
}

.carousel-images {
    display: flex; /* 使用 flexbox 排列图片 */
    transition: transform 0.5s ease; /* 设置滑动效果 */
    width: 400%; /* 根据图片数量设置宽度 */
    height:400px;
}

.trademark{
    color: #FFF;
    margin: 0;
    justify-content: flex-start;
    background-color:unset;
}
.site-description {
    display: inline-block;
    font-size: 1rem;
    line-height: 25px;
    color: #fff;
}
.button-banner {
    border: 1px solid #FFF;
    padding: 10px;
    width: 120px;
    text-align: center;
    margin: 30px 0 20px 0;
    border-radius: 10px;
}

.carousel-images .banner-image {
    width: 25%; /* 每张图片占据25%的宽度 */
    height: auto; /* 高度自动调整以保持宽高比 */
}
.carousel-images .banner-image.active {
    display: flex; /* 只有active的图片显示 */
}

.image-button.active-button {
    background-color: #FFF; /* 只有active的图片显示 */
}

.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    padding: 10px;
    cursor: pointer;
}

.nav-button.prev {
    left: 0vw;
}

.nav-button.next {
    right: 0vw;
}

/* Button container styles */
.button-container {
    display: flex;
    justify-content: center; /* 居中按钮 */
    position: absolute; /* 设置为绝对定位 */
    bottom: 10px; /* 距离底部10px */
    left: 50%;
    transform: translateX(-50%); /* 居中对齐 */
    z-index: 10; /* 确保按钮在图片上方 */
    width: 100%; /* 确保按钮容器宽度为100% */
}

.image-button {
    width: 100px; /* 设置按钮的宽度 */
    height: 20px; /* 设置按钮的高度 */
    margin: 0 5px; /* 为按钮之间添加一些间距 */
    background-color: rgba(255, 255, 255, 0.3); /* 按钮背景颜色 */
    color: white; /* 按钮文字颜色 */
    border: none; /* 移除边框 */
    border-radius: 5px; /* 圆角效果 */
    cursor: pointer; /* 鼠标悬停时显示手指光标 */
}
/*首页-轮播图*/


/* 产品详情页图集容器 */
/* 容器水平居中 */
.acf-gallery-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.main-image{
    width: 100% !important;
    height: 200px !important;
}

/* 大图区域 */
.gallery-main {
    text-align: center;
    margin-bottom: 15px;
    border: 1px solid #F1F1F1;
}
.gallery-main img {
    max-width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
}

/* 缩略图容器 */
.gallery-thumbs {
    display: flex;
    gap: 5px; 
    justify-content: flex-start;
    overflow-x: auto;
    padding: 10px 0;
    min-height: 40px; 
    flex-wrap: wrap;
}

/* 单个缩略图 */
.gallery-thumbs .thumbnail {
    width: 50px;
    height: 50px;
    min-width: 30px;
    cursor: pointer;
    border: 2px solid #eaeef2;
    border-radius: 10px;
    transition: border-color 0.3s ease;
    object-fit: contain;    /* 关键修复：保持图片比例 */
    flex-shrink: 0;       /* 禁止弹性收缩 */
}

/* 当前选中状态 */
.gallery-thumbs .thumbnail.active {
    border-color: #0040ff;
}
/* 产品图集容器 */

/* 新增弹窗样式 */
.image-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 72%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    cursor: zoom-out;
}

.overlay-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    justify-content: center;
}

.overlay-content img {
    max-height: 90vh;
    width: auto;
    height: auto;
}

/*.close-btn {*/
    /*position: absolute;*/
    /*top: 0px;*/
    /*right: 20vw;*/
    /*color: white;*/
    /*font-size: 100px;*/
    /*cursor: pointer;*/
    /*transition: 0.3s;*/
    /*border: 1px solid #FFF;*/
    /*padding: 10px 10px 25px;*/
/*}*/

.close-btn:hover {
    color: #ccc;
}

/*联系表单*/
.acfpro-form-wrapper {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}
.acfpro-form .form-field {
    margin-bottom: 15px;
}
.acfpro-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}
.acfpro-form input,
.acfpro-form textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}
.captcha-container {
    display: flex;
    align-items: center;
    gap: 10px;
}
.refresh-captcha {
    cursor: pointer;
    padding: 5px;
    background: none;
    border: none;
}
.form-errors {
    margin: 15px 0;
    padding: 10px;
    display: none;
}
.form-errors.show {
    display: block;
}
.form-errors .success {
    color: #155724;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    padding: 10px;
}
.form-errors .error {
    color: #721c24;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 10px;
}
button.form-submit-btn {
    font-size: 1.2rem;
    margin: 20px 0;
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px 0;
    cursor: pointer;
}
span#captcha-question {
    min-width: 100px;
}
/*联系表单*/

.children-page-list{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px;
    box-shadow: 0 0 2px 0 #3e444a;
    padding: 10px 2px;
    background-color: white;
    border-radius: 10px;
    width: 30%;
}
.featured-image {
    display: flex;
    justify-content: center;
}
.children-page-title{
    text-align: center;
}
.child-page-ul {
    margin: 40px 0;
}
.child-page-image {
    width: 100%;
    max-width: 250px;
}
.convert{
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.calculate-form-db {
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    background-color: #F1F1F1;
    padding: 10px;
}
.calculate-form-num {
    display: flex;
    justify-content: space-around;
}
.calculate {
    width: 45%;
}
.calculate-form-db button,.calculate button{
    flex: 1;
    padding: 10px;
    background: #0073aa;
    color: white;
    border: none;
}
#result {
    margin: 20px 0;
    padding: 20px;
    background-color: #F1F1F1;
}
.db-form-submit {
    margin: 20px 0;
    flex: 1;
    padding: 10px;
    background: #0073aa;
    color: white;
    border: none;
}
.calculate-form-text {
    margin: 5px 0;
}
.calculate-form-text label {
    font-size: 1rem;
    font-weight: 700;
}
/*标签页*/
.tags-title-div {
    display: flex;
    align-items: center;
    /* background-color: #215db0; */
    margin-top: 30px;
    border-radius: 10px;
    /* color: white; */
}
.tags-title-1 {
    width: 90%;
    text-align: left;
}
.tags-title {
border-radius: 10px;
    background-color: #215db0;
    color: #FFF;
    padding: 5px;
    font-size: 2rem;
}
.tags-title-2 {
    DISPLAY: block;
    width: 10%;
}

.ins-page-link{
    width: 100%;
    display: flex;
    align-items: center;
}

