/*
	Theme Name: Simple China 
	Theme URI: http://www.alexander-tumanov.name/free/china-blog-wordpress-theme/
	Description: Simple China theme designed by <a href="http://www.alexander-tumanov.name/">Alexander Tumanov</a>. This blog theme for blogs about China, Business with China, culture of China or any China related blogs. Supported languages: English, Russian , Chinese.
	Version: 2.3
    License: GNU General Public License v2 or later
    License URI: http://www.gnu.org/licenses/gpl-2.0.html
	Author: Alexander Tumanov
	Author URI: http://www.alexander-tumanov.name/
	Tags: yellow,light, blue, dark, red, two-columns, fixed-layout, theme-options, right-sidebar
	
	The Simple China  Theme is copyright Alexander Tumanov http://www.alexander-tumanov.name/
	This work, like WordPress, is released under GNU General Public License, version 2 (GPL).
	http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
	
*/

* {
   margin:0;	
   padding:0; 
   list-style: none;
}

html,body { 
   font: 11px "Trebuchet MS";
   color: #000;
	background: url(images/bg.jpg);
}
 
 .aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.alignleft {
	float: left;
}

.alignright {
	float: right;
}


.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption-dd {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}


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

a:hover { 
   text-decoration: none;
}

a img {
	border: none;
}

/* pngfix */
img.png {
	behavior: url(pngfix.htc);
}
.bgpng {	
	behavior: url(pngbgfix.htc);
}


/* Layout
-------------------------- */
#wrapper {
   position: relative;
   width: 990px;
   margin: 0 auto;
	background: url(images/footer-bg.jpg) no-repeat bottom;
	overflow: hidden;
}

/* Header
-------------------------- */
#header { 
   width: 990px;
   height: 295px;
	float: left; 
}

	#head {
		float: left; 
		width: 990px;
	}
	
		#head div {
			float: left; 
			width: 990px;		
			height: 43px;
		}

	#header #logo {
		position: absolute; 
		top: 18px;
		left: 35px;
		height: 133px;
	}
	
		#header #logo-inner {
			float: left; 
			height: 133px;
			min-width: 293px;
		}
		
		#header #logo-r {
			float: right; 
			width: 30px;
			height: 133px;
		}
		
		/*#header #logo-r {
			*float: none;
		}
		*/
		#header h1 {
			text-align: center;
			margin: 20px -33px 0 0;
			padding: 0 25px;
			position: relative;
		}
		
			#header h1 a {
				font-size: 35px;
				color: #ee2b00;
				text-decoration: none;
			}
			
				#header h1 a:hover {
					text-decoration: none;
				}
		
		#header h2 {
			font-size: 18px;
			text-align: center;
			margin-right: -33px;
		}
	
	#header #feed {
		position: absolute; 
		top: 20px;
		right: 90px;
		display: block;
		width: 40px;
		height: 40px;
	}
	
	#mainmenu {
		width: 916px;
		height: 59px;
		/*float: left; */
		position: absolute;
		top: 237px;
		left: 37px;
	}
	
		#mainmenu ul {
			padding: 11px 0 0 30px;
		}
		
			#mainmenu ul li {
				float: left; 
				padding: 0 30px;
			}
			
				#mainmenu ul li a {
					color: #530b01;
					font-size: 21px;
					text-decoration: none;
				}
				
					#mainmenu ul li a:hover {
						color: #e20705;
					}


/* Container
-------------------------- */

#container { 
   width: 916px;
	float: left; 
	padding: 10px 0 80px 35px;
}

/* Content
-------------------------- */
#content {
	width: 727px;
	float: left; 
	padding-left: 15px;
	display: inline;
}


/* Post
-------------------------- */
.post {
	float: left; 
	margin-bottom: 50px;
	width: 727px;
}

	.post .title {
		position: relative;
		height: 121px;
		float: left; 
		width: 715px;
		margin: 0 6px;
		display: inline;
	}
	
		.post .title h2 {
			font-size: 24px;
			font-weight: normal;
			margin: 33px 100px 0 75px;
			line-height: 23px
		}
		
			.post .title h2 a {
				color: #000;
				text-decoration: none;
			}
		
			.post .title h2 a:hover {
				color: #53001b;
			}
		
		.post .title .date {
			position: absolute; 
			width: 70px;
			font-size: 16px;
			color: #f4b300;
			text-align: center;
			font-weight: bold;
			top: 33px;
			left: 0;
		}
		
			.post .title .date strong {
				display: block;
				color: #fad800;
				font-size: 19px;
				margin-top: -3px;
			}
			
		.post .title .comment-count {
			position: absolute; 
			top: 40px;
			right: 26px;
			width: 40px;
			text-align: center;
			font-size: 18px;
		}
		
	.post .post-inner {
		background: url(images/post-bg.jpg) repeat-y;
		float: left; 
		width: 715px;
		margin: 0 6px;
		display: inline;
		margin-top: -20px;
	}
	
	.post .entry {	
		background: url(images/post-entry-b.jpg) no-repeat bottom;
		width: 655px;
		padding: 0 30px 20px 30px;
		font-size: 13px;
		line-height: 20px;
		position: relative;
		min-height: 250px;
	}
	
	* html .post .entry {
		height: 250px;
	}
	
		.post .entry p {
			line-height: 20px;
			color: #555152;
		}
		
		.post .entry a {
			color: #b7a171;
		}

		.post img {
			border: 1px solid #000;
		}
		
		.post .entry ul {
			margin: 8px;
		}
		
			.post .entry li {
				margin-left: 15px;
			}
		
		.post .entry ul li {
			list-style: disc;
		}
	
		.post .entry ol li {
			list-style: decimal;
		}
		
	.post .entry input, .post .entry textarea {
		border: 1px solid #bfae88;
		padding: 3px;
		background: #f9f8f4;
		font: 12px "Trebuchet MS";
		color: #b7a171;
		margin: 4px 0;
		width: 285px;
	}
	
	#respond {
		margin-top: 50px;
	}
	
		#respond h3 {
			font-size: 22px;
			color: #b7a171;
			font-weight: normal;
			margin-bottom: 20px;
		}	
		
		h3#comments {
			font-size: 22px;
			color: #b7a171;
			font-weight: normal;
			margin: 45px 0 25px;
		}
		
		.commentlist li {
			list-style: none !important;
			margin: 0 0 40px 0 !important;
		}
		
			.commentlist .title-comment {
				font-size: 12px;
				line-height: normal;
				color: #bba678;
			}

			.commentlist .commentmetadata {
				color: #381f1d;
				margin-bottom: 12px;
				font-size: 11px;
			}
			
			.commentlist  .avatar { float: right; margin: 0 0 5px 5px; }
		
		#respond #submit {
			background: url(images/submit-but.gif);
			border: none;
			width: 190px;
			height: 27px;
			cursor: pointer;
		}
	
	.post .bottom {
		float: left; 
		/*height: 34px;*/
		min-height:30px;
		width: 727px;
		margin-bottom: -23px;
		position: relative;
		background:url(images/post-b.png) no-repeat;
	}
	
		.post .bottom li {
			/*line-height: 25px;*/
		}
	
			.post .bottom a {
				font-size: 12px;
			}
			
	
	.tags-box {
		height: 21px;
		position: relative;
		top: 13px;
		left: 24px;
		font-size: 11px;
		line-height: 21px;
		padding: 0 4px;
		width:600px;
	}
		
		.tags-entry { float: left; padding: 0 4px; }
		.tags-l { float: left; /*width: 4px;*/ height: 21px; }
		
		.tags-box li {
			float: left; 
			padding-right: 13px;
			
		}
	
		.tags-box a {
			color: #fff;
		}

		.page h2 {
			/*margin-left: 0px !important;*/
			
		}
		
		.page .post-inner {
			/*margin-top: -50px !important;*/
		}
		
		.page .title {
			height: 99px !important;
		}

#nav ul {
	padding-left: 10px;
}

	#nav li {
		padding-right: 15px;
	}
	
		#nav a {
			font-size: 14px;
			text-decoration: underline;
		}
		
		#nav a:hover {
			color: #ee2b00;
		}

/* SideBar
-------------------------- */
#sidebar { 
   width: 152px;
	float: right;
	padding: 8px 5px 0 0;
}

	#sidebar li {
		margin-bottom: 35px;
		/*width: 152px;
		float: left; */
	}
	
		#sidebar li h2 {
			height: 21px;
			color: #fff;
			text-transform: uppercase;
			font-size: 15px;
			line-height: 21px;
			padding-left: 7px;
		}
		
		#sidebar li ul {
			padding: 5px 0 0 15px;
		}

		#sidebar li ul li {
			padding: 3px 0;
			margin: 0;
		}
		
			#sidebar li ul li a {
				color: #000;
				font-size: 12px;
			}

/* Footer
----------------------- */
#footer { 
	color: #526373;
   width: 990px;
	float: left; 
	text-align: center;
	margin-top: -38px;
}

	#footer a {
		color: #fff;
	}
	
	
	
	/*   new styles */
	
	

.wp-caption-text {
	-webkit-box-sizing: border-box;
	-moz-box-sizing:    border-box;
	box-sizing:         border-box;
	font-size: 12px;
	font-style: italic;
	line-height: 1.5;
	margin: 9px 0;
}

div.wp-caption .wp-caption-text {
	padding-right: 10px;
}

div.wp-caption.alignright img[class*="wp-image-"],
div.wp-caption.alignright .wp-caption-text {
	padding-left: 10px;
	padding-right: 0;
}


.sticky .entry-date {
	display: none;
}



/**
 * 6.5 Gallery
 * -----------------------------------------------------------------------------
 */

.gallery {
	margin-bottom: 20px;
}

.gallery-item {
	float: left;
	margin: 0 4px 4px 0;
	overflow: hidden;
	position: relative;
}

.gallery-columns-1 .gallery-item {
	max-width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 48%;
	max-width: -webkit-calc(50% - 4px);
	max-width:         calc(50% - 4px);
}

.gallery-columns-3 .gallery-item {
	max-width: 32%;
	max-width: -webkit-calc(33.3% - 4px);
	max-width:         calc(33.3% - 4px);
}

.gallery-columns-4 .gallery-item {
	max-width: 23%;
	max-width: -webkit-calc(25% - 4px);
	max-width:         calc(25% - 4px);
}

.gallery-columns-5 .gallery-item {
	max-width: 19%;
	max-width: -webkit-calc(20% - 4px);
	max-width:         calc(20% - 4px);
}

.gallery-columns-6 .gallery-item {
	max-width: 15%;
	max-width: -webkit-calc(16.7% - 4px);
	max-width:         calc(16.7% - 4px);
}

.gallery-columns-7 .gallery-item {
	max-width: 13%;
	max-width: -webkit-calc(14.28% - 4px);
	max-width:         calc(14.28% - 4px);
}

.gallery-columns-8 .gallery-item {
	max-width: 11%;
	max-width: -webkit-calc(12.5% - 4px);
	max-width:         calc(12.5% - 4px);
}

.gallery-columns-9 .gallery-item {
	max-width: 9%;
	max-width: -webkit-calc(11.1% - 4px);
	max-width:         calc(11.1% - 4px);
}

.gallery-columns-1 .gallery-item:nth-of-type(1n),
.gallery-columns-2 .gallery-item:nth-of-type(2n),
.gallery-columns-3 .gallery-item:nth-of-type(3n),
.gallery-columns-4 .gallery-item:nth-of-type(4n),
.gallery-columns-5 .gallery-item:nth-of-type(5n),
.gallery-columns-6 .gallery-item:nth-of-type(6n),
.gallery-columns-7 .gallery-item:nth-of-type(7n),
.gallery-columns-8 .gallery-item:nth-of-type(8n),
.gallery-columns-9 .gallery-item:nth-of-type(9n) {
	margin-right: 0;
}

.gallery-columns-1.gallery-size-medium figure.gallery-item:nth-of-type(1n+1),
.gallery-columns-1.gallery-size-thumbnail figure.gallery-item:nth-of-type(1n+1),
.gallery-columns-2.gallery-size-thumbnail figure.gallery-item:nth-of-type(2n+1),
.gallery-columns-3.gallery-size-thumbnail figure.gallery-item:nth-of-type(3n+1) {
	clear: left;
}

.gallery-caption {
	background-color: rgba(0, 0, 0, 0.7);
	-webkit-box-sizing: border-box;
	-moz-box-sizing:    border-box;
	box-sizing:         border-box;
	color: #fff;
	font-size: 12px;
	line-height: 1.5;
	margin: 0;
	max-height: 50%;
	opacity: 0;
	padding: 6px 8px;
	position: absolute;
	bottom: 0;
	left: 0;
	text-align: left;
	width: 100%;
}

.gallery-caption:before {
	content: "";
	height: 100%;
	min-height: 49px;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
}

.gallery-item:hover .gallery-caption {
	opacity: 1;
}

.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
	display: none;
}



/* Genericons */

.bypostauthor > article .fn:before,
.comment-edit-link:before,
.comment-reply-link:before,
.comment-reply-login:before,
.comment-reply-title small a:before,
.contributor-posts-link:before,
.menu-toggle:before,
.search-toggle:before,
.slider-direction-nav a:before,
.widget_twentyfourteen_ephemera .widget-title:before {
	-webkit-font-smoothing: antialiased;
	display: inline-block;
	font: normal 16px/1 Genericons;
	text-decoration: inherit;
	vertical-align: text-bottom;
}

/* Separators */

.site-content span + .entry-date:before,
.full-size-link:before,
.parent-post-link:before,
span + .byline:before,
span + .comments-link:before,
span + .edit-link:before,
.widget_twentyfourteen_ephemera .entry-title:after {
	content: "\0020\007c\0020";
}
	
	
	
/*  removed from templates  */

#content .post{ background:url(images/post-shadow.png);}

#content .title{ background:url(images/post-t.png);}

#content .tags-entry{ background:url(images/tags-bg.png);}
	
.sbtitle { background:url(images/sidebar-h2.png);}




.postthumb
{
	float: left;
	margin: 0 15px 15px 15px;
}

.sub-menu
{
	display: none;
	
}

pre {
border: 1px solid rgba(0, 0, 0, 0.1);
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
margin-bottom: 24px;
max-width: 100%;
overflow: auto;
padding: 12px;
white-space: pre;
white-space: pre-wrap;
word-wrap: break-word;
}


.post .entry img{
	margin:10px;
	max-width: 100%;
	height: auto;
}

.post .entry .wp-caption img{
	margin: 0px;
	height: auto;
	display: block;
	max-width: 100%;
}

.post .entry .wp-caption{
padding: 5px;
margin-bottom: 24px;
max-width: 100%;
}



table {
border-collapse: separate;
border-spacing: 0;
border-width: 1px 0 0 1px;
margin-bottom: 24px;
width: 100%;
}

table, th, td {
border: 1px solid rgba(0, 0, 0, 0.1);
}

td {
border-width: 0 1px 1px 0;
}

caption, th, td {
font-weight: normal;
text-align: left;
}

.entry  td, .comment-content td {
padding: 8px;
}

h1, h2, h3, h4, h5, h6 {
clear: both;
font-weight: 700;
margin: 36px 0 12px;
}


h1 {
font-size: 26px;
line-height: 1.3846153846;
}

h2 {
font-size: 24px;
line-height: 1;
}
h3 {
font-size: 22px;
line-height: 1.0909090909;
}

h4 {
font-size: 20px;
line-height: 1.2;
}

h5 {
font-size: 18px;
line-height: 1.3333333333;
}

h6 {
font-size: 16px;
line-height: 1.5;
}

p {
margin-bottom: 24px;
}


blockquote {
color: #767676;
font-size: 19px;
font-style: italic;
font-weight: 300;
line-height: 1.2631578947;
margin-bottom: 24px;
}

dl {
margin-bottom: 24px;
}

dt {
font-weight: bold;
}

dd {
margin-bottom: 24px;
}	

abbr[title] {
border-bottom: 1px dotted #2b2b2b;
cursor: help;
}

code, kbd, tt, var, samp, pre {
font-family: monospace, serif;
font-size: 15px;
-webkit-hyphens: none;
-moz-hyphens: none;
-ms-hyphens: none;
hyphens: none;
line-height: 1.6;
}

del {
color: #767676;
}

