html {
    font-size: 62.5%; /* Set base font size to 10px */
}

ul, li, p, h1, h2, h3, h4, form, ol, table {
    list-style: none;
    margin: 0;
    padding: 0;
}

body {
    background: url(../images/bg4.svg) no-repeat 0 0;
    background-attachment: fixed;
    background-size: 100% 100%;
    height: auto;
    min-height: 100%;
    text-align: center;
    font: 1.2rem/1.5 Arial, Helvetica; /* Use rem for font size */
    color: #393939;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: #3B5999;
}

.users .users-nickname {
    margin-top: 0.5rem; /* Use rem for margin */
    display: block;
    overflow: hidden;
    word-break: keep-all;
    white-space: nowrap;
    text-overflow: ellipsis;
}

a:hover {
    text-decoration: underline;
    padding-bottom: 0.2rem; /* Use rem for padding */
}

.users .users-nickname:hover {
    text-decoration: underline;
    padding-bottom: 0;
}

a img {
    border: 0;
    border-radius: 1rem; /* Use rem for border radius */
}

.clear {
    clear: both;
}

.clearall {
    clear: both;
    height: 0.1rem; /* Use rem for height */
}

.container {
    text-align: left;
    width: 100%; /* Use rem for width */
    margin: auto;
}

.header {
    height: 6rem;
    /* margin-right: 25%; */
    /* background-color: aliceblue; */
    margin-top: 16px;
    
}

.logo {
    float: left;
    margin: 0.5rem 0 0 0.5rem; /* Use rem for margin */
}

.navigation {
    width: 1060px;
    margin: auto;
    /* float: left; */
    /* margin: 2rem 0.5rem 0 0;  */
    /* background-color: #FFF; */
    padding: 0.8rem; /* Use rem for padding */
    font-size: 14px;
}

.navigation ul {
    background-color: white;
    line-height: 35px;
    float: right;
    padding-left: 5px;
    padding-right: 5px;
}

.navigation li {
    display: inline;
    padding: 0 1rem; /* Use rem for padding */
    /* margin-left: 5px;
    margin-right: 5px; */
}

.main {
    max-width: 1060px;
    margin: 0 auto;
    padding-top: 20px;
    /* background: #d5f3f4; */
}

.main .box .massageText {
    float: left;
}

.main .box .massageText iframe {
    width: 130%; /* This value is not responsive, consider changing it */
}
.main .contents .top {
    margin-top: 15px;
    margin-bottom: 15px;
    font-size: 20px;
    text-align: center;
}


.contents {
    float: left;
    width: 70rem; /* Use rem for width */
    min-height: 97rem; /* Use rem for min-height */
    background-color: #FFF;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    padding-top: 5px;
    opacity: 0.95;
}

.contents .post { 
    width: 534px;
    height: 100px;

    border-radius: 8px;
    padding: 20px;
    margin-bottom: 100px;
}


.contents .post .text {
    width: 640px;
    height: 100px;
    border: 1px solid #e0e0e0;
    min-height: 100px;
    padding: 10px;
    border-radius: 4px;
}

.contents .post .postnow {
    width: 663px;
    margin-top: 10px;
}

.contents .post .postnow span {
    float: right;
}

.contents h2,
.contents h3,
.contents table {
    margin: 5px 20px;
}

.contents h2 {
    font-size: 14px;
    height: 23px;
    border-bottom: 1px solid #D5D5D5;
}

.contents h3 {
    font-size: 12px;
    font-weight: normal;
}

.contents h3 span {
    padding-left: 40px;
    line-height: 25px;
}

.contents .entry {
    clear: both;
    /* background: url(../images/linedot.gif) bottom left repeat-x; */
    margin: 15px 20px 20px 20px;
    font-size: 16px;
    border-bottom: 1px solid #e0e0e0;
    padding: 20px 0;
}

.contents .entry .avatar {
    float: left;
    text-align: center;
    margin-right: 20px;
}

.contents .entry .avatar img {
    width: 50px;
    height: 50px;
    /* border: 2px solid #FFF; */
    /* border-radius: 50%; */
}

.contents .entry .avatar .imgborder {
    width: 52px;
    height: 52px;
    background-color: #FFF;
    /* border: 1px solid #EEE; */
}

.contents .entry .box {
    float: left;
    width: 550px;
    white-space: normal;
    word-break: break-all;
    word-wrap: break-word;
}

.contents .entry .box .detail {
    font-size: 12px;
    margin: 5px 0 20px 0;
}

.contents .entry .box .detail li {
    display: inline;
    padding-right: 20px;
}

.contents .entry .box .static {
    font-size: 12px;
    color: #B6B6B6;
    padding: 20px 0;
}

.contents .entry .box .static span {
    float: right;
}

.contents .entry .block_static {
    font-size: 12px;
    color: #B6B6B6;
    padding: 10px 5px 0 0;
    text-align: right;
}

.contents .entry .block_static a {
    font-size: 12px;
    color: #8FA5D3;
}

.contents .entry .box .block {
    margin: 15px 0;
    font-size: 12px;
}

.contents .entry .box .block .block_top {
    /* background: url(../images/block_top.gif) top left no-repeat; */
    /* height: 17px; */
}

.contents .entry .box .block .block_bottom {
    /* background: url(../images/block_bottom.gif) top left no-repeat;
    height: 5px; */
}

.contents .entry .box .block .block_body {
    /* background: url(../images/block_body.gif) top left repeat-y; */
    padding: 15px 15px;
    background-color: #f1f1f2;
    border-radius: 5px;
}

.contents .entry .box .block .block_body span {
    word-break: keep-all;
}

.contents .entry .formhr {
    width: 387px;
    clear: both;
    background: url(../images/linedot.gif) 0 0 repeat-x;
    height: 1px;
    margin: 5px 0;
}

.entry .massageImg .massageImgCommon {
    max-width: 75%; /* This value is not responsive, consider changing it */
    min-width: 5%;
    max-height: 360px;
}

.contents .fansbar {
    background-color: #FFFFEA;
    border: 1px solid #D0D0D0;
    margin: 15px 30px;
    padding: 15px;
}

/* 侧边栏样式 */
.sidebar {
    float: right;
    width: 260px;
    /* background-color: #D5F3F4; */
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    min-height: 600px;
    opacity: 0.95;
    /* margin-top: 20px; */
}

.sidebar h2 {
    /* background: url(../images/rightnavbg.gif) 0 0 no-repeat; */
    background-color: #1899c9;
    font-size: 14px;
    line-height: 30px;
    font-weight: normal;
    padding: 0 10px;
    margin-top: 15px;
}

.sidebar h2 a {
    color: #FFF;
}

.sidebar .box {
    margin: 0 0 20px 0;
}

.sidebar h3 {
    font-size: 14px;
    line-height: 30px;
    font-weight: normal;
    padding: 0 10px;
    background: url(../images/rightnavbg.gif) 0 -30px no-repeat;
}

.sidebar h3 span {
    float: right;
    font-size: 12px;
}

.sidebar p,
.sidebar .info,
.sidebar .counter,
.sidebar .users,
.sidebar .more,
.sidebar ul,
.sidebar ol {
    margin: 15px 10px;
}

.sidebar ul li {
    background: url(../images/dot.gif) 3px 8px no-repeat;
    padding-left: 15px;
}

.sidebar ol li {
    padding: 3px 0;
    margin: 0px;
}

.sidebar .info {
    margin: 15px;
}

.sidebar .info li,
.sidebar .users li {
    background: none;
    padding: 0px;
}

/* 屏幕小于1000px时的样式 */
@media screen and (max-width: 1080px) {
    .sidebar {
        display: none;
    }
    .contents {
        float: unset;
        margin: auto;
    }
    .navigation {
        max-width: 74rem;
        width: unset;
        float: unset;
        /* margin-right: 5%; */
    }
}

.sidebar .info .avatar {
    float: left;
    width: 52px;
}

.sidebar .info .avatar img {
    width: 48px;
    height: 48px;
}

.sidebar .info .detail {
    float: right;
    width: 175px;
}

.sidebar .info .detail p {
    margin: 3px 10px;
}

.sidebar .counter {
    background: url(../images/rightnavbg.gif) 0 -90px no-repeat;
    height: 50px;
}

.sidebar .counter .counterbox {
    float: left;
    width: 80px;
    text-align: center;
    line-height: 25px;
}

.sidebar .users li {
    float: left;
    width: 80px;
    text-align: center;
    padding: 10px 0;
}

.sidebar .users li img {
    width: 48px;
    height: 48px;
}

.sidebar .users li span a {
    color: #7892CB;
}

.sidebar .more {
    text-align: right;
}

.sidebar .input {
    width: 160px;
}

/* 底部样式 */
.footer {
    margin: 20px 0 10px 0;
    font-size: 10px;
    height: 30px;
    text-align: center;
    padding: 20px;
    color: #777;
}

.footer p {
    font-size: 12px;
}

.footer .poweredby {
    float: left;
}

.footer .copyright {
    float: right;
    text-align: right;
}

/* 表格样式 */
.contents table {
    width: 95%;
}

.contents .formsetting {
    width: 530px;
    height: 530px;
}

th {
    font: bold 12px;
    color: #4f6b72;
    border-right: 1px solid #C1DAD7;
    border-bottom: 1px solid #C1DAD7;
    border-top: 1px solid #C1DAD7;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: left;
    padding: 6px 6px 6px 12px;
    background: #CAE8EA no-repeat;
}

th.nobg {
    border-top: 0;
    border-left: 0;
    border-right: 1px solid #C1DAD7;
    background: none;
}

td {
    border-right: 1px solid #C1DAD7;
    border-bottom: 1px solid #C1DAD7;
    background: #fff;
    font-size: 12px;
    padding: 6px 6px 6px 12px;
    color: #4f6b72;
}

td.center,
th.center {
    text-align: center;
}

.center {
    text-align: center;
}

.full {
    background-color: #fff;
    min-height: 400px;
    height: auto !important;
    height: 400px;
}

.msg {
    margin: 50px 100px;
    background-color: #D5F3F4;
    padding: 10px;
    border: 1px dotted #C1DAD7;
    text-align: left;
}

.msg h4 {
    font-size: 14px;
    font-weight: bold;
}

.moban {
    width: 180px;
    height: 400px;
    float: left;
    text-align: center;
}

.formitem {
    padding: 10px 0;
}

.formsubmit {
    padding: 20px 0;
}

.formitem span {
    width: 80px;
    float: left;
}

.formitem u {
    text-decoration: none;
    color: #999;
    padding: 0 5px;
}

.formitem .formintro {
    width: 382px;
    height: 80px;
}

i.warning {
    color: red;
}

.postad i {
    font-weight: bold;
    padding-right: 10px;
}

/* 分页样式 */
.pagination {
    padding-right: 3px;
    padding-left: 3px;
    padding-bottom: 3px;
    margin: 3px;
    padding-top: 3px;
    text-align: center;
}

.pagination li {
    float: left;
    border-right: #eee 1px solid;
    padding-right: 5px;
    border-top: #eee 1px solid;
    padding-left: 5px;
    padding-bottom: 2px;
    margin: 2px;
    border-left: #eee 1px solid;
    color: #036cb4;
    padding-top: 2px;
    border-bottom: #eee 1px solid;
    text-decoration: none;
}

.pagination li:hover {
    border-right: #999 1px solid;
    border-top: #999 1px solid;
    border-left: #999 1px solid;
    color: #666;
    border-bottom: #999 1px solid;
}

.pagination li:active {
    border-right: #999 1px solid;
    border-top: #999 1px solid;
    border-left: #999 1px solid;
    color: #666;
    border-bottom: #999 1px solid;
}

.pagination .active {
    border-right: #036cb4 1px solid;
    padding-right: 5px;
    border-top: #036cb4 1px solid;
    padding-left: 5px;
    font-weight: bold;
    padding-bottom: 2px;
    margin: 2px;
    border-left: #036cb4 1px solid;
    color: #fff;
    padding-top: 2px;
    border-bottom: #036cb4 1px solid;
    background-color: #036cb4;
}

.pagination .disabled {
    border-right: #eee 1px solid;
    padding-right: 5px;
    border-top: #eee 1px solid;
    padding-left: 5px;
    padding-bottom: 2px;
    margin: 2px;
    border-left: #eee 1px solid;
    color: #ddd;
    padding-top: 2px;
    border-bottom: #eee 1px solid;
}

#codewidth,
#codeheight {
    width: 35px;
    text-align: center;
    margin-right: 5px;
}

.framecss {
    text-align: left;
    width: 200px;
}

.frametop {
    padding: 15px;
}

.frametop .logo {
    float: left;
    margin: 0;
    height: 50px;
}

.frametop .detail {
    float: left;
    padding-left: 10px;
}

.framebody {
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    overflow: hidden;
}

.framebody .box {
    padding: 5px 15px;
    border: 1px dotted #CCC;
    margin: 5px 0;
    background: #FFF;
    white-space: normal;
    word-break: break-all;
    word-wrap: break-word;
}

.framebody .static {
    text-align: right;
}

.framebottom {
    height: 35px;
    background-color: #EEE;
    line-height: 35px;
    text-align: center;
}

.framebottom span {
    float: right;
    padding-right: 15px;
}

.sendMsg {
    text-align: center;
    /* background-color: #fff8bf; */
    display: none;
}

.dplayer {
    border-radius: 8px;
    width: 360px;
    /* max-height: 360px; */
}

.info .detail p:nth-child(3) {
    width: 55px;
    height: 17px;
    text-align: center;
    font-size: 1rem;
    background: #0db2f7;
    border-radius: 0.4rem;
    color: #fff;
}

.newReminder li span {
    color: red;
}
/* 帖子按钮样式 */
.button {
    background-color: #007BFF;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #0056b3;
}

/* 加载更多样式 */
.showMore {
    text-align: center;
    padding: 20px;
}

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #999;
    border-bottom-color: transparent;
    border-radius: 50%;
    animation: loading 0.75s linear infinite;
    margin-right: 10px;
    vertical-align: middle;
}

@keyframes loading {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

pre code {
    background: #2d2d2d;
    color: #e0e0e0;
    border-radius: 5px;
    display: block;
    padding: 15px;
    overflow-x: auto;
    font-family: 'Courier New', Courier, monospace;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    clear: both;
}