/*
Theme Name: Moierby Blue
Description: 微软雅黑字体，web2.0特色，淡色调，集成了page-navigation，使用时请注意在header.php和sidebar.php中按个人所需修改默认设置
Version: 1.0
Author: Moierby
Author URI: http://Moierby.com/
Tags: blue, light, two-columns, simple, auto-width

*/

body {
	margin:0;
	background:#fff;
	color:#444;
	font-size: 75%; /* Resets 1em to 10px */
	font-family: 'Microsoft YaHei','Lucida Grande', Verdana, Arial, Sans-Serif;
	text-align:center;
}

::-moz-selection{
    background:#663399;
    color:#fff;
}
::selection {
    background:#663399;
    color:#fff;
}
code::selection {
    background:#663399;
    color:#fff;
}

a { 
	color:#258;
	text-decoration:none;
}

a:hover {
	text-decoration:underline; 
}

h1, h1 a, h2, h2 a, h3, h4, h5, h6 {
	margin-bottom:0;
	color:#27a;
	text-align:left;
}

h1 {font-size:2.6em;}
h2 {font-size:2em;}
h3 {font-size:1.6em;}
h4 {font-size:1.2em;}
h5 {font-size:1em;}
h6 {font-size:0.8em;}


img {
	border:0;
}

input {
	font-size:1.2em;
}

input[type=text], textarea{
	background:#fff;
	border:1px inset #aaa;
}
input[type=submit] {
	background:#eee;
	border:1px outset #aaa;
}

textarea {
	font-size:12px;
}

pre {
	font-size:12px;
	overflow:auto;
}
code {
	font-size:12px;
	background-color:#f8f8f8;
	color:#111;
}
.clear{
	clear:both;
}

/* Layout */
#page {
	min-width:960px;
	margin:0 auto;
	text-align:left;
}

#wrapper {
	margin:0 5%;
	padding-right:230px;
}

#content{
	float:left;
	width:96%;
	border-right:230px solid #fff;
	margin-right:-230px;
	padding:20px 4% 20px 0;
}

#sidebar{
	float:left;
	width:190px;
	margin:0 -233px 0 0;
	padding:20px;
	border-left:1px solid #ccc;
}


/* Header */

#header {
	margin:0;
	padding:2em 0;
	height:4.8em;
	background:url(images/head.gif) repeat-x left bottom;
}

#headertitle {
	float:left;
	position:absolute;
	top:2.4em;
	left:5%;
}
#headertitle h1 {
	margin:0;
}
#headertitle h1 a {
	background:transparent;
	color:#006699;
}
#headertitle h1 a:hover {
	text-decoration:none;
}

#headertitle p {
	margin:0;
	background:transparent;
	color:#069;
	font-size:1.1em;
}

.search {
	float:right;
	padding:4em 5% 0 0;
}
.search form {
	margin:0;
	padding:0;
}
.search input {
	display:inline;
	width:218px;
	border:1px solid #ccc;
	margin:0;
	_margin-right:-5px;
	padding:0.2em 5px;
	color:#ddd;
	font-size:1.1em;
}


/* Top navigation */
#navbar {
	border-top:0.1em solid #ccc; 
	border-bottom:0.1em solid #ccc; 
	height: 2.3em;
	margin: 0px;
	padding: 0px ;
	position:absolute;
	right:0;
	top:1em;
}


	
#nav {
	margin:0 1em;
	padding: 0;
	list-style: none;
	}
	
#nav ul {
	padding:0.1em 0 0 0;
	margin:0;
	list-style: none;
	background:transparent;
	}

#nav a {
	color:#006699;
	display: block;
	font-weight: bold;
	padding: 0.5em;
	}
	
#nav a:hover {
	background: #237ab2;
	color: #fff;
	display: block;
	text-decoration: none;
	padding: 0.5em;
}
#nav li.current_page_item a{
	background: #237ab2;
	color: #fff;
	display: block;
	text-decoration: none;
	padding: 0.5em;
}

#nav li {
	float: left;
	margin: 0;
	text-transform:uppercase;
	padding: 0 0.5em 0 0;
}
	
#nav li li {
	float: left;
	margin: 0;
	padding: 0;
	width: 14em;
}
	
#nav li li a, #nav li li a:link, #nav li li a:visited {
	background: #165279;
	color: #c6c8c9;
	width: 14em;
	float: none;
	margin: 0;
	padding: 0.5em ;
	border-bottom: 1px solid #aaa;
	}
	
#nav li li a:hover, #nav li li a:active {
	background: #237ab2;
	color: #fff;
	}

#nav li ul {
	position: absolute;
	width: 10em;
	left: -999em;
	}

#nav li:hover ul {
	left: auto;
	display: block;
	}
	
#nav li:hover ul, #nav li.sfhover ul {
	left: auto;
	}


/* Sidebar */


#sidebar ul {
	padding:0;
	margin:0;
	list-style: none;
	font-size:1.1em;
}
#sidebar ul ul {
	font-size:1em;
}

#sidebar ul li {
	margin:0 0 2em 0;
}

#sidebar ul ul {
	margin:0;
	padding:0;
	padding-left:20px;
}

#sidebar li li {
	margin:0.1em 0;
	list-style:circle;
}

#sidebar li li li {
	padding-left:10px;
}

#sidebar ul h2 {
	margin:0;
	padding:0;
	color:#4588c4;
	font-size:1.2em;
	text-transform:uppercase;
}


/* Footer */
#footer {
	clear:both;
	padding:10px;
	background:url(images/foot.gif) repeat-x left top;
}
#footer { 
	text-align:center;
	font-size:1em;
	color:#333;
}

#footer a {
	color:#006699;
}

/* Post */
.post {
	margin:0 0 3em 0;
	clear:both;
}

.post ol li, .post ul li{
	margin-top:0;
	font-size:1.2em;
	line-height:1.5em;
	text-align:justify;
}
.post p{
	margin-top:0;
	margin-bottom:0.5em;
	font-size:1.2em;
	line-height:1.5em;
	text-align:justify;
	text-indent:2em;
}
.post p img{
	border:1px solid #ddd;
	padding:5px;
	margin:5px;
}
.post li li {
	font-size:1em;
}
.post blockquote {
	padding-top:1em;
	padding-left:2em;
	padding-right:2em;
	border:0.1em solid #ccccd4;
	border-left:0.4em solid #ccccd4;
	font-size:1em;
	font-family:Tahoma,Verdana,"Microsoft YaHei";
	margin-left:0;
	background-color:#f2f3f7;
}
.post blockquote blockquote {
	margin-left:0;
	font-size:1em;
}
.post blockquote p {
	text-indent:0;
}

.posttitle{
	margin-bottom:0.6em;
}
.postentry a {
	border-bottom:1px solid #ddd;
}
.postentry a:hover {
	border-bottom:1px solid #258;
	text-decoration:none;
}

.postmetadata {
	clear:both;
	margin:1em 0;
	font-size:1.1em;
	color:#888;
	text-align:justify;
}

div.navigation {
	font-size:1.1em;
}
div.arti_link{
	background-color:#F2F3F7;
	border:1px solid #ccccd4;
	height:30px;
	padding:0 10px;
}

.postentry table {
	border-width:0 1px 1px 0;
	border-style:solid;
	border-color:#ccc;
	font-size:0.9em;
}


.postentry table tr td {
	padding:5px 10px;
	border-width:1px 0 0 1px;
	border-style:solid;
	border-color:#ccc;

}

.postentry table tr th {
	border-width:1px 0 0 1px;
	border-style:solid;
	border-color:#ccc;
	padding:5px 10px;
	background:#f4f4f4;
	color:#666;
	font-weight:bold;
	text-transform:uppercase;
	text-align:center;
}

/* Comments */

#comments {
	font-size:1.2em;
}

.commentlist {
	margin:20px 0;
	padding:0;
	border-width:0 0.1em 0.1em 0;
	border-color:#ddd;
	border-style:solid;
}

.commentlist li {
	list-style:none;
	margin:0;
	padding:0;
	border-width:0.1em 0 0 0.1em;
	border-color:#ddd;
	border-style:solid;
}

li.comment div, li.pingback div {
	padding:10px 20px;
	overflow:auto;
}

li.comment div div, li.pingback div div {
	padding:0;
	overflow:visible;
}

.commentlist li.even {
	background-color:#fafafa;
}

.commentlist li.odd {
	background-color:#eee;
}

ul.children li {
	list-style:none;
}

img.avatar {
	float:right;
	border:1px solid #ccc;
	padding:2px;
	margin:0;
	background:#fff;
}

.comment-meta, .reply {
	margin:0;
	padding:0;
	font-size:0.8em;
}
.comment-meta{
	
}

.comment-author cite {
	font-style:normal;
	font-weight:bold;
	font-size:1.2em;
}


textarea#comment {
	width:99%;

}

#comments div.navigation {
	font-size:0.9em;
}

/* Comment ends */


/* Calendar */
#wp-calendar caption {
	text-transform:uppercase;
	font-weight:bold;
	color:#aaa;
	text-align:left;
}
#wp-calendar thead th {
	font-weight:normal;
	color:#27a;
	text-align:center;
}
#wp-calendar tbody td {
	text-align:center;
}
#wp-calendar tbody td a {
	font-weight:bold;
}
#wp-calendar tbody td.pad {
	border:none;
}
/* Calendar ends */

abbr {
	cursor:help;
	border-bottom: 0.1em dotted;
}

.aligncenter,
div.aligncenter {
   display: block;
   margin-left: auto;
   margin-right: auto;
}

.alignleft {
   float: left;
   margin: 5px 5px 5px 0;
}

.alignright {
   float: right;
   margin: 5px 0 5px 5px;
}

.wp-caption {
   border: 1px solid #ddd;
   text-align: center;
   background-color: #f3f3f3;
   padding-top: 4px;
   margin: 10px;
}

.wp-caption img {
   margin: 0;
   padding: 0;
   border: 0 none;
}

.wp-caption p.wp-caption-text {
   font-size: 11px;
   line-height: 17px;
   padding: 0 4px 5px;
   margin: 0;
}


/* -------------------------- 
.widget_recent_entries li{
	list-style:circle;
}
.textwidget #ul_static{
	padding-left:17px;
}
#ul_static li{
	list-style:circle;
}
*/

.archive_result{
	border:1px solid #ff6600;
	margin:0;
	padding:10px;
	background-color:#ffc;
}
#respond{
	overflow-x:hidden;
	padding-top:2em;
}
.more-link{
	text-align:center;
	height:30px;
	display:block;
	text-align:center;
}

/* Page Navigation */ 
.page_navi{ float:left; width:100%; height:36px; line-height:36px; text-align:left; background:url(images/icon.png) no-repeat 0px -153px; overflow:hidden; } 
.page_navi span{float:left;width:120px;height:36px;display:block;line-height:36px;color:#999;} 
.page_navi span strong{color:#666;} 
.page_navi a{ padding:3px 7px !important; margin:2px; text-decoration:none !important; color:#454545 !important; border:1px solid #CCC !important; } 
.page_navi a:hover, .page_navi a.extend:hover{ color:#006699 !important; border:1px solid #006699 !important;} 
.page_navi a.extend{ padding-left:9px !important; margin:2px; color:#454545 !important; border:1px solid #CCC !important;} 
.page_navi a.current{ padding:3px 7px !important; margin:2px; color:#006699 !important; background-color:#b3bcd0 !important; border:1px solid #006699 !important;}

.runcode p{margin-bottom:4px;text-indent:0;}
.runcode p input{backgroung-color:#c9daf5;border:1px solid #ccc;}

h1,h2,h1 a,h2 a{text-shadow:1px 1px 3px rgba(50, 50, 50, 0.3);}


