* { margin: 0px; padding: 0px; list-style:none; text-decoration:none;}
body { background:#e7e5de url(images/bkg.gif) repeat-x; font:12px Arial,"宋体",sans-serif; color:#333; }
img { border:none;}
.clear { clear:both; }
a { color:#333;}

#ad {background-image:url(images/ad.gif); width:390px; height:150px;}
/*框架结构*/
#main {margin: auto; width: 1000px;}
#header {height: 76px; width: 100%;}
#content {width: 100%;  margin:30px auto 10px;}
#left { float:left; width: 570px; background:url(images/rightbg.gif) repeat-y right; overflow: hidden; margin-left:7px; }
#right { float:right; width: 410px;overflow: hidden;}

/*header*/
#logo {float: left; width: 240px;}
#logo h1{ text-indent:-10000px;}
#logo h1 a{ display:block; background: url(images/logo.gif) no-repeat; height:66px; outline:none; margin-top:10px;}
#search {float:right; width: 219px; height: 24px; background: url(images/s.gif) no-repeat; margin:35px 20px 0 0;}
#search #s { float: left; margin: 4px 0 0 6px; border: 0; width: 160px; background: none; color:#999999; }
#search #go { float: right; margin: 6px 8px 0 0; width:12px; height:13px;  }

/*导航*/
#nav {height: 33px; width: 100%; }
#nav ul{}
#nav ul li{ float:left; margin: 0 10px 0 0; height: 33px; overflow: hidden; display: inline; line-height:33px; font-size:14px;}
#nav ul li a {display: block; color:#292929; padding:0 10px 0 10px; font-weight: bold; }
#nav ul li a:hover {color:#333; text-decoration:none;}
#nav ul li.current_page_item { background: url(images/navright-a.gif) no-repeat right; }
#nav ul li.current_page_item a { background: url(images/navleft-a.gif) no-repeat left; color:#fff; }

/*文章*/
.entry { width: 550px; line-height:140%; margin-bottom:20px;overflow: hidden;}
.entry h2.sectionhead { font-size:10px; text-transform:uppercase; background:url(images/dot-h.gif) repeat-x bottom; padding-bottom:10px;}
.entry h2 { font-size: 16px; font-weight:bold; color:#333; padding:5px 0 10px 0;}
.entry h2 a { color:#000; }
.entry img {margin:0 10px 10px 10px;}
.post {margin-bottom:15px;}
.postinfo {background:url(images/entryline.gif) repeat-x bottom; padding-bottom:10px; margin-bottom:5px;}
.postinfo span {background-repeat: no-repeat; padding-left: 20px; margin-right: 10px; font-size: 11px; color: gray;}
.postinfo a {color: gray;}
.category {background-image: url(images/category.png);}
.comment {float:right;}
.comment a {background:url(images/comments-small.gif) no-repeat left center; padding-left:12px;   }
.edit {background-image: url(images/user.png);}
.post-tags {background: url(images/tag.gif) no-repeat; margin-top:10px; padding-left:18px;}
.post-tags a {color: gray;}
#content p{line-height:180% !important;
           font-size:12px;
           text-indent:2em;
	word-break:break-all;}
.post p{color:#000;font-size:12px !important;}
.content p {
	margin-bottom: 12px;
	clear: left;
}

/*侧边栏*/
#sads { width:388px; font-size:10px; text-transform:uppercase; text-align:right; background:#eeedea; border:1px solid #d6d4cd; padding:8px; margin-bottom:10px;}
#sads ul {}
#sads ul li { float:left; padding-right:6px;}
#sads ul li.last { float:right; padding:0px; }
#sads p { background:url(images/adsdotdot.gif) no-repeat center left; margin-top:5px;}
#sads a { color:#5e5d5a;}
#tab { width:388px; background:#eeedea; border:1px solid #d6d4cd; padding:8px; margin-bottom:10px;}
#tab a:hover { text-decoration:underline;}
#sidebar { width:400px; padding-left:10px;}
#sidebar h2 { font-size:12px; margin-bottom:10px; color: #000000;}
#sidebar ul{ margin:10px auto 20px;}
#sidebar ul li{}
#sidebar ul li ul{}
#sidebar ul li ul li{display:block; background:url(images/bullet.gif) no-repeat 0 2px; padding-left:18px; margin-bottom:6px; padding-bottom:5px;border-bottom:1px dotted #dadada;font-size:11px;}
.sleft { float:left; width:180px; background:url(images/dot-v.gif) repeat-y right; padding-right:10px; }
.sright { float:right; width:198px; padding-left:10px; }

/*底部*/
#footer { width:100%; background:#23282d; height:35px; line-height:35px;}
.footer { width:1000px; margin:auto; color:#fff; background:url(images/logofoo.gif) no-repeat right;}
.footer a { color:#e7e5de;}
.footer a:hover { color:#99cc33;}

/*+++++++ COMMENTS +++++++*/
.line { width:100%; height:1px; text-transform:uppercase; background:url(images/dot-h.gif) repeat-x bottom; padding-bottom:10px;}
#c { float:left; width:225px;}
#cc { float:right; width:304px;}
#commentform p { padding-bottom:10px;}
#commentform #author { border:1px solid #bbb9b2; height:20px; width:200px; background:#f5f5f3; padding-left:5px; }
#commentform #email { border:1px solid #bbb9b2; height:20px; width:200px; background:#f5f5f3; padding-left:5px; }
#commentform #url { border:1px solid #bbb9b2; height:20px; width:200px; background:#f5f5f3; padding-left:5px;}
#commentform #comment { border:1px solid #bbb9b2; height:200px; width:290px; background:#f5f5f3; padding-left:5px;}
.commentlist cite { background:#f5f5f3; padding:5px 5px 5px 10px; }
.commentlist cite a { color:#333;}
.commentlist .ctext { background:url(images/doth.gif) repeat-x bottom; font-size:11px;}
.postmetadata { background:#f9f9f9; padding:10px; border:1px solid #bbb9b2;}
.ccomment { width: 550px; line-height:140%; margin-bottom:20px; }
.ccomment ol {}
.ccomment ol li { background:#e7e5de; padding:5px;}
.ccomment ol li.alt { background:#efeee8; padding:5px;}
#c #submit {
	background:none;
	text-align: center;
	height: 22px;
	width: 105px;
}

/*
+----------------------------------------------------------------+
|																							|
|		subPages		|
|																							|
+----------------------------------------------------------------+
*/

#sub-nav {
	margin-top:20px;
	width: 575px;
	height:32px;
	padding-left: 20px;
	padding-top: 10px;
	float: left;
    line-height: 22px;
}
.subPages a, .subPages a:link {
	padding: 2px 4px 2px 4px; 
	margin: 2px;
	text-decoration: none;
	border: 1px solid #0066cc;
	color: #0066cc;
	background-color: #FFFFFF;	
}
.subPages a:visited {
	padding: 2px 4px 2px 4px; 
	margin: 2px;
	text-decoration: none;
	border: 1px solid #0066cc;
	color: #0066cc;
	background-color: #FFFFFF;	
}
.subPages a:hover {	
	border: 1px solid #000000;
	color: #000000;
	background-color: #FFFFFF;
}
.subPages a:active {
	padding: 2px 4px 2px 4px; 
	margin: 2px;
	text-decoration: none;
	border: 1px solid #0066cc;
	color: #0066cc;
	background-color: #FFFFFF;	
}
.subPages span.pages {
	padding: 2px 4px 2px 4px; 
	margin: 2px 2px 2px 2px;
	color: #000000;
	border: 1px solid #000000;
	background-color: #FFFFFF;
}
.subPages span.current {
	padding: 2px 4px 2px 4px; 
	margin: 2px;
	font-weight: bold;
	border: 1px solid #000000;
	color: #000000;
	background-color: #FFFFFF;
}
.subPages span.extend {
	padding: 2px 4px 2px 4px; 
	margin: 2px;	
	border: 1px solid #000000;
	color: #000000;
	background-color: #FFFFFF;
}
