/*
Theme Name: ShaoNianXing Theme
Theme URI: http://www.keeptry.com/
Description: The site theme for ShaoNianXing by <a href="http://www.keeptry.com/">keeptry</a>.
Version: 1.0
Author: keeptry
Author URI: http://www.keeptry.com/
*/

/*Genreal*/
*{margin: 0; padding: 0;}
body {font-size: 12px; font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif; background: #ffffff; color: #575757; text-align: center;}
a {padding: 1px; color: #575757; text-decoration: none;}
a:hover {color: #BD0A01;}
h1,h2,h3 {font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif; font-weight: bold;}
h1 {font-size: 4em;}
h2 {font-size: 1.6em;}
h3 {font-size: 1.3em;}
ol,ul,li {list-style: none;}
small {font-family: Arial, Helvetica, Sans-Serif; font-size: 0.9em; line-height: 1.5em;}
.clear {clear: both;}
.center {text-align: center;}
code {font: 1.1em 'Courier New', Courier, Fixed;}
acronym,abbr,span.caps {font-size: 0.9em; letter-spacing: 0.07em; cursor: help;}
blockquote {margin: 15px 30px 0 10px; padding-left: 20px; border-left: 5px solid #d8e9fd;}
blockquote cite {margin: 5px 0 0; display: block;}
.hidden {display: none;}
.main, .widget {border: 1px solid #d8e9fd; padding: 10px;}
.main, .widget {-moz-border-radius: 5px;}

h2.widgettitle, h2.widgettitle a {font-size: 14px; font-weight: bold; padding-bottom: 5px; border-bottom: 1px solid #d8e9fd; color: #1E50A2;}

h3.posttitle, h3.posttitle a {font-size: 14px; font-weight: bold; padding-bottom: 5px; border-bottom: 1px solid #d8e9fd; color: #0066CC;text-decoration: underline;}
h3.posttitle span.more {float: right; margin-right: 20px; padding-top: 10px; font-size: 12px; }
h3.posttitle p, h2.widgettitle span {font-size: 10.5px;}
h2.widgettitle {margin-bottom: 10px;}

.tagwidget a:hover {background: #666; color: #FFF; text-decoration: none;}

.bgimg a {border: 1px solid #d8e9fd; padding: 3px; display: block;}
.bgimg ul li a:hover {border: 1px solid #FFF;}

/*Page*/
#page {text-align: left; margin: auto; width: 982px;}

/*Header*/
#header {height: 118px;}
#header #headerimg {height:85px;overflow: hidden;}
#header #headerimg h1 {margin: 15px 0 10px 15px;}
#header #headerimg h1 a:hover {background: none;}
#header #headerimg .description {float: right; margin-top: 15px; margin-right: 15px;}

/*Menu*/
#menu {height: 28px; background: #5297F3; overflow: hidden;}
#menu ul {line-height: 18px; padding: 5px 10px;}
#menu ul li {float: left; padding: 0 10px; border-left: 1px dotted #999;}
#menu ul li.home {border-left: none;}
#menu ul li.signup {float: right; border-left: none;}
#menu ul li.signup a {color: #999;}
#menu ul li a {color: #FFF;}
#menu ul li a:hover, #menu ul li.signup a:hover {color: #FFFF00; background: none; text-decoration: none;}
#menu {-moz-border-radius-topleft: 5px; -moz-border-radius-topright: 5px; -moz-border-radius-bottomright: 0; -moz-border-radius-bottomleft: 0;}

/*Top Nav*/
#topnav {clear: both; border: 1px solid #d8e9fd; padding: 10px; overflow: hidden;}
#topnav {-moz-border-radius-topleft: 0; -moz-border-radius-topright: 0; -moz-border-radius-bottomright: 5px; -moz-border-radius-bottomleft: 5px;}
#topnav #navdetail {float: left; margin-left: 0px; margin-top: 5px;}
#topnav #navdetail a {color: #575757;}
#topnav #searchform {float: right; margin-right: 15px;}

/*Content*/
#content {float: left; width: 640px;}

/*Home Post*/
.post {width: 100%; margin-top: 10px; overflow: hidden;}
.post .nobgimg a:hover {background: none;}
.post .focusnav {margin: 8px 0 0 0; text-align: right;}
.post .focusnav a {padding: 2px 10px; border: 1px solid #d8e9fd;}
.post .postnews ul li {float: left; width: 320px; padding: 4px 0;}
.post .postimg ul li {float: left; margin: 0 4px;}
.post .postimg h3.posttitle span.more a {border: none; padding: 1px;}
.post .postlist {float: left; width: 320px;}
.post .postlist h3 {margin-top: 10px; margin-right: 10px;}
.post .postlist ul li {margin: 8px 0;}
.post .postnews ul, .post .postimg ul, .post .postlist ul {margin: 10px 0;}
.post .postnews ul li:before, .post .postlist ul li:before {content: "\00BB \0020";}

/*Cat Post*/
h2.pagetitle {text-align: center;}
.catpost {margin: 20px 0; border-bottom: 1px dashed #d8e9fd;}
h2.pagetitle, .catpost h2, .catpost h3 a {color: #333;text-align:center;}
.catpost h3 a:hover {background: none; text-decoration: underline;}

/*Single Post*/
.entry ul {margin-left: 0; padding: 0 0 0 30px; text-indent: -10px;}
.entry li {margin: 7px 0 8px 10px;}
.entry {margin: 10px;}

.entry a {color: #0066CC; text-decoration: underline;}

.entry p {font-size: 1.05em; line-height: 2em;}
.entry p a:hover {background: none; text-decoration: none;}
.entry ul li:before {content: "\00BB \0020";}
.entry ol {padding: 0 0 0 35px; margin: 0;}
.entry form {text-align: center;}
.postmetadata{text-align:center;}
.postmetadata ul, .postmetadata li {display: inline;}
.postmetadata {clear: both; margin: 10px 0; padding-top: 5px; padding-bottom: 10px;}
.postmetadata span {margin-right: 10px; color: #FF6600;}
.postmetadata span a {color: #FF6600;}
.postmetadata span a:hover {background: none; color: #FF6600;}
.postmetadata span.more {float: right;}
.postmetadata span.more a {color: #0066CC; text-decoration: underline;}
.postmetadata span.more a:hover {text-decoration: none;}
.smallattachment {text-align: center; float: left;width: 128px; margin: 5px 5px 5px 0;}
.attachment {text-align: center; margin: 5px 0;}
select {width: 130px;}
.relate {margin: 20px 0; padding-top: 10px; border-top: 1px dashed #d8e9fd;}
.relate ul {margin-top: 10px; padding-left: 3em;}
.relate ul li {margin: 8px 0; list-style-type: disc;}

/*Images*/
a img {border: none;}
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;}
.alignright {float: right;}
.alignleft {float: left}

/*Comment*/
.nocomments {text-align: center; margin: 0; padding: 0;}
h3.comments {padding: 0; margin: 40px auto 20px ;}
.commentlist {margin-top: 5px; margin-right: 20px; padding: 0; text-align: justify;}
.commentlist p {margin: 10px 5px 10px 0; font-weight: normal; line-height: 1.5em; text-transform: none;}
.commentlist li {margin: 15px 0 3px; padding: 5px 10px 3px; font-weight: bold;}
.commentlist li, #commentform input, #commentform textarea {font: 0.9em 'Lucida Grande', Verdana, Arial, Sans-Serif;}
.commentlist li .avatar {float: right; border: 1px solid #EEE; padding: 2px; background: #FFF;}
.commentlist cite, .commentlist cite a {font-weight: bold; font-style: normal; font-size: 1.1em;}
.alt {margin: 0; padding: 5px 10px 3px; background-color: #F2F2F2; border-top: 1px solid #E5E5E5; border-bottom: 1px solid #E5E5E5;}
.commentmetadata {margin: 0; display: block;font-weight: normal;}
#commentform {margin: 0 25px 20px 0;}
#commentform p {margin: 5px 0; font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;}
#commentform input {width: 170px; height:13px; padding: 2px; margin: 5px 5px 1px 0; border: 1px solid #999;}
#commentform textarea {width: 100%; padding: 2px; background: #EEE; border: 1px solid #999;}
#commentform #submit {float: left; margin: 0; height: 20px; padding: 1px; background: #313131; color: #FFF; border: none; font-weight: bold;}

/*Navigation*/
.navigation {clear: both; display: block; margin-top: 10px; margin-bottom: 40px; margin-right: 20px;}

/*Sidebar*/
#sidebar {float: right; width: 311px; font: 1em 'Lucida Grande', Verdana, Arial, Sans-Serif; overflow: hidden;} 
#sidebar ul li {margin-top: 10px; overflow: hidden;}
#sidebar ul li h2 {font-family: 'Lucida Grande', Verdana, Sans-Serif;}
#sidebar ul li.textwidget a:hover {background: none;}
#sidebar ul ul {margin: 5px;}
* html #sidebar ul ul {display: inline;}
#sidebar ul .rc_avatar img {border: 1px solid #d8e9fd; padding: 3px;}
#sidebar ul .rc_info {padding-top: 3px;}
#sidebar ul .rc_excerpt {padding-top: 5px;}
#sidebar ul ul.wp-tag-cloud li {float: left; margin: 3px; }
#sidebar ul ul.wp-tag-cloud li a {display: block; padding: 3px; border: 1px solid #d8e9fd;}
#sidebar ul .wp-coop ul li {float: left; margin-left: 8px;}
#sidebar ul ul.sidelist li a{color:#0066CC;}
#sidebar ul ul.sidelist li:before {content: "\00BB \0020";}

/*Foot Link*/
#footlink {margin-top: 10px;height:50px;}
#footlink ul {padding-bottom: 10px;}
#footlink ul li {float:left; margin: 0 10px;}


/*Footer*/
#footer {clear: both; margin: 0 auto; overflow: hidden;text-align:center;}
#footer p {clear: both; margin: 10px 0;}

/*Added by keeptry new */
#linkcat-2 h2{display: none;}
#is, #noresults-s {
    width:235px;
    padding:3px 2px;
    height:14px;
    background:#fffff0 url(images/is.gif) no-repeat left center;
    border:none;
}

#isearchsubmit, #noresults-searchsubmit {
    width:40px;
    height:22px;
    text-align:center;
    background:#000 url(images/submit.jpg) no-repeat left center;
    border:none;
    color:#9c0;
    font-weight:700;
}
.isearchresult {
    text-align: left;
}

#oriurl {
    width:60px;
    border:1px solid blue;
    margin:30px 0 10px 0px;
    padding:4px 6px;
    font-weight:700;
}

#oriurl a{
    color:red;
    background:#ffffff;
}

.home .toppost {
    width:100%;
    border: 1px solid #d8e9fd;
    margin: 10px 0px;
    padding: 10px;
    height: 190px;
    overflow: hidden;
    -moz-border-radius: 5px;
}
    
.home .topimg {
    float: left;
    width: 365px;
}

.home .toplist {
    float: right;
    width: 265px;
}
    
.home .toplist ul {
    margin: 0; 
    padding: 0;
    list-style: none;
}

.home .toplist ul li {
    padding: 0 0 0 8px;
    height: 24px;
    line-height: 24px;
    background: url('images/toplist.gif') no-repeat left 10px;
    overflow: hidden;
}

.related_post_title {
	margin-top:30px;
}
.entry .related_post {
	padding: 0px 0px 0px 0px;
}
