/*
Theme Name: HuYang
Theme URI: http://www.hu-yang.com/
Description: HuYang is a tree.
Version: 1.0
Author: Anthony Hu
Author URI: http://www.hu-yang.com/
Tags: HuYang,hu-yang,tree,IC
*/

body {
	margin:0;
	padding:0;
	background:#FAFDF6 url(images/header_background.png) repeat-x center top;
	font-size:10px;
	font-family:arial, sans-serif;
}

body, blockquote, dd, dl, form, h1, h2, h3, h4, h5, h6, input, p, pre, textarea, table, td, th {
	margin:0;
	padding:0;
}

a {
	color:#669933;
	text-decoration:none
}
a:hover {
	color:#666633;
}

.hidden {
	display:none;
}

img{
	border:0 none;
}

blockquote, code{
	color:#333333;
	display:block;
	background:#F0F0E0 url(images/blockquote.gif) no-repeat 5px 5px;
	padding:2px 10px 2px 35px;
	margin: 15px 28px;
	border:2px solid #DCD8A8;
	/* *background:#F0F0E0 url(images/blockquote.gif) no-repeat 15px 0;
	*border-bottom:1px solid #F0F0E0;
	ie6/ie7 box边框和内边距会重合,边框会覆盖背景图片.如果没有下边框,IE6的BOX会出现怪异情况. */
}

.alignleft{
	float:left;
	text-align:left;
}
.alignright{
	float:right;
	text-align:right;
}
.aligncenter{
	display:block;
	margin-left:auto;
	margin-right:auto;
}

/*	#############################  == header  ############################  */

#header {
	margin:0 auto;
	width:960px;
	height:188px;
	background: url(images/header_banner.png) no-repeat;
	position:relative;
}

#blog_name {
	position:absolute;
	left:30px;
	top:30px;
}

#blog_name h1 {
	margin:0;
	padding:0;
}
#blog_name h1 a {
	width:290px;
	height:70px;
	display:block;
	text-decoration:none;
}

#rss {
	position:absolute;
	right:70px;
	top:20px;
}

#rss a {
	width:30px;
	height:30px;
	display:block;
	text-decoration:none;
}
#rss a:hover {
	background:url(images/images.png) no-repeat left top;
}

#navigator {
	position: absolute;
	top: 158px;
	left: 0px;
	width: 100%;
}

#menu {
	margin:0;
	padding:0;
}

#menu li {
	list-style:none;
	display:inline;
}

#menu li a {
	color:#999999;
	font-size:1.4em;
	text-decoration:none;
	height:27px;
	line-height:27px;
	letter-spacing:2px;
	display:block;
	margin:0 3px;
	padding:0 15px;
	/* IE中显示的中文字体偏上，不够居中
	padding:1px 15px 0 15px\9;
	*/
	float: left;
}
#menu li a:hover {
	color:#ccff33;
}

#menu li.current_page_item a, 
#menu li.current_page_item a:hover,
#menu li.current-cat a, 
#menu li.current-cat a:hover {
	color:#00561f;
	font-size:1.8em;
	background:url(images/header_menu_background.png) repeat-x left top;
	height:30px;
	line-height:30px;
	display:block;
	position:relative;
	padding:0 20px;
	/* IE中显示的中文字体偏上，不够居中
	padding:2px 20px 0 20px\9;
	*/
	margin:-3px 3px 0 3px;
}

#searchbox {
	background:url(images/images.png) no-repeat 0 -40px;
	height:23px;
	width:201px;
	float:right;
	margin:2px 33px 0 0;
}

#searchbox #s {
	width:173px;
	border:0 none;
	background:none;
	float:left;
	margin:3px 0 0 2px;
	font-size:1.4em;
	color:#666666;
}

#searchbox #submit {
	background:url(images/images.png) no-repeat 0 -70px;
	border:0 none;
	width:19px;
	height:19px;
	cursor:pointer;
	float:right;
	margin:2px 2px 0 0;
	padding:0;
	display:block;
}

/*	#######################  == container  #########################  */

#container {
	width:960px;
	margin:30px auto;
	text-align:left;
	/* ie专用字符截断
	word-wrap:break-word;
	*/
}

/*  ####### --content ####### */

#content {
	width:660px;
	float:left;
	overflow:hidden;
}

#content .post {
	clear:both;
	/* margin-bottom:50px; */
}

#content .post_calendar {
	background:url(images/images.png) no-repeat 0 -90px;
	float:left;
	width:44px;
	height:48px;
	margin:4px 5px 0 0;
}

#content .post_calendar .date_month {
	text-align:center;
	color:#FFF;
	font-size:0.9em;
	padding-top:2px;
}

#content .post_calendar .date_day {
	color:#888888;
	font-family:"Times New Roman", Helvetica, Sans-Serif;
	font-size:2.2em;
	font-weight:700;
	text-align:center;
	padding-top:2px;
}

#content .post_title {
	padding-left:2px;
}

#content .post_title h2 {
	font-size:2.6em;
	font-weight:bold;
	font-family:"宋体";
}

#content .post_title h2 a {
	color:#333333;
	text-decoration:none;
}
#content .post_title h2 a:hover {
	color:#666633;
}

#content .post_meta {
	color:#666666;
	font-size:1.2em;
	width:92%;
	border-top:1px dashed #CCCCCC;
	padding:3px 0 0 2px;
	margin-top:2px;
	float:right;
}

#content .post_meta a {
	color:#666633;
	text-decoration:none;
}
#content .post_meta a:hover {
	background:#EEEEEE;
	text-decoration:none;
}

#content .post_meta .post_author {
	background:url(./images/author.gif) no-repeat;
	padding:1px 0 0 20px;
}

#content .post_meta .post_date {
	background:url(./images/date.gif) no-repeat;
	padding:0 0 0 20px;
	margin-left:10px;
}

#content .post_meta .post_category {
	background:url(./images/category.gif) no-repeat;
	padding:1px 0 0 20px;
	margin-left:10px;
}

#content .post_body {
	font-size:1.4em;
	line-height:165%;
	padding-top:10px;
	overflow:hidden;
	clear:both;
}

#content .post_body p {
	margin:15px 0;
	overflow:hidden;
	/* *overflow:visible; 
	ie6/ie7 overflow:visible; */
}

#content .post_body a {
	color:#999900;	
	text-decoration:none;
}
#content .post_body a:hover {
	color:#669933;	
	text-decoration:underline;
}

#content .post_body img{
	/* max-width:600px; */
	border:#CCCCCC 2px solid;
	background:#FFFFFF;
	padding:2px;
}
#content .post_body img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
#content .post_body img.alignright {
	margin: 0 10px 2px 7px;
	float:right;
	display: inline;
}
#content .post_body img.alignleft {
	margin: 0 7px 2px 10px;
	float:left;
	display: inline;
}

#content .post_info {
	font-size:1.2em;
	margin-bottom:50px;
}
#content .post_info .comments_link {
	background:url("./images/comments.gif") no-repeat;
	padding:1px 0 0 21px;
	margin-left:20px;
}

/* navigation */
#content .navigation {
	/*
	font-size:1.4em;
	border-top:1px dashed #CCCCCC;
	padding:5px 0 15px 0;
	*/
}

#content .pagetitle{
	font-family:"宋体";
	font-size:2.6em;
	font-weight:bold;
	background-color:#DCD8A8;
	padding:10px;
	margin-bottom:20px;
}

/* ############ == single.php ################# */
#content .single_post_title {
	padding-left:0;
	text-align:center;
}

#content .single_post_meta {
	width:auto;
	border-top:1px dashed #CCCCCC;
	padding:3px 0 0 0;
	margin-top:5px;
	float:none;
	text-align:center;
}

#content .post_meta_tag{
	color:#666666;
	font-size:1.2em;
	border-bottom:1px dashed #CCCCCC;
	padding:0 0 3px 2px;
	margin-top:20px;
}

#content .post_meta_tag a {
	color:#666633;
	text-decoration:none;
}
#content .post_meta_tag a:hover {
	background:#EEEEEE;
	text-decoration:none;
}

#content .post_meta_tag .post_tag {
	background:url(./images/tag.gif) no-repeat;
	padding:0 0 0 20px;
}

/* related posts */
.related_posts_wrapper{
  color:#000000;
	font-size:1.2em;
  padding:12px 0 15px 0;
	border-bottom:1px dashed #CCCCCC;
}

.related_posts_wrapper h3{
  font-size:16px;
  font-weight:normal;
}

.related_posts_wrapper ul{
	list-style-type:disc;
  padding:0;
  margin:0 0 0 20px;
  color:#6c6c6c;
}

.related_posts_wrapper ul li{
	margin-top:5px;
}
/*  ####### --sidebar ####### */

#sidebar {
	width:250px;
	overflow:hidden;
	background:#FCFCFC;
	border:2px dashed #CCCCCC;
	float:right;
	margin:0 0 20px 30px;
	padding:6px 6px 5px 8px;
	font-size:1.2em;
	line-height:1.4;
}

#sidebar h4 {
	color:#666666;
	font-size:16px;
	font-weight:bold;
}

#sidebar ul {
	list-style-type:none;
	clear:both;
	margin:0 0 15px 5px;
	padding:0;
}

#sidebar ul li {
	list-style: none;
	padding: 3px 0 3px 15px;
	background: url(images/bullet_star.gif) left 7px no-repeat;
}

#sidebar ul li a {
	padding:2px 2px 2px 0;
}
#sidebar ul li a:hover{
	background:#EEEEEE;
}

#sidebar .tags {
	margin: 0 0 15px 8px;
}

/* ##################### == footer ###############
*/

#footer{
	background:url(images/footer_background.png) repeat-x center top;
	clear:both;
}

#footer .content{
	width:960px;
	height:230px;
	background:url(images/footer_banner.png) no-repeat;
	margin:0 auto;
}

#copyright{
	font-size:1.4em;
	line-height:180%;
	color:#333333;
	padding:30px 0 0 20px;
}

#copyright a{
	color:#333333;
}
#copyright a:hover{
	text-decoration:underline;
}

#copyright .powered{
	margin-top:5px;
}
#copyright a.wordpress{
	background: url(images/wordpress.gif) no-repeat;
	width:18px;
	height:18px;
	display:block;
	float:left;
}
#copyright a.theme{
	background: url(images/theme.gif) no-repeat;	
	width:14px;
	height:14px;
	display:block;
	float:left;
	margin:2px 0 0 5px;
}
#copyright a.admin{
	background: url(images/admin.gif) no-repeat;	
	width:16px;
	height:16px;
	display:block;
	float:left;
	margin:1px 0 0 5px;
}

#copyright .stats
{
	clear:both;
	padding:8px 0 0 0;
}

/* ##################### == Comments ###############
*/
.commentsblock{
  clear:both;
  padding:20px 0 10px 0;
}

.commentsblock p{
  margin:5px 0;
}

.commentsblock h3
{
  font-size:16px;
  color:#000000;
}

.commentlist{
	padding:0;
	margin:0;	
  list-style-type:none;
}

.commentlist li{
	padding:10px;
	margin:5px 0 10px 0;	
  list-style-type:none;
}

.commentlist .avatar {
	background:#FFFFFF;
	border:1px solid #999999;
	float:left;
	padding:1px;
	margin:-5px 8px 0 0;
}

.commentlist cite{
	font-size:1.4em;
	font-style:normal;
	font-weight:bold;
	color:#000000;
	padding-top:5px;
}
.commentlist cite a {
	color:#000000;
	text-decoration:none;
	target:_blank;
}
.commentlist cite a:hover {
	text-decoration:underline;
}

.commentlist .commentmetadata {
	color:#666666;
	font-size:1em;
}
.commentlist .commentmetadata a {
	color:#666666;
	text-decoration:none;
}

.commentlist .says{
	display:none;
}

.commentlist p{
	font-size:1.4em;
	line-height:165%;
	margin:10px 0;
	overflow:hidden;
	/* word-wrap:break-word; ie专用字符截断 */
	/* overflow:visible; ie6/ie7 overflow:visible; */
}
.commentlist p a {
	color:#999900;	
	text-decoration:none;
}
.commentlist p a:hover {
	color:#669933;	
	text-decoration:underline;
}

.commentlist blockquote,.commentlist code {
	border:1px dashed #666666;
	background:url("images/blockquote.gif") no-repeat scroll 5px 5px #F0F0E0;
	color:#333333;
	display:block;
	margin:15px 20px;
	padding:2px 10px 2px 35px;
	overflow:hidden;
	/* word-wrap:break-word; ie专用字符截断 */
	/* overflow:visible; ie6/ie7 overflow:visible; */
}

.commentlist .reply{
	font-size:1.2em;
}

.commentlist .children{
	padding:0;
	margin:0;
}

.even, .alt {
	border:1px solid #DDDDDD;
}
.depth-1 {
	border:1px solid #DDDDDD;
}
.thread-alt {
	background-color:#F7F7F0;
}
.commentlist .comment-author-admin cite a,
.commentlist .byuser cite a,
.commentlist .bypostauthor cite a,
.commentlist .comment-author-admin cite,
.commentlist .byuser cite,
.commentlist .bypostauthor cite{
	color:#669933;
}

/*  ####### --respond ####### */
#respond {
	font-size:14px;
  padding-top:10px;
}
#respond p{
	font-size:14px;
}

#respond .author,
#respond .email,
#respond .url,
#respond .comment{
  border:1px solid #d1d1d1;
  padding:2px 1px;
}
#respond textarea{
  width:90%;
  font-size:14px;
}
