/* ===================================================
   PC端主样式 - 武威信息平台
   重构版：移除Bootstrap移动端兼容class，清爽简洁
   =================================================== */

/* ---------- 全局基础 ---------- */
body {
    background: #147d9d;
    margin: 0;
    padding: 0;
}

/* 所有主区块统一宽度容器 - 覆盖Bootstrap的.container样式 */
.pc-container,
.container {
    width: 1170px !important;
    margin: 0 auto !important;
    background-color: #fff;
    box-sizing: border-box;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/* header整体 - 深蓝色背景 */
header {
    width: 100%;
}

/* ---------- 顶部信息栏 ---------- */
#topbar {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    height: 30px;
    line-height: 30px;
    font-size: 13px;
    color: #555;
    background: #f8f8f8;
    border-bottom: 1px solid #e8e8e8;
    padding: 0 10px;
}

#topbar img {
    vertical-align: middle;
    margin-right: 2px;
}

.topbar-left {
    font-weight: bold;
    white-space: nowrap;
}

.topbar-center {
    flex: 1;
    text-align: center;
    overflow: hidden;
}

.topbar-right {
    display: flex;
    align-items: center;
    white-space: nowrap;
    gap: 4px;
}

.topbar-sep {
    color: #ccc;
    margin: 0 4px;
}

.topbar-online {
    color: red;
    font-weight: bold;
}

.topbar-right a {
    color: #333;
    text-decoration: none;
}

.topbar-right a:hover {
    color: #0099cc;
}

/* ---------- 头部主区域：Logo + 搜索 + 发布 ---------- */
#header-main {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 8px 10px;
    min-height: 90px;
    box-sizing: border-box !important;
    background: url('/assets/images/bg.png');
    margin: 5px 0;
}

/* Logo - 左侧固定 */
.header-logo {
    flex: 0 0 auto !important;
    width: 200px !important;
    min-width: 200px !important;
    max-width: 200px !important;
}

.header-logo a {
    display: block;
}

.header-logo img {
    height: 90px;
    width: auto;
    display: block;
    max-width: 100%;
}

/* 搜索区 - 中间自适应 */
.header-search {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: 600px !important;
    margin: 0 20px !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

/* 右侧发布按钮区域 - 右侧固定 */
.header-actions {
    flex: 0 0 auto !important;
    width: 180px !important;
    min-width: 180px !important;
    max-width: 180px !important;
}

.search-bar {
    display: flex;
    align-items: center;
    border: 2px solid #0099cc;
    border-radius: 4px;
    overflow: hidden;
    height: 36px;
}

.search-select {
    height: 100%;
    border: none;
    border-right: 1px solid #ccc;
    padding: 0 8px;
    font-size: 14px;
    color: #333;
    background: #f5f5f5;
    outline: none;
    cursor: pointer;
    min-width: 90px;
}

.search-input {
    flex: 1;
    height: 100%;
    border: none;
    padding: 0 10px;
    font-size: 15px;
    outline: none;
}

.search-btn {
    height: 100%;
    padding: 0 18px;
    background: #0099cc;
    color: #fff;
    border: none;
    font-size: 15px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}

.search-btn:hover {
    background: #007aaa;
}

.search-hot {
    font-size: 13px;
    color: #666;
}

.search-hot a {
    color: #0099cc;
    text-decoration: none;
    margin-right: 8px;
}

.search-hot a:hover {
    text-decoration: underline;
}

/* 右侧发布按钮 */
.header-actions {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.btn-post {
    display: inline-block;
    padding: 10px 18px;
    background: #ff6600;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    border-radius: 4px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s;
}

.btn-post:hover,
.btn-post:visited {
    color: #fff;
    text-decoration: none;
}

.btn-post:hover {
    background: #e05500;
}

.header-links {
    font-size: 13px;
    color: #666;
}

.header-links a {
    color: #0099cc;
    text-decoration: none;
}

.header-links a:hover {
    text-decoration: underline;
}

/* ---------- LED跑马灯广告 ---------- */
.led {
    text-align: center;
    height: 30px;
    margin-top: 1px;
    background: url(../../assets/images/led.gif);
}

.led marquee {
    color: #fff;
    font: bold 18pt 黑体;
}

/* ---------- 广告位 ---------- */
.ad_1 img {
    width: 100%;
    margin: 2px 0;
}

.ad_4 {
    padding: 0;
}

.ad_4 div {
    margin: 2px;
}

.ad_4 img {
    width: 100%;
}

.ad_4 p {
    text-align: center;
    margin: 2px 0;
    border: 1px dotted #0099cc;
}

/* ---------- 分类导航 ---------- */
.categories {
    background: #41b7ef;
    padding: 4px 0;
    border: 1px solid #c8cbce;
    display: flex;
    flex-wrap: wrap;
}

.category {
    padding: 2px 6px;
    text-align: center;
}

.category a {
    display: block;
    background: #fff;
    padding: 4px 0;
    width: 100%;
    font-weight: bold;
    font-size: 15px;
    color: #676262;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
}

.category a.active,
.category a:hover {
    color: #f91409;
}

/* ---------- 分页 ---------- */
.pagelist {
    background: rgb(211, 241, 255);
    border: 1px dotted rgb(0, 153, 204);
    margin: 2px 0;
    padding: 6px 0;
    font-size: 16px;
    text-align: center;
}

.pagelist .link a {
    color: blue;
    text-decoration: underline;
    margin-right: 10px;
    vertical-align: top;
}

.pagelist b {
    margin: 0 5px;
}

.pagelist .curr {
    color: red !important;
    font-weight: bold;
    background: #d5f71b;
}

.pagelist .list img {
    vertical-align: bottom;
    width: 18px;
}

.pagelist .list a {
    margin-left: 5px;
    color: black;
}

.pagelist .list a:first-child { margin-left: 10px; }
.pagelist .list a:last-child  { margin-right: 10px; }

/* ---------- 信息卡片 ---------- */
.info_box {
    height: 220px;
    margin: 5px -10px;
    background: #d9dede;
    padding: 4px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}

.info_box:hover {
    background: #68b0da;
    border-color: #0099cc;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.info_box a {
    color: black;
    text-decoration: none;
}

.info_box .info_title {
    font-size: 16px;
    font-weight: bold;
    padding: 8px 10px;
    background: #ffc66f;
    border-radius: 3px 3px 0 0;
    border: none;
}

.info_box .info_content {
    padding: 8px;
    height: 140px;
    background: #ffecd0;
    margin-top: 0;
    border: 1px solid #eee;
    border-radius: 0 0 3px 3px;
    overflow: hidden;
}

.info_box .info_content .expired {
    position: absolute;
    left: 30px;
}

.info_box .info_content .content_p {
    height: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 16px;
    line-height: 1.4;
    text-indent: 1.5em;
    color: #333;
}

.info_box .info_content .text-center {
    margin-top: 20px;
    color: red;
}

.info_box .contact {
    color: red;
    margin: 2px 0;
    font-weight: bold;
}

.info_title_green  { background: #98dc98 !important; }
.info_content_green { background: #e8f7e8 !important; }

.info_box .info_foot {
    padding: 4px;
}

.info_foot .bottom_left {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.info_box .sticky,
.info_box .tag {
    color: white;
    background: red;
    margin-right: 10px;
    padding: 2px 5px;
}

.info_box .tag {
    background: green;
    border-radius: 4px;
}

.info_box .dropdown-menu {
    min-width: 70px;
}

/* ---------- 在线访客 ---------- */
.visitor_title {
    display: flex !important;
    justify-content: space-between;
    padding: 5px;
    background: #e7e7e7;
    border: 1px solid #c2d5e3;
    font-weight: bold;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.visitor_title span {
    color: red;
    margin: 0 5px;
}

.visitor_list {
    border: 1px solid #cdcdcd;
    margin: 0;
    padding-bottom: 10px;
    list-style: none;
    padding-left: 0;
}

.visitor_area {
    background: url(../../assets/images/online_member.gif) 0 0 no-repeat;
    padding: 0 0 0 20px !important;
    margin-top: 20px;
    margin-left: 1%;
    width: 15%;
    overflow: hidden;
}

/* ---------- 公告提示 ---------- */
.notice {
    border: 1px dotted rgb(0, 153, 204);
    font: bold 16px/24px verdana;
    color: red;
    margin-top: 4px;
    background: #d2f0ff;
    padding: 4px 0;
    text-align: center;
}

/* ---------- 友情链接 ---------- */
.friendlink {
    margin-top: 10px;
}

.friendlink li {
    border-bottom: 1px dotted #808080;
    padding: 5px;
}

.friendlink li a {
    font-size: 12px;
    color: #666;
    margin: 5px 0 0 5px;
}

/* ---------- 页脚 ---------- */
.site-footer {
    background-color: #f5f5f5;
    color: #666;
    font-size: 13px;
    padding: 20px 0;
    text-align: center;
    width: 100%;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #e0e0e0;
}

/* 底部容器 - 与中间内容宽度一致 */
.site-footer .footer-wrapper {
    width: 1170px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.site-footer a {
    color: #0078b6;
    text-decoration: none;
    margin: 0 8px;
}

.site-footer a:hover {
    color: #005a8c;
    text-decoration: underline;
}

.site-footer .footer-wrapper .row {
    margin: 4px 0;
}

/* ---------- 弹窗通用 ---------- */
footer img {
    margin: 10px 0;
}

.window .form-group { margin: 10px 0; }

.window .submit_btn {
    border-top: 1px solid #ccc;
    margin-top: 20px;
    padding-top: 10px;
}

.window .bt {
    color: red;
    font-weight: bold;
}

.window h4 {
    text-align: center;
    border-bottom: 1px solid #ccc;
    padding: 10px;
}

.window .oaqrcode img {
    max-width: 300px;
    margin: auto;
}

.window .total {
    font-weight: bold;
    padding-left: 115px;
    font-size: 15px;
    margin: 26px 0 0 0;
}

.window .total span { color: red; }

/* ---------- 帖子详情 ---------- */
/* 两栏布局：左侧内容68%，右侧边栏30% */
.thread_detail {
    /**display: flex !important;**/
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 20px !important;
    /**margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;**/
}

.thread-content-col {
    flex: 0 0 calc(68% - 10px) !important;
    min-width: 0 !important;
    width: calc(68% - 10px) !important;
    box-sizing: border-box !important;
}

.thread-side-col {
    flex: 0 0 calc(30% - 10px) !important;
    min-width: 0 !important;
    width: calc(30% - 10px) !important;
    box-sizing: border-box !important;
}

/* 覆盖Bootstrap的.row负边距
.row.thread_detail {
    margin-left: 0 !important;
    margin-right: 0 !important;
}
 */
/* 帖子信息栏（编号+时间） */
.thread-info-bar {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
}

/* 帖子联系电话栏 */
.thread-phone-bar {
    display: flex;
    justify-content: space-between;
    padding: 0 20px 20px;
    font-size: 20px;
    font-weight: bold;
    color: red;
}

.thread_detail .content_box {
    padding: 3px;
}

.thread_detail .content_box .content {
    border: 1px solid #83b8e4;
    word-break: break-all;
}

.thread_detail .content_box h2 {
    color: red;
    font-weight: bold;
    text-align: center;
}

.thread_detail .content_box .content_info {
    margin-top: 30px;
	padding: 10px 20px 5px 20px;
}

.thread_detail .content_box .content_body {
    font-size: 16px;
    padding: 10px;
    line-height: 2;
    text-indent: 2em;
}

.thread_detail .content_box .imageList {
    display: flex;
    gap: 10px;
    padding: 0 10px;
}

.thread_detail .content_box .imageList .imageItem {
    flex: 1 0 0;
    aspect-ratio: 16 / 9;
}

.thread_detail .content_box .imageList .imageItem img {
    width: 100%;
    height: 100%;
}

.thread_detail .content_box .content_body .expired {
    position: absolute;
    right: 30px;
}

.thread_detail .content_box .content_phone {
    font-size: 20px;
    font-weight: bold;
    color: red;
    padding: 0 20px 20px;
}

.thread_detail .content_box .wenxin_ts {
    background: url(../../assets/images/ts.png) no-repeat left center #FCF8E3;
    padding: 8px 8px 8px 65px;
    border-top: 1px solid #ddd;
}

.thread_detail .content_body img {
    max-width: 100%;
    border-radius: 4px;
}

.thread_detail .qrcode_box { padding: 3px; }

.thread_detail .qrcode_box .qrcode {
    border: 1px solid #83b8e4;
    padding-bottom: 10px;
}

.thread_detail #qrcode {
    display: flex;
    justify-content: center;
    padding: 10px 0;
}

.thread_detail #qrcode img,
.thread_detail #qrcode canvas {
    display: block;
    margin: 0 auto;
    max-width: 100%;
}

.thread_detail .recommend {
    border: 1px solid #83b8e4;
    margin-top: 4px;
    padding: 10px;
}

.thread_detail .recommend h5 {
    font-weight: bold;
    border-bottom: 1px solid #ccc;
    text-align: left;
    padding: 5px 0;
    margin: 0;
}

.thread_detail .recommend table {
    width: 100%;
    table-layout: fixed;
}

.thread_detail .recommend td {
    border-bottom: 1px dashed gray;
    padding: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.thread_detail .recommend .sort {
    background: #ccc;
    color: white;
    padding: 2px 7px;
    border-radius: 4px;
}

.thread_detail .recommend tr:nth-child(1) .sort { background: #f91409; }
.thread_detail .recommend tr:nth-child(2) .sort { background: #e63fab; }
.thread_detail .recommend tr:nth-child(3) .sort { background: #ffc66f; }

/* ---------- 待审列表 ---------- */
.reviewlist {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.reviewlist .tips {
    color: #0099cc;
    font-weight: bold;
    background: #e6f7ff;
    padding: 12px 20px;
    border-radius: 6px;
}

.table_underreview {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.table_underreview td,
.table_underreview th {
    padding: 12px 8px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.table_underreview th {
    background: linear-gradient(135deg, #0099cc 0%, #007aa3 100%);
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.table_underreview tbody tr {
    transition: all 0.2s ease;
}

.table_underreview tbody tr:hover {
    background: #f5f9fc;
}

.table_underreview tbody tr:nth-child(even) {
    background: #fafbfc;
}

.table_underreview tbody tr:nth-child(even):hover {
    background: #f5f9fc;
}

.table_underreview td {
    color: #555;
    font-size: 14px;
}

/* 状态标签样式 */
.table_underreview .text-success {
    color: #28a745 !important;
    font-weight: 600;
    background: #d4edda;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
}

.table_underreview .text-danger {
    color: #dc3545 !important;
    font-weight: 600;
    background: #f8d7da;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
}

/* 操作按钮 */
.table_underreview .btn-link {
    color: #0099cc;
    text-decoration: none;
    padding: 4px 12px;
    border-radius: 4px;
    transition: all 0.2s;
}

.table_underreview .btn-link:hover {
    background: #0099cc;
    color: #fff;
}

/* ---------- 发布信息页 ---------- */
/* 两栏布局：左侧提示约22%，右侧表单 */
.fabu_layout {
    display: flex;
    background: #e6fffb;
    margin-top: 2px;
}

.fabu_tips {
    background: #fbe889;
    margin: 2px 0 0 0;
    border: 1px dotted rgb(0, 153, 204);
    padding: 0 0 0 4px;
}

.fabu_editor {
    background: #e6fffb;
    margin-top: 2px;
}

.fabu_left {
    flex: 0 0 22%;
    font-size: 16px;
    font-weight: bold;
    padding: 10px;
    font-family: 黑体;
}

.fabu_left span { color: red; }

.fabu_left .fabu_left_row { line-height: 36px; }

.fabu_left .fabu_left_bottom {
    bottom: 10px;
    margin-top: 20px;
}

.fabu_right {
    flex: 1;
    background: white;
    padding-left: 4px;
    padding-right: 0;
}

.fabu_right .fabu_right_border {
    background: #d2f0ff;
    padding-top: 30px;
}

/* 表单行：label + field + 状态图标 */
.fabu_form {
    padding: 0 10px;
}

.fabu_form_row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    gap: 6px;
}

.fabu_label {
    flex: 0 0 70px;
    text-align: right;
    font-size: 15px;
    font-weight: bold;
    padding-top: 6px;
    color: #333;
}

.fabu_field {
    flex: 1;
}

.fabu_status {
    flex: 0 0 30px;
    padding-top: 6px;
}

/* 验证码行 */
.fabu_captcha_row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fabu_captcha_input {
    width: 140px !important;
    flex: 0 0 140px;
}

.captcha-img {
    height: 34px;
    cursor: pointer;
    border: 1px solid #ccc;
}

.fabu_right .form-group {
    margin-left: 0;
    margin-right: 0;
}



.fabu_tips img { width: 32px; }

.fabu_tips span {
    font-size: 20px;
    font-weight: bold;
    color: red;
}

.fabu_btns { padding: 30px 0; }

.fabu_btns button { width: 30%; }

.fabu_right .captcha img { height: 34px; }

.fabu_right .form-control-feedback { position: static; }

.fabu_right .glyphicon-ok {
    color: green;
    padding: 8px 0 0 8px;
}

.fabu_right .glyphicon-remove {
    color: red;
    padding: 8px 0 0 8px;
}

/* ---------- 支付页 ---------- */
.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;
}

/* ---------- 文章列表 ---------- */
.article_item {
    border-bottom: 1px dashed gray;
}

/* ---------- 分隔线 ---------- */
.boundary {
    border-bottom: 1px solid #ddd;
    margin: 6px 0;
}
