﻿* {
    margin: 0;
    padding: 0;
    list-style: none;
}

body {
    background: #B4B4B4 url(../img/body_bg.gif ) repeat left top;
    font-size: 1.0em;
   }
li {list-style: none;}
.fontsmall {font-size: 0.6em;}
img {max-width: 100%;}
A:link {    text-decoration: none;    color: #0000FF;}
A:visited {    text-decoration: none;    color: #008000;}
A:active {    text-decoration: none;    color: #990000;}
A:hover {    text-decoration: underline;    color: #990000;}
.hidebuttont {
    width: 0px;
    height: 0px;
    
}
.mainbox {
    margin: 0 auto;
    max-width: 700px;
    background: url(../img/weblogobk.png ) repeat left top;
    width: 100%;
    margin-bottom : 40px;
}
.logo {
    background: url(../img/weblogobk.png ) repeat left top;
    padding: 3px;
 }
.user {
    border-radius: 5px;
    margin: 0 auto;
    padding-block: 5px 5px;
    text-align: right;
    display: table;
    width: 90%;
    border: 1px solid #808080;
    background-color:white ;
}
.thisuser {    margin-right :5px;}

.usersub {
    margin: 0 auto;
    margin-top: 10px;
    background-color: #f6eec0;
    display: flex;
    flex-wrap: wrap; /* 当容器宽度不足时自动换行 */
    justify-content: flex-start; /* 左对齐 */
}

.lsfun {
    flex: 0 0 10%; /* 每个div元素占据容器的四分之一宽度 */
    margin: 10px;
    font-size: 0.6em;
   
}
    .lsfun:hover {
        background-color: white;
        
    }
.Content {
    margin: 0 auto;
    margin-top: 30px;
    width: 95%;
    border-radius: 15px;
    background-color: white;
    border: 1px solid #808080;
}
/* 图片悬浮放大开始 */
.image-container {overflow: inherit;display: inline-block;}

 .image-container img {
     transition: transform 0.0s ease;     
        max-width: 100%; /* 限制图片最大宽度 */
        height: auto; /* ;保持图片的宽高比 */
    }

    .image-container:hover img {   transform-origin: 8% 8%; transform: scale(5);  }

/* 图片悬浮放大结束 */

/* 图片点击放大开始 */
.img-clickable {
    cursor: zoom-in;
    border: 0;
    padding: 10px;
    max-height: 100px;
    width: auto;
}

.img-modal {
    display: none; /* 初始状态下隐藏模态框 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* 半透明背景 */
    z-index: 9999; /* 设置模态框在最顶层 */
    text-align: center;
}

    .img-modal img {
        max-width: 100%; /* 图片最大宽度为80% */
        height: auto; /* 图片最大高度为80% */
        margin-top: 20px; /* 图片距离顶部距离 */
    }
/* 图片点击放大结束 */


.spimg100 {
    border: 0;
    padding: 5px;
    max-height: 100px;
    width: auto;
} 
.spimg150 {
    border: 0;
    padding: 10px;
    max-height: 100px;
    width: auto;
}

.spimg200 {
    border: 0;
    padding: 10px;
    max-height: 200px;
    width: auto;
}

.activebutton {
    background-color: red;
    color: white;
}

.splistbox {
    display: table-cell;
    /*gap: 2px;  子元素之间的间隔 */
}

.spbox {
    width: 100px;
    display: inline-block;
    background-color: #f0f0f0; /* 设置背景色 */
    padding: 5px; /* 设置内边距 */
    margin: 2px;
    border: 1px solid #ccc; /* 设置边框 */
}

.spend {
    display: inline-block;
    background-color: #f0f0f0; /* 设置背景色 */
    padding: 5px; /* 设置内边距 */
    margin: 2px;
    border: 1px solid #ccc; /* 设置边框 */
}


.msgbox {
    margin: 0 auto;
    width: 300px;
    display: table;
    border: 1px solid #FF0000;
    margin-top: 5%;
}

.msghead {
    width: 300px;
    float: left;
    padding: 5px 5px 5px 5px;
    display: table-cell;
    color: white;
    background-color: #FF0000;
}

.msgbody {
    width: 300px;
    float: left;
    padding-bottom: 10px;
    padding-top: 10px;
    display: table-cell;
    text-align: center;
}

.cellcenter {
    text-align: center;
}


