/* 036h.com 爆料网 — 前台样式 */

* { margin: 0; padding: 0; box-sizing: border-box; }
a { text-decoration: none; }
ul li { list-style: none; }
img { border: 0; vertical-align: middle; }
body { font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif; }

/* ---------------------------------------------------------------- 外壳 */
body.outer { background: #f0f5f9; padding-top: 15px; }
body.inner { background: #f0f5f9; padding: 10px 8px 60px; }

.w720 { max-width: 720px; margin: 0 auto; }

.outer .header {
    position: fixed; top: 0; left: 0; right: 0; margin: auto;
    z-index: 100; max-width: 720px;
}
.outer .logo {
    width: 100%; padding: 5px 0; overflow: hidden;
    background: linear-gradient(to right, #ff9999, #ffcccc);
}
.outer .logo .logo-c { display: block; margin: auto; height: 50px; }
.outer .logo .logo-r { position: absolute; top: 0; right: 0; height: 55px; }
.outer .kj-top { width: 100%; height: 80px; background: #fff; border-top: 1px solid #f0f5f9; }
.outer .kj-top iframe { display: block; width: 100%; height: 80px; border: 0; }

.outer .mainframe { display: block; width: 100%; height: 20000px; border: 0; }

.refresh {
    position: fixed; bottom: 70px; right: 10px; width: 52px; height: 52px;
    padding: 4px; border-radius: 50%; background: transparent; cursor: pointer; z-index: 100;
}
.refresh > div {
    width: 44px; height: 44px; background: red; border-radius: 50%;
    text-align: center; line-height: 44px; font-size: 15px; color: #fff; user-select: none;
}
.gotop {
    position: fixed; bottom: 20px; right: 10px; background: red; color: #fff;
    padding: 8px; cursor: pointer; z-index: 100; border-radius: 8px; font-size: 13px;
}

.scroll {
    position: fixed; right: 10px; bottom: 130px; width: 52px; height: 52px;
    background: #32CD32; color: #fff; border-radius: 50%; text-align: center;
    line-height: 52px; font-size: 13px; z-index: 99; display: none; cursor: pointer;
}

/* ---------------------------------------------------------------- 通用盒 */
.headerbox { width: 100%; max-width: 720px; margin: 0 auto; }

.gst_type_box {
    width: 100%; border: 2px solid #ff9999; background: #fff;
    border-radius: 8px; margin-bottom: 10px; overflow: hidden;
}
.gst_tit {
    background: linear-gradient(to right, #ff9999, #ffcccc);
    color: #d4380d; text-align: center; padding: 5px 0; font-size: 16px;
}
.gk_tit {
    background: linear-gradient(to right, #ff9999, #ffcccc);
    color: #d4380d; text-align: center; padding: 5px 0; font-size: 16px;
}
.gst_type_box ul { width: 100%; }
.gst_type_box ul li { width: 100%; overflow: hidden; }
.gst_type_box ul li a {
    display: block; width: 100%; word-wrap: break-word;
    border-top: 1px solid #ff9999; text-align: center;
    font-size: 18px; font-weight: bold; padding: 5px 0; color: #111;
}
.gst_type_box ul li a:hover { text-decoration: underline; color: red; }
.gst_type_box ul li:first-child a { border-top: 0; }

.ad-slot { margin-bottom: 10px; }
.ad-slot:empty { display: none; }

/* ---------------------------------------------------------------- 公开区列表 */
.gst_type_box.gkbor { border-color: #32CD32; }
.gst_type_box.gkbor .gk_tit { background: linear-gradient(to right, #32CD32, #a6e6a6); color: #fff; }

.gst_gk_box { width: 100%; overflow: hidden; border-top: 1px solid #ff9999; }
.gst_gk_box:first-of-type { border-top: 0; }
.gst_gk_box li { float: left; text-align: center; font-size: 18px; font-weight: bold; padding: 6px 0; }
.gst_gk_box li.cn_l { width: 17%; }
.gst_gk_box li.cn_t { width: 60%; }
.gst_gk_box li.cn_r { width: 23%; }
.gst_gk_box li.yx_l { width: 18%; }
.gst_gk_box li.yx_t { width: 57%; }
.gst_gk_box li.yx_r { width: 25%; }
.gst_gk_box li.nn_l { width: 100%; }
.gst_gk_box li.nn_t { width: 70%; }
.gst_gk_box li.nn_r { width: 30%; }
.gst_gk_box li.es_l { width: 16%; }
.gst_gk_box li.es_t { width: 61%; }
.gst_gk_box li.es_r { width: 23%; }
.gst_gk_box li + li { border-left: 1px solid #ff9999; }

/* ---------------------------------------------------------------- 帖子详情 */
.gst_topic_header { width: 100%; margin-bottom: 10px; }
.gst_topic_box { width: 100%; border: 2px solid #ff9999; background: #fff; border-radius: 8px; overflow: hidden; }
.gst_head_box { background: linear-gradient(to right, #ff9999, #ffcccc); padding: 8px 0; }
.gst_head_box a { color: #7a1d0d; font-size: 15px; }
.gst_head_box a.fl { float: left; margin-left: 10px; }
.gst_head_box a.fr { float: right; margin-right: 10px; }
.gst-head-tit { display: block; text-align: center; }
.gst-head-tit a { font-size: 17px; font-weight: bold; }

.gst_topic_user { border-bottom: 1px solid #ff9999; padding: 8px 10px; overflow: hidden; }
.gst_topic_user .user_img { float: left; }
.gst_topic_user .user_zz { float: left; margin-left: 10px; }
.gst_topic_user .zztit { font-size: 14px; color: #555; line-height: 22px; }
.gst_topic_user .user_st { float: right; text-align: right; }
.gst_topic_user .yuedu { font-size: 13px; color: #666; }
.gst_topic_user .home { font-size: 13px; margin-top: 4px; }
.gst_topic_user .home a { color: #d4380d; }
.homeimg {
    display: inline-block; width: 16px; height: 16px; vertical-align: -3px;
    background: url(../images/home.gif) no-repeat center center;
}
.icon-back, .icon-bari {
    display: inline-block; width: 10px; height: 10px; vertical-align: -1px;
    background: url(../images/icon.png) no-repeat center center;
}

.gst_topic_content { padding: 10px 12px; font-size: 18px; line-height: 1.9; color: #222; word-wrap: break-word; }
.gst_topic_content p { margin: 4px 0; }

.tip-box {
    width: 100%; border: 2px solid #ff9999; background: #fff; border-radius: 8px;
    padding: 8px 12px; margin-bottom: 10px; text-align: center; overflow: hidden;
}

/* ---------------------------------------------------------------- 颜色工具类 */
.s1 { color: #e60012; }
.s2 { color: #0033cc; }
.s3 { color: #079e1d; }
.s4 { color: #e36c0a; }
.s5 { color: #d4380d; }
.s6 { color: #7a1d0d; }
.s7 { color: #ff6600; }
.s8 { color: #e60012; }
.s9 { color: #666; }
.b { font-weight: bold; }
.center { text-align: center; }
.fl { float: left; }
.fr { float: right; }

/* 正文里的标记 */
.bgb { background: #ff0; color: #d4380d; padding: 0 3px; border-radius: 3px; font-weight: bold; }
.fft { font-size: 2rem; vertical-align: -2px; }
.sh { color: #e60012; }
.sb { color: #0033cc; }
.sc { color: #079e1d; }

/* 号码球 */
.redClass { color: #d40000; }
.blueClass { color: #0047bb; }
.greenClass { color: #067d06; }

/* ---------------------------------------------------------------- 生肖属性表 */
.sx { background: #fff; border-radius: 8px; overflow: hidden; margin-bottom: 10px; }
.sx table { margin-top: 0; border-collapse: collapse; }
.sx th { height: 34px; background: #f1f1f1; font-size: 15px; }
.sx td { padding: 6px 8px; text-align: center; border: solid 1px #d8ccb4; word-wrap: break-word; background: #fff; font-size: 14px; }
.sx td.a-left { text-align: left; }
.sx span { display: inline-block; margin: 1px 2px; padding: 0 3px; font-size: 12px; color: #fff; background: #f00; border-radius: 2px; }
.sx span.green { background: #009933; }
.sx span.blue { background: #3366ff; }
ul.sx1 { display: block; }
ul.sx1 li { float: left; width: 33.33%; padding: 6px 0; }
ul.sx1 li dl dt { font-size: 14px; }
ul.sx1 li dl dt img { width: 34px; height: 34px; }
ul.sx1 li dl dd { margin-top: 2px; }
.clearfix:after { content: ""; display: table; }

/* ---------------------------------------------------------------- 页脚 */
.bottom {
    width: 100%; max-width: 720px; margin: 0 auto 10px; padding: 10px;
    background: linear-gradient(to right, #ff9999, #ffcccc); border-radius: 8px;
    overflow: hidden;
}
.bottom p { text-align: center; font-size: 14px; line-height: 20px; padding: 5px 0; color: #333; border-bottom: 1px solid #e6e6e6; }
.bottom p:last-child { border-bottom: 0; }
.bottom .copyright { font-size: 13px; line-height: 22px; color: #333; }
.bottom .copyright p { border-bottom: 0; }

/* ---------------------------------------------------------------- 其他前台页 */
.zlbox_list, .tzbox_list { width: 100%; border: 2px solid #ff9999; background: #fff; border-radius: 8px; margin-bottom: 10px; }
.zlbox_list li, .tzbox_list li { border-top: 1px solid #ff9999; font-size: 16px; }
.zlbox_list li:first-child, .tzbox_list li:first-child { border-top: 0; }
.zlbox_list li a, .tzbox_list li a { display: block; padding: 8px; color: #111; }
.zlbox_list li a:hover, .tzbox_list li a:hover { color: red; }

.ann-box { width: 100%; border: 2px solid #ff9999; background: #fff; border-radius: 8px; padding: 12px; margin-bottom: 10px; }
.ann-box h1 { font-size: 20px; text-align: center; margin-bottom: 10px; }
.ann-box .art { font-size: 16px; line-height: 1.9; word-wrap: break-word; }
.ann-box .art img { max-width: 100%; }

.kj_data_box { width: 100%; border: 2px solid #ff9999; background: #fff; border-radius: 8px; margin-bottom: 10px; overflow: hidden; }
.kj_data_box .litit { background: #f1f1f1; display: flex; text-align: center; font-size: 14px; }
.kj_data_box .litit span { flex: 1; padding: 6px 0; }
.kj_data_box ul li { display: flex; text-align: center; font-size: 14px; border-top: 1px solid #ff9999; }
.kj_data_box ul li span { flex: 1; padding: 5px 0; }

.nav-foot { overflow: hidden; padding: 10px 0; }
.nav-foot ul { background: #fff; line-height: 30px; }
.nav-foot li { float: left; width: 25%; text-align: center; }
.nav-foot a { color: #333; font-size: 15px; }

.pager { text-align: center; padding: 10px 0; }
.pager a, .pager span { display: inline-block; padding: 4px 10px; margin: 0 2px; border: 1px solid #ff9999; border-radius: 4px; font-size: 14px; color: #333; background: #fff; }
.pager a.cur, .pager span.cur { background: #ff9999; color: #fff; }
.pager .pinfo { border: 0; background: transparent; }

/* ---------------------------------------------------------------- 响应式 */
@media screen and (max-width: 700px) {
    body.outer { padding-top: 10px; }
    .outer .header { position: static; }
    .outer .logo .logo-c { height: 40px; }
    .outer .logo .logo-r { height: 45px; }
    .gst_type_box ul li a { font-size: 16px; }
    .gst_gk_box li { font-size: 15px; }
    .gst_topic_content { font-size: 16px; }
    .gst_gk_box li.cn_l { width: 15%; }
    .gst_gk_box li.cn_t { width: 62%; }
    .gst_gk_box li.cn_r { width: 23%; }
    .gst_gk_box li.yx_l { width: 16%; }
    .gst_gk_box li.yx_t { width: 58%; }
    .gst_gk_box li.yx_r { width: 26%; }
    .gst_gk_box li.nn_t { width: 60%; }
    .gst_gk_box li.nn_r { width: 40%; }
    ul.sx1 li { width: 50%; }
}

@media screen and (max-width: 380px) {
    .gst_type_box ul li a { font-size: 14px; }
    .gst_gk_box li { font-size: 13px; }
    ul.sx1 li { width: 50%; }
}
