/*
Theme Name: Китай
Theme URI: http://ninhao.ru/
Description: Шаблон для сайта «Китай»
Version: 1.0
Author: Алексей Ильин — www.alexilin.ru
*/

*{margin:0;padding:0}
body{font-family:Tahoma,Geneva,sans-serif;background:#F9E876}
table{border-collapse:collapse}
a img{border:none}
a{text-decoration:none}
a:hover{text-decoration:underline}
.center{text-align:center}
.alignleft{float:left;margin:0 10px 15px 0}
.alignright{float:right;margin:0 0 5px 10px}
.aligncenter{display:block;margin:25px auto 25px auto;clear:both}

#mainwrap{width:1002px;border-left:solid 1px #FF0201;border-right:solid 1px #FF0201;margin:0 auto;background:url(images/mainwrap-bg.png) repeat-y left top}
#wrap{background:url(images/wrap-bg.jpg) no-repeat left bottom}

#header{position:relative;height:198px;background:url(images/header-bg.jpg) no-repeat left top}
	#header h1{font:italic 0.9em Tahoma,Geneva,sans-serif;color:#580303;position:absolute;left:400px;top:80px;width:480px;text-align:center}
	#header #searchform{position:absolute;right:160px;top:138px;background:url(images/search-bg.png) no-repeat left center;padding:0 0 0 90px}
		#header #searchform #s{width:315px;height:16px;border:solid 4px #A90101;font:0.75em Tahoma,Geneva,sans-serif;padding:1px 2px 0 2px}

#content-wrap{background:url(images/content-wrap-bg.jpg) no-repeat left top;overflow:hidden;height:1%}

#content{float:left;width:533px;padding:52px 0 0 10px;position:relative}
	#content .content-block{background:url(images/content-block-bg.gif) repeat-y left top;height:1%}
	#content .content-block-top{background:url(images/content-block-top-bg.jpg) no-repeat left top;padding:15px 20px 1px 22px}
	#content .content-block-bottom{background:url(images/content-block-bottom-bg.png) no-repeat left top;height:20px;font-size:0}
	#content h2{margin-bottom:10px;font-size:1.5em;font-weight:normal}
	#content h2.pagetitle{color:#A90101;font-size:2em;position:absolute;top:5px;left:0;width:533px;text-align:center;font-weight:bold}
	#content p{margin-bottom:10px;font-size:0.75em}
	#content a{color:#F80610}
	#content ol, #content ul{margin-bottom:10px;padding-left:20px;font-size:0.75em}
		#content ol li, #content ul li{margin-bottom:5px}
	#content .post{margin-bottom:15px;clear:both;overflow:hidden;height:1%;background:url(images/post-bg.png) no-repeat center bottom;padding:0 0 40px 0}
		#content .post .postmetadata{margin-bottom:10px}
		#content .post .entry{padding:0 5px 0 0}

.comments{margin-bottom:10px}
	.comments .commentlist{list-style-type:none;margin-bottom:20px}
		.comments .commentlist li{margin-bottom:10px}
			.comments .commentlist li .commeta{overflow:hidden;height:1%}
				.comments .commentlist li .commeta .avatar{float:left;margin:0 5px 0 0}
				.comments .commentlist li .commeta address{font-style:normal;display:inline;font-weight:bold}
			.comments .commentlist li .comment{}
			.comments .commentlist li p{margin-bottom:5px;font-size:1.1em}
		.comments .commentlist cite, .commentlist cite a{font-weight:bold;font-style:normal}
	.comments .commentmetadata{font-weight:normal;display:block}
	.comments #commentform label .att{color:red}
	.comments #commentform .input{width:170px;padding:2px;margin:5px 5px 1px 0;border:solid 1px #423734;font:1em Tahoma}
	.comments #commentform textarea{width:480px;border:solid 1px #423734;font:1em Tahoma;padding:2px}
	.comments #commentform #submit{cursor:pointer}
	.comments #commentform p{margin:5px 0}

#sidebar1{width:244px;float:left;padding:10px 0 0 10px}
	#sidebar1 h2{margin-bottom:15px;font-size:1.2em;font-weight:normal;color:#FC0A21;text-align:center}
	#sidebar1 p{margin-bottom:10px;font-size:0.7em}
	#sidebar1 ul{font-size:0.75em}
	#sidebar1 #menu{background:url(images/pages-bg.png) no-repeat 99% bottom;padding:0 20px 20px 0}
		#sidebar1 #menu ul{list-style-type:none;margin-bottom:10px}
			#sidebar1 #menu ul li{font-size:1.6em}
				#sidebar1 #menu ul li a{color:#FDE96A;text-decoration:none;padding:0 0 0 18px}
				#sidebar1 #menu ul li a:hover{color:#F7102C;background:url(images/menu-marker.png) no-repeat left 10px}
	#sidebar1 #recent-posts ul{font-weight:bold;height:1%;list-style-type:none;background:url(images/recent-posts-bg.png) no-repeat center bottom;padding:0 0 30px 0}
		#sidebar1 #recent-posts ul a{display:block;padding:10px 15px;color:#000;height:1%}
		#sidebar1 #recent-posts ul a:hover{background:#C18627}
	#sidebar1 .sideblock{background:url(images/sideblock-bg1.png) repeat-y left top}
	#sidebar1 .widget{background:url(images/sideblock-top-bg1.png) no-repeat left top;padding:5px 10px 1px 7px}
	#sidebar1 .sideblock-bottom{background:url(images/sideblock-bottom-bg1.png) no-repeat left top;margin-bottom:10px;font-size:0;height:15px}

#sidebar2{width:168px;float:right;padding:10px 18px 0 0}
	#sidebar2 .sideblock{background:url(images/sideblock-bg2.png) repeat-y left top}
	#sidebar2 .sideblock-top{background:url(images/sideblock-top-bg2.png) no-repeat left top;padding:20px 13px 80px 15px}
	#sidebar2 .sideblock-bottom{background:url(images/sideblock-bottom-bg2.png) no-repeat left bottom;height:64px;margin-bottom:10px}
	#sidebar2 .widget{border-bottom:solid 1px #FB3533;padding:0 0 15px 0}
	#sidebar2 h2{margin-bottom:15px;font-size:1.2em;font-weight:normal;color:#FC0A21}
	#sidebar2 ul{font-size:0.75em;list-style-type:none}
	#sidebar2 p{font-size:0.75em}
	#sidebar2 a{color:#9A334E;font-weight:bold}

#footer{clear:both;padding:15px;text-align:center}
	#footer p{margin-bottom:5px;font-size:0.75em}
	#footer #banners{display:table;margin:0 auto}
		#footer #banners ul{list-style-type:none}
			#footer #banners ul li{display:inline}
.footer-item {
float: left;
width: 10%;
padding-bottom: 0px;
}
.footer-item ul {
padding-left: 0px;
}