* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*清除浮动*/
.clearfix {
    zoom: 1;
    display: flex;
    flex-wrap: wrap;
}

.clearfix:before,
.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: ".";
    clear: both;
    height: 0;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: #333;
}

a:hover {
    color: #06a7f1;
}

.header-color {
    background: #eaeef1;
    border-radius: 10px;
}

.top-nav ul {
    display: flex;
    justify-content: center;
    font-family: 'Courier New', Courier, monospace;
}

.top-nav ul li {
    text-decoration: none;
    width: 400px;
    height: 35px;
}

.top-nav li.onn a {
    color: #06a7f1;
}

.dropdown-box {
    display: none;
}

.dropdown:hover .dropdown-box {
    display: block;
    background: #fff;
    border: 1px solid #e9f3f5;
    position: relative;
    z-index: 9999;
}

.dropdown-box p a {
    color: #000 !important;
}

.dropdown-box p:hover {
    background: #e7f1fa;
}


main {
    padding: 2rem;
}

/* 首页轮播图 */

@media (min-width: 1200px) {
    .btbs-slider .btbs-item {
        width: 100%;
        padding: 107px 40px;
    }
}

@media (min-width: 992px) {
    .swiper-slide-active .btbs-item .btbs-content .btbsc-subtitle {
        -webkit-transform: translateY(0px);
        -ms-transform: translateY(0px);
        transform: translateY(0px);
    }
}

@media (min-width: 992px) {
    .swiper-slide-active .btbs-item .btbs-content .btbsc-title {
        -webkit-transform: translateY(0px);
        -ms-transform: translateY(0px);
        transform: translateY(0px);
    }
}

@media (min-width: 992px) {
    .swiper-slide-active .btbs-item .btbs-content .btbsc-desc {
        -webkit-transform: translateY(0px);
        -ms-transform: translateY(0px);
        transform: translateY(0px);
    }
}

.ser-box,
.tu-box,
.cases-box {
    border: 1px solid #e9f3f5;
    box-shadow: 0 4px 8px rgb(227, 243, 248);
}

.btbs-item {
    padding: 80px 20px;
    position: absolute;
    top: 80px;
    left: 100px;
    background: #ebeff0ab;
}

@media (min-width: 1200px) {
    .btbs-item {
        width: 45%;
        padding: 75px 80px;
    }
}

.btbs-item .btbs-content .btbsc-subtitle {
    -webkit-transition: 1.5s;
    -moz-transition: 1.5s;
    transition: 1.5s;
}

@media (min-width: 576px) {
    .btbs-item .btbs-content .btbsc-subtitle {
        font-size: 1.456rem;
    }
}

@media (min-width: 992px) {
    .btbs-item .btbs-content .btbsc-subtitle {
        -webkit-transform: translateY(-270px);
        -ms-transform: translateY(-270px);
        transform: translateY(-270px);
    }
}

@media (min-width: 992px) and (max-width: 1399px) {
    .btbs-item .btbs-content .btbsc-title {
        font-size: 32px;
    }
}

.btbs-item .btbs-content .btbsc-title {
    -webkit-transition: 0.9s;
    -moz-transition: 0.9s;
    transition: 0.9s;
}

@media (min-width: 576px) {
    .btbs-item .btbs-content .btbsc-title {
        font-size: 32px;
    }
}

@media (min-width: 992px) {
    .btbs-item .btbs-content .btbsc-title {
        -webkit-transform: translateY(-270px);
        -ms-transform: translateY(-270px);
        transform: translateY(-270px);
    }
}

@media (min-width: 992px) and (max-width: 1399px) {
    .btbs-item .btbs-content .btbsc-title {
        font-size: 32px;
    }
}

.btbs-item .btbs-content .btbsc-desc {
    -webkit-transition: 1.2s;
    -moz-transition: 1.2s;
    transition: 1.2s;
}

@media (min-width: 992px) {
    .btbs-item .btbs-content .btbsc-desc {
        -webkit-transform: translateY(200px);
        -ms-transform: translateY(200px);
        transform: translateY(200px);
    }
}



.serList,
.xmList {
    display: none;
}

.jiance .ov-box {
    max-height: 650px;
    overflow: auto;
    padding: 10px 0;
}

.ov-box {
    max-height: 300px;
    overflow: auto;
    padding: 10px 0;
}

.ov-box::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.serNav,
.xmNav {
    cursor: pointer;
    border: 1px solid #e9f3f5;
    box-shadow: 0 4px 8px rgb(227, 243, 248);
}

.serNav.active,
.xmNav.active {
    color: #06a7f1;
}

.serNav img {
    width: 15%;
}

.ser-title {
    background: rgb(0, 0, 0, 0.5);
    position: absolute;
    bottom: 3%;
    padding: 10px;
    width: 97%;
}

.ser-title a {
    color: #fff !important;
}

.ser-title a:hover {
    color: #06a7f1 !important;
}

/* 上下滚动 */
.tit {
    background: -webkit-linear-gradient(top, #0975f1, #004fc6);
}

.hq2 {
    width: 100%;
    overflow: hidden;
    height: 600px;
    border-left: 1px solid #ebebeb;
    border-bottom: 1px solid #ebebeb;
    border-right: 1px solid #ebebeb;
}

.cn-title {
    background: #2972ad;
    color: #fff;

    .bi,
    .fa {
        font-size: calc(1.5rem + .6vw) !important;
    }
}

/* 服务案例 样式 */
.swiper-cases {
    width: 100%;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
}

.swiper-slide-case {
    height: calc((100% - 30px) / 2) !important;
    margin-top: 0 !important;
}

.swiper-grid-column>.swiper-wrapper-case {
    flex-direction: unset !important;
}

.cases-border {
    border: 1px solid #bdf1fc;
    border-radius: 10px;
}

/* 优势 */
.ys-bg1 {
    padding: 0 50px;
    border-radius: 10px;
    background: url("../images/bg-1.png") center;
}

.ys-bg2 {
    padding: 0 50px;
    border-radius: 10px;
    background: url("../images/bg-2.png") center;
}

.ys-bg3 {
    padding: 0 50px;
    border-radius: 10px;
    background: url("../images/bg-3.png") center;
}

.ys-bg4 {
    padding: 0 50px;
    border-radius: 10px;
    background: url("../images/bg-4.png") center;
}

.ys-section {
    position: relative;
    overflow: hidden;
}

.ys-title {
    transition: opacity 0.3s ease-in-out;
    position: relative;
    z-index: 2;
    display: inline-block;
    top: 25%;
    left: 8%;
    color: #fff;
    background-color: rgba(41, 40, 40, 0.3);
    border-radius: 10px;
    cursor: pointer;
}

.ys-content {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    line-height: 100%;
    opacity: 0;
    transition: top 0.3s ease-in-out, opacity 0.3s ease-in-out;
    transform: translateY(-10px);
    background-color: rgba(41, 40, 40, 0.3);
    color: #f0f0f0;
}

.ys-section:hover .ys-title {
    opacity: 0;
}

.ys-section:hover .ys-content {
    top: 0;
    opacity: 1;
    transform: translateY(0);
}

.tubiao i {
    font-size: 44px;
    color: #245ba2;
    height: 50px;
    line-height: 50px;
}

/* 流程 */
.bg-img {
    background-image: url("../images/part02bg.png");
    color: #eaeef1;
}

.lc-border {
    border: 1px solid #8b8b8b73;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

/* 实验信息 开始 */
.shiyan {
    background: #245ba2;
    text-align: center;
}

.strength-tab {
    color: #000;
    cursor: pointer;
    text-align: center;
}

.strength-tab.on {
    color: #245ba2;
}

.strength-content-container .sy-content {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    padding: 15px 0;
    text-align: center;
}

.strength-content-container .sy-content.active {
    display: block;
    opacity: 1;
}

/* 实验信息 结束 */

.bg-text {
    color: #c7c3c3;
}

/* 首页新闻资讯样式 */

.newsList {
    display: none;
}

.newsNav.active {
    color: #06a7f1;
    font-weight: bold;
}

.border-bottom {
    border-bottom: 1px solid #ebebeb;
}

/* 底部样式 */
.footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    width: 100%;
}

.copyright-text {
    color: #f0f0f0;
}

.copyright-text a {
    color: #f0f0f0;
}

.copyright-text a:hover {
    color: #245ba2;
}

.text-color {
    color: #fff;
}

/* 行业领域样式开始 */
.bt-bj {
    background: url("../images/page/ban.jpg");
    color: #fff;
}

.news-box a:hover,
.news-box a selected:hover {
    color: #245ba2;
}

.nav-tabs {
    border: none;
    width: 100%;
}

.nav-tabs .nav-link {
    /* padding: 0; */
    color: #000;
    border: none;

}

.nav-tabs .nav-link.active {
    color: #067ff1;
}

.de-content-text p {
    margin: 8px 15px;
}

.sort-bg {
    background: #89d9f8;
    border-radius: 10px;
    color: #fff;
    padding: 5px 10px;
}

/* 分页样式 */
.page-list {
    list-style-type: none;
}

.page-list li {
    margin: 15px 10px;
    border: 1px solid #e0e0df;
    border-radius: 10px;
    padding: 10px;
}

.page-list li:active {
    background: #e0eaee;
}

.detail {
    border: 1px solid #f0f1f1;
    width: 15%;
    border-radius: 10px;
    background: #e1eef5;
}

.detail1 {
    border: 1px solid #f0f1f1;
    width: 100%;
    border-radius: 10px;
    background: #e1eef5;
}

/* 仪器 */
.yqList {
    display: none;
}

.yqList .fw-title {
    position: absolute;
    bottom: 22px;
    background: rgba(0, 0, 0, 0.8);
    color: #f0f0f0;
    width: 83%;
}

.yqList .fw-title:hover {
    color: #245ba2;
    cursor: pointer;
}

.yqNav {
    cursor: pointer;
}

.yqNav.active span,
.bg-color {
    color: #245ba2;
}

.tu-img1 {
    width: 100%;
    height: auto;
}

/* 成分分析 样式 */

.cfList {
    display: none;
}

.cfNav {
    cursor: pointer;
}

.cfNav.active {
    /* 定义激活状态的样式 */
    color: #245ba2;
}


/* 标准检测 样式 */
.jcList {
    display: none;
}

.jcNav {
    cursor: pointer;
}

.jcNav.active {
    /* 定义激活状态的样式 */
    color: #245ba2;
}

.jc-box {
    border: 2px solid #f0f0f0;
    box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.1);
    background: linear-gradient(to right, #dfeef7dc 0%, #dbe9f1 50%, #d8e8f7 50%, #dbe6f3 100%);
}

/* 案例样式 */
.bj-chakan {
    background: #ebf0f7;
    width: 26%;
}

.bj-chakan:hover {
    background: #067ff1;
    color: #fff;
}

/* 院所 */

.news-title {
    color: #067ff1 !important;
}

/* 固定 col-lg-3 的位置 */
.col-lg-3.fixed-aside {
    position: sticky;
    top: 20px;
    /* 根据需要调整顶部间距 */
    bottom: 0px;
    /* 根据需要调整底部间距 */
    height: 100%;
    /* 根据顶部和底部间距计算高度 */
    background-color: #fff;
    /* 设置背景颜色 */
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    /* 添加阴影效果 */
    z-index: 1000;
    /* 确保元素在最上层 */
}

.detail-content h3,
.news-content h3,.news-content .p-h3,
.inst-content h3,
.zx-title {
    text-indent: 0;
    padding: 10px;
    background: #fdf3f3d7;
    color: #000000c7 !important;
    font-size: 1.25rem;
    margin: 10px 0 10px 1em;
    font-weight: bolder;
    display: inline-block;
    border-left: #ca9b8faf 5px solid;
    border-radius: 0 10px 10px 0;
}

/* 文字页面 样式 */
.t-content p span,
.t-content h3 {
    color: #245ba2;
}

.news-content p {
    text-indent: 2em;
}

/* 适应不同屏幕尺寸 */
@media (max-width: 992px) {
    .col-lg-3.fixed-aside {
        position: static;
        /* 在小屏幕上取消固定 */
        width: 100%;
    }
}

.aside-box {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 0.5rem 0;
    }

    /* .ys-content {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        opacity: 0;
        transition: top 0.3s ease-in-out, opacity 0.3s ease-in-out;
        transform: translateY(-10px);
        background-color: rgba(41, 40, 40, 0.3);
        color: #f0f0f0;
    } */

    .top-titlt {
        background: #fff;
    }

    .top-titlt .dropdown-box {
        display: none;
        background-color: #fff;
        color: #000 !important;
        width: 100%;
    }

    .top-titlt li.open .bi {
        display: inline-block;
        transform: rotate(90deg);
    }

    .m-bj {
        background: #fff;
        border: none;
    }

    .m-bj li {
        width: 100%;
    }

    #menu-close {
        float: right;
    }

    #menu-list {
        display: none;
        /* 默认隐藏菜单 */
    }

    #menu-list .bi {
        font-size: calc(1.3rem + -0.4vw) !important;
    }

    .dropdown:hover .dropdown-box {
        display: block;
        background: #fff;
        border: 1px solid #e9f3f5;
        position: relative;
        width: 100%;
        z-index: 2;
    }

    .detail {
        width: 32%;
    }
}