/*
Theme Name: Joyfulboy
Description: Modified from Devart.
Version: 1.0.1
Author: HZ
Author URI: http://www.joyfulboy.cn/
Tags: fixed width, two columns, widgets, deviant, joyfulboy, hz, black
*/

/* Reset
-------------------------------------------------------------------*/

@import "css/reset.css";

ul li, ol li
{
    list-style: none none outside;
}
ol ol, ul ul, ol ul, ul ol
{
    margin-left: 20px;
    margin-bottom: 0;
}
h1, h2, h3, h4, h5, h6
{
    font-family: 微软雅黑, 宋体;
    color: #ff6700;
}
h1
{
    font-size: 26px;
    line-height: normal;
}
h2
{
    font-size: 20px;
    line-height: 24px;
    margin-bottom: 7px;
}
h3
{
    font-size: 14px;
    font-weight: bold;
    line-height: 24px;
    margin: 12px auto;
}
h4
{
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 5px;
}
h5
{
    font-size: 14px;
    line-height: 18px;
    margin-bottom: 5px;
}
h6
{
    font-size: 12px;
    line-height: 16px;
    margin-bottom: 5px;
}
h1 span
{
    color: #999;
}
strong, b
{
    font-weight: bold;
}
a
{
    font-size: 14px;
    color: #0064B1;
}
a:hover
{
    color: #ff6700;
}
p
{
    line-height: 24px;
    white-space: normal;
    word-break: break-all;
    margin: 12px auto;
}
p a
{
    font-size: inherit;
}
input, textarea
{
    font: 12px Verdana, Helvetica, Arial, Geneva, sans-serif;
}
blockquote
{
    font: 14px/22px monospace;
    border: solid 1px #cccccc;
    white-space: normal;
    word-break: break-all;
    background: #eeeeee;
    padding: 5px 20px;
    margin: 12px auto;
    overflow: hidden;
}
blockquote div
{
    white-space: normal;
    word-break: break-all;
    overflow: hidden;
}
blockquote p
{
    text-indent: 0px;
}
li
{
    line-height: 24px;
}
h1 a
{
    color: #ff6700;
    font-size: 26px;
}
body
{
    font: 14px/18px 宋体, Verdana, "Lucida Grande" ,Arial,Tahoma,Helvetica,sans-serif;
    color: #333333;
    background: #ffffff url(images/bg.gif) repeat-x;
    line-height: 150%;
}

/* Container
-------------------------------------------------------------------*/
#container
{
    width: 950px;
    padding-bottom: 10px;
    margin: 0 auto;
    overflow: hidden;
}
#container #wrapper
{
    background: #ffffff;
    padding: 10px 0px;
    clear: both;
    overflow: hidden;
    _display: inline-block;
}



/* Header
-------------------------------------------------------------------*/
#header
{
    padding: 18px 4px 6px;
    clear: both;
    overflow: hidden;
    _display: inline-block;
}
#header h1
{
    font: 28px Verdana;
    color: #fff;
    padding: 0px;
    margin: 0px auto;
    float: left;
    _display: inline;
}
#header h1 a
{
    font-size: 28px;
    color: #ffffff;
    text-shadow: 1px 1px 1px #333;
    text-decoration: none;
}
#header h1 span
{
    padding-left: 10px;
    font-size: 12px;
    color: #eeeeee;
}



/* Search
-------------------------------------------------------------------*/
#search
{
    float: right;
    margin-top: 6px;
    _display: inline;
}

#search input
{
    border: 0;
}

#search #s
{
    width: 148px;
    line-height: 0;
    font: normal 12px Verdana;
    color: #333;
    background: url(images/search-text.gif) no-repeat;
    vertical-align: top;
    padding: 4px 0 4px 22px;
}
#search #searchsubmit
{
    width: 35px;
    height: 22px;
    vertical-align: top;
    cursor: pointer;
    background: url(images/search-submit.gif) no-repeat;
}




/* Navigation
-------------------------------------------------------------------*/
#nav
{
    height: 42px;
    background: url(images/nav-bg.gif) no-repeat;
    border-bottom: 1px solid #75867b;
    clear: both;
    overflow: hidden;
    _display: inline-block;
}
#nav ul
{
    height: 33px;
    margin: 9px 0px 0px 10px;
    float: left;
    _display: inline;
}
#nav ul li
{
    float: left;
    font: 14px/150% Helvetica, Arial, 'Liberation Sans' , FreeSans, sans-serif;
    cursor: pointer;
    margin-right: 3px;
    padding-left: 7px;
}
#nav ul li:hover, #nav ul li.hover
{
    background: url(images/nav-tab-left.gif) no-repeat;
}
#nav ul li:hover a, #nav ul li.hover a
{
    line-height: 33px;
    background: url(images/nav-tab-right.gif) no-repeat top right;
}
#nav ul li.current_page_item
{
    color: #ffffff;
    background: url(images/nav-tab-left.gif) no-repeat;
}
#nav ul li a
{
    display: block;
    text-decoration: none;
    color: #ffffff;
    line-height: 32px;
    padding: 0 25px 0 18px;
}
#nav ul li a:hover
{
}
#nav ul li.current_page_item a
{
    line-height: 33px;
    background: url(images/nav-tab-right.gif) no-repeat top right;
}
#nav #feed
{
    height: 18px;
    color: #ffffff;
    color: #544626;
    display: block;
    background: url(images/feed.gif) no-repeat;
    text-decoration: none;
    margin: 12px 10px 0px 0px;
    padding-left: 30px;
    float: right;
    _display: inline;
}
#nav #feed span
{
    display: none;
}


/* Content
-------------------------------------------------------------------*/
#content
{
    width: 608px;
    min-height: 2100px;
    border-right: dotted 2px #dddddd;
    padding: 15px 30px;
    float: left;
    _display: inline;
    _height: 2100px;
}
#content .navigation-links
{
    border-bottom: solid 1px #cccccc;
    margin-bottom: 24px;
}
#content .navigation-links h1
{
    margin-bottom: 10px;
}
#content .post
{
    margin-bottom: 30px;
}
#content .post .title
{
    border-bottom: dotted 1px #dddddd;
    padding-bottom: 4px;
    clear: both;
    overflow: hidden;
    _display: inline-block;
}
#content .post .title .image
{
    outline: 0px none;
    margin-right: 20px;
    float: left;
    display: inline;
}
#content .post .title .image a
{
    display: block;
}
#content .post .title .image img
{
    width: 64px;
    height: 64px;
    display: block;
}
#content .post .title .info
{
    width: 510px;
    padding: 1px;
    overflow: hidden;
    float: left;
    _display: inline;
}
#content .post .title .info h1 a
{
    outline: none;
}
#content .post .title .info .in
{
    color: #999999;
    clear: both;
    overflow: hidden;
    _display: inline-block;
}
#content .post .title .info .in abbr
{
    color: #999999;
    border-bottom: dotted 1px #999999;
    cursor: help;
}
#content .post .title .info .in, #content .post .title .info .in a
{
    font-size: 12px;
    line-height: 18px;
    margin-top: 9px;
}
#content .post .title .info .in .lefts
{
    float: left;
    _display: inline;
}
#content .post .title .info .in .rights
{
    float: right;
    _display: inline;
}
#content .post p
{
    text-indent: 2em;
}
#content .post p.password
{
	text-indent: 0px;
	padding-left: 28px;
}
#content .post p.password input.text
{
	margin: 5px auto;
}
#content .post blockquote p
{
    text-indent: 0px;
}
#content .post h1 a
{
    text-decoration: none;
}
#content .post .entry
{
    width: 606px;
    overflow: hidden;
    margin-bottom: 24px;
    padding: 1px 1px;
}
#content .post .entry h1, #content .post .entry h2, #content .post .entry h3, #content .post .entry h4, #content .post .entry h5, #content .post .entry h6
{
    color: #6B1B17;
    font-weight: bold;
    font-family: 宋体;
}
#content .post .entry h1
{
    font-size: 20px;
    margin: 18px auto;
}
#content .post .entry h2
{
    font-size: 18px;
    margin: 16px auto;
}
#content .post .entry h3
{
    font-size: 16px;
    margin: 14px auto;
}
#content .post .entry h4
{
    font-size: 14px;
    margin: 12px auto;
}
#content .post .entry h5
{
    font-size: 12px;
    margin: 9px auto;
}
#content .post .entry h5
{
    font-size: 10px;
    margin: 7px auto;
}
#content .post .entry .wp-caption
{
    margin-top: 12px;
}
#content .post .post-info
{
    text-align: right;
    font-size: 12px;
    line-height: 28px;
    border-bottom: 1px dotted #dddddd;
    padding: 0px 10px;
    margin-bottom: 24px;
}
#content .post .post-info a
{
    font-size: 12px;
    text-decoration: none;
}
#content .post .post-info a:hover
{
    text-decoration: underline;
}

#content #pages
{
    line-height: 24px;
    margin-bottom: 24px;
    clear: both;
    overflow: hidden;
    _display: inline-block;
}
#content #pages span.previous
{
    float: left;
    _display: inline;
}
#content #pages span.next
{
    float: right;
    _display: inline;
}
#content ul, ol, dl
{
    margin-bottom: 20px;
}
#content ul
{
    list-style: disc;
    list-style-position: inside;
}
#content ol
{
    list-style: decimal;
    list-style-position: inside;
}
#content dl dt
{
    font-weight: bold;
}
#content dl dd
{
    font-style: italic;
    margin: 0 0 5px 20px;
    color: #555;
}
#content .more-link
{
    display: block;
}

.aligncenter
{
    margin-left: auto;
    margin-right: auto;
}
.alignleft
{
    float: left;
    margin: 5px 15px 10px 0;
}
.alignright
{
    float: right;
    margin: 5px 0 10px 15px;
}


/* Sidebar
-------------------------------------------------------------------*/
#sidebar
{
    width: 220px;
    font-size: 12px;
    color: #555555;
    padding: 0px 30px;
    margin-bottom: 10px;
    overflow: hidden;
    float: left;
    _display: inline;
}

#sidebar h3
{
    border-bottom: 1px dotted #dddddd;
}
#sidebar .block
{
    overflow: hidden;
    padding: 0px 10px;
    margin-bottom: 10px;
    clear: both;
    _display: inline-block;
}
#sidebar .block ul
{
    _display: inline-block;
}
#sidebar .block ul.children
{
    margin: 0px auto 0px 10px;
}
#sidebar .block li
{
    line-height: 24px;
    font-size: 14px;
    background: url(images/arrow.gif) no-repeat 2px 10px;
    white-space: nowrap;
    overflow: hidden;
    padding-left: 12px;
}
#sidebar .block li a
{
    white-space: normal;
    word-break: break-all;
}
#sidebar .block .concerned a
{
    display: block;
}
#sidebar .block .concerned img
{
    width: 200px;
    display: block;
}

/* Calendar */
#sidebar .block #calendar_wrap a
{
}
#sidebar .block #calendar_wrap .pad
{
    background: none;
}
#sidebar .block #calendar_wrap #prev
{
    background: none;
}
#sidebar .block #calendar_wrap #next
{
    background: none;
}
#sidebar .block #calendar_wrap table
{
    width: 100%;
    margin: 0;
    padding: 0;
}
#sidebar .block #calendar_wrap table th
{
    width: 14.2%;
}
#sidebar .block #calendar_wrap table td
{
    width: 14.2%;
    text-align: center;
    color: #888;
}



/* Wrapper Bottom
-------------------------------------------------------------------*/
#wrapper-bottom
{
    width: 900px;
    height: 6px;
    float: left;
    margin-bottom: 7px;
    background: url(images/wrapper-bottom.gif) no-repeat bottom;
}



/* Comments
-------------------------------------------------------------------*/
#comments
{
    margin-bottom: 30px;
}
#comments h3.comments-header
{
    color: #000000;
    font-size: 18px;
    line-height: 32px;
    font-weight: bold;
}
#comments ul
{
    display: block;
    padding: 0px;
    margin: 0px auto 30px;
}
#comments .comment
{
    border-bottom: 1px dotted #DDDDDD;
    padding: 10px 0px;
    clear: both;
    overflow: hidden;
    _display: inline-block;
}
#comments .comment div
{
    width: 570px;
    float: left;
    _display: inline;
}
#comments .comment div div
{
    width: auto;
    float: none;
    _display: block;
}
#comments .comment .commentnumber
{
    width: 30px;
    text-align: center;
    float: left;
    _display: inline;
}
#comments .comment .comment-author img
{
    width: 32px;
    height: 32px;
    border: 1px solid #CCCCCC;
    padding: 2px;
    vertical-align: middle;
}
#comments .comment .comment-author
{
    float: left;
    height: auto;
    overflow: hidden;
    _display: inline;
    _height: 40px;
    *min-height: 40px;
}
#comments .comment .comment-author cite
{
    font-style: normal;
}
#comments .comment .commentmetadata
{
    font-size: 12px;
    line-height: 18px;
    float: right;
    _display: inline;
}
#comments .comment .commentmetadata a
{
    font-size: 12px;
    line-height: 18px;
}
#comments .comment p
{
    margin: 0px auto 0px 40px;
    clear: both;
    overflow: hidden;
    _display: inline-block;
}
#comments .comment .reply
{
    font-size: 12px;
    line-height: 18px;
    float: right;
    _display: inline;
}
#comments .comment .reply a
{
    font-size: 12px;
    line-height: 18px;
}
#comments .pages
{
    clear: both;
    overflow: hidden;
    _display: inline-block;
}
#comments .pages span.previous
{
    float: left;
    _display: inline;
}
#comments .pages span.next
{
    float: right;
    _display: inline;
}


/* Comment Form
-------------------------------------------------------------------*/
.respond
{
    background: #fcfcfc;
    padding: 10px;
    overflow: hidden;
}
.respond h3.comments-header
{
    color: #333333;
    font-size: 14px;
    line-height: 24px;
    font-weight: normal;
    margin: 0px auto 10px;
}
.respond #commentform
{
    padding: 0px 20px;
}
.respond label
{
    color: #6B6B6B;
    font-size: 12px;
}
#commentform p.description
{
    color: #6B6B6B;
    font-size: 12px;
}
#commentform textarea.comment
{
    width: 540px;
    height: 156px;
    font-size: 12px;
    line-height: 18px;
    border: 1px solid #dddddd;
}
#commentform input.text
{
    width: 150px;
    border: 1px solid #dddddd;
    margin-right: 5px;
    padding: 3px 3px;
}
#commentform input#submit
{
    padding: 3px 10px;
}



/* Footer
-------------------------------------------------------------------*/
#footer
{
    color: #343434;
    border-top: 2px solid gray;
    text-align: center;
    margin-top: 20px;
    padding: 10px 0px;
}
#footer p
{
    font-size: 12px;
    line-height: 18px;
    text-indent: 0px;
    margin: 0px;
    padding: 0px;
}
#footer a
{
    color: #2754BB;
}
#footer a:hover
{
    color: #ff6600;
}
#footer a.rss
{
    color: #4E84FF;
    text-decoration: none;
}
#footer .copyright, #footer .copyright
{
    font-family: Tahoma,Verdana,Arial,sans-serif;
}
#footer .copyright, #footer .copyright a
{
    font-size: 12px;
    line-height: 18px;
}


/* advertising
-------------------------------------------------------------------*/
#sidebar .block .advertising a
{
    display: block;
}
#sidebar .block .advertising img
{
    display: inline-block;
}

/* top-notice
-------------------------------------------------------------------*/
.top-notice
{
    line-height: 28px;
    font-size: 12px;
    border: 1px solid #CCCCCC;
    background: #ffffe1 url(images/warning.gif) no-repeat 10px 6px;
    padding: 0px 30px;
}
.top-notice a
{
    font-size: 12px;
    text-decoration: none;
}
.top-notice a:hover
{
    text-decoration: underline;
}