/* Reset browser defaults */
@import url('reset.css');

/* -----------------------------common----------------------------- */
html {
	overflow-y: scroll;
}
header, nav, section, article, figure, aside, footer {
	display: block;	
}
body {
	font-size: 12px;
	font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Helvetica, Arial, sans-serif;
	color:#636B75;
	line-height:1.5;
}

a {
color:#199ADB;
text-decoration:none;
}
a:hover {
text-decoration:underline;
}

#wrapper {
	width: 950px;
	margin:40px auto 20px;
}

.clear {
	clear:both;
	height:0;
	overflow:hidden;
}

/* -----------------------------header----------------------------- */
#header {
height:133px;

}
#header h1 {
	height:57px;
	font-family:"Microsoft YaHei",sans-serif;
	font-weight:bold;
	text-shadow:1px 1px 0 #061E4A;
}
#header h1 a {
	font-size:36px;
	text-decoration:none;
}
#header .description{
	font-size:16px;
	margin-bottom:10px;
}

/* -----------------------------topmenu----------------------------- */
#topmenu {
	_margin-top:21px;
	*+margin-top:21px; 
	padding:0 20px;
}
#topmenu li {
	float:left;
	margin-right:10px;
}
#topmenu li a {
	display:block;
	padding:4px 8px;
	text-decoration:none;
	font-weight:bold;
	-webkit-border-top-left-radius: 4px;
	-webkit-border-top-right-radius: 4px;
	-moz-border-radius-topleft: 4px;
	-moz-border-radius-topright: 4px;
}
#topmenu li a:hover {
	text-decoration:underline;
}
#topmenu li a.current {
	background:#FFF;
	color:#199ADB;
}

/* -----------------------------footer----------------------------- */

#footer{
	margin:20px 0 30px 0;
	text-align:center;
	color:#666666;
}

/* -----------------------------sidebar----------------------------- */

aside section {
margin-bottom:18px;
padding:0 13px 13px;
width:189px;
}
aside section h3 {
color:#999;
font:bold 18px Arial;
margin:0 -13px 18px;
padding:7px 13px;
text-shadow:-1px -1px 0 #7E8FA8;
}
aside section ul {
list-style-type:none;
margin:0;
}
aside section ul li {
line-height:24px;
margin:0;
padding:0;
text-shadow:1px 1px 0 #FFFFFF;
}
#search {
margin-bottom:18px;
padding:13px 13px 0;
position:relative;
width:189px;
}
#search fieldset {
border:medium none;
margin:0 -13px;
padding:0 13px 13px;
}
#search .text {
margin:0;
}
#search .text input {
width:115px;
border:2px solid #BFE9FB;
_border:1px solid #BFE9FB;
*+border:1px solid #BFE9FB;
}
input, textarea {
-moz-border-radius:2px 2px 2px 2px;
}
input, textarea {
font-size:12px;
padding:2px;
}
#search .buttons {
margin:0;
position:absolute;
right:10px;
top:11px;
}
/* -----------------------------main containers----------------------------- */

#main {
	background:url("../images/bg_body-right.jpg") no-repeat scroll 683px top #FFFFFF;
	padding:20px;
	overflow:hidden;
}
#main .center {}
#main .left {
display:inline;
float:left;
margin-left:10px;
margin-right:10px;
overflow:hidden;
position:relative;
width:640px;
}
body aside {
	overflow:hidden;
	float:right;
	width:220px;
}

/* -----------------------------main top nav----------------------------- */

.main-nav{
	background:#d1c7b7;
	padding:8px 10px;
	position:relative;
	margin-bottom:20px;
	color:#6c4c49;
	font-weight:bold;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
}

/* -----------------------------post box----------------------------- */

.post-box{
	margin-bottom:20px;
	padding-bottom:16px;
	border-bottom:#dddddd 1px solid;
}
.post-box h2.title{
	font-size:18px;
	margin-bottom:4px;
}
.post-box .meta{
	color:#666666;
	margin-bottom:16px;
}
.post-box .meta span{
	border-right:#dddddd 1px solid;
	padding-right:4px;
	margin-right:4px;
}
.post-box .meta span a{
	color:#666666;
	text-decoration:underline;
	margin-right:4px;
}

/* -----------------------------post list----------------------------- */

.post-list{}
.post-list li{
	margin-bottom:20px;
}
.post-list h2.title{
	font-size:14px;
	margin-bottom:10px;
	border-bottom:#dddddd 1px solid;
}
.post-list .meta{
	color:#666666;
	float:right;
	width:200px;
}
.post-list .meta span{
	display:block;
}
.post-list .content{
	float:left;
	width:400px;
	padding-right:20px;
	border-right:#dddddd 1px dashed;
}

/* -----------------------------comments list----------------------------- */

.comments {}
.comments h3{
	font-size:16px;
	margin-bottom:20px;
}
.comments ol li{
	background:#E8ECED;
	padding:16px;
	margin-bottom:20px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
}
.comments ol li img.gravatar{
	float:left;
	margin-right:16px;
	width:50px;
	height:50px;
}
.comments ol li .content-box{
	width:500px;
	float:left;
}
.comments ol li .meta{
	margin-bottom:10px;
	font-weight:bold;
}
.comments ol li .content{}

/* -----------------------------comment form----------------------------- */

.respond {}
.respond h3{
	font-size:16px;
	margin-bottom:20px;
}
.respond .error{
	background:#d71345;
	padding:8px 10px;
	margin-bottom:20px;
	font-weight:bold;
	color:white;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
}
.respond .done{
	background:#1d953f;
	padding:8px 10px;
	margin-bottom:20px;
	font-weight:bold;
	color:white;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
}

/* -----------------------------form container----------------------------- */

.form-container{}
.form-container li{
	margin-bottom:10px;
}
.form-container input.text{
	font-size:12px;
	padding:4px;
}
.form-container textarea.textarea{
	font-size:12px;
	padding:4px;
}

/* -----------------------------page nav----------------------------- */

.pagenav {}
.pagenav .num,
.pagenav .words {
	margin-bottom:20px;
}
.pagenav .previous{
	float:left;
}
.pagenav .next{
	float:right;
}
.pagenav .num a{
	display:block;
	float:left;
	font-size:11px;
	border:#d9d6c3 1px solid;
	padding:2px 4px;
	margin-right:4px;
}
.pagenav .num a.current{
	background:#8a5d19;
	color:white;
}

/* -----------------------------entry----------------------------- */

.entry{
	line-height:1.7;
}
.entry p{
	margin-bottom:16px;
}

/* -----------------------------static pages----------------------------- */

.page-box {
	margin-bottom:20px;
}
.page-box p{
	margin-bottom:16px;
}
.page-box h2 {
	font-size:14px;
	margin-bottom:16px;
}
.page-box ul{
	list-style: circle;
	margin-left:20px;
	margin-bottom:16px;
}
.page-box li{
	padding-top:4px;
}
.page-box .download-button{
	display:block;
	float:right;
	padding:4px 12px;
	font-size:13px;
	line-height:1.4em;
	text-shadow:0 1px 0 black;
	background:url("../images/downbg.png") repeat-x scroll left top #21759B;
	color:white;
	font-weight:bold;
	-webkit-border-radius: 14px;
	-moz-border-radius: 14px;
}
.page-box .download-button:hover{
	text-decoration:none;
}



