/* @group Other *//*
Theme Name: tname v3
Theme URI: http://tension.name/
Description: The tname v3 Wordpress theme the Author <a href="http://tension.name/">tension</a>. <br/> 请自行更改 sidebar.php 和 footer.php 2处twitter用户名 tension 换为您的即可.如果不需要请按照注释删除既可
Version: 1.0
Author: tension
Author URI: http://tension.name/

	The CSS, XHTML and design is released under GPL:
	http://www.opensource.org/licenses/gpl-license.php

*/

/* Captions */
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.navgation {
	margin: 5px 0;
}
.navigation .alignleft {
	float: left;
	margin: 0 10px 0 0;
}
.navigation .alignright {
	float: right;
	margin: 0 0 0 10px;
}
/* End captions */

/* ------------------------------------
 * tname v3 1.0.7
 *
 * @author	tension
 * @link	http://tension.name/
 * @update	2009-05-23 00:00
 * --------------------------------- */

/***** Global *****/
/* Reset */
* {
	margin: 0;
	padding: 0;
}
fieldset {
	border: 0;
}
ol, ul {
	list-style: none
}
h1, h2, h3, h4, h5, h6, p, pre, blockquote {
	margin-bottom:0.75em;
}
small {
	font-size: 12px;
}
/* Begin Typography & Colors */
body {
	font: 14px / 150% 'Lucida Grande', Verdana, Arial, Sans-Serif;
	color: #333;
	background: #FFF;
	}

a, h2 a:hover, h3 a:hover {
	color: #376B88;
	text-decoration: none;
	blr:expression(this.onFocus=this.blur())
	}

a:hover {
	color: #3e3e3e;
	text-decoration: underline;
	}
/* End Typography & Colors */

.clear {
	clear: both;
	margin: 0;
	padding: 0;
}

input, textarea {
	font-size: 107%;
	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
	border: 1px solid #d3d3d3;
	background:#fff url(images/textinputbg.gif) repeat-x;
	color:#000;
	padding:5px 7px 4px 7px;
}

input:focus {
	border-color:#77b2ee;
}

input, textarea, button {
	-moz-border-radius: 2px;
	-khtml-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
}

blockquote {
	margin: 5px 0;
	list-style: none;
	padding: 0 20px 10px 35px;
	background: url(images/quote.gif) no-repeat 10px 4px;
	border: none;
	color: #993366;
}
blockquote ol {
	list-style-image:none;
	list-style-position:inside;
	list-style-type:decimal;
}
pre {
	border: 1px dotted #CCCCCC;
	font-family:'courier new';
	font-size: 11px;
	padding:1em;
}
code {
	background: #EEE;
	border: 1px solid #AAA;
	display: block;
	font-family: 'Lucida console',Monospace;
	font-size: 11px;
	line-height: 16px;
	margin: 10px 0;
	overflow: auto;
	padding: 10px;
}
/* Begin Images */
p img {
	padding: 0;
	max-width: 100%;
	}

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

/* End Images */

/* Begin Various Tags & Classes */
.center {
	text-align: center;
	}

.hidden {
	display: none;
	}

hr {
	display: none;
	}

a img {
	border: none;
	}
/* End Various Tags & Classes*/

/* header */

#header {
	background: url(images/bg_site.jpg);
	border-bottom: 1px solid #86B9CC/*#254588*/;
}


#header #warp {
	margin: 0 auto;
	width: 870px;
	padding: 30px 15px;
	position: relative;
}

#header h1 {
	font-weight:normal;
	margin-bottom: 0;
}
#header h1 a {
	color:#FFFFFF;
	font-size: 25px;
	line-height: 22px;
}
#header h1 a:hover {
	text-decoration: none
}

#header .description {
	color: #FFF;
	font-size: 11px;
	margin-bottom: 0;
}

/* Menu */
#menu {
	position: absolute;
	bottom: 0px;
	*bottom: -1px;
	right: 15px;
	margin: 0;
	height: 25px;
}
#menu li {
	display: inline;
	line-height: 25px;
}
#menu li a,
#menu li a:visited,
#menu li.first a:hover {
	text-decoration: none;
	padding: 6px 15px;
	color: #666;
	background: #CFDDE3;
	-moz-border-radius: 3px 3px 0 0;
	-webkit-border-top-left-radius: 3px;
	-webkit-border-top-right-radius: 3px;
	border: 1px solid #86B9CC;
	border-bottom: 0 none;
}
#menu li a:hover,
#menu li.first a { 
	color: #333;
	background: #FFF;
	-moz-border-radius: 3px 3px 0 0;
	-webkit-border-top-left-radius: 3px;
	-webkit-border-top-right-radius: 3px;
}

/* Search */
#search-form {
	height: 26px;
	width: 168px;
	background: url(images/search.png) no-repeat 0px 0px;
}
#search-form .input {
	background: url(images/search.png) no-repeat -27px -5px;
	border: 0;
	color: #F2F2F2;
	height: 18px;
	margin: 5px 0 0 25px;
	padding: 0;
	width: 130px;
}

/* Content */

#body { 
	width: 870px;
	margin: 10px auto 0;
	padding: 10px;
	-moz-border-radius: 10px;
	-khtml-border-radius: 10px;
	-webkit-border-radius: 10px;
	background: #E7EDF1;
}

#content {
	background: #FFF;
	float: left;
	overflow: hidden;
	padding: 10px 15px;
	width: 590px;
	-moz-border-radius: 10px;
	-khtml-border-radius: 10px;
	-webkit-border-radius: 10px;
}

#content fieldset {
	border: 1px solid #d3d3d3;
	padding: 10px;
}

.post {
	margin: 0 0 10px 0;
	width: 100%;
	border-bottom:1px solid #C0D6DF;
	padding:0 3px 3px;
}

/* Title */

.entry_title {
	color:#555555;
	font-family:"Microsoft Jhenghei","Verdana","Tahoma","sans-serif";
	font-size:20px;
	font-weight:normal;
	line-height:22px;
	margin: 0 0 5px;
	display: inline;
}
.entry_title a:link,
.entry_title a:visited {
	color: #555555;
	text-decoration: none;
}
.entry_title a:hover,
.entry_title a:active {
	color: #FF6600;
}
.post .tims {
	margin-left: 5px;
	color: #86942A;
}

/* Meta */
.post_metadata {
	height: 20px;
	line-height: 18px;
	list-style: none;
}
.post_metadata li {
	float:left;
	color: #666;
	font-size: 11px;
	margin:0 5px 0 0;
	padding: 0 0 0 20px;
}
.post_metadata li a {
	color: #666;
}
.post_date {
	background: url(images/icon.png) no-repeat 0 0;
}
.post_author {
	background: url(images/icon.png) no-repeat 0 -78px;
}
.post_comm {
	background: url(images/icon.png) no-repeat 0 -17px;
}
.post_cate {
	background: url(images/icon.png) no-repeat 0 -58px;
}
.post_rss {
	background: url(images/icon.png) no-repeat 0 -98px;
}
/* Tags */
.tags {
	background:transparent url(images/icon.png) no-repeat scroll 1px -38px;
	font-size:12px;
	font-weight:normal;
	padding-left:20px;
	clear: both;
	font-family:"Lucida Sans";
}
.tags a,.tags a:visited {
	line-height:18px;
	color: #444;
	text-decoration: none;
}
.tags a:hover {
	color: #444;
	text-decoration: underline;
}

/* Contents */
.entry {
	clear: both;
	line-height: 1.8em;
	color: #444;
	margin-top: 10px;
}
.entry p {
	margin: 5px 0;
	line-height: 1.8em;
}
.entry ol {
	list-style-type: decimal;
	margin: 5px 0 5px 40px;
	line-height: 1.8em;
}
.entry img {
	max-width: 550px;
	border:4px solid #EFEFEF;
}
.entry a {
	text-decoration: none
}
.tomail {
	vertical-align: middle;
}
.entry h3 {
	color:#63565F;
	margin: 0 0 0.5em;
}
/* Comments List */
ol#comment_list, ol#comment_list ol {
	margin: 0;
	list-style: none;
}

ol#comment_list li {
	margin: 0;
	position:relative;
	padding:0 0 0 50px;
}

ol#comment_list li img {
	left: 0;
	top: 9px;
	position: absolute;
}

ol#comment_list li .comment_content {
	overflow:visible;
	margin: 0 0 3px;
	padding: 9px 0 0;
}

ol#comment_list li .comment_head {
	
}
ol#comment_list li .comment_head .statusWord {
	width: 470px;
	left: -6px;
	position: relative;
}

/* statusWord */
.statusWord{
	display:block;
	zoom:1;
}
.statusWord:after{
	content:'\0020';
	display:block;
	clear:both;
	height:0;
}

.statusWord i {
	*display:inline;
	/* ie6,7 */display:table;
	/* moz,webkit,ie8 */overflow:hidden;
	max-width:100%;
	background-image:url(images/comments.gif);
	background-position:0 0;
	background-repeat:no-repeat;
	font-style:normal;
	text-overflow:ellipsis;
	-o-text-overflow:ellipsis;zoom:1;
}
.statusWord i i {
	background-position:100% 0;
}
.statusWord i i i {
	background-position:0 100%;
}
.statusWord i i i i {
	max-width:none;
	padding:4px 9px 4px 16px;
	background-position:100% 100%;
}
.statusWord i i i i p {
	line-height:22px;
	margin-bottom:0;
	padding:0 5px;
}

ol#comment_list li .comment_foot {
	color:#999999;
	margin:3px 0 0;
}

ol#comment_list li .comment_foot .times,ol#comment_list li .comment_foot .count {
	font-size: 10px	
}

ol#comment_list li .comment_foot {
	border-bottom:1px dotted #EEE;
	
}

ol#comment_list li .comment_reply {
	text-align: right;
	margin-top: 10px;
}

ol#comment_list li .comment_reply a {
	color: #CC3300;
	font-size: 10px;
}

/* 堆楼 */

ol#comment_list li.odd,ol#comment_list li.odd li {
	padding: 0 0 0 20px;
}

ol#comment_list li.odd .gravatar,ol#comment_list li.odd li img {
	left: -25px;
}
.odd .statusWord i,.odd li li .statusWord i {
	background-image:url(images/comments_odd.gif);
}
.odd li .statusWord i,.odd li li li .statusWord i {
	background-image:url(images/comments.gif);
}

/* 取消评论 */
.cancle_comment_reply a {
	margin-left: 10px;
	font-size: 11px;
	color:red
}
.cancel_comment_reply a:hover {
	text-decoration:underline;
}

#respond .cancle_comment_reply {
	display: none;
}
ol#comment_list li #respond .cancle_comment_reply {
	display: inline;
}


/* Navigation */
#metawz {
	margin: 5px 0;
	padding: 0;
}
.endmeta {
	float: left;
}
.endmeta input {
	width: 360px;
	border: 1px solid #d3d3d3;
	background:#fff url(images/textinputbg.gif) repeat-x;
	color:#000;
	padding: 5px 0 4px 7px;
	font-size: 11px;
}
.wangzhai {
	float: right;
	text-align: right;
}
/* Comment_form */
#responses, #response {
	margin:20px 0 10px;
	height:1.5em;
	color:#E1E1E1;
	font-size: 18px;
	line-height:1em;
}

#comment_form {
	clear:both;
}

#comment_form label {
	margin-left:10px;
	font-size: 11px;
	line-height:35px;
}

#comment_form p {
	margin-bottom: 0;
}

#comment_form input.text {
	font-size:107%;
	clear:left;
	border:1px solid #d3d3d3;
	background:#fff url(images/textinputbg.gif) repeat-x;
	color:#000;
	padding:5px 7px 4px 7px;
}

#comment_form input:focus,
#comment_form textarea:focus {border-color:#77b2ee;}

#comment_form textarea {
	border:1px solid #d3d3d3;
	background:#fff url(images/textinputbg.gif) repeat-x;
	color:#000;
	padding:5px 0 4px 7px;
	width: 440px;
	height: 150px;
	margin-bottom:10px;
	font-size: 12px;
}

#comment_form #submit,button {
	background:#F9F9F9;
	border: 1px solid #d3d3d3;
	padding: 4px 8px;
}

#comment_form .allowed_tag {
    background: #fff6bf;
    border: 1px solid  #ffd324;
	color: #514721;
	margin-bottom: 10px;
	padding: 3px 5px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	width: 436px;
}

/* Sidebar */
#sidebar {
	float: right;
	margin:0 10px;
	width: 220px;
}
#sidebar ul li h2 {
	color: #333;
	font-size: 14px;
	font-weight:normal;
	margin: 0 0 5px;
}
#sidebar ul li ul{
	margin: 0.5em 0 0.5em 0.5em;
	line-height: 1.5em;
	padding: 0;
}
#sidebar ul li p {
	margin: 1em 0 0.5em 0.5em;
	line-height: 1em;
	padding: 0;
}
#sidebar ul li ul li {
	list-style-type:disc;
	margin:0 0 0 15px;
}
#sidebar ul li ul a:link,
#sidebar ul li ul a:visited,
#sidebar ul li p a:link,
#sidebar ul li p a:visited {
	color: #4e4e4e;
	text-decoration: none
}
#sidebar ul li ul a:hover,
#sidebar ul li ul a:active,
#sidebar ul li p a:hover,
#sidebar ul li p a:active {
	color: #727D95;
	text-decoration: underline;
}

/* twitter */
#twitter h2 a {
	background: url(images/link_twitter.png) no-repeat;
	display: block;
	height: 16px;
	text-indent: -999em;
	width: 61px;
	overflow:hidden;
}
	/* @group Twitter Bubble */
	#bubbleWrapper{
		position: relative;
		top: -3px;
		margin-bottom: -10px;
	}
	.bubble {
		position: relative;
		left: -4px;
		width: 228px;
		color: #625f57;
		text-shadow: #fff 0px 1px 0px;
	}
	#twitter ol {
		margin: 0 auto;
		padding: 0 0 6px;
		list-style: none;
		width: 200px;
		overflow: hidden;
		text-overflow: ellipsis;
	}
	#twitter ol li a {
		display: block;
		color: #727D95;
		text-align:right;
	}
	#twitter ol li span a {
		display: inline;
		color: #727D95;
		text-align:justify !important;
	}
	#bubbleTop,
	#bubbleBtm{
		position: relative;
		text-indent: -623em;
	}
	#bubbleTop{
		background:url(images/bubble_top.png) no-repeat;
	}
	#bubbleContent{
		background:url(images/bubble_mid.png) repeat-y;	
	}
	#bubbleBtm{
		background:url(images/bubble_btm.png) no-repeat;
	}
	
/*Gavatar*/
#sidebar .i_avatar {
	margin: 0.5em 0 0.5em 0.5em;
	line-height: 1.5em;
}
#sidebar .i_avatar li {
	display: inline;
	margin: 0;
	padding: 0;
	list-style: none;
}
#sidebar .i_avatar li img {
	-moz-border-radius: 2px;
	-khtml-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
	border: 1px solid #e8eaea;
	padding: 2px;
	background: #fff;
}

/* Footer */
#footer {
	margin: 0 auto;
	width: 885px;
	padding: 10px 0 10px 15px;
	background: #FFF
}
#footer p {
	font-size: 11px;
	float: left;
	margin: 0;
	color: #333;
}

#footer p a {
	color: #376B88;
}

#footer a.icp {
	color: #FFF;
}

#footer a.ek {
	float: right;
	overflow:hidden;
	margin: 2px 0 0;
	display:block;
	text-indent:-10000px;
	width: 150px;
	height: 35px;
	background: url(images/ek-small-logo.png) no-repeat;
	vertical-align: middle;
}
/* @end */

/* Posts Navigation */
ol.pages {
	margin: 10px 0;
	color: #666;
	list-style: none;
	font-size: 12px;
}

ol.pages li {
	margin: 0 5px 0 0;
	display: inline;
}

ol.pages li a {
	background-position: 50% bottom; 
	border-bottom: #ccdbe4 3px solid;
	padding: 2px 6px;
	color: #0061de; 
	margin-right: 4px;
	text-decoration: none
}

ol.pages li.current a {
	padding: 2px 6px;
	font-weight: bold;
	color: #86942A;
	border-bottom: #86942A 3px solid;
	margin-right: 4px;
}

a.download , a:visited.download {
	color: #333;
	text-decoration: none;
	background: url(images/disk.png) no-repeat left center;
	padding: 2px 0 2px 20px;
	border: none;
}
/* @end */

/* Gravatar */
img[align="left"] {
	display:block;
	float:left;
	margin:0 8px 4px 0;
}
.sidavatar {
	height:50px;
	line-height:1.5em;
	font-size: 12px;
}

/* Downloads */
.alignright {
}
.alignright img {
	float: right;
	margin-bottom: 5px;
}
/* @end */