/*
Theme Name: SanWen 2.0
Theme URI: http://sanwen.ru/
Description: Clean WordPress theme. A two-columned wordpress theme with featured posts. Fixed-width, two columns. In red-black-white colous.
Author: Le01evF
Author URI: http://sanwen.ru/
Version: 2.0
Tags: white, red, black, light, two-columns, left-sidebar, fixed-width, theme-options, threaded-comments
*/


/*  theme is licensed under the GPL  */

* {
	margin: 0; padding: 0;
}
body {
	text-align: center;
	font: 12px Verdana;
}
#all {
	width: 970px;
	margin: auto auto;
	text-align: left;
}
a {
	color: #800505;
	text-decoration: none;
}
a:hover {
	
	color: #990000;
}
img {
	border: 0;
}

.break {
	font-size: 0;
	width: 0; height: 0;
	clear: both;
}
.alignleft {
	float: left;
	margin: 4px 10px 5px 0;
}
.alignright {
	float: right;
	margin: 4px 0 5px 10px;
}
.aligncenter {
	text-align: center;
}
.hidden {
	display: none;
	
}

/** BEGIN wrapper **/
#wrapper {
	width: 970px;
	margin: auto auto;
	text-align: left;
	background:#FFFFFF;
}
/** END wrapper **/

/** BEGIN header **/
#header {
}
	#header .logo {
		float: left;
		padding: 30px 0 30px 20px;
	}
		#header .logo h1 {
			font-size: 3.4em;
			font-family:Impact;
		}
			#header .logo h1 a {
				text-decoration: none;
				color:#333;
			}
		#header .logo p {
			color: #777777;
			font-size: 1.8em;
		}
	#header .sear {
		float: right;
		padding: 30px 20px 0 0;
	}
	#header .pages {
		list-style-type: none;
		clear: both;
		height: 35px;
		overflow: hidden;
		width:100%;
		background:#800505;
	}
		#header .pages a {
			float: left;
			padding-right: 2px;
		}
		#header .pages a.right {
			float: right;
			margin-left: 2px;
		}
		#header .pages a {
			color: #fff;
			text-decoration: none;
			font-size: 0.9em;
			font-weight: bold;
			display: block;
			padding: 11px 14px;
		}
		#header .pages a:hover {
			color: #800505;
			background:#FFFFFF;
		}
	#header .categories {
		list-style-type: none;
		clear: both;
		overflow: hidden;
		width:100%;
	}
		#header .categories li {
			float: left;
			font-size: 0.9em;
		}
		#header .categories li a {
			text-decoration: none;
			display: block;
			padding: 10px 14px;
		}
		#header .categories li a:hover {
			text-decoration: underline;
		}
		#header .categories .left {
			float: left;
			width: 3%;
			border-top: 2px solid #333;
			border-bottom: 2px solid #333;
			height: 80px;
		}
		#header .categories .left p {
			text-align: right;
			font-size: 2.0em;
			margin-top: 15px;
		}
		#header .categories .center {
			float: left;
			width: 12%;
			height: 80px;
		}
		#header .categories .center p {
			text-align: center;
			font-size: 5.0em;
			margin-top: 7px;
			font-weight:bold;
			color: #800505;
		}
		#header .categories .right {
			float: right;
			width: 85%;
			border-top: 2px solid #333;
			border-bottom: 2px solid #333;
			height: 80px;
		}
		#header .categories .right p.ath {
			text-align: right;
			font-size: 1.0em;
			margin-top: 10px;
			margin-right: 20px;
			font-weight:bold;
		}
		#header .categories .right p.que {
			text-align: center;
			font-style: italic;
			font-size: 1.2em;
			margin-top: 10px;
		}
		#header .categories .right p.que-l {
			text-align: center;
			font-style: italic;
			font-size: 0.9em;
			margin-top: 10px;
		}
/** END header **/

/** BEGIN content **/
#content {
	width: 630px;
	float: left;
	padding: 0;
	background:#FFFFFF;
}

	#content .featured {
		height: 238px;
		padding: 20px 0 10px;
		border-bottom: 4px solid #f2f2f2;
		margin-bottom: 16px;
	}

		#content .featured h2 {
			font-size: 0.9em;
			margin-bottom: 16px;
			background-color:#800505;
			padding:  12px 10px;
			color:#FFFFFF;
		}

		#content .featured img {
			float: left;
			margin: 0 10px 10px 0;
			border: 1px solid #f2f2f2;
			padding: 5px;
		}
		#content .featured .ftitle {
			margin-bottom: 5px;
			margin-left: 5px;
		}
		#content .featured .fdate {
			float: right;
			width: 70px;
			height: 50px;
			text-align: center;
			font-size: 0.8em;
			color: #800505;
		}
		#content .featured h3 a {
			font-size: 1.2em;
			color: #800505;
			text-decoration: none;
			}
		#content .featured .details {
			font-size: 0.8em;
			margin-bottom: 10px;
		}

		#content .featured p {
			line-height: 1.4em;
		}

		#content .featured .fpost {
			height: 200px;
		}

	#content .post {
		height: 200px;
		width: 288px;
		float: right;
		padding: 10px 10px 15px;
		border-bottom: 2px dotted #333;
		margin-bottom: 30px;
	}
		#content .post .title {
			margin-bottom: 5px;
			margin-top: 10px;
			height: 50px;
		}
		#content .post .date {
			font-size: 0.8em;
			color: #777;
			margin-top: -10px;
			text-align: right;
			}
			#content .post h3 a {
				color: #800505;
				text-decoration: none;
			}
		#content .post img {
			width: 90px; height: 90px;
			padding: 4px;
			border: 1px solid #f2f2f2;
			float: left;
			margin: 0 10px 15px 0;
		}
		#content .post p {
			line-height: 1.4em;
			font-size: 0.9em;
		}
		#content .post .category {
			clear: both;
			float: left;
			font-size: 0.8em;
			width: 60%;
		}
		#content .post .comments {
			float: right;
			font-size: 0.8em;
		}
	#content .uneven {
		float: left;
		clear: both;
	}
	#content .postnav {
		clear: both;
		padding: 10px;
	}
		#content .postnav ul {
			list-style-type: none;
			padding: 10px;
		}
			#content .postnav ul li {
				float: left;
				color: #B5B4BC;
				padding: 4px;
			}
			#content .postnav ul li a {
				color: #636363;
				text-decoration: none;
				display: block;
				padding: 2px 6px;
				border: 1px solid #E2E2E2;
			}
			#content .postnav ul li a:hover {
				border-color: #ffffff;
			}
			#wp_page_numbers ul {
				border-top: 0 !important;
			}
			#wp_page_numbers .page_info {
				padding: 3px 6px !important;
				margin-right: 2px;
				border: 1px solid #e0e0e0 !important;
				margin-top: 4px;
			}
			#wp_page_numbers .active_page a {
				background-color: #ffffff !important;
				border: 0 !important;
			}
#content .postmeta{ background-color:#800505;}

#page {
	margin-bottom: 10px;
}
	#page h2 {
		font-size: 0.9em;
		margin-bottom: 20px;
		padding: 12px;
	}
/** END content **/

/** Bio List Page **/

	#page .alph {
		height: 20px;
		padding: 10px 10px 10px;
		float: left;
		width: 100%;
		font-size: 1.8em;
		color: #FFF;

		background-image: url(http://sanwen.ru/wp-content/uploads/2012/04/line.jpg); 
		background-repeat: no-repeat;
	}
	#page .card {
		height: 120px;
		width: 47%;
		padding: 10px 10px 15px;
		float: left;
		margin-right: 5px;
	}
	#page .card-b {
		height: 120px;
		width: 47%;
		padding: 10px 10px 15px;
		float: left;
		margin-right: 5px;

		background-image: url(http://sanwen.ru/wp-content/uploads/2012/04/B.gif); 
		background-repeat: no-repeat;
		background-position: 95% 90%; 
	}
	#page .card:hover, .card-b:hover {
		background-color: #F8F8F8;
	}
		#page .card h3, .card-b h3 {
			font-size: 1.2em;
			color: #800505;
			text-decoration: none;
			text-align: right;
			line-height: 1.4em;
			}
		#page .card img, .card-b img {
			vertical-align: bottom;
			height: 100px;
			width: 100px;
			float: left;
			margin: 10px 10px 10px 0;
			border: 1px solid #f2f2f2;
			padding: 5px;
		}
		#page .card p, .card-b p {
			font-size: 1.0em;
			line-height: 1.4em;
		}
		#page .card p.birh, .card-b p.birh {
			color: #777;
			text-align: right;
		}

/** Bio Article Page **/

	#content .single .sbio {
		margin-left: -12px;
		margin-top: 7px;
		margin-bottom: 16px;
		height: 210px;
	}
		#content .single .sbio h2 {
			font-size: 0.9em;
			margin-bottom: 16px;
			background-color:#800505;
			padding:  12px 10px;
			color:#FFFFFF;
		}
		#content .single .sbio img {
			height: 150px;
			width: 150px;
			float: left;
			margin: 0 10px 10px 0;
			border: 1px solid #f2f2f2;
			padding: 5px;
		}
		#content .single .sbio p {
			line-height: 1.4em;
		}
		#content .single .sbio p.date {
			line-height: 1.4em;
			text-align: right;
			color: #777;
		}

	#content .single .mbio {
		margin-left: -12px;
		margin-bottom: 16px;
		border-top: 4px solid #f2f2f2;;
	}
		#content .single .mbio h2 {
			font-size: 1.2em;
			text-align: right;
		}

			#content .single .mbio table thead {
				width: 100%;
				margin-bottom: 16px;
			}
			#content .single .mbio table td {
				padding: 5px 5px 5px 0;
				vertical-align: top;
				text-align: left;
			}
			#content .single .mbio table td.note {
				text-align: left;
				border-bottom: 1px solid #f2f2f2;
				color: #777;
				font-size: 0.8em;
			}
			#content .single .mbio table td.s {
				width: 25%;
			}
			#content .single .mbio table td.b {
				width: 50%;
			}
			#content .single .mbio table tr.main {
				font-weight:bold;
				color: #800505;
			}



/** Editor Page **/

	#page .editor-left, #page .editor-right {
		height: 200px;
		width: 47%;
		padding: 10px 10px 15px;
		margin-right: 5px;
	}
		#page .editor-left {
			float: left;
		}
		#page .editor-right {
			float: right;
		}

	#page .editor-left:hover, #page .editor-right:hover {
		background-color: #F8F8F8;
	}

		#page .editor-left h3, #page .editor-right h3 {
			font-size: 1.2em;
			color: #800505;
			text-decoration: none;
			text-align: right;
			line-height: 1.4em;
			}
			#page .editor-left h3 {
				text-align: right;
			}
			#page .editor-right h3 {
				text-align: left;
			}

		#page .editor-left img, #page .editor-right img {
			vertical-align: bottom;
			height: 100px;
			width: 100px;
			margin: 10px 10px 10px 0;
			border: 1px solid #f2f2f2;
			padding: 5px;
			}
			#page .editor-left img {
				float: left;
			}
			#page .editor-right img {
				float: right;
			}

		#page .editor-left p, #page .editor-right p {
			font-size: 1.0em;
			line-height: 1.4em;
		}
		#page .editor-left p.status, #page .editor-right p.status {
			color: #777;
		}
			#page .editor-left p.status {
				text-align: right;
			}
			#page .editor-right p.status {
				text-align: left;
			}





#page .postmeta{ background-color:#800505;}

/** END content **/

/** BEGIN sidebar **/
#sidebar {
	width: 330px;
	float: right;
	padding: 20px 0 10px;
	background:#FFFFFF;
}
	#sidebar .box-feed, #sidebar .box-person, #sidebar .box-polls {
		background-color: #fff;
		margin-bottom: 10px;
		text-align: center;
	}
		#sidebar .box-feed h2, #sidebar .box-person h2, #sidebar .box-polls h2, #sidebar .box-category h2 {
			padding: 12px 10px;
			font-size: 0.9em;
			background:#800505;
			color:#FFFFFF;
			text-align: left;
		}
			#sidebar .box-polls .poll {
				margin: 5px;
				list-style-type: none;
				padding: 14px;
				}
		#sidebar .box-person img {
			height: 90px;
			width: 90px;
			margin: 10px 0 0 0;
			border: 1px solid #f2f2f2;
			padding: 5px;
		}
	#sidebar .box-category {
		background-color: #fff;
		margin-bottom: 15px;
		text-align: left;
	}
	#sidebar .box-category li.main {
		font-weight: bold;
		margin-left: 15px;
	}
	#sidebar .box-category p.description {
		margin-left: 15px;
		margin-bottom: 5px;
		font-size: 0.8em;
		color: #777;
	}

	/*************************************
 +Search
 *************************************/

#searchform{
	padding:0;
	margin:5px 10px 0 0;
	}

#searchform input#s{
	margin:0;
	padding:10px;
	border:1px solid #f2f2f2;
	width:250px;
	color: #Ccc;
	}

#searchform input#searchsubmit{
	border:none;
	background:#333;
	color:#fff;
	text-transform:lowercase;
	
	}
/** END sidebar **/



/* BEGIN bottom */

#fbg {
	clear: both;
	}
#fbg_resize {padding: 0}
#fbg .col { margin:0;}
#fbg .c1 {width:49%; float: left;}
#fbg .c2 {width:49%; float: right;}
#fbg .col h2 {
			font-size: 0.9em;
			margin-bottom: 16px;
			background-color:#800505;
			padding:  12px 10px;
			color:#FFFFFF;
}
#fbg .col li, .col p {
			margin: 16px 16px;
}

/* END bottom */



/** BEGIN footer **/
#footer {
	clear: both;
	background-color: #333;
	padding: 20px 20px;
	height: 15px;
	font-size: 0.6em;
	color:#FFFFFF;
}
	#footer .wrapper {
		width: 970px;
		margin: auto auto;
		text-align: center;
	}
	#footer p {
		color: #ffffff;
	}
	#footer a {
		color: #ffffff;
	}
/** END footer **/



/** BEGIN miscellaneous **/
#content .single {
	padding: 12px;
	margin-bottom: 10px;
}
	#content .single h2 {
		font-size: 0.9em;
		margin-bottom: 20px;
	}
	#content .single p {
		line-height: 1.5em;
		margin-bottom: 10px;
	}
	#content .single ul, #content .single ol {
		list-style-position: inside;
		margin-bottom: 10px;
	}
	#content .single li {
		line-height: 1.5em;
		padding: 2px 0;
	}
	#content .single blockquote {
		padding: 10px 10px 5px;
		margin-bottom: 10px;
		background-color: #eeeeee;
		border-width: 1px 0;
		border-style: solid;
		border-color: #800505;
		text-align: center;
	}
	#content .single p.add {
		padding: 10px 10px 5px;
		margin-bottom: 10px;
		border-width: 1px 0;
		border-style: solid;
		border-color: #e0e0e0;
	}
	#content .single h3, #content .single h4, #content .single h5, #content .single h6 {
		font-size: 1.2em;
		margin-bottom: 5px;
	}
	#content .single table {
			width: 100%;
	}
#comments {
	padding: 12px;
	border-top: 1px solid #bbbbbb;
	margin-bottom: 10px;
}
	#comments a {
		text-decoration: none;
	}
	#comments h2 {
		font-size: 0.9em;
		margin-bottom: 20px;
		clear: both;
	}
	#comments p {
		margin-bottom: 10px;
		line-height: 1.6em;
	}
	#comments form p {
		margin-bottom: 5px;
	}
		#comments form input {
			margin-right: 5px;
		}
		#comments form input, textarea {
			border: 1px solid #cccccc;
			font-size: 0.9em;
			font-family: Verdana;
			padding: 4px;
			background-position: 4px 4px;
			background-repeat: no-repeat;
		}
		#comments form input {
			width: 240px;
			border: 1px solid #cccccc;
		}
		#comments form textarea {
			width: 350px;
			padding: 4px 4px !important;
			border: 1px solid #cccccc;
		}
		#comments form button {
			border: 1px solid #a0a0a0;
			font-size: 1em;
			font-family: Verdana;
			padding: 2px 6px;
		}
	.commentdetails {
		margin-top: 25px;
	}
	.commentauthor {
		margin-bottom: 5px !important;
		font-weight: bold;
	}
	.commentdate {
		font-size: 0.8em;
		margin-bottom: 5px;
		color: #909090;
	}
	.required {
		color: #ff0000;
	}
h2.title {
	font-size: 1em !important;
	padding-bottom: 20px;
}
.notfound {
	padding: 40px;
}
	.notfound h2 {
		font-size: 18px;
		font-weight: normal;
		margin-bottom: 10px;
	}

/** END miscellaneous **/

/** BEGIN wordpress 2.7 comments **/
#comments ol {
	list-style-type: none;
	clear: both;
	padding: 0;
	margin: 0;
}
	#comments .buffer {
		padding: 10px;
	}
	#comments ol li {
		margin-bottom: 10px;
	}
	#comments ol li ul li {
		border: 1px solid #e0e0e0;
		padding: 10px;
	}
	#comments ol li .avatar {
		float: right;
	}
	#comments ol li .comment-author {
		
	}
		#comments ol li .comment-author .fn {
			font-weight: bold;
			font-size: 1.2em;
		}
	#comments ol li .comment-meta {
		font-size: 0.9em;
		color: #999999;
		margin: 5px 0 10px;
	}
	#comments ol li .reply {
		font-size: 0.9em;
		font-weight: bold;
		padding-bottom: 10px;
	}
	#comments .children {
		list-style-type: none;
	}
#comments .navigation {
	padding: 0 0 40px;
	font-size: 0.9em;
}
	#comments .navigation a {
		color: #999999;
		padding: 3px 8px;
		border: 1px solid #cccccc;
	}
	#comments .navigation a:hover {
		color: #000000;
		border-color: #000000;
		text-decoration: none;
	}
#comments .says {
	display: none;
}

.feedlink {
	color: #777777;
	font-size: 1.8em;
	display: block;
	padding-left: 10px;
	text-align: right;
}

.addtoany_share_save_container { text-align:right; }
  
/** END wordpress 2.7 comments **/

