footer {
    background-color: rgba(0, 0, 0, 0.500);
    color: #ffffff;
    padding: 10px;
    text-align: center;
    min-height: 250px;
}

.footer-div p {
    font-size: 20px;
    text-align: left;
    margin-right: 80px;
}

.footer-div {
    width: 96%;
    justify-content: center;
    margin: 15px auto 40px; /* 上边距20px，下边距10px，水平居中 */
    display: flex;
    white-space: nowrap;
}

@media (max-width: 1200px) {

    .footer-div {
        display: none; /* 隐藏整个 footer-div */
    }
    footer {
        display: none; /* 隐藏整个 footer 元素 */
    }

    .d1 {
        display: flex !important; /* 使用 Flexbox 布局 */
        flex-direction: column !important; /* 设置主轴方向为垂直 */
        justify-content: center !important; /* 在交叉轴上居中对齐内容 */
        align-items: center!important; /* 在主轴上居中对齐内容 */
        border-top: 1px solid #b8aeae;
        background-color: rgba(0, 0, 0, 0.5);
    }
    .d {
        width: 1240px;
        height: auto;
        color: #fff;
        font-size: 14px;
        display: flex;
        margin: 0 auto; /* 让元素水平居中 */
    }


}
.footer-nav {
    text-align: left;
    display: flex;
    margin-right: 50px;
    flex-direction: column;
}

.footer-nav a {
    font-size: 14px;
    text-align: left;
    padding: 3px 0;
    text-decoration: none;
    color: #ffffff;
    transition: color 0.3s ease;
}

.footer-nav a1 {
    font-size: 15px;
    text-align: left;
    text-decoration: none;
    color: #ffffff;
}

.footer-nav a2 {
    margin-top: 15px;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    color: #a53939;
}

.footer-nav a:hover {
    color: #ff0000;
}

#btnScrollToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    border: none;
    width: 100px;
    /*background-color: #9C1111;*/
    color: #fff;
    /*padding: 10px;*/
    /*border-radius: 5px;*/
    transition: right 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
    animation: slideInRight 0.5s ease;
    /*visibility: hidden;*/
    opacity: 1;
}

@keyframes slideInRight {
    from {
        transform: translateX(20px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

#btnScrollToTop:hover {
    transform: scale(1.1);

}

#btnScrollToTop img {
    width: 100%;
}

.footer-nav img {
    width: 30%;
    height: 30%;
}


.d1{
    border-top: 1px solid #b8aeae;
    background-color: rgba(0, 0, 0, 0.500);
}
.d {
    width: 95%;
    height: auto;
    color: #fff;
    font-size: 14px;
    display: flex;
    margin: 0 auto; /* 让元素水平居中 */
}

.d div:nth-child(1) {
    padding: 10px;
    margin-right: auto; /* 左侧对齐 */
}

.d div:nth-child(2) {
    padding: 10px;
    margin-left: auto; /* 右侧对齐 */
}

.d a {
    color: #fff;
    text-decoration: none;
}



@media (max-width: 1024px) {
    .footer-nav {
        display: flex;
        margin-right: 0px;
        align-items: center;
    }

    .footer-nav a {
        margin-right: 0;
        display: none;
    }

    .footer-div p {
        display: block;
        margin-bottom: 5px;
        margin-right: 0;
        padding-left: 60px;
        padding-right: 60px;
    }

    .footer-div {
        width: 100%;
        flex-direction: column;
        align-items: center;
    }

    .d{
        width: 100% !important;
    }
    .pPath{
        display: initial !important; /* 或者 display: unset; */
        align-items: initial !important; /* 或者 align-items: unset; */
    }
}

/* 定义按钮样式 */
.slider-button {
    width: 40px;
    height: 40px;
    background-color: #ffffff;
    border: 1px solid #abacaf; /* 边框线宽度为1px，颜色与背景色相同 */
    color: #000000;
    transition: background-color 0.3s, color 0.3s;
}

.button-container {
    display: flex;
    justify-content: center;
}

/* 悬停效果 */
.slider-button:hover {
    background-color: #a00b0b; /* 红色 */
    color: #fff; /* 白色 */
}

/* 当前页码 */
.active .slider-button {
    background-color: #a00b0b; /* 红色 */
    color: #fff; /* 白色 */
}

/* 更多页码 */
.page-more {
    width: 40px;
    height: 40px;
    border: 1px solid #abacaf;
    color: #000;
    display: inline-block;
    padding: 5px 8px 5px 10px;
    vertical-align: middle;
    background: #fff;
    font-size: 16px;
    font-weight: normal;
}

.pPath{
    display: flex;
    align-items: flex-start;
}




