/*  
Theme Name: Candy
Theme URI: 
Description: A simple, minimalist theme
Version: 1.01
Author: hzhjun
Author URI: http://www.hzhjun.cn/
*/

/*************************************
 +Containers
 *************************************/

/************************************
 +common
*************************************/
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,input,p,th,td {margin:0;padding:0;}
h1,h2,h3,h4,h5,h6{margin:0;padding:0;font-size:12px;font-weight:normal;}
table{border-collapse:collapse; border-spacing:0;} 
img {border:0px; vertical-align:bottom;}
ul,ol,li {margin:0px; padding:0px; list-style:none;}
input,select {font-family:serif; font-size:12px; color:#000; vertical-align:middle;}
a{color:#000000;text-decoration:none;}
a:hover{color:#CC0000;text-decoration:none;}
.clear {clear:both;}
.clearfix:after {content:"."; display:block; height:0px; clear:both; visibility:hidden; }
/*.clearfix {zoom:1;}*/
* html>body .clearfix { display: inline-block; width: 100%; } 
* html .clearfix {height: 1%; /* End hide from IE-mac */ } 
/* ie7 hack*/*+html .clearfix {min-height: 1%; } 
/************************************
 +layout
*************************************/
html,body,#wrap {height:100%;}
body > #wrap {height: auto; min-height: 100%;}
body{background:#fff url(images/bg.gif) repeat; font-size:12px; font-family:Arial, Helvetica, sans-serif; text-align:left; color:#363636;}
#wrap{width:675px; text-align:left;}
#main {padding-bottom:25px;}
#content{width:500px; float:right;}
#sidebar{width:173px;float:right;}
#header{padding:10px 0 5px;}
#footer{height:24px; background:#333; border-top:1px solid #777; line-height:24px; color:#888; clear:both; font-size:10px; padding-left:10px; margin-top:-25px; position:relative;}
/*************************************
 +Header
 *************************************/
#header h1{font-family: Georgia, "Times New Roman", Times, serif;font-size:2em;}
#header h1 a{color:#363636;}
#header h1 a:hover{color:#CC0000;}
#header p{color:#aaa;font-size:1.1em;margin:0;margin-top:-0.5em;}
/*************************************
 +Entry
 *************************************/
.entry{background:url(images/line-bg.gif) repeat-x left bottom;padding-bottom:2px;margin-bottom:2px;}
.entrytitle {padding-top:3px;}
.entrytitle h2{font-size:18px;line-height:20px;}
.entrytitle h2 a{color:#000000;text-decoration:none;}
.entrytitle h2 a:hover{color:#FF0000;text-decoration:none;}
.entrytitle h3{font-size:10px;color:#000000;line-height:20px;}
.entrybody {padding-bottom:15px;}
.entrybody p {font-size:11px; color:#000000; line-height:14px; padding-bottom:0.5em;}
.entrymeta {font-size:9px; color:#000000; line-height:14px;}
.entrymeta a {font-size:9px; color:#000000; text-decoration:none;}
.entrymeta a:hover {color:#FF0000; text-decoration:none;}
.postedby{background:#fff url(images/user.gif) no-repeat;padding:0px 0px 0px 16px;}
.filedto{background:#fff url(images/post.gif) no-repeat;padding:0px 0px 0px 16px; margin:0 0 0 5px;}
.commentslink{background:#fff url(images/packaged.gif) no-repeat;padding:0px 0px 0px 16px; margin:0 0 0 5px;}
.prenext {color:#000000; font:1em/1.6em Verdana, Geneva, sans-serif; margin:10px 0; overflow:hidden;}
.prenext .pre {width:49%; height:1.6em; padding:1px; display:inline; float:left; overflow:hidden;}
.prenext .next {width:49%; height:1.6em; padding:1px; text-align:right; display:inline; float:right; overflow:hidden;}
.prenext a {color:#000000; text-decoration:none;}
.prenext a:hover {color:#FF0000; text-decoration:none;}

/*************************************
 +Sidebar
 *************************************/
#sidebar h3{padding-left:30px;color:#000000;font-size:12px;}
#sidebar .sort_list,#sidebar .cats_list,#sidebar .link_list{padding-left:30px; clear:both;}
#sidebar .sort_list li{line-height:18px;}
#sidebar .sort_list a{background:#000; color:#fff;text-decoration:none; padding-right:10px;}
#sidebar .sort_list a:hover{background:#f00; color:#fff;text-decoration:none;}
#sidebar .cats_title {background:#000; line-height:18px; font-size:12px; color:#fff; margin-left:30px; padding-right:10px; float:left; display:inline;}
#sidebar .cats_list li,#sidebar .link_list li {line-height:12px; font-size:10px; color:#000000;}
#sidebar .cats_list a,#sidebar .link_list a{color:#000000;font-size:10px;text-decoration:none;}
#sidebar .cats_list a:hover,#sidebar .link_list a:hover{color:#FF0000;text-decoration:none;}
#sidebar .link_list h2 {background:#000; line-height:18px; font-size:12px; color:#fff; padding-right:10px; float:left; display:inline;}
#sidebar .link_list ul {clear:both;}


/*************************************
 +Comments
 *************************************/
.commentsblock{margin:0.5em;padding:0.5em;}
.commentsblock h3{color:#FF0000;font-size:12px;line-height:2em;}

.commentsblock p{color:#FF0000;font-size:12px;padding-bottom:10px;}
.commentsblock textarea{width:464px;font-size:12px;color:#FF0000;line-height:16px;padding:5px;overflow:auto;}
.commentsblock .input_text {width:200px; height:1em; padding:2px;}
.commentsblock .input_button {padding:2px 5px;}
.commentsblock input, .commentsblock textarea{border:1px solid #d1d1d1;}
.commentsblock textarea:focus{background:#eee;border:1px solid #a1a1a1;}
.commentsblock textarea:focus, .commentsblock input:focus{background:#eee;border:1px solid #a1a1a1;}
.commentauthor{display:block;font-size:1.5em;}
ol.commentlist{color:#777;font-size:0.9em;list-style-type:none;margin:0;margin-top:1.5em;padding:0;}
.commentlist li{margin-bottom:0.5em;padding:0.5em 1em;}
.alt{background:#FFFFFF;border:0px dotted #d1d1d1;padding:0.5em;}
h3#comments{font-size:1.6em;}
