html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
}

body {
    background-color: #c6ebef;
    color: #666;
    font-size: 14px;
}

img {
    max-width: 100%;
}

ul,
li {
    margin: 0;
    padding: 0;
}

ul {
    list-style: none;
}

input:focus {
    outline: none;
}

a {
    text-decoration: none;
    color: #666;
}

.container {
    width: 100%;
    background-color: white;
    padding: 0;
    margin: 0 auto;
    max-width: 600px;
}

.clear {
    clear: both;
}

header {
    position: fixed;
    width: 100%;
    left: 0;
    top: 0;
    z-index: 9999;
}

header .container {
    background-color: #4db1f5;
    height: 43px;
    padding: 0 10px;
    line-height: 40px;
    box-sizing: border-box;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: relative !important;
}

header .sitename {
    flex: 0 0 auto !important;
    width: 120px !important;
    font-size: 18px !important;
    font-weight: bold !important;
    text-shadow: 1px 1px black !important;
    order: 1 !important;
}

header .sitename a {
    color: white !important;
}

header .keyword {
    flex: 1 1 auto !important;
    margin: 0 10px !important;
    order: 2 !important;
    min-width: 0 !important;
}

header #keyword {
    border: none !important;
    height: 26px !important;
    width: 100% !important;
    padding: 0 10px !important;
    border-radius: 4px !important;
    box-sizing: border-box !important;
    border: 1px solid #ccc !important;
}

header .btn_search {
    flex: 0 0 auto !important;
    width: 60px !important;
    order: 3 !important;
	background-color: #fd0303;
    color: white;
	border-radius: 4px;
    font-weight: bold;
	display:flex;
	justify-content: center;
    align-items: center;
	height:30px;
}

.fixtopbar {
    text-align: center;
    color: white;
    font-size: 16px;
    font-weight: bold;
    /* 确保在页面顶部正常显示 */
    position: relative;
    margin-top: 0;
}

/* 如果需要固定定位，取消下面的注释并添加body补偿 */
/*
body {
    padding-top: 44px !important;
}
.fixtopbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}
*/

.fixnavbar {
    height: 55px;
    line-height: 55px;
    text-align: center;
}

.wap_toppic {
    padding: 4px 4px 0px 4px;
	margin-top: 22px;
}

.wap_toppic img {
    width: 100%;
}

.categories {
    background-color: #e8f8f8;
    padding: 0px 10px 4px 0px;
    margin: 0px 4px 4px 4px;
    border: 1px dotted rgb(0, 153, 204);
}

.categories a {
    float: left;
    width: 23%;
    margin: 6px 0 0 2%;
    color: white;
    background-color: #ff967e;
    display: block;
    text-align: center;
    padding: 4px;
    box-sizing: border-box;
    font-size: 14px;
    border-radius: 4px;
}

.visitor {
    text-align: center;
    background-color: #d2f0ff;
    margin: 0px 4px 0px 4px;
    padding: 4px;
    border: 1px dotted #0099cc;
}

.visitor img {
    margin-right: 6px;
}

.visitor span {
    color: red;
    font-weight: bold;
}

.info_box {
    margin: 0px 4px 0px 4px;
    margin-bottom: 2px;
    position: relative;
    border: 1px dotted #CDCDCD;
}

.info_box .expired {
    position: absolute;
    right: 30px;
    top: 30px;
}

.info_box_yellow {
    background-color: #ffecd0;
    border-radius: 4px;
}

.info_box_green {
    background-color: #e8f7e8;
    border-radius: 4px;
}

.info_title {
    color: #f91b02;
    padding: 5px;
    font-size: 14px;
    font-weight: bold;
}

.info_title img {
    margin-right: 10px;
    vertical-align: middle;
}

.info_content {
    padding: 10px;
    height: 70px;
    overflow: hidden;
    text-overflow: ellipsis;
    text-indent: 2em;
    line-height: 24px;
}

.info_box_yellow .info_title {
    background-color: #ffc66f;
}

.info_box_green .info_title {
    background-color: #98dc98;
}

.info_content a {
    color: #666;
    font-size: 16px;
}

.fulltext {
    padding: 6px 10px;
    font-size: 14px;
    font-weight: bold;
}

.fulltext a {
    color: #5b5bf9;
}

.info_bottom {
    padding: 10px;
    color: #0876c7;
}

.info_bottom .call {
    float: right;
    cursor: pointer;
    margin-right: 15px;
}

.info_bottom .call a {
    color: rgb(11 65 146);
}

.pagination {
    text-align: center;
    background-color: #d2f0ff;
    border: 1px dotted rgb(0, 153, 204);
    margin: 4px 4px 0px 4px;
    padding: 4px;
}

.pagination a {
    padding: 3px 8px;
    margin-left: -1px;
    color: #337ab7;
    background-color: #fff;
    border: 1px solid #ddd;
    display: inline-block;
}

.pagination a.curr {
    color: #fff;
    cursor: default;
    background-color: #337ab7;
    border-color: #337ab7;
}

.footer {
    margin-top: 6px;
    width: 100%;

}

.footer td {
    width: 33%;
    text-align: center;
}

.footer a {
    color: #00aaf1;
}

footer {
    position: fixed !important;
    width: 100% !important;
    left: 0 !important;
    bottom: 0 !important;
    z-index: 9999 !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: translateZ(0) !important;
    -webkit-transform: translateZ(0) !important;
    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;
    will-change: transform !important;
    -webkit-will-change: transform !important;
}

/* 替换原 wwwroot/assets/css/mobile.css 中 footer .container li 相关样式 */
footer .container {
    background-color: #ddd !important;
    padding: 4px 2% !important;
    /* 使用百分比代替固定像素，适配不同屏幕 */
    box-shadow: 0px -1px 1px #c7c2c2 !important;
    display: flex !important;
    /* 使用flex布局，确保按钮间距一致 */
    justify-content: center !important;
    /* 居中显示按钮 */
    align-items: center !important;
}

footer .container li {
    flex: 0 1 auto !important;
    /* 按钮根据内容自动调整宽度 */
    margin: 0 10px !important;
    /* 按钮间留间距 */
    padding: 8px 12px !important;
    /* 增加水平内边距 */
    color: white !important;
    text-align: center !important;
    cursor: pointer !important;
}

/* 移除原有的nth-child margin设置，避免冲突 */
footer .container li:nth-child(1) {
    background-color: #3F8CFF !important;
    border-radius: 2px !important;
    margin: 0 4px !important;
	width: 29%;
    /* 统一左右间距 */
}

footer .container li:nth-child(2) {
    background-color: #f73131 !important;
    border-radius: 2px !important;
    margin: 0 4px !important;
	width: 29%;
    /* 统一左右间距 */
}

footer .container li:nth-child(3) {
    background-color: #3ec020 !important;
    border-radius: 2px !important;
    margin: 0 4px !important;
	width: 29%;
    /* 统一左右间距 */
}

footer li img {
    vertical-align: middle;
}

footer .backhome {
    width: 80%;
    background-color: rgb(222, 72, 72);
    color: white;
    border-radius: 6px;
    padding: 10px;
    margin: auto;
    margin-bottom: 5px;
    text-align: center;
}

.oaqrcode {
    text-align: center;
}

.oaqrcode img {
    max-width: 200px;
}

.search_h4 {
    background-color: white;
    padding: 10px;
    margin-top: 20;
}

.search_h4 span {
    color: red;
}

.thread_title {
    padding: 10px 10px;
    font-weight: bold;
    font-size: 18px;
    margin: 8px 4px 0px 4px;
    background: #d9f6f9;
    border: 1px solid #d5e6ed;
    color: red;
    border-radius: 4px;
    text-align: center;
}

.thread_title .thread_action {
    margin-top: 6px;
    font-size: 14px;
    font-weight: normal;
}

.thread_title .thread_action a {
    margin: 0 8px;
    color: #007bff;
}

.wap_fbsj {
    padding: 4px 10px;
    margin: 4px 4px 0px 4px;
    background: #d9f6f9;
    border: 1px solid #d5e6ed;
    border-radius: 2px;
}

.thread_title span {
    margin-left: 10px;
    font-weight: normal;
}

.thread_content {
    margin: 6px 0px 0px 0px;
    min-height: auto;
    line-height: 2;
    font-size: 16px;
    word-break: break-word;
    padding: 16px 10px;
    border: 1px solid #d5e6ed;
    text-indent: 2em;
    border-radius: 2px;
    background: #d9f6f9;
    font-weight: bold;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.thread_content img {
    max-width: 100%;
    margin: 0px 0px 2px 0px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.thread_bottom {
    color: #f77575;
    margin: 6px 4px 4px 4px;
    background-color: #c6ebef;
    padding: 6px;
    border: 1px solid #c7dae2;
}

.thread_bottom .left {
    float: left;
}

.thread_bottom .right {
    float: right;
}

.wap_thread_xxly {
    color: #7a7e88;
    line-height: 20px;
    margin-top: 10px;
    font-size: 14px;
}

.wap_thread_add_top {
    padding: 0px 6px 0px 6px;
    background-color: #f9a997;
    line-height: 24px;
    margin: 24px 2px 2px 2px;
}


.wap_thread_wxts {
    padding: 4px 6px 4px 6px;
    background-color: #ecfbea;
    line-height: 28px;
    margin: 0px 4px 4px 4px;
    border: 1px solid #d5e6ed;
    border-radius: 2px;
}

.ad_7 {
    margin: 2px 4px 2px 4px;
}

.copyright {
    text-align: center;
    padding: 4px 0px 4px 0px;
    margin: 0px 4px 0px 4px;
    background: #f1eaea;
    border: dotted 1px #cac8c6;
}

.nav_bottom {
    position: fixed;
    width: 100%;
    max-width: 600px;
    height: 50px;
    background-color: #ddd;
    margin: auto;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
}

.nav_bottom_item li {
    text-align: center;
    background-color: white;
    border: 1px solid #ccc;
    padding: 6px 0;
    cursor: pointer;
}

.nav_bottom_item a {
    display: block;
    color: gray;
}

.nav_bottom_item img {
    width: 18px;
    height: 18px;
    vertical-align: middle;
}

.table_post {
    width: 100%;
    table-layout: fixed;
    line-height: 20px;
}

.table_post .th {
    width: 60px;
    text-align: right;
}

.table_post td {
    padding: 5px;
    padding-right: 20px;
}

.table_post input,
.table_post select,
.table_post textarea {
    background-color: #d4eff3;
}

.table_post .border td {
    border: 2px solid #dfdada;
}

.table_post input,
.table_post select,
.table_post textarea {
    width: 100%;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    outline: none;
    box-sizing: border-box;
}

.table_post img {
    vertical-align: middle;
}

.fabu_tips {
    text-align: center;
    line-height: 34px;
    margin-bottom: 50px;
}

.fabu_tips img {
    width: 20px;
    vertical-align: sub;
    margin-right: 5px;
}

.fabu_tips span {
    font-size: 14px;
    font-weight: bold;
    color: red;
}

.fabu_btns {
    text-align: center;
    position: fixed;
    width: 100%;
    bottom: 0px;
	left:0px;
    height: 50px;
    background-color: #ddd;
    box-shadow: 0px -1px 1px #c7c2c2;
}

.fabu_btns button {
    width: 80%;
    background-color: #f33030;
    font-family: 黑体;
    font-weight: bold;
    color: white;
    font-size: 16px;
    border-radius: 6px;
    margin: 4px;
    line-height: 40px;
    border: none;
}

.ad_6 {
    padding: 4px;
    border: 1px dotted #0099cc;
}

.post_head {
    border: 1px dotted #0099cc;
    text-align: center;
    font-size: 20px;
    line-height: 36px;
    margin: 0px 0px 0px 0px;
    background: #4db1f5;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 9999;
}

.under_1 {
    background-color: rgb(211, 241, 255);
    border: 1px dotted #0099cc;
    margin: 4px;
    padding: 4px;
    text-align: center;
}

.under_2 {
    border: 1px dotted #0099cc;
    text-align: center;
}

.under_3 {
    background-color: #b8dced;
    line-height: 30px;
}

.under_4 {
    text-align: center;
}

.under_5 {
    text-align: center;
    border: 1px dotted #0099cc;
    margin: 4px;
    background-color: rgb(211, 241, 255);
    padding: 5px;
}

.zhuanti {
    margin: 4px;
    border-radius: 4px;
    text-align: center;
    line-height: 40px;
    border: 1px solid #e3e3e3;
    background-color: #f73131;
}

.zhuanti_1 {
    text-align: center;
    position: relative;
    color: #FFFFFF;
    border: none;
    font-size: 15px;
    font-weight: bold;
}

.fabu {
    text-align: center;
    background-color: #FFEDEC;
    border-radius: 4px;
    line-height: 40px;
    margin: 4px;
    border: 1px #ff6600 solid;
}

.fabu_1 {
    position: relative;
    color: #ff0000;
    text-align: center;
}

.payment {
    text-align: center;
}

.payment .imgbox {
    padding: 10px;
    border-bottom: 1px solid #ccc;
}

.payment .total {
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
}

.payment .total span {
    color: red;
}

.payment .qrcode {
    margin: 10px auto;
    padding: 10px;
    border: 1px solid #666;
    width: 200px;
}

.payment .qrcode img {
    width: 100%;
}

.payment .bottom {
    padding: 10px;
    border-top: 1px solid #ccc;
}

/* 返回顶部按钮样式 */
.back-to-top {
    position: fixed;
    bottom: 80px;
    right: 20px;
    display: none;
    z-index: 9999;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    cursor: pointer;
}

.back-to-top img {
    width: 24px;
    height: 24px;
    margin-top: 8px;
}

.under_2-container {
    width: 100%;
    overflow-x: auto;
    margin: 0 4px;
}

.under_2 {
    width: 98.5%;
    border-collapse: collapse;
}

.under_2 th,
.under_2 td {
    border: 1px solid #e5e7eb;
    padding: 10px;
}

.under_2 td:first-child {
    word-break: break-word;
}

/* 优化表格行分隔 */
.under_2 tr {
    border-bottom: 1px solid #e5e7eb;
}

.under_2 td {
    border-right: 1px solid #e5e7eb;
}

.under_2 td:last-child {
    border-right: none;
}

.window {
    padding: 0 10px;
}

.window .form-group {
    margin: 10px 0;
}

.window .form-group div {
    padding: 10px;
}

.window .submit_btn {
    border-top: 1px solid #ccc;
    margin-top: 20px;
    padding-top: 10px;
}

.window .bt {
    color: red;
    font-weight: bold;
    padding: 0 !important;
}

.window h4 {
    text-align: center;
    border-bottom: 1px solid #ccc;
    padding: 10px;
}

.window .form-group textarea {
    width: 100%;
}

.window .form-group input {
    width: 100%;
    height: 30px;
    line-height: 30px;
}

.window .oaqrcode img {
    max-width: 300px;
    margin: auto;
}

.window .total {
    font-weight: bold;
    padding-left: 15px;
    font-size: 15px;
    margin: 0;
}

.window .total span {
    color: red;
}

.article_item {
    border-bottom: 1px dashed #ccc;
    padding: 10px;
}

.article_item .article_title {
    font-size: 16px;
    color: #666;
}

.article_item .article_cat {
    color: #ff6600;
}

.article_item .article_info {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.m_menu_top {
	background-color: #ef2730;
	color:#FFF;
	border-radius: 3px;
	padding: 1px 4px 1px 4px;
}

.m_menu_report {
	background-color: #e59418;
	color:#FFF;
	border-radius: 3px;
	padding: 1px 4px 1px 4px;
}

.m_menu_delete {
	background-color:#969c95;
	color:#FFF;
	border-radius: 3px;
	padding: 1px 4px 1px 4px;
}

.m_thread_image {
	max-width: 100% !important;
	width: auto !important;
	height: auto !important;
	border-radius: 4px !important;
	display: block !important;
	margin-left: auto !important;
	margin-right: auto !important;
	margin-bottom: 10px !important;
	box-sizing: border-box !important;
}

.info_box .sticky,
.info_box .tag {
    color: #FFFFFF;
    margin-right: 10px;
    padding: 0px 5px;
    float: right;
    background: #f84d1f;
	border-radius:4px;
}


/* 按钮组样式 */
.btn-group {
	position: fixed;
	left: 0;
	top: 60%;
	transform: translateY(-50%);
	background-color: rgba(0, 0, 0, 0.3);
	border-radius: 0 8px 8px 0;
	width: 36px;
	z-index: 9999 !important; /* 提高z-index确保在最上层 */
}

/* 按钮基础样式 */
.gz-btn, .dy-btn, .bk-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 34px;
	color: white;
	font-size: 12px;
	border: none;
	background: none;
	padding: 0;
	margin: 0;
	cursor: pointer;
	font-weight: bold;
}

/* 分割线 */
.btn-split {
	height: 1px;
	width: 80%;
	margin: 0 auto;
	background-color: rgba(255, 255, 255, 0.3);
}

/* 页面内容样式（仅为示例，可根据实际情况调整） */
.page-content {
	max-width: 480px;
	margin: 0 auto;
	padding: 20px;
}

.content-block {
	height: 300px;
	background-color: #f0f0f0;
	border-radius: 8px;
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #999;
}
