@charset "utf-8";
/* ============================================================
   便民123 - Z-BlogPHP 便民信息分类风格主题
   风格参考：宁晋123 (www.nj123.cc)
   ============================================================ */
* { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: 'Microsoft YaHei', '微软雅黑', Helvetica, Arial, sans-serif; background-color: #f2f2f2; color: #333; font-size: 14px; }
a { text-decoration: none; color: #333; }
a:hover { color: #049EE3; }
ul, li { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; border: 0; }
h1, h2, h3, h4, p { margin: 0; padding: 0; }
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 10px; }

/* ---------- 顶部条 ---------- */
.bm-top { height: 3px; background-color: #515151; width: 100%; line-height: 0; overflow: hidden; }
.bm-headbar { background-color: #fff; border-bottom: 1px solid #eee; }
.bm-headbar .container { overflow: hidden; line-height: 30px; font-size: 13px; }
.bm-welcome { float: left; color: #666; }
.bm-user { float: right; color: #666; }
.bm-user a { color: #049EE3; }
.bm-user a:hover { color: #ff6a00; }

/* ---------- LOGO 区 ---------- */
.bm-logo { background-color: #fff; text-align: center; padding: 18px 0 14px; border-bottom: 1px solid #eee; margin-bottom: 12px; }
.bm-logolink { font-size: 38px; font-weight: 700; color: #049EE3; letter-spacing: 1px; }
.bm-logolink:hover { color: #ff6a00; }
.bm-slogan { color: #999; font-size: 13px; margin-top: 6px; }

/* ---------- 分类按钮导航 ---------- */
.nav { width: 100%; background: #fff; overflow: hidden; border-radius: 3px; }
.nav a { display: block; float: left; width: 12%; height: 35px; margin: 2px 0.25%; line-height: 35px; background: #049EE3; color: #fff; font-size: 16px; border-radius: 3px; text-align: center; }
.nav a:hover { background: #0070DA; color: #fff; }
.nav a.act { background: #ff6a00; color: #fff; }

/* ---------- 面包屑 ---------- */
.bm-crumbs { font-size: 13px; color: #999; margin: 10px 2px; }
.bm-crumbs a { color: #666; }
.bm-crumbs a:hover { color: #049EE3; }

/* ---------- 信息列表 ---------- */
.box { background-color: #fff; padding: 10px; border-radius: 3px; }
.box-hd { border-left: 4px solid #ff6a00; padding-left: 8px; font-size: 16px; font-weight: 700; color: #333; height: 24px; line-height: 24px; margin-bottom: 10px; }
.box ul li { margin: 0 0 10px; line-height: 35px; width: 100%; display: flex; justify-content: space-between; align-items: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border: 1px solid #89D4F8; border-radius: 3px; padding: 0 8px; }
.box ul li:nth-child(odd) { background-color: #e9f6ff; }
.box ul li a { font-size: 14px; color: #333; width: calc(100% - 58px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.box ul li a:hover { color: #049EE3; }
.box ul li .time { width: 50px; text-align: right; color: #999; font-size: 12px; flex-shrink: 0; }
.zp { background-color: #FF6A00; padding: 4px 8px; border-radius: 5px; border: 1px solid #fff; color: #fff; font-size: 12px; margin-right: 6px; white-space: nowrap; }
.box ul li.zhiding { background-color: #FBD4B2 !important; border-color: #f5bc8b !important; font-weight: 600; }
.box ul li.zhiding a { color: red; font-weight: 600; }
.box ul li.empty { text-align: center; color: #999; justify-content: center; }

/* ---------- 分页 ---------- */
.pagination { margin: 15px 0; text-align: center; overflow: hidden; }
.pagination a, .pagination span { display: inline-block; padding: 6px 14px; margin: 3px; border: 1px solid #89D4F8; border-radius: 3px; background: #fff; color: #049EE3; font-size: 14px; }
.pagination span.current { background: #049EE3; color: #fff; }
.pagination a:hover { background: #e9f6ff; }

/* ---------- 文章页 ---------- */
.bm-article { background: #fff; padding: 20px; border-radius: 3px; }
.bm-atitle { font-size: 22px; line-height: 1.5; color: #333; text-align: center; margin-bottom: 12px; }
.bm-meta { text-align: center; font-size: 12px; color: #999; border-bottom: 1px dashed #ddd; padding-bottom: 12px; margin-bottom: 18px; }
.bm-meta a { color: #049EE3; }
.bm-content { font-size: 15px; line-height: 2; color: #333; word-wrap: break-word; overflow: hidden; }
.bm-content img { max-width: 100%; height: auto; display: block; margin: 10px auto; }
.bm-content a { color: #049EE3; }
.bm-warmtip { background: #FBD4B2; border: 1px solid #f5bc8b; border-radius: 3px; color: #8a4b08; padding: 10px 14px; margin: 12px 0; font-size: 13px; line-height: 1.8; }

/* ---------- 页脚 ---------- */
.footersy { margin-top: 20px; background-color: #fff; text-align: center; padding: 12px 0 20px; }
.bm-declare { color: #999; font-size: 13px; padding: 5px 15px; line-height: 1.8; }
.copyright { color: #999; font-size: 12px; line-height: 2; }
.copyright a { color: #aaa; }
.copyright a:hover { color: #049EE3; }
.youqing { color: #999; font-size: 12px; padding: 10px 15px 0; border-top: 1px dashed #eee; margin: 10px 15px 0; line-height: 2; }
.youqing a { color: #aaa; padding: 0 3px; }
.youqing a:hover { color: #ff6a00; }

/* ---------- 返回顶部 ---------- */
.bm-gotop { position: fixed; right: 15px; bottom: 60px; z-index: 999; display: none; }
.bm-gotop a { display: block; width: 44px; height: 44px; line-height: 44px; text-align: center; background: #049EE3; color: #fff; border-radius: 5px; font-size: 13px; }
.bm-gotop a:hover { background: #ff6a00; }

/* ---------- 手机端自适应 ---------- */
@media screen and (max-width: 768px) {
	.bm-logolink { font-size: 26px; }
	.bm-slogan { font-size: 12px; }
	.nav a { width: 24%; margin: 2px 0.5%; font-size: 14px; height: 32px; line-height: 32px; }
	.bm-user { display: none; }
	.box ul li .time { display: none; }
	.box ul li a { width: 100%; }
	.bm-atitle { font-size: 18px; }
	.bm-content { font-size: 14px; }
}
