﻿body,h1,h2,h3,p,blockquote,dl,dt,dd,ul,ol,li,button,input,textarea {margin: 0; padding: 0;}
header,footer,article,section,nav,menu,hgroup {display:block;}
body {font-family:"Microsoft Yahei",Tahoma, Helvetica, Arial, "SimSun", sans-serif; line-height:1.5; 
  background: none repeat scroll 0 0 #E4E4E4;
  background-attachment: fixed;
  background-image: url("images/bj.jpg");
  background-position: center top;
  background-repeat: no-repeat;
  }
h1,h2,h3 {font-weight:400;}
h1,h2 {font-size:20px;}
h3 {font-size:14px;color:#ffffff;}
img {border:none;}
a img:hover {background:none; border:none;meta}
a {color:#07b; text-decoration:none;}
a:hover {text-decoration:underline;}
ol,ul {list-style:none;}
p {margin-bottom:20px;}
input,textarea,button {outline:none;}
input[type^="text"],input[type^="password"],textarea {box-shadow:inset 2px 3px 5px #eee; border:1px solid #bbb; background:#fafafa;}
input:focus,textarea:focus {background:#fff; border-color:#999;}
input {vertical-align:middle;}
input[type^="radio"] {border:none; background:none; width:auto;}
::selection {color:#fff; background:#444; text-shadow:none;}
.code {background:rgb(255,255,255); border-left:3px dashed rgb(230,230,230); padding:10px 10px 10px 13px; font:12px/1.5 Tahoma,Helvetica,Arial; display:block;}
#wrap,#footer_box {background:#fcfbf7 url(images/mainbg.jpg) repeat; border-radius:8px; box-shadow:0 0 10px rgba(0,0,0,1),0 4px 0 rgba(255,255,255,.8),0 5px 0 rgba(100,100,100,.4),0 8px 0 rgba(255,255,255,0.4),inset 0 0 1px rgba(255,255,255,1); width:900px; margin:30px auto; padding:40px 40px;}
#content {overflow:hidden; color:#555; text-shadow:1px 1px #fff; margin-top:30px; clear:both;}
#header {text-align:center; color:#5d6673;}
#logo {margin:20px auto 10px;}
#logo a {color:#ddd;}
#logo a:hover {color:#ffffff;}
#header h1 {font-size:24px;}
#header h2 {font-size:16px;color:#ddd;display:none;}
#toolbar {height:24px; font-size:12px;}
#searchform {background:#fafafa; border:1px solid #ccc; border-radius:15px; box-shadow:inset 1px 1px 5px rgba(100,100,100,.3); padding:3px 5px; height:16px; float:right;}
#searchform label {display:none;}
#searchform input {border:none; background:none; box-shadow:none; width:150px; height:16px; line-height:16px; vertical-align:top;}
#searchform button {background:url(images/search.png) no-repeat; width:16px; height:16px; text-indent:-999px; vertical-align:top; border:none; cursor:pointer; margin-left:-5px; font-size:0;}
#searchform button:hover {background:url(images/search_hover.png) no-repeat;}
#rss {float:right; margin-left:8px; margin-top:4px;}
#rss a {background:url(images/rss.png) no-repeat; width:16px; height:16px; overflow:hidden;display:block; text-indent:-999px;}
#menu {float:left; font-size:15px; line-height:30px; height:28px; overflow:hidden;border-bottom:0px dashed #bbb;}
#menu li {float:left; margin-right:10px;}
#menu a {display:block; text-decoration:none; color:#999;}
#menu a:hover {color:#5f767f;}
#menu .current-menu-item a,#menu .current-menu-parent a {color:#444; font-size:20px; line-height:22px;}
#menu li ul {display:none;}
#post_list section {border-bottom:1px dashed #bbb; margin-bottom:20px;}
.meta {font-size:13px; margin-bottom:20px; color:#999; display:block;}
#post_content {padding-top:10px;}
.post,.page {font-size:15px;letter-spacing:1px;}
.page h1 {margin-bottom:20px;}
.post {margin-bottom:20px; }
.post ul,.post ol {list-style-position:inside; margin-left:20px; margin-bottom:15px;}
.post ul {list-style-type:disc;}
.post ol {list-style-type:decimal;}
.post img {max-width:99%;border:1px solid #ccc; }
.post input {height:22px; line-height:22px;}
blockquote {border:1px #ccc; border-radius:5px; background:#faf9bc; padding:10px; margin:10px 0; font-size:14px;}
blockquote p:last-child {margin-bottom:0;}
.wp-caption {border-radius:3px; border:1px solid #ccc; background:#f9f9f9; box-shadow:1px 1px 2px #d3d3d3; margin-bottom:10px; text-align:center; padding:4px 0;}
.post .wp-caption img {max-width:630px;}
.wp-caption-text,.gallery-caption {text-align:center; font-size:12px; margin-bottom:0;}
#nopage {text-align:center; padding:180px 0 100px; background:url(images/404.png) no-repeat center 70px;}

.form-allowed-tags {display:none;}

/*相关文章*/
.like ul{padding:5px 0px;}
.like li{height:35px;line-height:35px;border-bottom:1px #d0d4c8 dashed;background:url("images/ico-1.gif") 5px 13px no-repeat;font-size:14px;}
.like li span{float:right;font-size:13px;color:#999;text-decoration:none;}
/* pagebar */
.pagebar {margin: 50px 0 10px 0;font-size: 0.8em;}
.pagebar a,.pagebar a:hover {text-decoration: none;}
span.page {font-size: 0.9em;color: #666;padding: 2px 5px 2px 5px;margin: 3px;border: 1px solid #666;}
span.now-page {color: #666;padding: 2px 4px 2px 4px;margin: 5px;border: 0px solid #666;}
a:hover span.page {color: red;border: 1px solid red;}
/* msg */
ul.msg {border-top: 1px solid #dbe0e6;font-size: 0.9em;margin: 10px 0 20px 0;padding: 5px 1% 5px 0%;text-align: left;list-style-position: outside;table-layout: fixed;word-wrap: break-word;}
li.msgname {line-height: 150%;padding: 5px 0 10px 10px;margin: 0;}
li.msgurl {text-align: right;padding: 2px 10px 2px 10px;margin: 0;}
li.msggravatar {display: block;float: left;margin-right: 5px;}
li.msgarticle {list-style-position: outside;padding: 0 0 0 40px;margin: 0px; background: #fff; }
li.msgtime {padding: 5px 0 0 0;font-weight: normal; }
img.avatar {width: 50px;height: 50px;float: left;padding: 4px;border: 1px solid #eaeaea;}
ul.msg ul.msg {border-top: 1px dashed #dbe0e6; padding: 10px 0 0 0px;margin: 30px 0 0 60px;}
ul.msg ul.msg span.msgarticle {padding-bottom: 0;}
ul.msg ul.msg li.msgname {padding: 0;}
li.msgarticle div.quote {border-top: 1px solid #dbe0e6;margin:10px 0 0 0;padding: 10px;background: #fff;}
li.msgarticle div.quote-title {margin: 0;padding: 0;font-size: 1em;color: red;}
/* CommentPost */ 
#divCommentPost {margin: 0;padding: 5px 1% 15px 1%;}
#divCommentPost p {margin-top: 10px;}
#divCommentPost label {margin-top: 5px;}
#divCommentPost p.posttop {color: #3c6da7;}
input.text {border: 1px solid #d7d7d7;line-height: 20px;height: 24px;padding: 2px 5px 2px 5px;}
#txaArticle {padding: 5px;width: 90%;height: 150px;border: 1px solid #d7d7d7;}
input.button {color: #fff;font-size: 14px;width: 100px;height: 32px;background: #494949;border: 1px solid #ccc;cursor: pointer;}



#comments{margin-top: 30px;}
.like{margin-top: 30px;}

#focus{margin-top: 30px;}

#footer_box {font-size:12px;}

/* Sidebar */
#sponsor {width:900px; margin-bottom:20px;padding-bottom:20px; border-bottom:1px dashed #ccc;display:table; overflow:hidden;}
#sponsor h3{font-size:16px;color:#07b;}
#sponsor ul{margin-top:10px;font-size:14px;color:#5d6673;}
.side_1 {float:left;width:270px; display:table-cell; vertical-align:top;padding-right:20px; }
.side_2 {float:left;width:270px; display:table-cell; vertical-align:top;padding-left:20px;padding-right:20px; }
.side_3 {width:270px; float:left;display:table-cell; vertical-align:top;padding-left:20px; overflow: hidden; white-space:nowrap;}
.side_3  li{ line-height:1.6; }

#linkcat  {clear:both;}
#linkcat li{ list-style:none; padding-left:8px;}
#linkcat a {margin-right:10px; color:#666;}

#footer {margin-bottom:30px; text-align:center; font-size:12px; color:#ffffff; text-shadow:-1px -1px #000;}
#footer a {color:#ffffff;}

/* qqshop focus */
#focus {width:900px; height:394px; overflow:hidden; position:relative;}
#focus ul {height:394px; position:absolute;}
#focus ul li {float:left; width:900px; height:394px; overflow:hidden; position:relative; background:#000;}
#focus ul li div {position:absolute; overflow:hidden;}
#focus .btnBg {position:absolute; width:900px; height:20px; left:0; bottom:0; background:#000;}
#focus .btn {position:absolute; width:880px; height:10px; padding:5px 10px; right:0; bottom:0; text-align:right;}
#focus .btn span {display:inline-block; _display:inline; _zoom:1; width:25px; height:10px; _font-size:0; margin-left:5px; cursor:pointer; background:#fff;}
#focus .btn span.on {background:#fff;}
#focus .preNext {width:35px; height:80px; position:absolute; top:140px; background:url(images/sprite2.png) no-repeat 0 0; cursor:pointer;}
#focus .pre {left:0;}
#focus .next {right:0; background-position:right top;}


/* 文章上一篇与下一篇 */
.post_nav2 { width:100%; }
.post_nav2 a { font-size:0px; line-height:0; text-indent:-999px; display:block; }
.post_nav2 a.l { width:50px; height:71px; font-size:0px; margin-left:-90px; position:fixed; _position:absolute; top:50%; _top:expression(eval(document.documentElement.scrollTop)); cursor:pointer; background:url(images/post_nav.png) no-repeat 0 0; z-index:999; }
.post_nav2 a.l:hover { background:url(images/post_nav.png) no-repeat left -71px; }
.post_nav2 a.r { width:50px; height:71px; font-size:0px; margin-left:940px; position:fixed; _position:absolute; top:50%; _top:expression(eval(document.documentElement.scrollTop)); cursor:pointer; background:url(images/post_nav.png) no-repeat -50px 0; z-index:999; }
.post_nav2 a.r:hover { background:url(images/post_nav.png) no-repeat right -71px; }

/*评论上一篇下一篇*/
.post_nav { padding:5px 15px; height:22px;; margin-bottom:5px;}
.post_nav a { color:#5EAAE4;}
.post_nav .l { float:left;}
.post_nav .r { float:right;}
.postad{ float:center;}