/* ------------------------------------
 * Typecho Default 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 {
    background: #fff url(images/bg_plant.jpg) no-repeat top right;
    color: #444;
    font-size: 14px;
    line-height: 1.7;
    font-family: Georgia,Times, "Times New Roman", serif;

    /*
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    transform: rotate(180deg);
    */
}

h1, h2, h3, h4, h5, h6 { font-weight: normal; }

input, textarea { font-family: Helvetica, Arial, sans-serif; font-size: 100%; }

input, textarea {
    font-size: 14px;
    padding: 2px;
}

textarea { *padding: 3px; }

@media screen and (-webkit-min-device-pixel-ratio:0) {
    textarea { padding: 3px; }
}

a {
    color: #3354AA;
    text-decoration: none;
}

a:hover {
    color: #444;
    text-decoration: underline;
}

pre, code, tt {
    font: 13px '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: 840px; }

/* ------------------
 * header
 * --------------- */

#header {
    color: #666;
    padding: 20px 0;
}

#logo {
}

#logo h1 {
    font-size: 35px;
    font-weight: normal;
    margin-bottom: 0;
}

#logo h1 a {
    color: #444;
    border: none;
    text-decoration: none;
}

#logo h1 a:hover {
}

p.description {
    margin-bottom: 0;
}

#search {
    float: right;
    margin-top: 30px;
}

/* = header navigation menu */

#nav_box {
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
    font-family: "Lucida Grande", Tahoma, "Bitstream Vera Sans", Arial, sans-serif;
}

ul#nav_menu {
    height: 30px;
    line-height: 30px;
    list-style: none;
    padding: 0;
    margin-top: 0;
    margin-bottom: 0;
    border-left: 1px solid #eee;
}

ul#nav_menu li {
    float: left;
    padding: 0;
    margin: 0;
    height: 30px;
    line-height: 30px;
}

ul#nav_menu li a {
    color: #777;
    border: 1px solid #eee;
    border-bottom: none;
    border-left: none;
    height: 29px;
    line-height: 29px;
    display: block;
    float: left;
    padding: 0 20px;
}

ul#nav_menu li.current a {
    background: #fafafa;
}
ul#nav_menu li a:hover {
    text-decoration: underline;
}

/* ------------------
 * content
 * --------------- */

#content { overflow: hidden; }
#content p { margin-bottom: 20px; }

.post {
    margin-bottom: 20px;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
    width: 100%;
}

.post img {
    max-width: 570px;
    margin: 5px;
}

h2.entry_title {
    margin-bottom: 0;
    font-size: 20px;
    font-weight: bold;
    font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Helvetica, Arial, ans-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: 14px;
}

.entry_data a {
}

.entry_data span {
    margin-right: 4px;
    padding-right: 7px;
    border-right: 1px solid #eee;
}

/* = pages nav */

ol.pages {
    margin: 20px 0 0 0;
    color: #666;
    list-style: none;
    font-size: 14px;
    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: #3354AA;
    border-color: #3354AA;
    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: #FAFAFA;
    overflow: hidden;
}

ol#comment_list ol li {
    background: #fff;
}

ol#comment_list li.odd {
    background: #FAFAFA;
}

ol#comment_list li .comment_reply {
    text-align: right;
}

ol#comment_list li .comment_reply a {
    font-size: 14px;
    border: none;
    color: #aaa;
}

ol#comment_list li .comment_reply a:hover {
    color: #444;
}

.comment_data {
    padding-bottom: 8px;
    /*border-bottom: 1px dashed #eee;*/
    color: #999;
    font-size: 14px;
}

.comment_data .author {
    display: block;
    font-size: 15px;
    color: #444;
}

.comment_data .count {
    margin-left: 5px;
    font-weight: bold;
}

.comment_data .author a {
}

.comment_body {
    overflow: hidden;
}

img.avatar {
    /*display: none;*/
    float: left;
    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 .cancle_comment_reply {
    float: right;
    font-size: 14px;
    display: none
}

#respond .cancle_comment_reply a {
    border: none;
    color: #aaa;
}

#respond .cancle_comment_reply a:hover {
    color: #444;
}

ol#comment_list li #respond .cancle_comment_reply {
    display: inline;
}

#comment_form label {
    font-size: 14px;
    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 {
    overflow: hidden;
}

.widget {
    margin: 0 0 20px 20px;
}

.widget h3 {
    font-size: 16px;
    margin-bottom: 5px;
}

.widget ul {
    margin: 0;
    list-style-type: none;
}

.widget ul li {
    margin: 0;
    padding: 0;
    line-height: 24px;
}

/* ------------------
 * footer 
 * --------------- */

#footer {
    margin-top: 15px;
    padding: 15px 0;
    text-align: center;
}

#footer a {
    border-bottom: none;
}

/* -----------------
 * 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;
}
