@charset "utf-8";
/*  
Theme Name: RexSong
Theme URI: http://blog.rexsong.com/
Description: 基于著改而来的 WordPress 默认主题。
Version: 1.0
Author: Rex Song
Author URI: http://www.rexsong.com/


	This theme was designed and built by Michael Heilemann,
	whose blog you will find at http://binarybonsai.com/

	The CSS, XHTML and design is released under GPL:
	http://www.opensource.org/licenses/gpl-license.php

*/

/* Begin Typography & Colors */

html {}

body {
	font-size:14px; margin:0; padding:0;
	font-family:"Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Verdana, Arial, sans-serif;
	color:#222;
	text-align:center;
	background:url(/wp-content/themes/rexsong/bg.png) #ededed repeat-y -160px 0;
	} /* 'Lucida Grande' */

div, p, li, td, dd, a { word-wrap:break-word;}
li,p { line-height:1.7;}

/* table { table-layout:fixed; word-wrap:break-word; word-break:break-all; } */

#page { text-align:left;}


#headerimg { margin:5px 0 25px; }

#content { font-size:14px;}


p,ul,ol,h4,h5 { clear:both;}
.entry { margin:25px 0 0; line-height:1.7;}
.entry p { font-size:14px; overflow:hidden; margin:0 0 20px; background:#;}
.entry ul, .entry ol { margin:20px 0 20px 40px; padding:0 30px 0 0; background:#;}
.entry h4 { margin:32px 0 23px; line-height:1.231; background:#;}
.entry h5 { margin:32px 0 23px; line-height:1.231;}
.entry img { -webkit-box-shadow:2px 2px 5px #999; -moz-box-shadow:2px 2px 5px #999; box-shadow:2px 2px 5px #999; margin:15px 1px 5px;}





#footer {
	border: none;
	}

small {
	font-size:12px;
	line-height:1.5em;
	margin:0 0 30px;
	}


h1, h2, h3 {
	font-weight: bold;
	}

h1 { font-size:32px;}
h2 { font-size:24px;}
h3 { font-size:20px;} /* 20px */
h4 { font-size:18px;}
h5 { font-size:16px;}
h6 { font-size:14px;}

h1.pagetitle {
	margin:0; text-decoration:none;
	}

#sidebar h2 {
	margin:15px 0;
	color:#999;
	}
#sidebar h4 {
	margin:15px 0;
	color:#bbb;
	}

.header h1, .header h1 a, .header h1 a:hover, .header h1 a:visited { color:#000;}
	.description { color:#999; font-size:12px;}

#content h3, #content h3 a, #content h3 a:visited {
	color: #000;
	}

h2, h2 a, h2 a:hover, h2 a:visited, h3, h3 a, h3 a:hover, h3 a:visited, #sidebar h2, #wp-calendar caption {
	font-weight:bold;
	}


.commentlist li, #commentform input, #commentform textarea {
	font-size:12px;
	}


.commentlist cite, .commentlist cite a {
	font-weight: bold;
	font-style: normal;
	font-size: 14px;
	text-transform:capitalize;
	}

.commentlist p {
	font-weight: normal;
	line-height: 1.5em;
	text-transform: none;
	}

.commentmetadata {
	font-weight: normal;
	}

#sidebar {
	font-size:12px;
	padding-bottom:40px;
	}

small, #sidebar ul ul li, #sidebar ul ol li, .nocomments, .postmetadata, blockquote, strike {
	color: #666;
	}

code{
font-size:11px; background-color:#f4f4f4; color:#555; display:block; margin:20px 10px 20px 10px; padding:5px 5px 5px 15px;
border-left: 5px solid #ddd; text-align:left;
}


acronym, abbr, span.caps
{
	font-size: 1.0em;
	letter-spacing: .07em;
	}

a, h2 a:hover, h3 a:hover {
	color: #06c;
	}

a:hover { color:#147; text-decoration:none;}
a img { border-bottom:1px #06c solid;}
a:hover img { border-bottom:1px #999 solid;}


#wp-calendar #prev a, #wp-calendar #next a {
	font-size: 9pt;
	}

#wp-calendar a {
	text-decoration: none;
	}

#wp-calendar caption {
	font-size:12px;
	font-weight:bold;
	text-align: center;
	}

#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
	}
/* End Typography & Colors */



/* Begin Structure */

#page {
	margin: 0 auto 0 0;
	padding: 0 10px 0 0;
	width: 610px;
	border-right:0 #f7f7f7 solid;
	}

.header { padding:0; margin:40px 0;}


.narrowcolumn {
	float: left;
	padding: 0 40px 20px 40px;
	margin: 0;
	width: 600px;
	}


















.widecolumn { /* 浏览文章 */
	float: left;
	padding: 0 40px 20px 40px;
	margin: 0;
	width: 600px;
	}

.post {
	margin:0 0 40px;
	clear:both;
	}
	
	.post h3 { margin:0 0 0; font-family:PMingLiU, Verdana;}

.post hr {
	display: block;
	}

.widecolumn .post {
	margin: 0;
	}

.narrowcolumn .postmetadata {
	padding-top: 5px;
	}


.widecolumn .postmetadata {
	margin:0 0 30px; background:#f8f8f8; border-top:1px #ddd solid; border-bottom:1px #ddd solid;
	}

.widecolumn .smallattachment {
	text-align: center;
	float: left;
	width: 128px;
	margin: 5px 5px 5px 0px;
}

.widecolumn .attachment {
	text-align: center;
	margin: 5px 0px;
}

.postmetadata {
	font-size:12px;
	font-family:Tahoma;
	}

#footer {
	padding: 0;
	margin: 0 auto;
	clear: both;
	}

#footer p {
	margin:40px 0 20px;
	font-size:12px;
	color:#ccc;
	}
	#footer a { color:#ccc;}
/* End Structure */





/*	Begin Headers */
h1 {
	padding: 0;
	margin: 0;
	}

h2 {
	margin: 30px 0 0;
	}

h1.pagetitle {
	margin-top: 0;
	color: #bbb;
}

	h1.pagetitle span { color:#000;}

#sidebar h2 {
	margin:0 0 10px;
	padding: 0;
	}

#sidebar li { line-height:18px;}

h3 {
	padding: 0;
	margin: 30px 0 0;
	}


/* End Headers */






/* Begin Lists

	Special stylized non-IE bullets
	Do not work in Internet Explorer, which merely default to normal bullets. */

.entry ul {
	}
	
html>body .entry ul {
	text-indent: -10px;
	}

html>body .entry li {
	margin: 0 0 0 10px;
	}

/*
.entry ul li:before, #sidebar ul ul li:before {
	content: "\00BB \0020";
	}
*/

.entry ol {
	}

.entry ol li {
	margin: 0;
	padding: 0;
	list-style-position:outside;
	}

.entry ul li {
	margin: 0;
	padding: 0 0 0 10px;
	list-style-position:outside;
	}


*html .entry table { margin:20px 0;}
	
.postmetadata ul, .postmetadata li {
	display: inline;
	list-style-type: none;
	list-style-image: none;
	}

#sidebar ul, #sidebar ul ol {
	margin: 15px 0;
	padding: 0;
	}
	
	#sidebar ul { margin-left:2px; margin-bottom:40px;}
	
	#sidebar ul#categories {}
		#sidebar ul#categories li { color:#999;}
		#sidebar ul#categories ul.children {}
		#sidebar ul#categories ul.children li {}
	#sidebar ul#new_comment {}
		#sidebar ul#new_comment li { margin:10px 0;}
		#sidebar ul#new_comment li b { text-transform:capitalize;}
	
	#sidebar a {}
	
	.page_item {}
	.current_page_item, .current-cat {}
		.current_page_item a, .current-cat a { font-weight:bold; color:#000;}

#sidebar ul li {
	list-style-type: none;
	list-style-image: none;
	margin-bottom: 0;
	}

#sidebar ul p, #sidebar ul select {
	margin: 5px 0 8px;
	}

#sidebar ul ul, #sidebar ul ol {
	margin: 5px 0 5px 10px;
	}

#sidebar ul ul ul, #sidebar ul ol {
	margin: 0 0 0 10px;
	}

ol li, #sidebar ul ol li {
	list-style: decimal outside;
	}

#sidebar ul ul li, #sidebar ul ol li {
	margin: 3px 0 0;
	padding: 0;
	}
/* End Entry Lists */



/* Begin Form Elements */
#searchform {
	margin: 10px auto;
	padding: 0; 
	}

#sidebar #searchform #s {
	width:121px;
	padding:1px;
	font-size:12px;
	margin:0 0 0 2px;
	}

#sidebar #searchsubmit {
	padding: 1px;
	font-size:12px;
	}

.entry form { /* This is mainly for password protected posts, makes them look better. */
	text-align:center;
	}




#commentform p { margin:10px 0;}
#commentform label { height:16px; overflow:hidden; background:#; display:block;}
	#commentform label * { line-height:1.231; zoom:1;}
#commentform input { width:172px; padding:3px 4px; margin:0; height:15px; overflow:hidden; font-size:13px; line-height:15px;}

#commentform #comment { height:106px; width:492px; padding:3px 4px; margin:5px 0 0; font-size:13px; line-height:17px;}
#commentform #submit { margin:5px 0 0; padding:2px 0; font-size:12px; height:25px; overflow:hidden; font-weight:bold; font-family:微软雅黑; line-height:1.231; width:100px;}
#commentform #submitit { margin:5px 0 0; padding:2px 0; font-size:12px; height:25px; overflow:hidden; font-weight:bold; font-family:微软雅黑; line-height:1.231; width:100px;}
/* End Form Elements */






/* Begin Comments*/
.alt {
	margin: 0;
	padding: 10px;
	}

.commentlist {
	padding: 0;
	margin:30px 0 0;
	text-align: justify;

	}

.commentlist li {
	margin:0 0 20px;
	padding:0;
	list-style-type:none;
	}

.commentlist p {
	margin: 10px 5px 10px 0;
	}

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
	}

.commentmetadata {
	margin: 0 0;
	display: block;
	}
/* End Comments */



/* Begin Sidebar */
#sidebar
{
	padding: 0 0 0 20px;
	width: 210px;
	text-align:left;
	position:absolute; top:40px; left:685px;
	}

#sidebar form {
	margin: 0;
	}
/* End Sidebar */



/* Begin Calendar */
#wp-calendar {
	empty-cells: show;
	margin: 10px auto 0;
	width: 155px;
	}

#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
	}

#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
	}

#wp-calendar a {
	display: block;
	}

#wp-calendar caption {
	text-align: center;
	width: 100%;
	}

#wp-calendar td {
	padding: 3px 0;
	text-align: center;
	}

#wp-calendar td.pad:hover { /* Doesn't work in IE */
	background-color: #fff; }
/* End Calendar */



/* Begin Various Tags & Classes */
acronym, abbr, span.caps {
	cursor: help;
	}

acronym, abbr {
	border-bottom: 1px dashed #999;
	}

blockquote {
	margin:20px 30px 5px 20px; height:1%;
	padding:2px 0 0 40px; font-style:italic;
	background:url(/wp-content/themes/rexsong/quotes.gif) no-repeat left top;
	}

blockquote cite {
	margin: 5px 0 0;
	display: block;
	}

.center {
	text-align: center;
	}


	
/* End Various Tags & Classes*/



.clear { border-top:1px solid transparent !important; margin-top:-1px !important; border-top:0; margin-top:0; clear:both; visibility:hidden;}


	#search_clue {}
	#search_clue p { color:#ccc;}
	#search_clue p strong {}

.header h1 { line-height:1.0; margin:40px 0 2px; font-family:PMingLiU, Verdana;}
	
.commentlist .editAuthor, .commentlist .editAuthor a { text-transform:capitalize;}

#archives { font-size:12px; margin:0 0 0 2px;}

#tags_primary {}
	#tags_primary a { line-height:1.2;}
.tags { text-transform:capitalize;}

#ucdchina {}
	#ucdchina li { color:#999; font-size:9px;}
	#ucdchina li a { font-size:12px;}
	#ucdchina .new {  color:#f00; margin:0 4px 0 0; font-size:9px; font-weight:lighter; position:relative; top:-1px; left:3px;}

.pages {}
	.pages { }
	.pages #on {}

/* font-family:Tahoma; */

/* "Daisy, Daisy, give me your answer do. I'm half crazy all for the love of you.
	It won't be a stylish marriage, I can't afford a carriage.
	But you'll look sweet upon the seat of a bicycle built for two." */
	
	
.wp_syntax { 
  color: #100;
  background-color: #f9f9f9;
  margin: 0 0 1.5em 0;
  overflow: auto;
}
.wp_syntax * { font-size:11px;}

/* IE FIX */
.wp_syntax { 
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: expression(this.scrollWidth > this.offsetWidth ? 15 : 0);
}

.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;
}

/* potential overrides for other styles */
.wp_syntax pre {
  margin: 0;
  width: auto;
  float: none;
  clear: none;
  overflow: visible;
}



#sidebar li { line-height:19px;}

#default_single_alimama { position:absolute; top:-9999px; left:-9999px;}

#says {}
#says li { margin:0 0 10px!important;}

#recent_posts {}
#recent_posts * { font-size:12px;}

.tags { margin:15px 0!important;}
	#city {}
	#company {}
	
#default_header h1 { line-height:1.0; margin-top:0; font-family:'mingliu';}
#sidebar h2 { font-size:16px;}

#goback { margin:0 0 40px; padding:0; line-height:1.0;}
	
.rss { background:url(/wp-content/themes/rexsong/icon_feed.gif) no-repeat 0 5px; text-decoration:none; padding:0 7px; margin-left:5px;}

.on { font-weight:bold;}
	
#default_header { margin:40px 0;}
	#default_header span { font-size:11px; margin:0 7px; color:#999;}



#sk2-footer { display:none;}


	
	#links {}
		#links h2 { margin:20px 0 10px; padding:0;}
		#links h2 { font-size:13px; font-weight:lighter; color:#000;}
		#links .linkcat a { text-transform:capitalize;}


.linktext { font-size:12px;}
.linktextarea {	font-size:11px; padding:2px 0 3px 0; width:80%; overflow:hidden;}


/*

.shadow { float:left; width:auto; margin:5px 20px 25px 0; padding:0; background:url(/wp-content/themes/rexsong/bg_shadow.png) no-repeat bottom right; line-height:1.0; clear:both;}
	.shadow div { background:url(/wp-content/themes/rexsong/bg_shadow.png) no-repeat right top;}
	.shadow a { background:url(/wp-content/themes/rexsong/bg_shadow.png) no-repeat left bottom; padding:0 6px 6px 0; display: block;}
	.shadow img { background-color:#fff; color:#000; border:1px solid #ddd; padding:4px; vertical-align:bottom;}

.nonEdge {} 
	.nonEdge img { border:0; padding:0;} 
	
*/


/***** Single *****/

#trackbacks { margin:40px 0; padding:0;}
	#trackbacks h3 { margin-bottom:25px;}
	#trackbacks ol { margin-left:50px; padding:0;}

#comments {}
	#comments h3 { margin-bottom:30px}
	#comments #commentlist {}
		#comments #commentlist dl { margin:0 0 25px; padding:0;}
		#comments #commentlist dl.alt {}
			#comments #commentlist dt { float:left; position:relative; width:65px; margin:0; padding:0;}
				#comments #author_image { position:absolute; z-index:2; width:48px; height:48px;}
				#comments #get_avatar { position:absolute; z-index:1; width:48px; height:48px;}
			#comments #commentlist dd { font-size:12px; margin:0 0 0 70px; padding:0; height:1%;}
				#comments #commentlist cite { font-size:14px; font-weight:bold; font-style:inherit; text-transform:capitalize;}
				#comments #commentlist .edit-comment { line-height:1.6;}

#related { margin:40px 0; padding:0;}
	#related h3 { margin-bottom:25px;}
	#related ul { margin-left:50px; padding:0; list-style-type:decimal;}

.entry a { color:#000;}
.entry a:hover {}
.entry a:visited { color: #000;}



/***** Pages *****/
.navigation { margin:40px 0; padding:0; height:1%; text-align:right;}

