/* ==================== 基础样式 ==================== */
* {}
html, body {
    font-size: 16px;
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Ubuntu, Helvetica Neue, Helvetica, Arial, PingFang SC, Hiragino Sans GB, Microsoft YaHei UI, Microsoft YaHei, Source Han Sans CN, sans-serif;
}
a {
    color: #545454;
    text-decoration: none;
}
a:hover {
    text-decoration: none;
    color: #2F72F0;
}
.my-4 {
    color: #999;
}

/* ==================== 布局类 ==================== */
header {
    background: #fff;
}
header.sticky-top {
    position: sticky;
    top: 0;
    z-index: 1020;
}

footer {
    color: #fff;
    background: url(/assets/addons/xccms/img/theme1/footer-bg.png);
    background-size: cover;
    padding: 30px 0;
}
footer a {
    color: #fff;
}
footer a:hover {
    color: #fff;
    text-decoration: underline;
}
footer .logo-bottom {
    max-width: 255px;
    max-height: 80px;
    margin-bottom: 0;
}
footer .nav-links {
    text-align: left;
    margin-top: 0;
    margin-right: 127px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    min-height: 150px;
}
footer .nav-links a {
    display: block;
    padding: 5px 0;
    position: relative;
    font-weight: bold;
    margin-bottom: 10px;
}
footer .nav-links a:not(:last-child):after {
    content: none;
}
footer .contact-info {
    text-align: left;
    display: inline-block;
    max-width: 200px;
    font-size: 14px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 150px;
}
footer .contact-info .info-item {
    margin-bottom: 19px;
}
footer .contact-info .info-title {
    font-weight: bold;
    display: block;
    margin-bottom: 2px;
}
footer .friendlink-box {
    margin-top: 20px;
    width: 100%;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}
footer .friendlink-box a {
    margin-right: 15px;
    color: rgba(255, 255, 255, 0.8);
}

/* ==================== 导航相关 ==================== */
header .navbar-brand {
    color: #000;
}
header .navbar-brand img {
    max-width: 206px;
    max-height: 60px;
}
header nav.navbar {
    background: #fff;
}
header nav.navbar .nav-link {
    font-size: 16px;
    color: #000;
    padding: 9px 20px;
    position: relative;
    text-align: center;
    display: inline-block;
}
header nav.navbar .nav-link small {
    display: block;
    transform: scale(0.80);
    text-align: center;
}
header nav.navbar .nav-link.active {
    color: #000;
}
header nav.navbar .nav-link:hover,
header nav.navbar .nav-link.active:hover {
    color: #2F72F0;
}
header nav.navbar .nav-link .tel {
    display: block;
    font-size: 20px;
    font-weight: bolder;
}
header nav.navbar .nav-link.tel-box {
    font-size: 18px;
}
header nav.navbar .nav-link.tel-box .iconpark-icon {
    width: 1.5rem;
    height: 1.5rem;
}
.navbar-expand-lg .navbar-nav .nav-link {
    padding: 15px;
}

header .dropdown-menu {
    border-radius: 0;
    background-color: #1f252f;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    min-width: 200px;
    position: relative;
    --arrow-position: 50px; /* 默认箭头位置，会被JS动态覆盖 */
}

@media (min-width: 992px) {
    
    header .dropdown-menu {
        position: fixed !important;
        top: 62px;
        width: 100%;
        left: 0;
        padding: 20px 0;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: start;
        max-width: 100%;
    }
    header .dropdown-menu.show {
        display: flex;
    }
    
    header .dropdown-menu .container {
        display: flex;
        flex-wrap: wrap;
        /* padding-top: 10px;
        padding-bottom: 10px; */
    }
    
    header .dropdown-menu li {
        border-bottom: none;
        /* border-right: 1px solid rgba(255, 255, 255, 0.1); */
        min-width: 150px;
        /* margin-bottom: 15px; */
        display: inline-block;
        padding: 0;
    }
    
    header .dropdown-menu li:last-child {
        border-right: none;
    }
    
    header .dropdown-menu li a {
        padding: 8px 20px;
        transition: all 0.2s ease;
        position: relative;
    }
    
    header .dropdown-menu li a:hover {
        color: #2F72F0 !important;
    }

    header .dropdown-menu::before {
        content: '';
        position: absolute;
        top: -8px;
        left: var(--arrow-position);
        width: 0;
        height: 0;
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-bottom: 8px solid #1f252f;
        transform: translateX(-8px); /* 让箭头中心对齐计算的位置 */
    }
}

@media (max-width: 992px) {
    header .container,
    header .container-fluid {
        padding: 0;
    }
    header .navbar-brand {
        margin-left: 12px;
    }
    header .navbar-toggler {
        margin-right: 12px;
    }
}

header .dropdown-menu li {
    /* border-bottom: 1px solid #f0f0f0; */
}
header .dropdown-menu li:last-child {
    border-bottom: none;
}
header .dropdown-menu li a {
    padding: 10px 20px;
    /* color: #333; */
    font-size: 14px;
    display: block;
    transition: all 0.3s ease;
    color: #bcbec0 !important;
}
header .dropdown-menu li a:hover {
    background: transparent;
    color: #2F72F0;
    text-decoration: none;
}
.dropdown-toggle::after {
    position: absolute;
    right: -2px;
    top: 23px;
}

/* ==================== 组件类 ==================== */
/* 图标 */
.iconpark-icon {
    width: 1rem;
    height: 1rem;
}

/* 面包屑 */
.breadcrumb .breadcrumb-item a {
    color: #2F72F0;
}

/* 分页 */
.pagination {
    justify-content: center;
}
.pagination li span,
.pagination li a {
    border: 1px solid #ccc;
    display: inline-block;
    padding: 2px 8px;
    margin: 0 5px;
}
.pagination li a {
    text-decoration: none;
    border: 1px solid #2F72F0;
}
.pagination li a:hover,
.pagination li.active span {
    background: #fff;
    color: #2F72F0;
}

/* 按钮 */
.btn {
    margin-top: 20px;
}

/* 表单 */
.xccms-guestbook-box {
    position: fixed;
    bottom: 0;
    left: 1rem;
    background: #fff;
    width: 300px;
    z-index: 999;
}
.xccms-guestbook-box .header {
    background: #2F72F0;
    color: #fff;
    padding: 10px;
    cursor: pointer;
}
.xccms-guestbook-box .header a {
    float: right;
    color: #fff;
}
.xccms-guestbook-box .body {
    padding: 10px;
    position: relative;
}
.xccms-guestbook-box .body .form-group {
    margin: 5px 0;
}
.xccms-guestbook-box .body .result-box {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 999;
    display: none;
}
.xccms-guestbook-box .body .result-box div {
    display: block;
    text-align: center;
    color: #fff;
    margin-top: 20%;
}
.xccms-guestbook-box .body .result-box div span {
    display: inline-block;
    border: 1px solid #eee;
    padding: 10px;
}

/* ==================== 功能模块 ==================== */
/* 轮播图 */
#carouselExampleIndicators .vcenter {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
}

/* 关于我们 */
.xccms-aboutus-box {}
.xccms-aboutus-box .title {
    color: #2F72F0;
    text-align: center;
}
.xccms-aboutus-box .title h2 {}
.xccms-aboutus-box .title .hr {
    display: inline-block;
    width: 59px;
    height: 4px;
    background: #2F72F0;
    margin-bottom: 35px;
}
.xccms-aboutus-box .lead {
    line-height: 30px;
    font-size: 16px;
}
.xccms-aboutus-box .desc-image-box {
    width: 80%;
    overflow: hidden;
}
.xccms-aboutus-box .desc-image-box .desc-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    transition: all 0.8s;
}
.xccms-aboutus-box .desc-image-box .desc-image:hover {
    transform: scale(1.2);
}

/* 数据报告 */
.xccms-datareport-box {
    background: #f1f1f1;
}
.xccms-datareport-box .col {
    border-right: 1px solid #ddd;
}
.xccms-datareport-box .col:last-child {
    border-right: 0;
}
.xccms-datareport-box dt {
    color: #2F72F0;
    font-size: 22px;
    margin-bottom: 10px;
}
.xccms-datareport-box dt .num {
    font-size: 36px;
    margin-right: 5px;
}

/* 通用模块 */
.xccms-box {}
.xccms-box .title {
    color: #2F72F0;
    text-align: center;
}
.xccms-box .title h2 {}
.xccms-box .title .hr {
    display: inline-block;
    width: 59px;
    height: 4px;
    background: #2F72F0;
    margin-bottom: 35px;
}
.xccms-box .item {
    padding: 10px;
    text-align: center;
}
.xccms-box .item .img {
    max-width: 60px;
    margin-bottom: 15px;
}
.xccms-box .item dt {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}
.xccms-box .item dd {
    display: block;
    width: 70%;
    color: #999;
    text-align: center;
    display: inline-block;
}

/* 产品展示 */
.xccms-product-box {}
.xccms-product-box .title {
    color: #2F72F0;
    text-align: center;
}
.xccms-product-box .title h2 {}
.xccms-product-box .title .hr {
    display: inline-block;
    width: 59px;
    height: 4px;
    background: #2F72F0;
    margin-bottom: 35px;
}

.xccms-product-box .row {
    grid-gap: 24px;
}

.xccms-product-box .row .item {
    padding: 0;
    position: relative;
    width: 380px;
    height: 300px;
}
.xccms-product-box .row .item .desc {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: none;
    background: rgba(0, 0, 0, 0.3);
    text-align: center;
    color: #ffffff;
}
.xccms-product-box .row .item:hover .desc {
    display: block;
}
.xccms-product-box .row .item .list-image-box {
    width: 100%;
    height: 100%;
    /* overflow: hidden; */
}
.xccms-product-box .row .item .list-image-box .img {
    width: 100%;
    height: 100%;
    transition: all 0.8s;
}
.xccms-product-box .row .item:hover .img {
    transform: scale(1.2);
}
.xccms-product-box .row .item .desc .box {
    display: inline-block;
    padding: 10px;
    border: 1px solid #fff;
    margin-top: 15%;
    color: #fff;
    width: 80%;
}
.xccms-product-box .row .item .desc .box h3 {
    font-size: 20px;
}
.xccms-product-box .row .img {
    width: 100%;
}

/* 新闻模块 */
.xccms-news-box {}
.xccms-news-box .title {
    color: #2F72F0;
    text-align: center;
}
.xccms-news-box .title h2 {}
.xccms-news-box .title .hr {
    display: inline-block;
    width: 59px;
    height: 4px;
    background: #2F72F0;
    margin-bottom: 35px;
}
.xccms-news-box .row {}
.xccms-news-box .item {
    border: 1px solid #fff;
}
.xccms-news-box .item a {
    color: #545454;
}
.xccms-news-box .item:hover {
    border: 1px solid #2F72F0;
}
.xccms-news-box .list-image-box {
    width: 100%;
    overflow: hidden;
    display: block;
}
.xccms-news-box .item .img {
    width: 100%;
    max-height: 191px;
    margin-top: 1rem;
    object-fit: cover;
    transition: all 0.8s;
}
.xccms-news-box .item:hover img {
    transform: scale(1.2);
}
.xccms-news-box .item dl {
    padding: 10px;
}
.xccms-news-box .item dt {
    margin-bottom: 10px;
}
.xccms-news-box .item dd {
    color: #999;
}

/* 页面模块 */
.xccms-page-box {}
.xccms-page-box .container {
    background: #fff;
    padding: 0 20px;
}
.xccms-page-box .title {
    text-align: center;
}
.xccms-page-box .title h1 {
    font-size: 1.8rem;
}
.xccms-page-box .title p {
    color: #999;
    font-size: 14px;
}
.xccms-page-box .content {
    line-height: 28px;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: normal;
}
.xccms-page-box .content .product-content {

}
.xccms-page-box .content .product-content img {
    width: 100%;
}
.xccms-page-box .content h1 {
    font-size: 28px;
}

/* 列表模块 */
.xccms-list-box {}
.xccms-list-box .container {
    background: #fff;
    padding: 0 20px;
}
.xccms-list-box .title {
    text-align: center;
}
.xccms-list-box .title h1 {
    font-size: 1.8rem;
}
.xccms-list-box .list {}
.xccms-list-box .list .item {
    border-bottom: 1px solid #eee;
    padding: 10px 0;
    margin: 10px 0;
}
.xccms-list-box .list .item:last-child {
    border-bottom: 0;
}
.xccms-list-box .list .item .list-image-box {
    display: block;
    width: 100%;
}
.xccms-list-box .list .item .list-image-box .list-image {
    width: 100%;
    max-height: 170px;
    object-fit: cover;
}
.xccms-list-box .list .item dt {
    font-size: 18px;
}
.xccms-list-box .list .item dd.time {
    color: #999;
}
.xccms-list-box .list .item .btn {
    float: right;
}

/* 产品模块 */
.product-box {}
.product-box .list-group {
    border-radius: 0;
}
.product-box .list-group .list-group-item {
    border: 0;
    border-bottom: 1px solid #eee;
    padding: 20px 10px;
    font-size: 16px;
}
.product-box .list-group .list-group-item .badge {
    float: right;
}
.product-box .list-group .list-group-item.active {
    background: #f1f1f1;
    color: #545454;
}
.product-box .list-group .list-group-item.active.topic {
    background: #2F72F0;
    color: #fff;
}
.product-box .item {
    margin-bottom: 30px;
}
.product-box .item .list-image-box {
    width: 90%;
    overflow: hidden;
    display: block;
    margin: 0 auto;
    margin-bottom: 10px;
}
.product-box .item .list-image-box .list-image {
    width: 100%;
    transition: all 0.8s;
}
.product-box .item .list-image-box .list-image:hover {
    transform: scale(1.2);
}
.product-box .item .title {
    text-align: center;
    font-size: 20px;
}
.product-box .item .title a {
    color: #545454;
}

/* 合作伙伴 */
.xccms-partner-box {}
.xccms-partner-box .container {
    background: #fff;
    padding: 0 20px;
}
.xccms-partner-box .title {
    text-align: center;
}
.xccms-partner-box .partner-list {}
.xccms-partner-box .partner-list .item {
    text-align: center;
    margin-bottom: 30px;
}
.xccms-partner-box .partner-list .item a {
    color: #545454;
}
.xccms-partner-box .partner-list .item .list-image-box {
    margin: 0 auto;
    height: 90px;
    overflow: hidden;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.xccms-partner-box .partner-list .item .list-image-box .list-image {
    max-width: 100%;
    max-height: 100%;
    transition: all 0.8s;
}
.xccms-partner-box .partner-list .item .list-image-box .list-image:hover {
    transform: scale(1.2);
}
.xccms-partner-box .partner-list .item .fw-normal {
    font-size: 16px;
}

/* FAQ模块 */
.faq-list-box {}
.faq-list-box .accordion {}
.faq-list-box .accordion-item {
    border: 0;
    border-radius: 0;
}
.faq-list-box .accordion-item .accordion-button {
    background: none;
    box-shadow: none;
    color: #2F72F0;
    font-weight: bolder;
    border-bottom: 1px solid #ccc;
}
.faq-list-box .accordion-item .accordion-button::after {
    background: none;
}
.faq-list-box .accordion-item .accordion-button.active {
    border-bottom: 1px solid #2F72F0;
}

/* ==================== 工具类 ==================== */
/* 浮动按钮 */
.xccms-mobile-tel-box {
    position: fixed;
    bottom: 140px;
    right: 10px;
    z-index: 1001;
    background-color: rgba(0,0,0,0.3);
}
.xccms-mobile-tel-box a {
    display: block;
    width: 55px;
    height: 55px;
    line-height: 55px;
    text-align: center;
}
.xccms-mobile-tel-box a .iconpark-icon {
    color: #fff;
    width: 2.3rem;
    height: 2.3rem;
}
.xccms-mobile-tel-box:hover {
    background-color: rgba(0,0,0,0.6);
}

.xccms-mobile-guestbook-box {
    position: fixed;
    bottom: 80px;
    right: 10px;
    z-index: 1001;
    background-color: rgba(0,0,0,0.3);
}
.xccms-mobile-guestbook-box:hover {
    background-color: rgba(0,0,0,0.6);
}
.xccms-mobile-guestbook-box a {
    display: block;
    width: 55px;
    height: 55px;
    line-height: 55px;
    text-align: center;
}
.xccms-mobile-guestbook-box a .iconpark-icon {
    color: #fff;
    width: 2.3rem;
    height: 2.3rem;
}

.gotop-wrapper {
    position: fixed;
    bottom: 20px;
    right: 10px;
    z-index: 1001;
    background-color: rgba(0,0,0,0.3);
}
.gotop-wrapper:hover {
    background-color: rgba(0,0,0,0.6);
}
.gotop-wrapper a {
    display: none;
    width: 55px;
    height: 55px;
    overflow: hidden;
    background: url(/assets/addons/xccms/img/icon-gotop-fixed.gif) no-repeat center;
}