﻿
a, input, button, textarea, select { outline: none; }

/*警告框_配合strong和p使用*/
.alert { color: #c09853; line-height: 24px; font-size: 13px; background-color: #fcf8e3; border: 1px solid #fbeed5; padding: 5px 35px 5px 14px; text-shadow: 0 1px 0 rgba(255,255,255,0.5); margin-bottom: 5px; border-radius: 4px; }
.alert a { color: #c09853; }
.alert a:hover { color: red !important; text-decoration: underline; }
.alert p { text-indent: 2em; }
.alert.error { color: #b94a48; background-color: #f2dede; border-color: #eed3d7; }
.alert.error a { color: #b94a48; }
.alert.success { color: #468847; background-color: #dff0d8; border-color: #d6e9c6; }
.alert.success a { color: #468847; }
.alert.info { color: #3a87ad !important; background-color: #d9edf7; border-color: #bce8f1; }
.alert.info a { color: #3a87ad; }
.alert.l { overflow: hidden; }
.alert.l strong { width: 40px; color: #555; border-right: 1px solid #fbeed5; float: left; }
.alert.l p { float: left; color: #777; }

/*文章内容*/
.article { padding: 0 20px; margin-bottom: 5px; border-radius: 3px; line-height: 24px; background-color: #fff; }
.article h1 { padding-top: 20px; margin-bottom: 5px; text-shadow: 1px 1px 2px #fff; }
.article .author { }
.article .author > img { width: 50px; height: 50px; border-radius: 25px; margin-right: 5px; float: left; }
.article .author a { color: #379be9; }
.article .author a:hover { text-decoration: underline; }
.article .author span { color: #072; }
.article .summary { margin-bottom: 5px; font-size: 12px; border-radius: 3px; padding: 8px 10px; }
.article .detail { font-size:14px; color: #111; margin-bottom: 5px; font-family: Helvetica, sans-serif; }
.article .detail h2 { color: #585957; margin: 10px 0; }
.article .detail h3 { margin: 5px 0; text-indent: 2em; }
.article .detail p { font: 14px/24px '宋体'; text-indent: 2em; margin-bottom: 10px; }
.article .detail p.center { text-indent: 0; text-align: center; }
.article .detail img { max-width: 100%; max-height: 200px; }
.article .detail pre { border: 1px dashed #2f6fab; border-radius: 3px; padding: 8px 10px; line-height: 18px; }
/*文章内容-灰色*/
.article.gray { border: 1px solid #ddd; }
.article.gray:hover { box-shadow: 0 1px 6px rgba(0,0,0,0.1); }
.article.gray h1 { color: #313230; font: bold 24px/30px 'Microsoft Yahei'; }
.article.gray .author { margin-bottom: 10px; font-size: 12px; color: #999; }
.article.gray .summary { color: #999; border: 1px solid #eee; background-color: #f9f9f9; }

/*#region 按钮、文本框  注意： btn只是一个标准，不是一个样式*/
.btn { margin-bottom: 5px; color: #fff; white-space: nowrap; border: 1px solid transparent; background-color: transparent; text-align: center; padding: 0 12px; line-height: 30px; border-radius: 4px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.2); display: inline-block; }
.btn:hover { cursor: pointer; box-shadow: inset 0 1px 0 rgba(255,255,255,0.3); }
.btn:active { box-shadow: inset 0 1px 5px rgba(0,0,0,0.1); }
.btn.primary { color: #fff; background-color: #006dcc; background-image: linear-gradient(#08c,#04c); border-color: #04c #04c #002a80; }
.btn.primary:hover { background-color: #04c; background-image: linear-gradient(#04c,#08c); }
.btn.info { background-color: #49afcd; background-image: linear-gradient(#5bc0de,#2f96b4); border-color: #2f96b4 #2f96b4 #1f6377; }
.btn.info:hover { background-color: #2f96b4; background-image: linear-gradient(#2f96b4,#5bc0de); }
.btn.success { background-color: #5bb75b; background-image: linear-gradient(#62c462,#51a351); border-color: #51a351 #51a351 #387038; }
.btn.success:hover { background-color: #51a351; background-image: linear-gradient(#51a351,#62c462); }
.btn.warning { background-color: #faa732; background-image: linear-gradient(#fbb450,#f89406); border-color: #f89406 #f89406 #ad6704; }
.btn.warning:hover { background-color: #f89406; background-image: linear-gradient(#f89406,#fbb450); }
.btn.danger { background-color: #da4f49; background-image: linear-gradient(#ee5f5b,#bd362f); border-color: #bd362f #bd362f #802420; }
.btn.danger:hover { background-color: #bd362f; background-image: linear-gradient(#bd362f,#ee5f5b); }
.btn.inverse { background-color: #363636; background-image: linear-gradient(#444,#222); border-color: #222 #222 #000; }
.btn.inverse:hover { background-color: #222; background-image: linear-gradient(#222,#444); }
.btn.link { color: #379be9; line-height: 14px; padding: 0; box-shadow: none; }
.btn.link:hover { color: red; }
/*#endregion*/


/*评论_发表评论*/
.cmt { border-radius: 3px; margin-bottom: 5px; background-color: #fff; position: relative; }
.cmt:before { content: ""; border: 5px solid transparent; top: -10px; position: absolute; }
.cmt:after { content: ""; border: 5px solid transparent; top: -9px; position: absolute; }
.cmt textarea { display: block; height: 60px; width: 96%; resize: none; margin: 10px auto; border: none; }
.cmt > .ft { height: 30px; line-height: 28px; padding: 5px 10px; font-size: 12px; color: #666; border-top: 1px solid #ddd; }
.cmt > .ft > a { width: 30px; height: 30px; margin-right: 5px; float: left; }
.cmt > .ft > a img { width: 100%; height: 100%; border-radius: 50%; }
.cmt > .ft > p { float: left; }
.cmt > .ft > p a { color: #379BE9; }
.cmt > input { position: absolute; right: 10px; bottom: -1px; }
.cmt.blue { border: 1px solid #9AB7E6; }
.cmt.gray { border: 1px solid #ddd; }
/*评论_评论列表*/
.cmts { overflow: hidden; font-size: 12px; }
.cmts li { padding-top: 10px; padding-left: 50px; border-top: 1px solid #ddd; position: relative; overflow: hidden; }
.cmts > li:first-child { padding-top: 5px; border-top: none; }
.cmts li > a { width: 40px; height: 40px; left: 0; top: 10px; position: absolute; }
.cmts li > a img { width: 100%; height: 100%; border-radius: 25px; }
.cmts li > .hd { margin-bottom: 2px; position: relative; }
.cmts li > .hd h5 { font-size: 12px; margin-right: 5px; display: inline-block; cursor: default; color: #379BE9; font-weight: normal; }
.cmts li > .hd h5 span { color: #999; font-weight: normal; }
.cmts li > .hd .time { color: #999; display: inline-block; }
.cmts li > .bd { font-size: 14px; position: relative; color: #111; overflow: hidden; }
.cmts li > .bd p { margin-bottom: 2px; }
.cmts li > .bd i { float: left; margin: 0 10px 5px 0; font-size: 12px; line-height: 15px; color: #999; cursor: pointer; font-style: normal; }
.cmts li > .bd i.cur,
.cmts li > .bd i:hover { color: #379BE9; }
.cmts li > .bd i:before { width: 15px; height: 15px; background: url(/static/img/cmt/cmt.blue.png) 0 0 no-repeat; float: left; }
.cmts li > .bd i.praise:before { margin-right: 7px; content: "("; text-indent: 15px; }
.cmts li > .bd i.praise:after { content: ")"; }
.cmts li > .bd i.praise.cur:before,
.cmts li > .bd i.praise:hover:before { background-position: -15px 0; }
.cmts li > .bd i.reply:before { margin-right: 2px; background-position: 0 -15px; content: ""; }
.cmts li > .bd i.reply:hover:before { background-position: -15px -15px; }
.cmts li > .bd i.reply.replied:before { background-position: -15px -15px; }
.cmts li > .bd i.replies { display: none; }
.cmts li > .bd i.replies:before { margin-right: 2px; background-position: 0 -30px; content: ""; }
.cmts li > .bd i.replies:hover:before { background-position: -15px -30px; }
.cmts li > .bd i.replies.replied:before { background-position: -15px -30px; }
.cmts li > .ft { position: relative; }
.cmts li > .ft:before { border: 5px solid transparent; top: -10px; position: absolute; content: ""; }
.cmts li > .ft:after { border: 5px solid transparent; top: -9px; position: absolute; content: ""; }
.cmts li > .ft .cmt { display: none; }
.cmts li > .ft ul { border-radius: 3px; }
.cmts li > .ft ul li { padding-left: 45px; border-top: 1px solid #ddd; }
.cmts li > .ft ul li a { width: 35px; height: 35px; }
.cmts li > .ft ul li > .bd p { color: #555; }
.cmts li > .ft ul li.cur > .bd p { color: red; }

/*分页*/
.pages { width: 100%; overflow: hidden; font-family: Helvetica,Arial; }
.pages h3.noData { color: #555; margin-bottom: 8px; text-align: center; line-height: 100px; background: url(img/g/ggray300.png); border: 1px solid #ddd; border-radius: 3px; }
.pages a,
.pages span,
.pages input { line-height: 16px; border-radius: 3px; margin: 0 0 5px 3px; background: #fff; padding: 6px 12px; color: #428bca; border: solid 1px #ddd; display: block; text-decoration: none; float: left; }
.pages a:first-child,
.pages span:first-child { margin-left: 0; }
.pages a:hover { border: 1px solid #0d99fd; background: #63BEFF; color: #fff; }
.pages span.cur { background: #428bca; border: 1px solid #428bca; color: #fff; }
.pages span.cur:hover { cursor: pointer; }
.pages span.count { padding: 6px 10px; color: #999; }
.pages span.rows { padding: 7px 10px; color: #777; border: 0; }
.pages input { width: 50px; }
.pages input:focus { border: 1px solid #73b8ee; box-shadow: 0 0 5px #B0DFF0; }

/*#region 面板 panel，原创：周靖。不定义宽度，让其根据父元素自动填充！*/
.panel { margin-bottom: 5px; }
.panel > .hd { height: 31px; line-height: 33px; position: relative; }
.panel > .hd:before { content: ""; height: 31px; float: left; }
.panel > .hd:after { content: ""; height: 31px; float: right; }
.panel > .hd h2, div.panel > .hd h3 { line-height: 30px; float: left; text-indent: 5px; }
.panel > .hd a { cursor: pointer; }
.panel > .hd .r { position: absolute; right: 10px; font-size: 12px; }
.panel > .hd a.r:hover { color: red; text-decoration: underline; }
.panel > .bd, .panel > .ft { padding: 5px 10px; line-height: 25px; background-color: #fff; position: relative; }
.panel.demo > .bd { padding-bottom: 30px; }
.panel.demo > .bd:after { content: "演示"; color: #9da0a4; line-height: 28px; font-weight: bold; padding: 0 10px; border-left: 1px solid #ddd; border-top: 1px solid #ddd; border-top-left-radius: 5px; background-color: #f5f5f5; bottom: 0; right: 0; position: absolute; }
/*面板-蓝色*/
.panel.blue { border: 1px solid #c8d8f2; border-radius: 3px; }
.panel.blue > .hd { border-bottom: 1px solid #eee; }
.panel.blue > .hd h2 { border: 2px solid #379be9; border-top: none; border-right-color: transparent; border-left-color: transparent; padding: 0 5px; color: #379be9; }
.panel.blue > .hd .r { color: #379be9; }

/*#region positin search 当前位置 搜索*/
.position { margin-bottom: 5px; border-radius: 3px; overflow: hidden; text-indent: 10px; }
.position:before { content: ""; float: left; }
.position:after { content: ""; float: right; }
.position a:hover { text-decoration: underline; }
/*蓝色*/
.position.blue { border: 1px solid #c8d8f2; line-height: 35px; width: auto; }
.position.blue a { color: #379be9; }
/*灰色*/
.position.gray { font-size: 12px; background: url(../img/dg/position_22.gif) repeat-x; line-height: 35px; height: 35px; }
.position.gray:before { background: url(../img/dg/position_19.gif) 0 0 repeat-x; width: 60px; height: 35px; }
.position.gray:after { background: url(../img/dg/position_25.gif) 0 0 repeat-x; width: 5px; height: 35px; }
.position.gray a { color: #000; }
.position.gray a:first-child { text-indent: 10px; }
.position.gray a:hover { color: Red; }
/*蓝色*/
.position.navy { line-height: 40px; background: #5a8db6 url(../img/bg/bg_gray.png); color: #f8f8f8; }
.position.navy i { font-style: normal; }
.position.navy a { text-indent: 20px; color: #f0f0f0; }
.position.navy a:hover { color: #f8f8f8; }
/*白色*/
.position.white { font-size: 12px; color: #777; line-height: 30px; }
.position.white:before { content: "当前位置："; }
.position.white a { color: #777; }


/*#region tab 选项卡，未整合完，原创：周靖*/
.tab { margin-bottom: 5px; font-size: 13px; }
.tab > li { float: left; height: 35px; line-height: 35px; position: relative; }
.tab > li.current { background-color: #fff; }
.tab > li a { display: block; }
/*选项卡-黑色*/
.tab.black { height: 35px; border-radius: 3px; }
.tab.black li { top: -1px; left: -1px; border: 1px solid #ceced8; border-left: none; background-color: #fff; background: linear-gradient(#fff,#f9f9f9); }
.tab.black li:first-child { border-left: 1px solid #ceced8; border-radius: 3px 0 0 3px; }
.tab.black li:last-child { border-radius: 0 3px 3px 0; }
.tab.black li.cur { border-color: #6e7990; background-color: #838999; background: linear-gradient(#878d9c,#6e7990); }
.tab.black li a { padding: 0 20px; color: #4f4f4f; text-decoration: none; }
.tab.black li.cur a { color: #fff; font-weight: bold; }
/*选项卡-蓝色*/
.tab.blue { border-bottom: 1px solid #ddd; height: 37px; }
.tab.blue li { width: 108px; height: 35px; line-height: 35px; margin: 2px 0 2px 0; padding: 0; text-align: center; background: #fff url(/static/img/bg/tab.blue.png) 0 -43px no-repeat; }
.tab.blue li:before { content: none; }
.tab.blue li a { color: #388fc9; }
.tab.blue li a:hover { text-decoration: none; }
.tab.blue li.cur { background-position: 0 0; margin-top: 0; height: 38px; line-height: 40px; }
.tab.blue li.cur a { font-size: 14px; color: #303030; font-weight: bold; }

table { margin-bottom: 5px; width: 100%; font-size: 12px; border-collapse: collapse; }
table th { line-height: 34px; height: 34px; color: #333; padding: 0 5px; }
table td { background-color: #fff; padding: 8px 10px; color: #555; }
table td:first-child { text-align: center; }
table td.nowrap { max-width: 200px; font-family: Arial; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
table a { color: #2059ae; }
table a:hover { color: red; cursor: pointer; text-decoration: underline; }
table .btn { text-decoration: none !important; line-height: 26px; margin: 0; }
/*表格-话题*/
table.bbs td { border-bottom: 1px dashed #ccc; }
table.bbs tr td:first-child { text-align: left; }
table.bbs tr th { text-align: left; color: #666; font-weight: normal; }
table.bbs tr td { padding: 10px; }

/*列表_蓝色*/
ul.blue li { font-size: 13px; height: 24px; line-height: 24px; font-family: Arial; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-left: 20px; position: relative; }
ul.blue li:before { content: ""; left: 8px; border: 2px solid #379be9; top: 50%; margin-top: -2px; position: absolute; }
ul.blue li a { color: #666; position:relative; }
ul.blue li a:hover { color: red; text-decoration: underline; }
ul.blue li span { position: absolute; right: 5px; }

ul.blue li a:before { margin-top: -6px; right: -10px; top: 50%; border: 4px solid transparent; font-size: 0; position: absolute; }
ul.blue li a:after { margin-top: -9px; right: -25px; font: normal 12px/1 "宋体"; top: 50%; color: #fff; padding:1px 2px; display: block; border-radius: 2px; position: absolute; }
ul.blue li.hot a:before { border-right-color: #FF9900; content: ""; }
ul.blue li.hot a:after { background-color: #FF9900; content: "热"; }
ul.blue li.new a:before { border-right-color: #FF9900; content: ""; }
ul.blue li.new a:after { background-color: #FF9900; content: "新"; }


/*列表_蓝色多列*/
ul.blue.cols { max-height: 185px; overflow: hidden; }
ul.blue.cols li { width: 135px; float: left; }

/*请稍候*/
.wait { display: none; max-width: 180px; margin-left: -90px; margin-top: -32px; border: 1px solid transparent; font-size: 14px; line-height: 32px; padding: 8px 10px; top: 50%; left: 50%; border-radius: 5px; position: fixed; }
.wait:before { content: ""; margin-right: 8px; width: 32px; height: 32px; float: left; }
.wait.top { top: -32px; }
.wait.black { color: white; background-color: rgba(1,0,0,0.6); background-color: #5f5f5f\9; }
.wait.black:before { background-image: url(../img/i/loading.png); }
.wait.blue { color: #37a; background-color: #fff; border-color: #8CBEDA; }
.wait.blue:before { background-image: url(../img/i/loading.png); }
.wait.white { color: #333; color: #fff\9; background-color: #eee; background-color: #666\9; border: 1px solid #ddd; box-shadow: inset 0 20px 30px white; }
.wait.white:before { background-image: url(../img/i/loading.png); }
.wait.yellow { font-size: 16px; font-family: "Hiragino Sans GB"; box-shadow: 0 0 0 6px rgba(0,0,0,0.4); background-color: #f9fbd4; border-radius: 0; text-shadow: 1px 1px 3px #fff; }
.wait.yellow:before { background-image: url(../img/i/loading.png); }
/*请稍后-图标*/
.wait.error:before { background-image: url(../img/i/error.png); }
.wait.success:before { background-image: url(../img/i/success.png); }


/*消除样式影响*/
.panel h2 { background-color: transparent; width: auto; font-weight: bold; padding: 0; }
.panel.blue > .hd h2 { font-size: 14px; }
.center { width: 100%; padding-top: 0; float: none; }
.btn.success:hover { color: #fff; text-decoration: none; }
.btn.primary:hover { color: #fff; text-decoration: none; }
.btn.info:hover { color: #fff; text-decoration: none; }


/*#region 徽章、标签、贴纸*/
/*徽章*/
.badge { font:normal 12px/20px "宋体"; color: #fff; padding: 0 10px; border-radius: 10px; text-shadow: 0 -1px 0 rgba(0,0,0,0.25); display: inline-block; }
.badge.success { background-color: #468847; }
.badge.warning { background-color: #f89406; }
.badge.important { background-color: #b94a48; }
.badge.info { background-color: #3a87ad; }
/*标签*/
.label { margin-bottom: 5px; font-size: 12px; color: #fff; display: inline-block; padding: 0 10px; line-height: 30px; border-radius: 3px; }
.label:hover { }
.label.red { background-color: #c49b95; }
.label.red:hover { background-color: #bd8f89; }
.label.blue { background-color: #96adbf; }
.label.blue:hover { background-color: #7d97aa; }
.label.purple { background-color: #8d889c; }
.label.purple:hover { background-color: #797389; }
.label.green { background-color: #90a488; }
.label.green:hover { background-color: #809478; }
.label.wine { background-color: #aa817d; }
.label.wine:hover { background-color: #a5746f; }
.label.purply { background-color: #81717b; }
.label.purply:hover { background-color: #72626b; }
.label.success { background-color: #468847; }
.label.warning { background-color: #f89406; }
.label.important { background-color: #b94a48; }
.label.info { background-color: #3a87ad; }
/*贴纸*/
.sticker { margin-bottom: 10px; padding-left: 15px; width: 300px; line-height: 30px; height: 30px; color: #fff; position: relative; }
.sticker:before { border: 6px solid transparent; bottom: -12px; left: 0; border-right: 0; content: ""; position: absolute; }
.sticker:after { border: 15px solid transparent; border-right-color: transparent !important; right: -30px; top: 0; content: ""; position: absolute; }
.sticker span { font-size: 12px; font-weight: normal; }
.sticker b { font-family: Arial; font-size: 14px; margin: 0 3px; }
.sticker.blue { background-color: #57b1ed; }
.sticker.blue:before { border-top-color: #2882be; }
.sticker.blue:after { border-color: #57b1ed; }
.sticker.success { background-color: #468847; }
.sticker.success:before { border-top-color: #468847; }
.sticker.success:after { border-color: #468847; }
.sticker.warning { background-color: #f89406; }
.sticker.warning:before { border-top-color: #f89406; }
.sticker.warning:after { border-color: #f89406; }
.sticker.important { background-color: #b94a48; }
.sticker.important:before { border-top-color: #b94a48; }
.sticker.important:after { border-color: #b94a48; }
.sticker.info { background-color: #3a87ad; }
.sticker.info:before { border-top-color: #3a87ad; }
.sticker.info:after { border-color: #3a87ad; }
/*#endregion*/

.sticker { font-size: 14px; font-weight: bold; }
