/*
Theme Name: MxS2
Theme URI:http://axiu.me/learning_notes/theme_mxs2/
Description: A theme in black and white,5 widgets/thumbnail/custom-menu supported, custom header-image/custom background and 2 post-formats available, no plugins required, used for WordPress 3.0+.
Version: 1.2.2
Author: Axiu
Author URI: http://axiu.me/
Tags: white, black, two-columns, threaded-comments, right-sidebar, post-formats
License: GNU General Public License v2.0
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

body{
	font: 13px/1.231 "Lucida Sans Unicode", "Lucida Grande", sans-serif ,\5b8b\4f53;
	font-size:small;
}
select,input,button,textarea{
	font:99% arial,helvetica,clean,sans-serif;
}
table{
	font-size:inherit;
	width:60%;
}
pre,code,kbd,samp,tt{
	font-family:monospace;
	font-size:108%;
	line-height:100%;
}
/*Global layouts*/
body {
	margin:0;
	padding:0;
	text-align: center;
	background:#f8f8f8;
}
h1, h2, h3, h4, h5, h6 {
	font-weight: normal;
}
h1{
	font-size:165%;
}
h2{
	font-size:145%;
}
h3{
	font-size:125%;
}
h4{
	font-size:105%;
}
h5{
	font-size:95%;
}
h6{
	font-size:75%;
}
#header {
	position: relative;
	text-align: left;
	}
#content {
	width: 1000px;
	margin-right: auto;
	margin-left: auto;
	padding-bottom:20px;
	text-align: left;
	z-index:0
}
#footer{
	text-align: left;
	padding:0 20px 0 20px;
	background:#fff;
	border-top: 1px solid #eee;
}
#main {
	width: 670px;
	float: left;
}
#sidebar {
	width: 320px;
	float: left;
	clear: right;
	padding-top:20px;
}
a {
	color:#76B2C4;
	text-decoration:none;
}
:focus {
    outline: 0;
}
a:hover{
	color:#C30;
}
a:link,a:visited{
	-webkit-transition:all .3s;
	-o-transition:all .3s;
	-moz-transition:all .3s;
}

::-moz-selection{background:#B81D34;color:#fff;}
::selection {background:#B81D34;color:#fff;}
code::-moz-selection {background:#B81D34;color:#fff;}
code::selection {background:#B81D34;color:#fff;}

blockquote {
	margin: 20px 0 20px 15px;
	padding: 8px 10px 5px 10px;
	border: 1px solid #E1E1E1;
	color: #444;
	background:#FAFAFA;
}
blockquote  p {
	margin-top: 5px;
	margin-bottom: 5px;
}
pre {
	padding: 15px 20px;
	margin:10px 0;
	overflow: auto;
	width: 90%;
}
code{
  color: #100;
  background:#f9f9f9;
  border: 1px solid silver;
  margin: 0 0 1.5em 0;
  padding:2px 3px;
  overflow: auto;
}
table {
	margin: 1em 0;
	border: 1px solid #ccc;
	background-color: #fff;
}
table th{
	background-color:#eee;	
}
table td{
	border-right:1px solid #eee;
	border-bottom:1px solid #eee;
}
em {
	font-weight: bold;
	font-style: italic;
}
strong {
	font-size: 109%;
	font-weight:bold;
}
ol li{
	margin-left:10px;
}

/*header*/
#header .container{
	width:1000px;
	margin:0 auto;
}
#header .siteName{
	overflow:hidden;
    margin: 0 0 10px 15px;
	font-size:205%;
}
#header .siteName a{
	margin-top:25px;
	display:block;
}
#header .siteName .logo_img{
	height:100px;
	margin-top:15px;
}
#header .description {
	color:#666;
	font-size: 100%;
	padding:10px 0 0 0;
	margin: 15px 0 1px 15px;
}
.description span{
	font-size:350%;
	position:absolute;
	margin-left:-35px;
	margin-top:-23px;
	color:#76B2C4;
}
/*global Navi*/
#globalNavi{
	height:45px;
	margin-top:25px;
	border: 1px solid #E1E1E1;
	background-color: #f1f1f1;

}
#globalNavi .menu{
	width: 65%;
}
#globalNavi ul {
	margin: 0;
	float:left;
	border-left:1px solid #E1E1E1;
	padding-left:0px;
}
#globalNavi ul li {
	margin:0;
	float:left;
	list-style:none;
	border-right:1px solid #E1E1E1;
	border-bottom:1px solid #E1E1E1;
	text-align: center;
	position: relative;
}
#globalNavi ul li.current_page_item:hover{
	background:none;
}
#globalNavi ul li.current_page_item a,#globalNavi ul li a:hover {
	color:#000;
}
#globalNavi ul li a {
	color:#777;
	font-size:90%;
	line-height:21px;
	text-decoration: none;
}
#globalNavi a {
	color: #aaa;
	display: block;
	line-height: 38px;
	padding: 12px 20px;
	text-decoration: none;
}
#globalNavi ul ul {
	display: none;
	position: absolute;
	z-index: 99;
	border:none;
	float: left;
	padding-left:0;
	margin-top: 1px;
}
#globalNavi ul ul li {
	min-width: 180px;
	margin: 0;
	border: 1px solid #ccc;
	display: block;
	float: none;
	white-space: nowrap;
	margin-top: -1px;
}
#globalNavi ul ul ul {
	left: 100%;
	top: -2px;
	position: absolute;
	border-top: 1px solid #e1e1e1;
}
#globalNavi ul ul a {
	background: #e3e3e3;
	line-height: 1em;
	padding: 10px;
	height: auto;
}
#globalNavi li:hover > a,
#globalNavi ul ul :hover > a {
	color: #000;
}
#globalNavi ul li:hover > ul {
	display: block;
}



#globalNavi #searchform{
	float:right;
	margin-right:10px;
}
#header #searchform #gs{
	cursor: pointer;
	width:45px;
	height:44px;
	border-width:0 1px 0 0;
	border-color:#E1E1E1;
	background:#fff;
	color:#aaa;
	display:block;
}
#searchform #gs:active{
	border-color:#EAEAEA;
	background:#CDCDCD
}
#globalNavi #searchform .screen-reader-text{
	display:none;
}
#globalNavi #searchform input#s{
	background: #FFF;
	padding: 15px 0 15px 15px;
	float:left;
	border-width:0 0 0 1px;
	color:#aaa;	
	border-color:#E1E1E1;
	height: 15px;
	width: 110px;
    -webkit-transition-duration: 400ms;
    -webkit-transition-property: width, background;
    -webkit-transition-timing-function: ease;
    -moz-transition-duration: 400ms;
    -moz-transition-property: width, background;
    -moz-transition-timing-function: ease;
    -o-transition-duration: 400ms;
    -o-transition-property: width, background;
    -o-transition-timing-function: ease;
}
#globalNavi #searchform input#s:focus {
    width: 237px;
}
/*info*/
/*textbody and related*/
.entry-title{
	color:#000;
}
.entry-title a{
	color:#000;
	z-index: 2;
	position: relative;
	background: #fff;
}
.format-quote .entry-title, .format-video .entry-title{
	display:none
}
a.formatlink{
	overflow:hidden;
	margin-top:-15px;
	color:#fff
}
a.formatlink:hover .formatlabel{
	padding-top:7px;
}
.formatlabel{
	position: absolute;
	padding:3px 5px 3px 5px;
	border-radius:0 0 4px 4px;
	margin-top:-15px;
}
.format-quote .formatlabel{
	background:#607890;
}
.format-video .formatlabel{
	background:#333;
}
h2.entry-title{
	font-size:130%;
	padding-bottom:5px;
	margin:10px 0 5px 0;
}

a.post-thumb{
	padding:1px;
	float:left;
	border: 5px solid #E8E7E5;
	margin:10px 10px 10px 0;
}
.single h1.entry-title{
	margin:15px 0;
	font-size:165%;
}
#content .post{
	margin:20px 0 0 0;
	padding:15px 15px 40px 15px;
	border-top:1px solid #f1f1f1;
	border-bottom:2px solid #e6e6e6;
    overflow:hidden;
	color:#4F4F4F;
	background-color:#fff;
	line-height:20px;
}
#content .sticky {
	color:#000;
}
.home .post .indexentry{
	line-height:20px;
	margin:0;
	padding:5px 0 0 0;
}
.indexentry p{
	margin:10px 0 0 0;
}
.indexentry blockquote{
	margin-bottom:0;
}
.indexentry .pages{
	margin:15px 0 0 0;
}
.post img{
	max-width:585px;
	height:auto;
}

.single .entry a img{
	background: #EEE;
	padding:5px 4px;
	margin:0 3px 0 0;
}
.attachment .entry{
	text-align:center;
}
.more-read{
}
.more-read  a{
    padding-left:3px;
	font-family:"Microsoft YaHei";
    font-weight:bold;
	line-height:30px;
	padding:0 10px;
	color:#fff;
	background-color:#333;
	height:30px;
	float:right;
	display:block;
	margin:10px -15px -40px 0
}
.more-read a span{
	display:none;
	padding-right:5px
}
.more-read  a:hover span {
	display:inline;
}
#content .post .hentry  .gallery{
	width:98%;
	overflow:hidden;
}
.hentry .gallery a{
	display:block;
	margin-right:15px;
}
.hentry .gallery img{
	border:none;
	width:100%;
	padding:0;
	margin:0;
}
/*entry info*/
#content .post  .info {
    font-size:90%;
	overflow:hidden;
	padding:5px 0;
}
.singleinfo{
	font-size:90%;
	color:#999;
	padding-top:5px;
	overflow:hidden;
}
#content .postinfo{
	float:left;
	color: #999;
	padding: 3px 2px 3px 0;
}
.separator{
	margin-left:2px;
	font-weight:bold;
	color:#999;
}
#content .post  .infobottom {
	font-style: italic;
        font-size:90%;
}	
.infobottom .tags{
	color:#999;
}
#content .related{
margin:0px;
padding:20px;
}
#content .related ul{
overflow:hidden;
}
#content .related span{
display:block;
font-style: italic;
font-weight:bold;
margin:0 0 20px 0;
}
#content .related li{
float:left;
padding-left:18px;
width:45%;
margin:3px 0;
display:block;
white-space: nowrap;
}
#flip1 {
	padding: 0;
	margin:30px 0 0 540px;
	position: absolute;
	color:#bbb;
}
#flip1 li {
	margin: 0;
	display: inline;
	font-size: 92%;
}
#flip1 li a {
	padding: 0 5px;
	background-repeat: no-repeat;
	text-decoration: none;
}
#content .flip{
width:100%;
overflow:hidden;
padding:10px 0;
margin:0;
}
#content .prevpost{
	float:left;
}
#content .nextpost{
	float:right;
}
/*page navi*/
.page_navi {
	margin-top:20px;
	margin-right:0;
	padding-right:0;
	float: right;
	overflow:hidden;
}
.single .page_navi{
	padding:3px; 
	margin: 3px;
}
.page_navi span, .page_navi a, .page_navi a:link {
	padding:3px 5px;
	margin-left:8px;
	background:#fff;
	height:15px;
	float:left;
	border-bottom:2px solid #ddd;
}
.single .page_navi span, .single .page_navi a{
	border-bottom:none;
}
.page_navi .current {
	COLOR: #fff;
	BACKGROUND-COLOR: #000;
}
/*Page style*/
#content #flip2{
	list-style-type: none;
	padding:5px;
	margin-bottom:15px;
	background-color: #f5f5f5;
}
#content #flip2 li{
	color: #000;
	padding-bottom:15px;
	color: #999;
}
/* Newer | Older */
/*Comments*/
/*Comment form*/
 #submit{
	padding: 5px 10px;
	border: none;
	font-size: 85%;
	font-weight: bold;
	text-transform: uppercase;
	color: #fff;
	background: #666;
}
#submit:hover {
	color:#B81D34;
	background: #eee;
}
input,
textarea {
	padding: 0.2em;
	border-width: 1px;
	border-style: solid;
	border-color: #ccc;
	background-color: #fff;
}
input:hover,
textarea:hover {
	border-color: #999;
}
textarea {
	padding: 0.5em 10px;
}
/*comments style*/
#commentsx{
	overflow:hidden;
}

.depth-1 {
}
.commentlist {
	margin:0px;
	padding:0;
	list-style:none;
}
#respond{
	margin-left:10px;
	overflow:hidden;
 }
#respond .cancel-comment-reply{
	background: #EEE;
	border: none;
	color: white;
	font-size: 85%;
	font-weight: bold;
	padding: 5px 10px;
	margin-bottom:-5px;
	right: 0px;
	top:-10px;
	text-transform: uppercase;
}
#respond input{
	float:left;
}
#respond textarea{
	width:75%;
}
.nocomments{
	display:none;
}
.comment-form-comment label,.form-allowed-tags{
	display:none;
}
#respond label{
	margin-left:5px;
}
.commentlist .bypostauthor {
}
.commentlist #respond{
	margin: 1em 0px 0px 16px;
}
.commentlist li {
	padding:10px 25px 10px 0px;
	margin-left:0;
}
.commentlist li.depth-1{
	border-top:1px solid #e3e3e3;
}
.commentlist li  .message_head{
	line-height:25px;
}
.commentlist li span.date{
	color: #bbb;
}
.commentlist li span.name a {
	margin-right: 0.5em;
}
.commentlist li span.name a:hover{
	color:#333;
}
.commentlist li span.reply{
	display: block;
	position:absolute;
	right:30px;
	text-decoration:none;
	padding: 3px;
}
.avatarx {
	float:left;
	clear: left;
	margin-right:10px;
}
.commentlist li span.cmt_text{
	padding-bottom: 3px;
}
.commentlist li span.cmt_text p img{
	border:none;
	padding: 0px;
}
.commentlist span.cmcount a{
	font-family:Candara;
	font-size: 170%;
	float:left;
	position:absolute;
	margin-left:-50px;
}
.commentlist li span.cmcount a:hover{
	color:#333;
}
.commentlist .children {
	list-style: none;
	margin: 0 0 0 30px;
	padding:0 0 0 10px;
	border-left: 1px solid #EEE;	
}
.commentlist   ul.children li span.avatarx img{
	width:32px;
	height:32px;
}
#comments,#trackback {
	padding: 1px 0;
}
#commentform{
	color:#999
}
#email, #author, #url {
width: 48%;
margin: 0;
padding: 3px 3px 3px 10px;
}
.required{
	color:red
}
#comments{
	background:#fff;
	border-top: 1px solid #F1F1F1;
	border-bottom: 2px solid #E6E6E6;
	padding:15px;
	position:relative
}
#comments .page_navi{
	margin-top:-25px;
}
#comments h2,
#trackback h2 {
	padding: 0.5em 0;
	margin:0;
	border: none;
	font-size: 116%;
	color: #333;
}
#trackback dl.log{
	margin-left:25px;
}
#trackback dl.log dt {
	margin: 0.8em 0 0;
	font-weight: bold;
}
#trackback dl.log dt span.name {
	color: #000;
}
#trackback dl.log dt span.date {
	margin-left: 10px;
	color: #666;
	font-weight: normal;
}
#trackback dl.log dd {
	margin: 0;
	padding: 5px 0 10px 10px;
	border-bottom: 1px solid #eee;
	color:#727272;
}
#trackback dl.log dd p {
	margin: 0;
}
/*sidebar*/
#sidebar a{
	color:#767575;
}
#sidebar a:hover{
	color:#3E3E3E;
}
#sidebar ul {
	margin:0 0 0 20px;
	padding:0;
	line-height:24px;
	list-style: none;
	overflow:hidden;
}
#sidebar .widget-container{
	background:#fff;
	padding:10px;
	border-top: 1px solid #F1F1F1;
	margin-bottom:20px;
}
.widget_search{
	text-align:center
}
.widget_search input{
	margin:0;
	padding:8px 5px;
}
.widget_search #gs{
	margin-left:-5px;
	padding:8px 10px;
}
#sidebar span,.widgettitle{
	color:#333;
	margin-top:0;
	margin-bottom:0;
	font-size:115%;
	display:block;
	font-family:"Lucida Sans Unicode","Microsoft YaHei", "Lucida Grande", sans-serif;
}
.widget-container div{
	padding:0;
}
#sidebar .widget-container ul li{
	padding:4px 0;
	list-style:square inside;
	padding-left: 10px;
	color: #888888;
}
#sidebar .widget-container ul li:hover{
	background:#f9f9f9;
}
#sidebar ul li ul {
	overflow:hidden;
	list-style: none;
	margin:0;
}

/*footer*/
#footer-widget-area {
	color:#424242;
	overflow: hidden;
	border-bottom: 1px solid #E1E1E1;	
	margin:0 auto;
	padding:20px 0;
	width:1000px
}
#footer-widget-area .widget-area {
	float: left;
	margin-right: 20px;
	width: 220px;
}
#footer-widget-area #fourth {
	margin-right: 0;
}
#footer-widget-area .widgettitle{
	background:none;
	padding:0 0 10px 0;
	border-bottom:1px solid #e3e3e3
}
#footer-widget-area ul{
	margin:10px 0 0;
	padding:0;
}
#footer-widget-area li {
	list-style:none;
	padding:4px 0;
}
#footer-widget-area ul ul li{
	list-style:square inside;
	border-bottom:1px solid #eee;
	padding: 6px 0;
	color:#999
} 
#footer-widget-area a{
	color:#767575;
}
#footer-widget-area a:hover{
	color:#3e3e3e;
}
#footer p.support{
	text-align:right;
	margin:0 auto;
	padding:20px 0;
	width:1000px
}
#footer p.copyright{
	text-align:right;
	margin:0 auto;
	padding:20px 0 0;
	width:1000px
}
#footer p.support a{
	color:#6497A6;
}
/*IE6*/
#main {
	overflow: hidden;
}
.count {
	color: #999;
}
/* Clearfix*/
.clear{
	clear: both;
	float: none;
}
#content {
	min-height: 1px;
}
#content:after {
	height: 0;
	visibility: hidden;
	content: ".";
	display: block;
	clear: both;
}
/* Captions */
.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.alignleft {
	margin:0 5px 0 0;
	float:left;
}
.alignright {
	margin:0 0 0 5px;
	float:right;
}
.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	max-width:605px;
	padding:2px;
	margin:20px 0;
	overflow: hidden;
}
.post .hentry  .wp-caption .wp-caption-text {
	margin: 5px;
	color: #888;
	font-size: 12px;
}
.post .hentry  .gallery .gallery-caption {
	color: #888;
	font-size: 12px;
	margin: 0 0 12px;
}
.wp-caption img {
	margin: 5px 0 0 0;
	padding: 0;
	border: 0 none;
}
.wp-caption-dd {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}