﻿body {
}

/* -------------------------侧边栏样式---------------------------------------------- */

/* 侧边栏样式 */
.close-toggle-sidebar {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 44px 52px 39px 0;
}

    .close-toggle-sidebar img {
        height: 17px;
        width: 22px;
        object-fit: cover;
    }

.index-sidebar-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}
/* 侧边栏面板 */

.index-sidebar {
    width: 502px;
    height: 100%;
    background-color: #FFF;
    position: fixed;
    top: 0;
    left: -100%;
    transition: left 0.3s ease;
}

    .index-sidebar.open {
        left: 0;
    }

/* 图标按钮样式 */
.index-toggle-sidebar {
    cursor: pointer;
}

    .index-toggle-sidebar i {
        font-size: 24px;
    }

/* 遮罩层样式 */
.index-overlay {
    position: fixed;
    top: 0;
    left: 502px;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

    .index-overlay.open {
        opacity: 1;
        visibility: visible;
    }

/* 清除默认列表样式 */
.index-sidebar ul {
    overflow: auto;
    list-style-type: none;
    margin: 0;
    padding-left: 43px;
    font-family: 'SourceHanSansCN'
}


.index-nav-ul li {
    padding-bottom: 50px;
}

.index-nav-ul-first {
    padding-top: 30px;
}
/* 链接样式 */
.index-sidebar a {
    display: block;
    text-decoration: none;
}

    /* 链接悬停样式 */
    .index-sidebar a:hover {
        background-color: #eee;
    }

    .index-sidebar a img {
        height: 36px;
    }

/*导航底部标题*/
.firstMenuTitle {
    font-family: 'SourceHanSansCNRegular';
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    letter-spacing: 2px;
}


/* 按钮样式 */
.index-sidebar-button {
    width: 66px;
    height: 29px;
    position: absolute; /* 绝对定位 */
    bottom: 40px; /* 距离底部的距离 */
    right: 39px; /* 距离右侧的距离 */
    padding: 10px 20px; /* 内边距 */
    border: 1px solid dashed; /* 去除边框 */
    border-radius: 5px; /* 圆角 */
    cursor: pointer; /* 鼠标悬停效果 */
    background-image: url('/images/组 40.png');
    background-size: cover; /* 图片自适应填充 */
    background-position: center; /* 图片居中 */
}

.index-nav-title-div-left {
    padding: 36px 170px 32px 43px;
}

.index-nav-title-div-right {
    width: 20%; /* 可根据需要调整宽度 */
}


.headerSideBarMaxLogo {
    height: 32px;
    width: 217px;
}

.navwords a {
    font-size: 24px;
    font-family: 'SourceHanSansCNRegular';
    font-weight: 500;
}

.headerMaxLogo {
    height: 23px;
    width: 150px;
}

.menuBtn {
    height: 17px;
    width: 22px;
}

.menuImg {
    height: 17px;
    width: 22px;
}
/*菜单按钮样式*/

.menuDiv {
    margin: 29px 50px 29px 40px;
    width: 100%;
}

.offcanvas-header, .offcanvas-body {
    padding: 0;
}

.offcanvas.offcanvas-start {
    width: 500px;
}

.offcanvas-header {
    height: 100px;
}

@media only screen and (max-width: 960px) {
    .index-nav-title-div-left {
        padding: 36px 110px 32px 43px;
    }

        .index-nav-title-div-left img {
            width: 75px;
            height: 11px;
        }

    .index-nav-ul li {
        padding-bottom: 35px;
    }

    .index-sidebar ul {
        padding-top: 10px;
    }

    .close-toggle-sidebar {
        padding: 20px 52px 20px 0;
    }

        .close-toggle-sidebar img {
            width: 11px;
            height: 9px;
            object-fit: cover;
        }

    .index-sidebar a img {
        height: 23px;
        width: auto;
    }

    .viewroom img {
        height: 17px;
        width: auto;
    }

    .offcanvas.offcanvas-start {
        width: 80%;
    }

    .offcanvas-header {
        height: 50px;
    }
}
