/*
CSS Credit: http://www.templatemo.com/
*/

/* 
Design Template 
http://www.templatemo.com/preview/templatemo_017_design 
*/
body {
	margin:0;
	padding:0;
	line-height: 1.8em;
	font-family: "SimSun", "宋体", Georgia, serif;
	font-size: 15px;
	color: #000000;
	background: #604a40;
}

a:link, a:visited { color: #3e3939; text-decoration: none; } 
a:active, a:hover { color: #7d5c3e;}

h1 {
	margin: 0px 0px 5px 0px;
	padding: 20px 0px 0px 0px;
	font-size: 22px;
	font-weight: bold;
	color:#5a4232;
	background: url(images/templatemo_h1_background.png) left center no-repeat;
}

h2 {
	margin: 0px 0px 8px 0px;
	padding: 10px 0px 0px 15px;
	font-size: 16px;
	color: #000000;
}

p {
	margin: 10px 0px;
	color: #33302a;
	text-align: justify;
}

img {  
	margin: 2px 20px 2px 0px; 
	float:left; 
	border: 1px solid #333333;
}

#templatemo_container_wrapper1 {
	background: url(images/background.gif) top center repeat-x;
}

#templatemo_container_wrapper2 {
	background: url(images/templatemo_mainbackground.jpg) top center no-repeat;
}

#templatemo_container {
	margin: 0px auto;
	width: 900px;
}


/* ----- Header ----- */

#templatemo_header {
	clear: both;
	padding: 30px 0px 0px 30px;
	width: 870px;
	height: 140px;
}

#templatemo_logo {
	height: 134px;
	background: url(images/templatemo_logo.png) no-repeat;
}

#templatemo_site_title {
	padding: 60px 0px 10px 30px;
	font-size: 40px;
	font-weight:bold;
	color: #ff0000;
}

#templatemo_site_slogan {
	padding: 90px 0px 10px 160px;
	font-size: 12px;
	color: #999999;
}
/* ----- End of Header ----- */

/* ------------- Menu ------------------ */
#templatemo_menu {
	clear: both;
	margin: 0px;
	padding: 0px;
	width: 900px;
	height: 42px;
	text-align: right;
	background: url(images/templatemo_menu_bg.png) no-repeat;
}

#templatemo_menu ul {
	margin: 0px;
	padding: 18px 20px 0px 0px;
	list-style: none;
}

#templatemo_menu ul li {
	margin: 0px;
	display: inline;	
}

#templatemo_menu ul li a {
	margin: 0px;
	padding: 0px 20px 0px 0px;
	font-family: "SimSun", "宋体", Georgia, serif;
	font-size: 15px;
	font-weight: bold;
	color:#999999;
	text-decoration: none;
}

#templatemo_menu ul li a:hover, #templatemo_menu ul li .current {
	color: #cccccc;
}

/* ---------- End of Menu ------------- */

/* ----------------- Content ----------------------- */

#templatemo_content {
	float: left;
	margin: 0px;
	width: 900px;
	background: #c3b595 url(images/templatemo_content_bg.png) no-repeat;
}

#templatemo_left_column {
	float: left;
	margin: 40px 0px 0px 40px;
	padding: 0px;
	width: 570px;
}

/* IE6 Only */
* html #templatemo_left_column {
	float: left;
	margin: 40px 20px 0px 20px;
	padding: 0px;
	width: 570px;
}

#templatemo_right_column {
	float: right;
	margin: 40px 40px 0px 0px;
	padding: 0px;
	width: 200px;
}

* html #templatemo_right_column {
	float: right;
	margin: 40px 20px 0px 20px;
	padding: 0px;
	width: 200px;
}

/* IE6 Only */
#templatemo_bottom {
	clear: both;
	margin: 0px;
	padding: 0px;
	width: 900px;
	height: 90px;
	background: url(images/templatemo_content_bg_bottom.png) no-repeat;

}

/* ----------------- End of Content ------------------- */

/* ------------- Section ------------------ */
.templatemo_section {
	margin: 0px 0px 15px 0px;	
	padding: 0px;
	color: #3e3939;
}

.templatemo_section .section1_top {
	height: 40px;
	background: url(images/templatemo_section1_top.png) no-repeat;
}
.templatemo_section .section1_middle {
	background: url(images/templatemo_section1_middle.png) repeat-y;
}
.templatemo_section .section1_bottom {
	height: 37px;
	background:url(images/templatemo_section1_bottom.png) no-repeat;
}

.templatemo_section .section2_top {
	height: 40px;
	background: url(images/templatemo_section2_top.png) no-repeat;
}
.templatemo_section .section2_middle {
	background: url(images/templatemo_section2_middle.png) repeat-y;
}
.templatemo_section .section2_bottom {
	height: 37px;
	background: url(images/templatemo_section2_bottom.png) no-repeat;
}

.templatemo_section .section3_top {
	height: 40px;
	background: url(images/templatemo_section3_top.png) no-repeat;
}
.templatemo_section .section3_middle {
	background: url(images/templatemo_section3_middle.png) repeat-y;
}
.templatemo_section .section3_bottom {
	height: 37px;
	background: url(images/templatemo_section3_bottom.png) no-repeat;
}


.templatemo_section ul {
	margin: 0px 0px 0px 15px;
	padding: 0px;
	list-style: none;
}

.templatemo_section ul li {
	display: block;
}

.templatemo_section ul li a {
	padding: 0px;
	margin: 0px;
	color: #3e3939;
	text-decoration: none;
}

.templatemo_section ul li a:hover {
	color: #5a4232;
}

/* ---------- End of Section ------------ */

/* ----- Post ------ */
.templatemo_postbody {
	padding: 0px;
	margin-bottom: 40px;
	border-bottom: 1px dotted #333333;
}

.publish_info {
	clear: both;
	margin: 0px;
	padding: 0px;
	color:#3e3939;

}

.comment {
	clear: both;
	margin: 10px 0px 0px 0px;
	width: 570px;
	text-align: right;
	padding: 0px;
}

.comment a {
	padding: 5px 0px 5px 0px;
	font-size: 11px;
	font-weight: bold;
	background: url(images/templatemo_comment_icon.gif) left center no-repeat;
}
/* ----- End of Post ------ */

/* ----- Form ----- */
form {
	width: 190px;
	margin: 0px;
	padding: 13px 0px 0px 10px;
	height: 50px;
	background: url(images/templatemo_search_box.gif) no-repeat;
	
}

input {
	width: 130px;
	background: none;
	color: #CCCCCC;
	border: none;
}

.button {
	margin: 2px 0px 0px 8px;
	height: 32px;
	width: 40px;
	color: #ffffff;
	font-size: 15px;
	font-weight: bold;
	border: none;
	background: #5a4232;
}
/* ----- End of Form ----- */

/* ----- Footer ----- */

#templatemo_footer {
	clear: both;
	padding: 10px 0px 0px 15px;
	width: 870px;
	height: 60px;
	text-align: center;
	color: #cfc5b4;
	text-align: center;
}

#templatemo_footer a {
	color: #cfc5b4;
}

#templatemo_footer a:hover {
	color: #ffffff;
}

/* ----- End of Footer ----- */

/* ================================================ */
/* ----- 巴菲特粉丝网 · 新增样式 ------------------- */
/* ================================================ */

/* ----- 文章标题链接 ----- */
.templatemo_postbody h1 a {
	color: #5a4232;
}

.templatemo_postbody h1 a:hover {
	color: #7d5c3e;
}

/* ----- 文章正文 ----- */
.article_content h3 {
	margin: 20px 0px 5px 0px;
	padding: 0px 0px 0px 12px;
	font-size: 16px;
	color: #5a4232;
	border-left: 4px solid #5a4232;
}

.article_content blockquote {
	margin: 15px 20px;
	padding: 10px 15px;
	color: #33302a;
	background: #b3a37e;
	border-left: 4px solid #5a4232;
}

.article_content blockquote p {
	margin: 0px;
}

.article_content ul, .article_content ol {
	margin: 5px 0px 10px 30px;
	padding: 0px;
	color: #33302a;
}

.article_content li {
	margin: 3px 0px;
}

/* ----- 上一篇 / 下一篇 ----- */
.post_nav {
	clear: both;
	margin: 15px 0px 10px 0px;
	padding: 10px 0px 0px 0px;
	border-top: 1px dotted #333333;
	overflow: hidden;
	font-size: 12px;
	color: #3e3939;
}

.post_nav .prev {
	float: left;
}

.post_nav .next {
	float: right;
}

.post_nav a {
	font-weight: bold;
}

/* ----- 名言金句 ----- */
.quote_item {
	clear: both;
	margin: 0px 0px 20px 0px;
	padding: 0px 0px 15px 12px;
	border-bottom: 1px dotted #333333;
	border-left: 4px solid #5a4232;
}

.quote_item .quote_en {
	margin: 0px;
	padding: 0px;
	font-size: 14px;
	font-style: italic;
	color: #33302a;
}

.quote_item .quote_cn {
	margin: 5px 0px 0px 0px;
	padding: 0px;
	font-weight: bold;
	color: #5a4232;
}

.quote_item .quote_from {
	margin: 4px 0px 0px 0px;
	padding: 0px;
	font-size: 12px;
	color: #4a4238;
}

/* ----- 生平大事记表格 ----- */
.bio_table {
	width: 100%;
	border-collapse: collapse;
	margin: 10px 0px;
}

.bio_table th, .bio_table td {
	border: 1px solid #8a7a5c;
	padding: 5px 8px;
	font-size: 14px;
	text-align: left;
	color: #3e3939;
}

.bio_table th {
	background: #5a4232;
	color: #ffffff;
	font-weight: bold;
}

.bio_table tr.alt td {
	background: #b3a37e;
}

/* ----- 留言板表单 ----- */
form.contact_form {
	width: 560px;
	height: auto;
	padding: 0px;
	margin: 0px;
	background: none;
}

.contact_form label {
	display: block;
	margin: 12px 0px 3px 0px;
	font-weight: bold;
	color: #3e3939;
}

.contact_form input {
	width: 250px;
	padding: 4px;
	border: 1px solid #8a7a5c;
	background: #b3a37e;
	color: #000000;
}

.contact_form textarea {
	width: 540px;
	height: 150px;
	padding: 4px;
	border: 1px solid #8a7a5c;
	background: #b3a37e;
	color: #000000;
	font-family: "SimSun", "宋体", Georgia, serif;
	font-size: 12px;
	line-height: 1.6em;
}

.contact_form .button {
	width: 90px;
	height: 28px;
	margin: 12px 0px 0px 0px;
	font-size: 14px;
	color: #ffffff;
	background: #5a4232;
	cursor: pointer;
}

/* ----- 复古访客计数器 ----- */
.visitor_counter {
	margin: 25px 0px 0px 0px;
	padding: 10px;
	font-family: "Courier New", monospace;
	font-size: 12px;
	text-align: center;
	color: #5a4232;
	background: #b3a37e;
	border: 1px dashed #8a7a5c;
}

/* ----- 邮件订阅组件（右侧栏板块，与分类/归档同款边框） ----- */
.sub-msg {
	margin: 5px 15px 10px 15px;
	font-size: 12px;
	color: #4a4238;
	letter-spacing: 1px;
}

.sub-msg .highlight {
	color: #5a4232;
	font-weight: bold;
}

.sub-form {
	width: auto;
	height: auto;
	padding: 0px;
	margin: 0px 15px 15px 15px;
	background: none;
}

.sub-input {
	width: 100%;
	padding: 6px 8px;
	border: 2px inset #c9b98f;
	background: #fbf7ec;
	color: #3e3939;
	font-family: "Courier New", monospace;
	font-size: 12px;
	outline: none;
	box-sizing: border-box;
}

.sub-input:focus {
	background: #ffffff;
	border-color: #5a4232;
}

.sub-btn {
	width: 100%;
	margin-top: 8px;
	padding: 6px 0px;
	border: none;
	background: #5a4232;
	color: #ffffff;
	font-family: "SimSun", "宋体", Georgia, serif;
	font-size: 14px;
	font-weight: bold;
	cursor: pointer;
	white-space: nowrap;
}

.sub-btn:hover {
	background: #7d5c3e;
}

/* ----- 顶部导航条（参考 liujiangme.xyz 顶部样式） ----- */
#top-bar {
	width: 100%;
	background: #332b26;
	border-bottom: 3px solid #5a4232;
	color: #999999;
	font-size: 12px;
	overflow: hidden;
}

.top-bar-inner {
	margin: 0px auto;
	width: 870px;
	padding: 6px 15px;
	overflow: hidden;
}

.top-bar-links {
	float: right;
}

.top-bar-links a {
	color: #999999;
}

.top-bar-links a:hover {
	color: #ffffff;
}

.top-bar-social {
	float: right;
	margin-right: 15px;
}

.top-bar-social a {
	display: inline-block;
	margin-left: 6px;
	padding: 1px 6px;
	color: #ffffff;
	font-size: 12px;
	line-height: 16px;
	text-decoration: none;
}

.top-bar-social a:hover {
	color: #ffffff;
	opacity: 0.8;
	filter: alpha(opacity=80);
}

.social-qq {
	background: #12b7f5;
}

.social-weixin {
	background: #2aae67;
}

.social-weibo {
	background: #e6162d;
}

/* ----- 自适应（响应式布局） ----- */
@media screen and (max-width: 940px) {

	.top-bar-inner,
	#templatemo_container {
		width: auto;
		max-width: 900px;
	}

	#templatemo_header {
		width: auto;
		height: auto;
		padding: 20px 10px 0px 10px;
	}

	#templatemo_logo {
		height: 110px;
		background-size: contain;
		background-position: center top;
	}

	#templatemo_site_slogan {
		padding: 88px 0px 0px 0px;
		text-align: center;
	}

	#templatemo_menu {
		width: auto;
		height: auto;
		text-align: center;
		background-size: cover;
	}

	#templatemo_menu ul {
		padding: 12px 5px;
	}

	#templatemo_menu ul li a {
		padding: 0px 12px 0px 0px;
	}

	#templatemo_content {
		width: auto;
		background: #c3b595;
	}

	#templatemo_left_column {
		float: none;
		width: auto;
		margin: 20px 15px 0px 15px;
	}

	#templatemo_right_column {
		float: none;
		width: auto;
		margin: 20px 15px 0px 15px;
	}

	#templatemo_bottom {
		display: none;
	}

	#templatemo_footer {
		width: auto;
		height: auto;
		padding: 10px 15px;
	}

	.templatemo_section .section1_top,
	.templatemo_section .section1_bottom,
	.templatemo_section .section2_top,
	.templatemo_section .section2_bottom,
	.templatemo_section .section3_top,
	.templatemo_section .section3_bottom {
		display: none;
	}

	.templatemo_section .section1_middle,
	.templatemo_section .section2_middle,
	.templatemo_section .section3_middle {
		background: #efe6cf;
		border: 1px solid #8a7a5c;
	}

	img {
		max-width: 100%;
		box-sizing: border-box;
	}

	.post_nav .prev,
	.post_nav .next {
		float: none;
		display: block;
		text-align: left;
	}

	form.contact_form {
		width: auto;
		max-width: 560px;
	}

	.contact_form input,
	.contact_form textarea {
		width: 100%;
		box-sizing: border-box;
	}

	.article_content blockquote {
		margin: 15px 0px;
	}

	.top-bar-social,
	.top-bar-links {
		float: none;
		display: block;
		text-align: center;
		padding: 2px 0px;
	}
}
/* ----- 资料库侧栏分组标题 ----- */
.kb-group {
	margin: 10px 0px 2px 0px;
	padding: 0px;
	font-weight: bold;
	color: #5a4232;
}
