/* ------------------------------------
 * Typecho Green Theme
 *
 * @author	fen1211@gmail.com
 * @link	http://typecho.net/
 * @update	2009-03-29 14:30
 * --------------------------------- */


/* = import 960.gs css framework */
@import url(css/960.gs.css);

/* ------------------
 * gobal settings
 * --------------- */
body {
border-top: 10px solid #99CC00; background: #FFF url(images/bg.jpg) no-repeat right bottom;
color: #595957;
font-size: 13px;
line-height: 1.7;
font-family: "Helvetica Neue", Arial,Times New Roman, Helvetica, sans-serif;
}

h1, h2, h3, h4, h5, h6 { font-weight: normal; }

input, textarea { font-family: Helvetica, Arial, sans-serif; font-size: 100%; }

input, textarea {
    font-size: 13px;
    padding: 2px;
}

textarea { *padding: 3px; }

@media screen and (-webkit-min-device-pixel-ratio:0) {
    textarea { padding: 3px; }
}

a {
color: #598745;
text-decoration: none;
}
a:hover {
color: #717171;
}

pre, code, tt {
	font: 12px 'andale mono', 'lucida console', monospace; line-height: 1.5;
}
code { margin-bottom: 20px; }
pre, code {
display: block;
overflow-x: auto;
background: #f4f4f4;
padding: 5px 10px;
border: 1px solid #eee;
}

/* Remove possible quote marks (") from <q>, <blockquote>. */
blockquote:before, blockquote:after, q:before, q:after { content: ""; }
blockquote, q { quotes: "" ""; }

blockquote  { margin: 1.5em; color: #666; font-style: italic; }

/*code {display: block; border: 1px solid #AAAAAA; background: #F1ECDD; color: #444; line-height: 16px; overflow: auto;
	font-family: 'andale mono','lucida console',monospace; padding: 10px; margin: 10px 0;}*/

/* Tables
-------------------------------------------------------------- */

/* Tables still need 'cellspacing="0"' in the markup. */
table { border-collapse: separate; border-spacing: 0; }
caption, th, td { text-align: left; font-weight: normal; }
table, td, th { vertical-align: middle; }

table       { margin-bottom: 1.4em; width:100%; }
th          { font-weight: bold; }
thead th 		{ background: #c3d9ff; }
th,td,caption { padding: 4px 10px 4px 5px; }
tr.even td  { background: #e5ecf9; }
tfoot       { font-style: italic; }
caption     { background: #eee; }

fieldset    { padding:1.4em; margin: 0 0 1.5em 0; border: 1px solid #ccc; }
legend      { font-weight: bold; }


ul { list-style-type: disc; }

/* -------------------------
 * reset width to 840px
 * ---------------------- */
.container_16 { width: 760px; }

/* ------------------
 * header
 * --------------- */

#header {
color: #666;
padding: 10px 0;
}

#logo {float: left;background: url(images/logo.gif) no-repeat 0 0;height:65px;
}

#logo h1 {padding:0 0 5px 86px;
font-size: 24px;
font-weight: normal;
margin-bottom: 0;
}
#logo h1 a {font-family:"Microsoft YaHei",Helvetica Neue, Arial,Times New Roman, Helvetica, sans-serif;
border: none;
}
#logo h1 a:hover {
}

p.description {padding:0 0 0 88px;
margin-bottom: 0;
font-size: 12px;
}
#bad {
float: right;
margin-top:3px;
}
#search {
float: right;
}

/* = header navigation menu */
#nav_box {width: 760px;margin:0 auto;border-bottom: 1px solid #eee;margin-bottom:25px; overflow:visible;}
#nav_menu {list-style:none;    margin:0 0 -23px 0;    overflow:hidden;}
#nav_menu ul {float:right;}
#nav_menu ul li {display:inline;float:left;}
#nav_menu ul li a {color:#595957;display:block;border-bottom: 4px solid #C7C7C7;float:left;font-size:12px;font-style:italic;text-decoration:none;}
#nav_menu ul li.current a {border-color:#598745;}
#nav_menu ul li a:hover {border-color:#598745;}

/* ------------------
 * content
 * --------------- */
#content { overflow: hidden; width: 760px;}
#content p { margin-bottom: 20px; }

.post {
margin-bottom: 20px;
padding-bottom: 5px;
border-bottom: 1px solid #eee;
width: 100%;
}
.small a {background-color:#EFEFEF; color:#BBBBBB; float:right; -webkit-text-size-adjust:none; font-size:20px; line-height:1em; padding:6px; text-align:center;-moz-border-radius:6px; -webkit-border-radius:6px;}
.post img {
max-width: 680px;
margin: 5px;
}

h2.entry_title {
margin-bottom: 0;
font-size: 14px;
font-weight: bold;
font-family: "Lucida Grande","Lucida Sans Unicode","Lucida Sans",Helvetica,Arial,sans-serif;
}

h2.entry_title a {
border: none;
}

.post h3 { font-size: 16px; }
.post h4 { font-size: 15px; }
.post h5 { font-size: 14px; font-weight: bold; }
.post h6 { font-size: 13px; font-weight: bold; }

.entry_data {
color: #999;
font-size: 12px;
}

.entry_data a {
}

.entry_data span {
margin-right: 4px;
padding-right: 7px;
border-right: 1px solid #eee;
}


/* = pages nav */
#pages {margin: 0 auto; width: 760px;height:30px;}
ol.pages {float: left;
margin: 0 0 10px 0;
text-align:left;
color: #666;
list-style: none;
font-size: 12px;
line-height: 30px;
font-family: "Lucida Grande",Verdana,"Bitstream Vera Sans",Arial,sans-serif;
}

ol.pages li {
margin: 0 5px 0 0;
display: inline;
}

ol.pages li a {
padding: 2px 6px;
border: 1px solid #eee;
text-decoration: none;
}

ol.pages li.current a {
background: #598745;
border-color: #EEE;
color: #fff;
}

/* ------------------
 * comment list
 * --------------- */
#comments {
margin-top: 20px;
}

#comments h4 {
font-size: 14px;
font-weight: bold;
}

ol.comment-list, ol.comment-list ol {
margin: 0;
list-style: none;
}

ol.comment-list ol {
padding-top: 10px;
}

ol.comment-list li {
margin: 0;
padding-bottom: 10px;
}

ol.comment-list li {
	padding: 10px 15px;
	margin-top: 10px;
	border: 1px solid #eee;
	background: #FEFEFE;
	overflow: hidden;
}

ol.comment-list li.comment-level-odd {
	background: #fff;
}

ol.comment-list li.comment-level-even {
	background: #FAFAFA;
}

ol.comment-list li.comment-by-author {
	border: 1px dotted #AAA;
}

ol.comment-list li .comment-reply {
	text-align: right;
}

ol.comment-list li .comment-reply a {
	font-size: 11px;
	border: none;
	color: #aaa;
}

ol.comment-list li .comment-reply a:hover {
	color: #444;
}

.comment-meta {
padding-bottom: 8px;
/*border-bottom: 1px dashed #eee;*/
color: #999;
font-size: 11px;
}
.comment-author {
display: block;
font-size: 15px;
color: #444;
}

.comment-author cite.fn {
font-style: normal;
}

.comment-body {
overflow: hidden;
}

img.avatar {
/*display: none;*/
float: right;
margin: 6px 10px 0 0;
}

.respond {
margin-top: 20px;
}

ol.comment-list li .respond {
border-top: 1px solid #ddd;
padding-top: 10px;
}

#comment_form {
	padding-right: 8px;
}

.respond .cancel-comment-reply {
	float: right;
	font-size: 11px;
}

.respond .cancel-comment-reply a {
	border: none;
	color: #aaa;
}

.respond .cancel-comment-reply a:hover {
	color: #444;
}

#comment_form label {
	font-size: 12px;
	color: #555;
	display: block;
	font-weight: bold;
}

#comment_form label .required {
	color: #C04E37;
	padding-left: 5px;
	font-size: 14px;
}
#comment_form .text {
width: 100%;
margin-right: 15px;
}
#comment_form textarea {
width: 100%;
height: 180px;
}

ol#comment_list li .respond .text {
	_width: 400px;
}

ol#comment_list li .respond textarea {
	_width: 400px;
}

/* ------------------
 * sidebar
 * --------------- */
#sidebar {width: 760px;margin:0 auto;
}
.recent_comments {

	}
.recent_comments .h3 {
	padding:6px 0 2px 0;
	font-size:14px;
	font-weight:bold;
	border-bottom:1px dotted #ccc;
	}
.recent_comments .i_avatar {
	list-style-type:none;
	margin:0px 8px 0 0;
	}
.recent_comments .i_avatar li {
	float:left;
	width:32px;
	height:50px;
	line-height:50px;
	}
.tags_cloud {
padding:2px 8px;
line-height:1.5;
}
/* ------------------
 * footer 
 * --------------- */
#footer {border-top:1px solid #eee;
margin: 15px 0;
padding: 15px 0 20px 0;
text-align: center;
}

#footer a {
	font-size:12px;
border-bottom: none;
}
#footer .cal { float:left; }
#footer .car { float:right; }


/* -----------------
 * misc
 *--------------- */
.aligncenter,
div.aligncenter {
display: block;
margin-left: auto;
margin-right: auto;
}

.alignleft {
float: left;
}

.alignright {
float: right;
}

img.alignleft { margin: 4px 15px 0 0; }
img.alignright { margin: 4px 0 0 15px; }

.alt { 
color: #666; 
font-family: "Warnock Pro", "Goudy Old Style","Palatino","Book Antiqua", Georgia, serif; 
font-weight: normal;
}
.more {
text-align: right;
}
