/* 重置样式 */
body, h2, ul, li {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    color: #333;

}
/* 容器 */
.container {
    display: flex;
    height: 1250px;
    overflow: hidden; /* 禁止内容区域滚动 */

}

.pysidebar {
    display: flex;
    justify-content: space-around;
    margin-left: 580px;
 
    /*border-top: 1px solid #ddd;*/
}

.pysocial-buttons {
    display: flex;
    gap: 68px;
}

.pysocial-button {
    width: 50px;
    height: 50px;
    /*background-color: #f5f5f5;*/
    /*border-radius: 50%;*/
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    color: #666;
}

.image-text-container img,
.image-text-container .text {
    transition: all 0.3s ease;
}

/* 左边导航栏 */
.sidebar {
    display: flex;
    flex-direction: column;
    width: 200px;
    background-color: #f4f4f4;
    /*padding: 0 20px;*/
    /*height: 1200px;*/

}

.sidebar img {
    display: block;
    width: 80px;
    height: 80px;
    margin: 15px 20px;
    border-radius: 8px;
}

.sidebar .image-text-container {
    display: flex;
    align-items: center;
}

.sidebar .text {
    font-size: 24px;
    font-weight: bold;
    margin-left: -10px;
    color: #007bff;
}

.sidebar ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar li {
    border-radius: 4px;
    text-align: center;
    font-size: 22px;
}

.sidebar a {
    display: flex;
    color: #000;
    text-decoration: none;
    border-radius: 10px;
    background-color: #f4f4f4;
}

.sidebar a:hover,
.sidebar a.active {
    background-color: #ffffff;
    border: 1px solid #ccc; /* Add a border */
}

.menu-container {
    height: 1250px; /* 根据需要调整这个高度 */
    overflow-y: auto; /* 使菜单区域可以垂直滚动 */
    -ms-overflow-style: none;  /* IE 和 Edge */
    scrollbar-width: none; /* Firefox */
}


/* 调整 menu-item 中文字的大小 */
.menu-item {
    font-size: 16px; /* 根据需要设置字体大小 */
    display: flex;
    align-items: center; /* 垂直居中对齐图标和文字 */
    text-decoration: none; /* 去掉链接下划线 */
    color: #333; /* 设置文字颜色 */
}

.menu-item img {
    margin-right: 8px; /* 图标和文字之间的间距 */
    width: 24px; /* 根据需要设置图标的宽度 */
    height: auto; /* 保持图标的原始比例 */
}

/* 调整 menu-item 中文字的大小 */
.menus-item {
    font-size: 16px; /* 根据需要设置字体大小 */
    display: flex;
    align-items: center; /* 垂直居中对齐图标和文字 */
    text-decoration: none; /* 去掉链接下划线 */
    color: #333; /* 设置文字颜色 */
}

.menus-item img {
    margin-right: 8px; /* 图标和文字之间的间距 */
    width: 24px; /* 根据需要设置图标的宽度 */
    height: auto; /* 保持图标的原始比例 */
}


/* 内容区域 */

.content {
    flex: 1;
    padding: 0 20px 30px;
    overflow-y: auto; /* 使内容区域可以垂直滚动 */
    height: 1200px; /* 设置固定高度，例如 600px */
    -ms-overflow-style: none;  /* IE 和 Edge */
    scrollbar-width: none; /* Firefox */
    position: relative; /* 确保子元素可以正确定位 */
}

.content::-webkit-scrollbar {
    display: none; /* 隐藏 Webkit 内核浏览器中的滚动条 */
}
.mainContent {
    overflow: hidden;
}

.search-bar {
    display: flex;
    margin-bottom: 20px;
}

.search-bar input[type="text"] {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.search-bar button {
    padding: 10px;
    margin-left: 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.search-bar button:hover {
    background-color: #0056b3;
}

/* 主内容标题 */
.content h2 {
    margin-bottom: 20px;
    font-size: 24px;
}

/* 横幅 */
.banner {
    width: 100%;
    height: 300px;
    /*margin-bottom: 20px;*/
}

/* 主内容布局 */
.main-content {
    display: flex;
    gap: 20px;
}

/* 轮播图容器 */
.carousel {
    position: relative;
    /*height: 330px; !* 固定高度 *!*/
    height: auto;
    overflow: hidden;
    width: 698px; /* 轮播图的宽度 */
    border-radius: 10px;
    margin:  0 12px 0 0;

}

/* 轮播图图片容器 */
.carousel-images {
    display: flex;
    /*transition: transform 0.5s ease-in-out, opacity 0.3s ease-in;*/
    will-change: transform; /* 提升性能 */
}

.carousel-and-images {
    display: flex;
    height: auto;
    justify-content: space-between; /* 调整轮播图和图片容器之间的间距 */

}

/* 轮播图中的图片 */
.carousel-images img {
    flex-shrink: 0; /* 防止图片被缩小 */
    width: 800px; /* 确保与 JavaScript 中的 imageWidth 一致 */
    /*height: 330px; !* 高度自适应容器 *!*/
    /*object-fit: cover; !* 图片覆盖容器，可能会裁剪 *!*/
    /*object-fit: contain*/
    object-fit: cover;


}
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
}
.prev {
    left: 10px;
}
.next {
    right: 13px;
}


/* 轮播图按钮样式 */
button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 100;
}

/* 图片容器样式 */
.image-container-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex: 1; /* 移除宽度限制，允许容器铺满 */
}

.image-container {
    flex-basis: calc(25% - 10px); /* 每行四个图片容器，减去间距 */
    position: relative;
    padding-top: 15%; /* 设置高度比例 */

}

.image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* 确保图片按比例填充容器 */
    border-radius: 10px;
}

/* 应用图标网格 */
.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    /*gap: 20px;*/
}

.app-item {
    width: 300px;
}

.app-item img {
    width: 300px; /* 设置图片宽度为 500px */
    height: 180px; /* 设置图片高度为 500px */
    object-fit: cover; /* 确保图片保持比例，裁剪以适应容器 */
    margin: 0 auto; /* 水平居中图片 */
    padding: 0 18px;
    border-radius: 38px;
}

.appone-item img {
    width: 300px; /* 设置图片宽度为 500px */
    height: 180px; /* 设置图片高度为 500px */
    object-fit: cover; /* 确保图片保持比例，裁剪以适应容器 */
    margin: 8px auto; /* 水平居中图片 */
    padding: 0 18px;
    border-radius: 38px;
}


.app-itemxcs img {
    width: 310px; /* 设置图片宽度为 500px 小程序样式*/
    height: 450px; /* 设置图片高度为 500px */
    object-fit: cover; /* 确保图片保持比例，裁剪以适应容器 */
    margin: 0 auto; /* 水平居中图片 */
    padding: 0 10px;
}


.app-itemxcs span {
    display: block;
    margin-top: 10px;
    padding: 0 18px;
    margin-bottom: 20px;
      margin-left: 30px;

}

.app-item span {
    display: block;
    margin-top: 10px;
    padding: 0 18px;
    margin-bottom: 20px;
}

.app-container {
    margin-top: 20px;
}
.image-text {
    position: absolute; /* 绝对定位 */
    bottom: 0px; /* 距离底部10px，可以调整 */
    /* left: 10px; 水平居中 */
    /*transform: translateX(-50%); !* 调整文字位置 *!*/
    /*background: rgba(0, 0, 0, 0.5); !* 背景色，确保文字可读 *!*/
    color: #fff; /* 文字颜色 */
    padding: 5px; /* 内边距 */
    border-radius: 4px; /* 圆角效果 */
    font-size: 12px; /* 文字大小 */
    z-index: 1; /* 确保文字在图片上方 */
   /* font-weight: bold;  文字加粗 */
}


.icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* 每个项目最小宽度200px，最多占据1fr宽度 */
    gap: 60px; /* 网格项之间的间距，减少到20px */
    max-width: 100%; /* 最大宽度为容器宽度 */
    margin: 0 auto; /* 居中显示 */
    padding: 0 20px; /* 添加左右内边距 */
}

.wzicon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); /* 每个项目最小宽度200px，最多占据1fr宽度 */
    gap: 30px; /* 网格项之间的间距，减少到20px */
    max-width: 100%; /* 最大宽度为容器宽度 */
    margin: 0 auto; /* 居中显示 */
    padding: 0 58px; /* 添加左右内边距 */
}

.wzicon-item {
    display: flex;
    align-items: center; /* 垂直居中对齐 */
    /*padding: 0 10px 0 0;*/
    /*border: 1px solid #ddd; !* 边框样式 *!*/
    border-radius: 8px; /* 圆角边框 */
    /*background-color: #f9f9f9; !* 背景色 *!*/
    width: 100%; /* 宽度自适应容器 */
    box-sizing: border-box; /* 包括边框和内边距在内 */
}

.wzicon-text-container {
    display: flex;
    flex-direction: column; /* 文字垂直排列 */
    justify-content: center; /* 文字在容器中垂直居中 */
    max-width: calc(100% - 50px); /* 除去图标宽度和间距 */

}

.icon-item {
    display: flex;
    align-items: center; /* 垂直居中对齐 */
    /*padding: 0 10px 0 0;*/
    /*border: 1px solid #ddd; !* 边框样式 *!*/
    border-radius: 8px; /* 圆角边框 */
    /*background-color: #f9f9f9; !* 背景色 *!*/
    width: 100%; /* 宽度自适应容器 */
    box-sizing: border-box; /* 包括边框和内边距在内 */
}

.icon-item img {
    width: 50px; /* 图标宽度 */
    height: 50px; /* 图标高度 */
}

.wzicon-item img {
    width: 188px; /* 图标宽度 */
    height: 128px; /* 图标高度 */
    border-radius: 10px; /* 图片圆弧 */

}

.icon-text-container {
    display: flex;
    flex-direction: column; /* 文字垂直排列 */
    justify-content: center; /* 文字在容器中垂直居中 */
    max-width: calc(100% - 50px); /* 除去图标宽度和间距 */

}

.icon-text {
    font-size: 14px; /* 文字大小 */
    /* font-weight: bold; 文字加粗 */
    /*white-space: nowrap;  防止文字换行 */
    overflow: hidden; /* 隐藏超出容器的文本 */
    text-overflow: ellipsis; /* 使用省略号表示被截断的文本 */
    margin-bottom: 4px; /* 行间距 */
    margin-left: 10px;
}

.wzicon-text {
    font-size: 14px; /* 文字大小 */
    /* font-weight: bold; 文字加粗 */
    /*white-space: nowrap;  防止文字换行 */
    overflow: hidden; /* 隐藏超出容器的文本 */
    text-overflow: ellipsis; /* 使用省略号表示被截断的文本 */
    margin-bottom: 18px; /* 行间距 */
    margin-left: 10px;
}

.wzprimary-text {
    color: #333; /* 主文字颜色 */
  font: 17px / 30px Arial, sans-serif;/* 文字加粗 */

}

.primary-text {
    color: #333; /* 主文字颜色 */
  font-weight: bold; /* 文字加粗 */

}

.secondary-text {
    color: #666; /* 次文字颜色，设置为更淡的颜色 */
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}
.section-title {
    font-size: 24px; /* 根据需要调整字体大小 */
    font-weight: bold; /* 使标题更突出 */
    color: #333; /* 根据需要设置标题颜色 */
   margin-top: 22px;
}

.more {
    font-size: 18px; /* 根据需要调整字体大小 */
    color: #6c757d; /* 设定“更多”标题的颜色为灰色 */
    cursor: pointer; /* 使“更多”标题具有点击效果 */
}

.jinxuan {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

.wz {

}
.top {
    display: flex;
    margin-top: 0px;
}
.title {
    margin-left: 20px;
    margin-top: 22px;
    color: #333; /* 根据需要设置标题颜色 */
}


/*搜索*/
.search-container {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden; /* 禁止内容区域滚动 */
    /*max-width: 600px;*/
    margin: 0;
    top: 0;
    left: 618px;
  
}

.search-input {
    width: 100%;
    padding: 9px 30px;
    font-size: 16px;
    border-radius: 50px;
    outline: none;
    background-color: #eeeff2;
    border: none; /* 取消边线 */
    font-weight: bold; /* 文字加粗 */
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;

    border-top: none;
    border-radius: 0 0 4px 4px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
}

.search-result-item {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #ccc;
}

.search-result-item:hover {
    background-color: #f0f0f0;
}
.search-icon {
    position: absolute;
    right: 155px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    pointer-events: none; /* 确保点击图标不会影响输入框 */
}
/* 结果提示样式 */
.result-message {
    text-align: center;
    margin-top: 20px;
    font-size: 18px;
    color: #333;
}
.sou {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    border: none;
    cursor: pointer;
    z-index: 100;
    right: 17px;
    width: 50px;
    /*height: 50px;*/
}
.search-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -15px;
    width: 20px;
    height: 20px;
}

.menu {
    list-style: none;
    padding: 15px;
    margin: 0;
    max-height: 100%; /* 确保菜单的最大高度不会超出其父容器 */
    overflow-y: auto; /* 使菜单区域可以垂直滚动 */
    -ms-overflow-style: none;  /* IE 和 Edge */
    scrollbar-width: none; /* Firefox */
}

.menu-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
}

.menu-item img {
    width: 30px;
    height: 30px;
    /*margin-right: 10px;*/
}

.menu-item:hover {
    background-color: #f0f0f0;
}

.search-container img {
    width: 40px;
    height: 40px;
    margin-right: 15px;
}
.login-image {
    width: 450px;
    height: 45px;
}
.SouT {
    display: flex;
    justify-content: space-between; /* 调整轮播图和图片容器之间的间距 */
    position: sticky; /* 使元素在滚动时保持固定 */
    top: 0; /* 距离顶部 0 像素 */
    z-index: 1000; /* 确保在其他元素之上 */
    background-color: #fff; /* 背景颜色（根据需要调整） */
    padding: 12px 12px 12px;
}

.toggle-icon {
    cursor: pointer;
    display: block; /* Ensure the image is a block-level element */
    width: 30px; /* Example width, adjust as needed */
    height: auto;
}

#menu {
    transition: width 0.3s ease;
    width: 250px; /* Default width */
}

#menu.collapsed {
    width: 0;
    overflow: hidden;
}


.center{
    padding: 0 20px;
}

.avatar-container {
    position: relative;
    display: flex;

}
.avatar-image {
    width: 25px; /* 头像的宽度 */
    height: 25px; /* 头像的高度 */
    margin-top: 5px;
    border-radius: 50%; /* 圆形效果 */
    object-fit: cover; /* 确保图片保持比例，填充头像区域 */
    /*border: 2px solid #ccc; !* 可选的边框效果 *!*/
    display: block; /* 确保图片以块级元素显示 */
    /*margin-right: 120px;*/
}


.avatar-input {
    display: none; /* 隐藏文件上传输入框 */
}

.gengduo {
    width: 20px; /* 头像的宽度 */
    height: 20px; /* 头像的高度 */
    margin: 6px 0 0 10px;
    cursor: pointer;
}

.popup-box {
    display: none; /* 默认隐藏 */
    position: absolute;
    top: 50px; /* 根据需要调整位置 */
    left: -185px;
    width: 300px;
    height: 400px;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000; /* 确保盒子在最上层 */
    opacity: 0; /* 初始透明度为0 */
    transform: scale(0); /* 初始缩放为0 */
    transform-origin: center; /* 缩放的原点设置为中心 */
    transition: opacity 0.3s ease, transform 0.3s ease; /* 过渡效果 */
}

.popup-box.show {
    opacity: 1; /* 显示时透明度为1 */
    transform: scale(1); /* 显示时缩放为正常大小 */
}


.edit-icon {
    position: absolute;
    bottom: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 5px;
    border-radius: 50%;
    cursor: pointer;
}
.toggle-iiCn {
    margin-right: 20px;
    width: 40px;
    height: 40px;
}


.denlu {
    display: inline-block;
    /*padding: 15px 20px;*/
    line-height: 35px;
    color: #000000;
    text-align: center;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    text-decoration: none; /* 去掉默认的下划线 */
    margin-left: 10px;
}

.envelope-image {
    width: 22px; /* 根据需要调整信封图标大小 */
    height: 22px; /* 根据需要调整信封图标大小 */
    cursor: pointer; /* 鼠标悬停时显示为手形 */
    margin-left: 10px;
    margin-top: 6px;
}
.envelope-image:hover {
    opacity: 0.8; /* 鼠标悬停时的视觉效果 */
}

.title, .section-title {
    cursor: pointer; /* 鼠标悬停时显示为手形 */
}
.title:hover, .section-title:hover {
    color: #007bff; /* 鼠标悬停时的颜色变化 */
}
a {
    pointer-events: auto; /* 确保链接可以点击 */
    text-decoration: none; /* 去掉下划线 */
}

/* 隐藏所有切换的内容部分 */
.content-section {
    display: none;
}

.content-section.active {
    display: block;
}

.section-title {
    cursor: pointer;
    font-size: 1.5em;
    padding: 10px;
    margin: 0;
}

.section-title.active {
    font-weight: bold;
    color: #007bff;
}


.image-container-wrapper {
    width: 100%;
    height: auto; /* 可以设置固定高度以保持一致 */
    overflow: hidden;
}





.profile-header {
    padding: 20px;
    background-color: #fff;
    margin-bottom: 10px;
    display: flex;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.profile-header img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
}
.profile-header h2 {
    margin: 10px 0 5px 0;
    font-size: 18px;
    color: #333;
}
.profile-header p {
    margin: 5px 0;
    font-size: 14px;
    color: #666;
}
.stats {
    display: flex;
    justify-content: space-around;
    padding: 15px 0;
    background-color: #fff;
    margin-bottom: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.stats div {
    font-size: 14px;
    color: #666;
}
.stats div span {
    display: block;
    font-size: 20px;
    color: #333;
    text-align: center;
    margin-bottom: 5px;
}
.menu-butomu {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    background-color: #fff;
    padding: 10px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.menu-butomu div {
    width: 30%;
    margin: 10px 0;
    text-align: center;
}
.menu-butomu div img {
    width: 40px;
    height: 40px;
    margin-bottom: 5px;
}
.menu-butomu div p {
    margin: 0;
    font-size: 14px;
    color: #333;
}

.yisheng {
    margin-left: 20px;
}




