/*  
Theme Name: XiaFan
Theme URI: http://www.betarola.com
Description: This theme was modifid by <a href="http://www.enjoyeasy.com.cn/blog/xiami-style-for-wordpress-27/" >Xiami Style </a>and <a href="http://www.wpyou.com/wpink-cms-theme.html" >Wpink</a>
Version: 1.0
Author: Youwei
Author URI: http://juv.im/
*/



* {
	margin:0;
	padding:0
}
body {
	text-align: center;
	font-family: Comic Sans MS,Microsoft YaHei,Verdana, Arial, Helvetica, sans-serif;
	font-size: 13px;
	background-image: url(images/mbg.jpg);
	background-attachment: scroll;
	background-repeat: repeat-x;
	background-position: center top;
	background-color: #FFFFFF;
}
a {
	color:#666666;
	text-decoration:none;
}
a:hover {
	color:#ff7e07;
}
.topmenu {
	width:980px;
	margin:10px auto 0;
	text-align: left;
	position:relative;
	overflow:hidden;
}
.logo a {
	background:url(images/logo.gif) no-repeat scroll center top;
	width:150px;
	height:55px;
	display:block;
	float:left;
	text-indent:-9999px;
}

}
.clear{ font-size:1px; width:1px; height:0; line-height:0; margin-top:0px!important; *margin-top:-1px; clear:both; visibility:hidden;}
.header {
	background:url(images/navi_mbg.png) repeat-x scroll center top;
	_background:url(images/navi_mbg.gif) repeat-x scroll center top;
	margin:5px auto 0;
	width:980px;
	color:#FFFFFF;
	font-size:12px;
	overflow:hidden;
}
.header a:hover {
	text-decoration:none;
	color: #F0F0F0;
}
.menu {
	list-style: none;
	height:45px;
	line-height:47px;
	font-size:12px;
	margin:auto;
	padding-left:10px;
	width:970px;
	overflow:hidden;
}
.menu a {
	text-decoration:none;
	color:#FFFFFF;
}
.nav {
	list-style:none;
	background:transparent url(images/sub_bg.gif) repeat-x scroll left top;
	_background:url(images/sub_bg.gif) repeat-x scroll left top;
	height:38px;
	margin:-6px auto 0;
+margin-top:-7px;
	_margin-top:-10px;
	padding-left:20px;
	width:960px;
}
.nav li {
	float:left;
	line-height:33px;
 *line-height:35px;
}
.nav a {
	text-decoration:none;
	color:#FFE6CD;
	display:block;
	margin:0 10px;
	padding-bottom:5px;
}
.nav .current-cat a {
	background:transparent url(images/snavi_icon.png) no-repeat scroll center 30px;
	_background:transparent url(images/snavi_icon.gif) no-repeat scroll center 31px;
	color:#FFFFFF;
	font-weight:bold;
	padding-bottom:5px;
}
.menu li {
	float:left;
	position:relative;
	left:5px;
	padding-right:5px;
}
.menu a {
	display:block;
	float:left;
	padding-left:12px;
	padding-right:12px;
}
.menu .current_page_item li {
	float:left;
	background:url(images/navi_tab.png) no-repeat scroll right center;
	_background:url(images/navi_tab_ie.gif) no-repeat scroll right center;
	position:relative;
	left:5px;
	padding-right:5px;
}
.menu .current_page_item a {
	background:url(images/navi_tab.png) no-repeat scroll left center;
	_background:url(images/navi_tab_ie.gif) no-repeat scroll left center;
	display:block;
	float:left;
	padding-left:17px;
	padding-right:12px;
	font-weight:bold;
}
#main {
	margin: 15px auto 0;
	*margin-top:20px;
	padding:0;
	width:980px;text-align: left;
}

#content {
	padding: 10px 20px 20px 10px;
	width: 630px;
	float: left;
	overflow: hidden;
	line-height: 150%;
	background:#f3f3f3;
	border-top:solid 1px #E5E5E5;
	border-right:solid 1px #E5E5E5;
}




/* Article */


.post{ float:left; width:618px; margin-bottom:10px; padding:10px; border:1px solid #E6E6E6; background-color:#ffffff; border-radius:5px 5px; -moz-border-radius:5px 5px; -webkit-border-top-left-radius:5px; -webkit-border-top-right-radius:5px; -webkit-border-bottom-left-radius:5px; -webkit-border-bottom-right-radius:5px;}
.post h2{ float:left; width:530px; font-size:18px; font-weight:normal; font-family:Microsoft YaHei,Verdana,Arial; text-shadow:1px 0 0 #CCC; color:#f76f23}
.post h2 a { color:#ff7e07; }
.post p{padding:10px 0px 5px;}
.post h3, .post h4{ margin-bottom:15px; padding:20px 0px 3px; font-size:18px; border-bottom:1px solid #D8D8D8;}
.post h5, .post h6{ padding-top:15px; font-size:16px;}
.post ol li{ margin:5px 30px; list-style:decimal; line-height:22px; color:#454545;}
.post ul li{ margin:5px 30px; list-style:disc; line-height:22px; color:#454545;}
.post blockquote { margin:5px 15px 5px 15px; padding:2px 0px 2px 25px; color:#444; background-color: #fef0e2 ; border:1px solid #f9d7b6;}
/* Single */

.single h2{ width:100%; text-align:center; font-size:22px;}
.single p{ font-size:14px;}
.single .pmeta{ padding-bottom:6px; width:100%; text-align:center; border-bottom:1px solid #E2E2E2;}
.single .pcontent{ width:100%;}
.pcontent img{ max-width:600px;}


.pcomments{ float:right; padding-top:3px;}
.pcomments em{ font-size:16px; font-weight:bold; color:#C81F1F;}

.thumb_image{ float:left; margin:15px 10px 0px 0px; padding:1px; width:160px; height:120px; border:2px solid #C5C5C5;}
.pcontent{ float:right; margin-top:10px; padding: 10px 0px 10px 0px ; width:430px; line-height:24px; font-size:13px; overflow:hidden;}
.pacontent{ float:light; margin-top:10px; line-height:24px; font-size:13px; overflow:hidden;}
.parchive{ margin-top:10px; padding: 25px 0px 10px 0px ; width:100%; line-height:24px; font-size:13px; overflow:hidden;}

.pmeta{ float:left; margin-top:15px; color:#666;}
.pmeta a:link, .pmeta a:visited{ padding:0px 3px; color:#666; }
.pmeta a:hover{ color:#FF0242; }
a.readmore:link, a.readmore:visited{ float:right; width:92px; padding:6px 0px 7px; font-size:14px; text-align:center;  text-decoration:none; color:#ffffff; background:url(images/icon.png) no-repeat 0px 3px; display:block;}
a.readmore:hover{  color:#F4F4F4; background:url(images/icon.png) no-repeat 0px -34px; display:block;}
}
/* Post Comment */
.post_comment{ float:left; width:100%; margin:15px 0px 5px; overflow:hidden; }
#addcomment, #comments{ float:left; width:99%; margin:10px 0px; padding:6px 0px 5px; text-indent:15px; text-shadow:1px 1px 0 #FFF; font-size:14px; border-width:1px; border-style:solid; border-color:#DDD #CCC #BBB #DDD; }
.post_comment p{ font-size:13px;}
.post_comment ol li{ margin:10px 5px; padding:10px 10px 5px 10px; list-style:none; }
.commentlist{ width:99%; padding:5px 0px; font-size:12px; clear:both;}
.commentlist li{ background-color:#FFF; border:1px solid #E3E3E3; border-radius:5px 5px; -moz-border-radius:5px 5px; -webkit-border-top-left-radius:5px; -webkit-border-top-right-radius:5px; -webkit-border-bottom-left-radius:5px; -webkit-border-bottom-right-radius:5px;}
.commentlist li.alt{ background-color:#F6F6F6; border:1px solid #DDDDDD; border-radius:5px 5px; -moz-border-radius:5px 5px; -webkit-border-top-left-radius:5px; -webkit-border-top-right-radius:5px; -webkit-border-bottom-left-radius:5px; -webkit-border-bottom-right-radius:5px;}
.commentlist li ul{ margin:10px 10px;}
.commentlist li ul.children{ margin:10px 0px;}
.comment-author{ width:100%; height:30px; padding-bottom:5px; border-bottom:1px solid #ECECEC;}
.avatar{ float:left; padding:1px 1px; border:1px solid #E0E0E0;}
.author_info{ float:left; padding-left:5px; line-height:16px; color:#888;}
.author_info cite{ font-style:normal; font-weight:bold;}
.author_info em{ font-size:10px;}
.reply{ float:right; margin-top:-3px;}
#cancel-comment-reply{ float:right; margin-right:10px;}
.reply a, #cancel-comment-reply a{ color:#999;}
.reply a:hover, #cancel-comment-reply a:hover{ color:#666;}
#respond{ padding-bottom:35px;}
#respond em{ color:#FF0242;}
#author, #email, #url, #comment{ margin:5px; padding:5px 5px; width:45%; border:1px solid #CCCCCC; border-radius:5px 5px; -moz-border-radius:5px 5px; -webkit-border-top-left-radius:5px; -webkit-border-top-right-radius:5px; -webkit-border-bottom-left-radius:5px; -webkit-border-bottom-right-radius:5px;}
#comment{ width:95%; height:150px; font-size:12px; }
#submit{ float:right; margin:0 13px; padding:6px 20px 4px; font-size:14px; border:1px solid #999; text-shadow:1px 1px 0px #FFF;  -moz-border-radius:5px 5px; -webkit-border-top-left-radius:5px; -webkit-border-top-right-radius:5px; -webkit-border-bottom-left-radius:5px; -webkit-border-bottom-right-radius:5px; cursor:pointer;}
/* Comment Navigation */
.comment_navi{ float:right; margin:10px 15px 10px 0px; text-align:center;}
.comment_navi span.cpt{ padding:3px 6px 2px; background-color:#E3E3E3; border-bottom:1px solid #D5D5D5;}
.comment_navi a{ padding:3px 3px 2px;}
.comment_navi a:hover{ color:#FF0242;}
.comment_navi .current{ font-weight:bold; color:#FF0242;}

#sidebar {
	padding:2px 5px 0;
	*padding:31px 20px 0;
	float: right;
	width:279px;
	border-top:solid 1px #E5E5E5;
	background:#F5F5F5;
	list-style-type: none;
	list-style-image: none;
} 

#sidebar li, ul{list-style:none; padding-left:4px; margin:0; line-height:22px}
/* new sidebar */
small{font-size:12px}
.sidebar_box  {-moz-background-clip:border; -moz-background-inline-policy:continuous; -moz-background-origin:padding; background:#fef0e2 none repeat scroll 0 0; border:1px solid #f9d7b6; clear:both; margin:4px 3px 7px}

.sidebar_box_header {-moz-background-clip:border; -moz-background-inline-policy:continuous; -moz-background-origin:padding; background:#fef0e2 none repeat scroll 0 0; height:28px; padding:5px 12px 0}
.sidebar_box_header li{background-color:white; border-color:#f9d7b6; border-style:solid solid none; border-width:1px; float:left; font-size:1.1em; list-style-image:none !important; list-style-position:outside !important; list-style-type:none !important; margin:0 5px 0 0 !important; padding:3px 15px !important}

.sidebar_box_header_selected {-moz-background-clip:border; -moz-background-inline-policy:continuous; -moz-background-origin:padding; background:white none repeat scroll 0 0; border-color:#f9d7b6 -moz-use-text-color; border-style:solid solid none; border-width:1px 1px medium; font-weight:bold; height:18px}

.sidebar_box_body {-moz-background-clip:border; -moz-background-inline-policy:continuous; -moz-background-origin:padding; background:white none repeat scroll 0 0; border:1px solid #f9d7b6; display:none; margin:0 3px 3px; padding:6px 15px 15px}
.linkcat {
	list-style:none;
}
.linkcat li {
float:left;
margin:0 5px;
width:106px;
}
.linkcat h2 {
	color:#FF0000;
}
#footer {
	padding: 25px 0 20px;
	color:#999;
	margin:10px 0 0 0;
	clear:both;
	border-top:solid 1px #E5E5E5;
	width:960px;
	margin:20px auto;
}
#footer a {
	color:#ff7e07;
	text-decoration: none;
	margin:0 5px;
}
#footer a:hover {
	color:#333;
}

.pagenavi {
	margin:22px 0 20px;
}
.navigation {
	height:30px;
	line-height:30px;
	position:relative;
}
.navigation .alignleft {
	position:absolute;
	left:0;
}
.navigation .alignright {
	position:absolute;
	right:0;
}

.formfield {
	font-size:107%;
	margin-top:.3em;
	padding:.3em;
	clear:left;
	border-color:#7C7C7C rgb(206, 206, 206) rgb(195, 195, 195) rgb(124, 124, 124);
	border-style:solid;
	border-width:1px;
	padding:5px 6px 4px 6px;
	margin:5px 0;
}

#search-form {
	background:transparent url(images/search.png) no-repeat scroll 0 0;
	height:39px;
	padding-left:10px;
	width:231px;
	margin-top: 20px;
	margin-right: auto;
	margin-bottom: 15px;
	margin-left: auto;
	
}
#search-form .submit {
	border-width:0;
	cursor:pointer;
	float:left;
	height:27px;
	margin:0;
	margin-left:8px;
	margin-top:6px;
	text-indent:-9999px;
	width:55px;
	background-attachment: scroll;
	background-color: transparent;
	background-image: url(images/search.png);
	background-repeat: no-repeat;
	background-position: 55px center;
}
#search-form .input {
	background:#FFFFFF none repeat scroll 0 0;
	border-width:0;
	color:#333;
	float:left;
	font-size:12px;
	height:15px;
	margin-left:3px;
	margin-top:13px;
	width:149px;
}



/* Social Bookmark */
.pingback{ float:left; width:100%; margin:1px auto 15px; padding:10px 0px; text-align:center; line-height:18px; border-bottom:1px solid #DDD;background-color:#F5F5F5;}
/* Related Content */
.related{ float:left; width:100%;}
.related h3{ width:100%; margin:5px 0px 10px; padding:5px 0px 10px; font-size:14px;}
.related_post li, ul{list-style:none; padding-left:4px; margin:0; line-height:22px}
.related_post{ float:left; width:280px; overflow:hidden;}
.related_txt{ float:right; width:300px; padding-left:9px; border-left:1px solid #E8E8E8; overflow:hidden;}

.wp-pagenavi {
	clear: both;
}

.wp-pagenavi a, .wp-pagenavi span {
	text-decoration: none;
	border: 1px solid #BFBFBF;
	padding: 3px 5px;
	margin: 2px;
}

.wp-pagenavi a:hover, .wp-pagenavi span.current {
	border-color: #000;
}

.wp-pagenavi span.current {
	font-weight: bold;
}
.wp_syntax {color:#100;background-color: #f9f9f9;margin:1em;overflow:auto;}
.wp_syntax table{border-collapse: collapse;}
.wp_syntax div, .wp_syntax td {vertical-align: top;padding: 2px 4px;}
.wp_syntax .line_numbers {text-align: right;background-color: #def;color: gray;overflow: visible;}
.wp_syntax pre{font-size:12px;margin:0;width:auto;float:none;clear:none;overflow:visible;word-wrap:break-word;line-height:1.5;white-space:pre;}

}



