﻿/*  
Template Name: Natural Power
Version: 1.0
Author: David Peralty
Author URI: http://xfep.com
*/

html, body {
	font-family: arial;
	font-size: 12px;
	border: 0;
	color: #000;
}

body, img, p, h1, h2, h3, h4, h5, ul, ol, li, form, blockquote {
	margin: 0;
	padding: 0;
}

body {
	background: url(img/body_bg.jpg);
	padding-bottom: 10px;
}

p {
	line-height: 19px;
	padding: 10px 0;
}

h1, h2, h3, h4, h5 {
	padding: 10px 0;
}

ul, ol {
	list-style: none;
	padding: 10px 0;
}

small {
	font-size: 11px;
}

code {
	background: #FFFFC1;
}

a {
	color: #C10000;
	text-decoration: underline;
}

a:hover {
	text-decoration: none;
}

a img {
	border: none;
}

blockquote {
	font-size: 12px;
	width: 80%;
	padding: 0 10%;
	margin: 10px auto;
	background: url(img/quote.png) no-repeat 20px 7px;
	color: #717171;
	line-height: 19px;
	font-style: italic;
}

/* Wrap */

#wrap {
	width: 869px;
	margin: 0 auto;
}

/* Top */

#top {
	width: 100%;
	padding-top: 25px;
	padding-bottom: 20px;
	background: url(img/angel.png) no-repeat 0 25px;
}

/* Top (Title) */

#title {
	width: 570px;
}

#top h1 {
	padding: 0 0 0 75px;
}

#top h1 a {
	color: #fff;
	text-decoration: none;
	font-weight: normal;
	font-family: 楷体_GB2312, 微软雅黑, Georgia;
	display: block;
	text-indent:-999em;
	width: 235px;
	height: 35px;
	background: url(img/title.png) no-repeat 0 0;
}

#top h1 a:hover {
	color: #F4DD2F;
}

#top p {
	font-size: 12px;
	font-family: "Trebuchet MS";
	color: #BBBBBB;
	padding: 0 0 0 115px;
}

/* Top (Menu) */

#menu {
	width: 100%;
}

#menu ul {
	font-weight: bold;
	font-size: 13px;
	float: right;
}

#menu ul li {
	display: inline;
}

#menu ul li a {
	float: left;
	text-decoration: none;
	padding: 0 0 0px 4px;
	line-height: 24px;
	margin-left: 12px;
	color: #9B9B9B;
}

#menu ul li a span {
	display: block;
	padding-right: 9px;
	padding-left: 6px;
	padding-bottom: 2px;
}

#menu ul li.current_page_item a {
	background: url(img/link_left.gif) no-repeat left top;
	color: #fff;
}

#menu ul li.current_page_item a span {
	background: url(img/link_right.gif) no-repeat right top;
}

#menu ul li a:hover {
	background: url(img/link_left.gif) no-repeat left top;
	color: #F4DD2F;
}

#menu ul li a:hover span {
	background: url(img/link_right.gif) no-repeat right top;
}

/* Header */

#header {
	width: 580px;
	height: 140px;
	background: url(img/content_top.gif);
	padding: 9px 0 0 9px;
}

#header #text {
	width: 570px;
	height: 140px;
	background: url(img/header_green.jpg);
	display: table;
	position: relative;
	overflow: hidden;
}

#header #text_in {
	display: table-cell;
	vertical-align: middle;
}

#header #inside {
	position: relative;
	top: -50%;
	width: 430px;
	font-family: Georgia;
	font-size: 18px;
	color: #fff;
	margin: 0 auto;
	text-align: center;
}

#header #inside p {
	line-height: 25px;
}

/* Content Wrap */

#content_wrap {
	width: 100%;
	background: url(img/content_wrap_bg.gif);
}

/* Content */

#content {
	width: 522px;
	float: left;
	padding: 25px 40px 0 27px;
	color: #4A4A4A;
}

#content h2 {
	font-family: 微软雅黑, Georgia;
	font-size: 14px;
	font-weight: normal;
	padding: 10px 0 0 0;
}

#content h2 a {
	color: #39F;
	text-decoration: none;
}

#content h2 a:hover {
	color: green;
	text-decoration: none;
}

.post_wrap img {
	border: #BBBBBB 1px solid;
	padding: 2px;
}

#content h1, #content h3, #content h4 {
	font-family: Georgia;
}

#content h1 {
	font-size: 20px;
}

#content h3 {
	font-size: 15px;
}

#content h4 {
	font-size: 12px;
}

/* Content (lists) */

#content ul, #content ol {
	padding-left: 20px;
}

#content ul li {
	padding-left: 10px;
}

#content ol {
	list-style: decimal;
	padding-left: 30px;
}

/* Content (img align) */

#content img.alignleft {
	margin: 10px 10px 8px 0;
}

#content img.alignright {
	margin: 10px 0px 8px 10px;
}

#content img.centered {
	margin: 10px auto 20px auto;
	display: block;
}

/* Post Wrap */

.post_wrap {
	width: 100%;
	padding-bottom: 15px;
}

.posttime {
	background-image:url(img/post_date_bg.gif);
	background-repeat:no-repeat;
	height:35px;
	width:37px;
	float:left;
	font:14px Arial, tahoma;
	color:#fff;
	text-align:center;
	line-height:16px;
	padding-top:3px;
	margin-top: 10px;
	margin-right:6px;
}

p.post_details {
	padding: 0 0 0 16px;
	color: #858585;
	margin-left:3px;
	font-size: 11px;
	line-height: 20px;
}

p.post_details span {
	*padding-top: 2px;
	padding-left: 18px;
	cursor: pointer;
	background-repeat:no-repeat;
	background-position: top left;
}

span.post_details_time {
	background-image: url(img/clock.png);
}

span.post_details_author {
	background-image: url(img/author.png);
}

span.post_details_category {
	background-image: url(img/category.png);
}

span.post_details_trackback {
	background-image: url(img/trackback.png);
}

span.post_details_comment {
	background-image: url(img/comment.png);
}

span.post_details_edit {
	background-image: url(img/edit.png);
}

p.post_details a {
	color: #858585;
	text-decoration: none;
}

p.post_details a:hover {
	color: #FFF;
	background: #69F;
	text-decoration: none;
}

p.post_tags {
	padding: 10px 0 0 37px;
	*padding-top: 12px;
	margin-left: 4px;
	font-size: 12px;
	background: url(img/tag.png) no-repeat 15px 14px;
	overflow: auto;
}

p.post_tags a {
	color: #33BDFF;
	text-decoration: none;
}

p.post_tags a:hover {
	color: green;
	text-decoration: underline;
}

.post_wrap a.more-link {
	color: green;
	text-decoration: none;
	float:left;
	background: url(img/readmore.gif) no-repeat 2px 4px;
	padding-left: 15px;
}

.post_wrap a.more-link:hover {
	color: #F06;
	text-decoration: none;
	padding-left: 15px;
}

/* More Entries */

#more_entries {
	width: 100%;
	padding-top: 10px;
}

#postnavi {
	clear: both;
	border-top:1px solid #DDD;
	padding-top:10px;
}

#postnavi .prev {
	height: 15px;
	vertical-align: middle;
	float: left;
}

#postnavi .next {
	height: 15px;
	vertical-align: middle;
	float: right;
}

#postnavi .prev a, #postnavi .next a {
	color: green;
	text-decoration: none;
	height: 15px;
	*padding-top: 2px;
	display: inline-block;
}

#postnavi .prev a {
	padding-left: 18px;
	background: url(img/nav-previous.gif) no-repeat 0 0;
}

#postnavi .prev a:hover {
	color: royalblue;
	background-image: url(img/nav-previous-hover.gif);
}

#postnavi .next a {
	padding-right: 18px;
	background: url(img/nav-next.gif) no-repeat top right;
}

#postnavi .next a:hover {
	color: royalblue;
	background-image: url(img/nav-next-hover.gif);
}


/* Comments (single.php and comments.php) */

.comments_wrap {
	width: 500px;
	margin: 20px 0 0px 10px;
	clear: both;
	padding-bottom: 5px;
}

.author_comment {
	background: url(img/arrow_author.gif) no-repeat 45px 15px;
}

.comments_wrap .left {
	width: 46px;
	height: 46px;
	padding-top: 6px;
	float: left;
	background: url(img/gravatar_bg.png) no-repeat top center;
	text-align: center;
}

.comments_wrap .right {
	width: 435px;
	float: left;
	padding-left: 15px;
}

.comments_wrap .right h4 {
	font-size: 11px !important;
	text-transform: none;
	padding: 0;
	font-weight: normal;
	font-family: Arial, Helvetica, sans-serif !important;
}

.comments_wrap .right h4 span.comment_author_link {
	font-size: 12px !important;
	font-weight: bold;
}

.comments_wrap .right h4 a {
	text-decoration: none;
}

.comments_wrap .right h4 a:hover {
	text-decoration: underline;
}

.author_comment .author_comment_div {
	background: #FFFFAC;
}

.author_comment b {
	display: block;
}

.author_comment b.topb b, .author_comment b.bottomb b {
	height: 1px;
	overflow: hidden;
	background-color: #FFFFAC;
}

.author_comment b.topb, .author_comment b.bottomb {
	background-color: white;
}

.author_comment b.t1 {
	margin: 0 5px;
}

.author_comment b.t2 {
	margin: 0 3px;
}

.author_comment b.t3 {
	margin: 0 2px;
}

.author_comment b.t4 {
	margin: 0 1px;
	height: 2px;
}

.comments_wrap .comment_reply a {
	text-decoration: none;
	float: right;
	font-weight: bold;
	font-size: 11px;
	color: #69F;
}

.comments_wrap .comment_reply a:hover {
	text-decoration: none;
	color: green;
	font-size: 12px;
}

.comments_wrap .comment-date {
	padding-left: 20px;
	background: url(img/comment_date.png) no-repeat top left;
}

.comments_wrap p.comment_info em {
	color: red;
	padding-left: 18px;
	background: url(img/info.png) no-repeat top left;
}

/* wordpress related posts */
#related_posts {
	clear: both;
	width: 400px;
	padding: 15px;
	background-color: white;
}

#related_posts b {
	display: block;
}

#related_posts b.topb b {
	height: 1px;
	overflow: hidden;
	background-color: #E3E3E3;
}

#related_posts b.topb {
	background-color: white;
}

#related_posts b.t1 {
	margin: 0 5px;
}

#related_posts b.t2 {
	margin: 0 3px;
}

#related_posts b.t3 {
	margin: 0 2px;
}

#related_posts b.t4 {
	margin: 0 1px;
	height: 2px;
}

#related_posts .related_posts_title {
	height: 25px;
	background: #E3E3E3 url(img/related_posts.png) no-repeat 5px 4px;
	font: 12px Georgia;
	font-weight:normal;
	line-height: 25px;
	padding-left: 25px;
}

#related_posts ul {
	list-style: none;
	line-height: 25px;
	padding: 0 10px;
	border: 1px solid #E3E3E3;
}

#related_posts ul li {
	border-bottom: 1px dashed #DEE;
}

#related_posts ul li a {
	display: inline-block;
	color: #33BDFF;
	text-decoration: none;
	width: 200px;
	overflow: hidden;
	white-space: nowrap;
	-o-text-overflow: ellipsis;
	text-overflow: ellipsis;
}

#related_posts ul li a:hover {
	color: green;
	text-decoration: underline;
}

#related_posts em {
	color: #3CB371;
	font-style: normal;
	font-size: 10px;
	cursor: pointer;
}

#related_posts span.time {
	color: #BBB;
	font-size: 11px;
	float: right;
}

/* WP Thread Comment */

p.thdrpy {
	color: #FFF;
	text-align: right;
}

p.thdrpy a {
	color: royalblue;
	text-decoration: none;
	*padding-top: 2px;
	padding-right: 14px;
	background: url(img/reply.png) no-repeat top right;
}

p.thdrpy a:hover {
	color: green;
}

#cancel_reply {
	margin-top: -12px;
}

#cancel_reply a {
	float: right;
	display: block;
	height: 20px;
	padding-right: 18px;
	background: url(img/cancel_reply.png) no-repeat top right;
}

/* Comments (form) */

#content form {
	margin: 5px auto;
	width: 380px;
}

#content form label {
	cursor: pointer;
}

#content form label input {
	margin-top: 5px;
	padding: 3px 3px 3px 20px;
	width: 180px;
	font-size: 12px;
	border: 1px solid #ccc;
}

#content form input#author {
	background: #FFF url(img/username.png) no-repeat 1px 2px;
}

#content form input#email {
	background: #FFF url(img/email.png) no-repeat 1px 2px;
}

#content form input#url {
	background: #FFF url(img/url.png) no-repeat 0 1px;
}

#content form input#mcspvalue {
	background: #FFF url(img/questions.png) no-repeat 1px 2px;
}

#content form label span {
	
	color: red;
	font: 12px Tahoma, 宋体;
}

#content textarea {
	margin: 5px 0;
	display: block;
	width: 370px;
	padding: 3px;
	font-size: 12px;
	border: 1px solid #ccc;
}

#content form input#submit {
	margin-right: 2px;
	float: right;
}

.lc_logged {
	padding: 0;
	width: 370px;
}

/* Sidebar */

#sidebar {
	width: 280px;
	float: right;
	margin-top: -139px;
	color: #93A7A9;
}

#sidebar p {
	color: #93A7A9;
	line-height: 18px;
	padding: 8px 0;
}

#sidebar a {
	color: #F4DD2F;
	text-decoration: none;
}

#sidebar a:hover {
	text-decoration: underline;
}

#sidebar h1, #sidebar h2, #sidebar h3, #sidebar h4, #sidebar h5 {
	color: #fff;
}

#sidebar h2 {
	font-family: Georgia;
	font-size: 17px;
	font-weight: normal;
	padding: 10px 0 5px 0;
}

#sidebar ul {
	width: 100%;
	padding: 10px 0 15px 0;
}

#sidebar ul ul {
	padding: 2px 0 0px 0;
}

#sidebar li {
	line-height: 16px;
	padding: 2px 0 2px 18px;
	background: url(img/star.gif) no-repeat 0 7px;
}

#sidebar li a {
	color: #93A7A9;
}

/* Sidebar (RSS) */

#sidebar #sidebar_logged, #sidebar #sidebar_login, #sidebar #rss {
	width: 100%;
	padding-bottom: 16px;
	background: url(img/sidebar_top.gif) no-repeat bottom left;
}

#sidebar #sidebar_login {
	margin-top: -10px;
}

#sidebar #sidebar_logged, #sidebar #rss {
	padding-top: 10px;
	height: 30px;
}

#sidebar #sidebar_logged p {
	padding: 0;
	padding-left: 25px;
	background: url(img/username.png) no-repeat 8px 1px;
}

#sidebar #sidebar_logged p span {
	padding-right: 10px;
	float: right;
}

#sidebar #sidebar_login form {
	margin: 0;
	padding-left: 30px;
	padding-bottom: 10px;
	line-height: 25px;
}

#sidebar #sidebar_login input {
	font-size: 12px;
    font-family: verdana, tahoma, sans-serif;
}

#sidebar #sidebar_login input#register, #sidebar #sidebar_login input#submit {
	color: white;
    border: none;
    background: none;
	height: 20px;
	line-height: 20px;
	cursor: pointer;
}

#sidebar #sidebar_login input#log, #sidebar #sidebar_login input#pwd {
	background-color: transparent;
	background-position: 1px 2px;
	background-repeat: no-repeat;
	color: #cccccc;
	border: none;
    border-bottom: 1px dashed #BBBBB6;
	padding-left: 20px;
	padding-top: 2px;
	height: 18px;
	line-height: 18px;
}

#sidebar #sidebar_login input#log {
    background-image: url(img/username.png);
}

#sidebar #sidebar_login input#pwd {
    background-image: url(img/password.png);
}
	
#sidebar #rss a {
	width: 102px;
	height: 23px;
	background: url(img/rss.gif) 0 23px;
	display: block;
	margin-left: 14px;
}

#sidebar #rss a:hover {
	background-position: 0 0px;
}

#sidebar #rss a span {
	display: none;
}

/* Sidebar (Main Block) */

#sidebar_main {
	width: 237px;
	background: #020E11;
	padding-left: 20px;
	padding-right: 23px;
	padding-bottom: 30px;
}

/* Sidebar (About Block) */

.about {
	width: 100%;
	padding-bottom: 7px;
}

/* Sidebar (Search) */

#sidebar #search_block {
	width: 181px;
	height: 46px;
	background: url(img/search_bg.gif) no-repeat;
	overflow: hidden;
	position: relative;
	margin: 15px 0 3px 0;
}

#sidebar #search_block input.field {
	width: 135px;
	position: absolute;
	left: 10px;
	top: 6px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	color: #D7D6CC;
	background: transparent;
	border: none;
}

#sidebar #search_block input.submit {
	position: absolute;
	left: 150px;
	top: 3px;
}

/* Widget (calendar) */

#wp-calendar {
	width: 90%;
	padding: 0 0 0px 0;
	margin-bottom: 15px;
}

#wp-calendar caption {
	padding: 10px;
}

#wp-calendar th, #wp-calendar td {
	padding: 5px;
	text-align: center;
	background: #072C37;
}

#wp-calendar td {
	background: transparent;
}

#wp-calendar td, table#wp-calendar th {
	padding: 3px 0;
}

#wp-calendar a {
	text-decoration: underline;
}

#wp-calendar a:hover {
	text-decoration: none;
}

/* Widget (tag cloud) */

#tag_cloud {
	padding-bottom: 20px;
}

#tag_cloud h2 {
	margin-bottom: 15px;
}

/* Widget (clean archives reloaded) */

a.car-toggler {
	text-decoration: none;
	padding-right: 14px;
	background: url(img/clean_archives_reloaded.png) no-repeat top right;
}

/* Sidebar (Subscribe) */

#sidebar .subscribe {
	padding: 10px 8px 0 0;
	margin-bottom: -20px;
	*margin-bottom: -30px;
}

#sidebar .subscribe a {
	color: #666;
	font-size: 11px;
	padding-left: 16px;
	background: url(img/feed_small.png) no-repeat center left;
}

#sidebar .subscribe a:hover {
	color: #F90;
	background: url(img/feed.png) no-repeat center left;
}

#sidebar .subscribe a.entries_rss {
	float: left;
}

#sidebar .subscribe a.comments_rss {
	float: right;
}

/* Sidebar (Bottom) */

#sidebar_bottom {
	width: 100%;
	height: 16px;
	background: url(img/sidebar_bottom.gif) no-repeat top;
}

/* Footer */

#footer {
	width: 100%;
	padding-top: 40px;
	background: url(img/footer.gif) no-repeat 0 0;
}

#footer p {
	color: #818181;
	font-size: 11px;
	font-style: italic;
	width: 450px;
	padding-left: 100px;
}

#footer a {
	text-decoration: none;
	color: #AEAEAE;
}

#footer a:hover {
	text-decoration: underline;
}

#footer a#icp {
	font: 10px MingLiU;
	font-style: italic;
}

/* Fix */

#content_wrap:after,
#menu:after,
.comments_wrap:after {
    content: "."; 
    display: block;
	 height: 0;
    clear: both; 
    visibility: hidden;
}
