* { margin:0; padding:0;}
ul, ol { list-style-type:none;}
body { font-size:14px; background:#fff url(images/topbj_0701.gif) repeat-x;}

#wrap { padding:170px 0 0; background:url(images/headerbj_0701e.gif) 50% top no-repeat;}
#header { position:absolute; left:0; top:0; width:100%; margin:0 auto; padding-top:26px;}
	#header h1, #header h2 { width:948px; height:90px; margin:0 auto; padding:10px 0; border-left:1px solid #ccc; border-right:1px solid #ccc; line-height:90px; background:#fff;}
	#nav { width:950px; margin:0 auto; overflow:hidden; background:url(images/mainNavBg.jpg) repeat-x;}
	#nav li { float:left;}
	#nav li a { display:block; width:80px; height:37px; line-height:37px; color:#fff; text-align:center; font-weight:bold; text-decoration:none;}
	#nav li a:hover { background:url(images/divider.jpg) repeat-x; text-decoration:underline;}

#wrapper { width:948px; margin:0 auto 0; border-left:1px solid #ccc; border-right:1px solid #ccc; background:#fff; overflow:hidden;}
	#content { float:left; width:637px; padding:15px; *overflow:hidden;}
	#content .blog { padding-bottom:15px; border-bottom:1px solid #eee;}
		#single #content .blog { width:560px; padding:20px; border-bottom:none; background:#f4fbff;}
		.blog_title h2, .blog_title h1 { font-size:20px;}
		.blog_title h1 { padding:5px 0; margin-bottom:5px; line-height:30px; border-bottom:1px solid #ccc;}
		.blog_title h2 { padding:10px 0 5px;}
		.blog_title a, .blog_info a, #footer a { color:#003366; color:#003366; text-decoration:none;}
		.blog_title a:hover, .blog_info a:hover, #footer a:hover { color:#0066CC; text-decoration:underline;}
		.blog_title h1 a { color:#444;}
		.blog_title p { font-size:12px; color:#999;}
		.blog_content h3 { margin:15px 0; line-height:24px; font-size:16px; text-indent:1.5em;}
		.blog_content h4 { margin:15px 0; line-height:24px; font-size:14px; text-indent:2em;}
		.blog_content a { color:#c00; border-bottom:1px dotted #c00; text-decoration:none;}
		.blog_content a:hover { border-bottom:1px solid #c00;}
		.blog_content p { margin:15px 0; line-height:24px; text-indent:2em;}
		.blog_content .books { width:550px; padding-left:2em; overflow:hidden;}
		.blog_content .books li { float:left; margin-bottom:10px; padding:5px; margin-right:1em; border:1px solid #eee;}
		.blog_content .books li img { display:block;}
		.blog_info { padding:8px 5px; font-size:12px; overflow:hidden; background:#f4fbff;}
			.blog_info .tag { width:100%; margin-top:-14px; float:right; text-align:right;}
	#sidebar { float:right; width:250px; padding:10px 15px; border-left:1px solid #ccc;}
	
#footer { width:928px; margin:0 auto; padding:10px; border:1px solid #ccc; border-top:none;}
	#search form { background:#eee; border:1px solid #ededed; padding:10px; overflow:hidden;}
		#search .s { float:left; width:140px; margin-right:3px; padding:5px 3px 5px 65px; border:none; background:url(images/search-input.png) no-repeat;}
		#searchsubmit { float:left; width:26px; height:24px; border:none; background:url(images/search-button.png) no-repeat; text-indent:-9999px; cursor:pointer;}
		#sidebar h2,#sidebar h3 { font-size:14px; padding:25px 0 15px; background:url(images/sidebar_line.gif) left bottom no-repeat;}
		#sidebar li { font-size:12px; line-height:24px;}
		#sidebar li a { color:#444; text-decoration:none;}
		#sidebar li a:hover { color:#f00; text-decoration:underline;}
		.sort, .new_hots, .new_comments { background:url(images/hot1.gif) left 3px no-repeat;}
		#sidebar .sort li, #sidebar .new_hots li, #sidebar .new_comments li { padding-left:20px; line-height:35px; border-bottom:1px solid #eee;}
.topad { position:absolute; left:50%; top:35px; width:728px; height:90px; margin-left:0 auto; margin-left:-265px; z-index:10000;}

/* for pre */
pre{width:600px; /*height:auto!important; height:30px; min-height:30px;*/margin:4px auto;border:1px #bbb solid;line-height:1.3em;padding:4px 8px;font-size:90%;overflow:auto;word-wrap: normal; font-family:Consolas,Monaco,"Courier New",Courier,monospace; background:#f9f9f9; position:relative; z-index:1000;}
.str { color: #080; }
.kwd { color: #008; }
.com { color: #800; }
.typ { color: #606; }
.lit { color: #066; }
.pun { color: #660; }
.pln { color: #000; }
.tag { color: #008; }
.atn { color: #606; }
.atv { color: #080; }
.dec { color: #606; }

@media print {
  .str { color: #060; }
  .kwd { color: #006; font-weight: bold; }
  .com { color: #600; font-style: italic; }
  .typ { color: #404; font-weight: bold; }
  .lit { color: #044; }
  .pun { color: #440; }
  .pln { color: #000; }
  .tag { color: #006; font-weight: bold; }
  .atn { color: #404; }
  .atv { color: #060; }
}