/**************************************************
第一部分：所有的模板都使用的公共样式。
**************************************************/

#EntryTag {
	margin-top: 20px;
	font-size: 18px;
	color: gray;
}

.topicListFooter {
	text-align: right;
	margin-right: 10px;
	margin-top: 10px;
}

#divRefreshComments {
	text-align: right;
	margin-right: 10px;
	margin-bottom: 5px;
	font-size: 18px;
}


/*****第一部分结束*******************************/


/**************************************************
第二部：公共样式（全局样式）。
**************************************************/

* {
	margin: 0;
	padding: 0;
}

html {
	height: 100%;
}

body {
	background:#333;
	font-family: '微软雅黑';
	font-size: 16px;
	line-height: 24px;
	width:100%;
	height: 100%;
	overflow:hidden;
}


table {
	border-collapse: collapse;
	border-spacing: 0;
}

fieldset,
img {
	border: 0;
}

ul {
	word-break: break-all;
}

li {
	list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-size: 100%;
	font-weight: normal;
}

a{
	text-decoration:none;
}
a:link {
color: inherit;
text-decoration: none;
}
a:visited {
color: inherit;
text-decoration: none;
}
a:hover {
color: inherit;
text-decoration: none;
}
a:active {
color: inherit;
text-decoration: none;
}
.clear {
	clear: both;
}


/*****第二部分结束*******************************/


/**************************************************
第三部分：各个页面元素的样式。
**************************************************/


/*****home和头部开始**************************/

#home {
	position: relative;
	z-index: 99;
	width:100%;
	height: 100%;
	overflow: hidden;
}

#header {
	width:100%;
	height: 100%;
}

#home.on #header {
	height:200px;
	transition: 0.8s;
}

#blogTitle {
	width:100%;
	height: 100%;
	background:url(https://images.cnblogs.com/cnblogs_com/kaisan/1077037/o_logo.png) center 40% no-repeat;
	position:relative;
}

#blogTitle:before {
	content:"";
	display:block;
	width:20px;
	height:3px;
	position:absolute;
	transform:skewY(-25deg);
	left:50%;
	bottom: 20px;
	background:#fff;
	opacity:.7;
}

#blogTitle:after {
	content:"";
	display:block;
	width:20px;
	height:3px;
	position:absolute;
	transform:skewY(25deg);
	right:50%;
	bottom: 20px;
	background:#fff;
	opacity:.7;
}

#home.on #blogTitle {
	height:200px;
	transform: scale(0.4);
	top:-30px;
	transition: 0.8s;
}

#home.on #blogTitle:before {
	content:"";
	display:block;
	width:500px;
	height:3px;
	position:absolute;
	transform:skewY(0);
	left:49%;
	bottom: -20px;
	background:#fff;
	opacity:1;
	transition: transform 0.8s,bottom 0.8s,opacity 0.8s,left 0.1s 0.8s,width 0.8s 0.8s;
}

#home.on #blogTitle:after {
	content:"";
	display:block;
	width:500px;
	height:3px;
	position:absolute;
	transform:skewY(0);
	right:49%;
	bottom: -20px;
	background:#fff;
	opacity:1;
	transition: transform 0.8s,bottom 0.8s,opacity 0.8s,right 0.1s 0.8s,width 0.8s 0.8s;
}

#blogTitle h1,
#blogTitle h2 {
	display: none;
}

#lnkBlogLogo{
	display: none;
}

#home.on #lnkBlogLogo{
	display:block;
	width:30%;
	height:100%;
	margin:0 auto;
}

#navigator {
	background: rgba(51,51,51,.3);
	position: fixed;
	width: 100%;
	height: 3em;
	top: 0;
	right: 0;
	overflow: hidden;
	box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
	opacity: 0.8;
	z-index: 10086;
	display:none;
}

#navList {
	display: block;
	width: 1200px;
	margin: auto;
}

#navList li {
	display: inline-block;
	padding: 0.8em 0;
	transition: background-color 0.4s;
}

#navList li:hover {
	background-color: rgba(255, 255, 255, 0.2);
}

#navList li a {
	text-decoration: none;
	color: white;
	padding: 1em;
}


/*****home和头部结束**************************/


/*****主页文章列表开始**************************/

#main {
	width: 1200px;
	margin: auto;
	font-size: 0;
	min-height:calc(100% - 272px);
}

#mainContent,
#sideBar {
	font-size: 16px;
	width: 920px;
	display: inline-block;
}

.day {
	width: 900px;
	margin-bottom: 32px;
	background: rgba(255,255,255,.9);
	padding: 10px 16px;
	box-sizing: border-box;
	border-radius: 2px;
}

.dayTitle {
	color: #1a1a1a;
	float: right;
	display: none;
}

.postTitle,
.entrylistPosttitle {
	border-left:3px solid #1a1a1a;
}

.postTitle a,
.entrylistPosttitle a {
	text-decoration: none;
	font-size: 20px;
	color: #1a1a1a;
	margin-left: 12px;
	transition: margin-left 0.4s;
}

.postTitle a:hover {
	margin-left: 20px;
}

.postCon,
.entrylistPostSummary {
	margin: 16px;
}

.c_b_p_desc{
	font-size:14px;
}

.c_b_p_desc .c_b_p_desc_readmore{
	color:#666;
}

.c_b_p_desc .c_b_p_desc_readmore:hover{
	color:#888;
}

.entrylistItemPostDesc,
.postDesc{
	font-size:13px;
	color:#888;
}

.entrylistItemPostDesc a,
.postDesc a{ display:none;}

.postSeparator {
	display:none;
}

.topicListFooter {
	width: 900px;
}

.topicListFooter a {
	padding: 10px 16px;
	color: #fff;
	background: #888;
	border-radius:2px;
	font-size:14px;
	border:none;
	
}

.pager{
	font-size:14px;
	color:#fff;
}

#homepage_top_pager{
	display:none;
}


/*****主页文章列表结束**************************/


/*****侧边栏开始********************************/

#sideBar {
	width: 280px;
	vertical-align: top;
}

#sidebar_search{
	display:none;
}

.newsItem,
#leftcontentcontainer> div>div {
	margin-bottom: 32px;
	background: rgba(255,255,255,.9);
	box-sizing: border-box;
	border-radius: 2px;
	padding: 6px 10px;
	overflow: hidden;
}

.newsItem h3{
	display: block;
	color: #fff;
	background: #888;
	width: 100%;
	padding: 6px 10px;
	position: relative;
	right: 10px;
	bottom: 6px;
	box-sizing: content-box;
}

#leftcontentcontainer> div>div {
	padding: 0;
}

.catListTitle {
	color: #fff;
	background-color: #888;
	padding: 6px 10px;
}

#leftcontentcontainer li {
	padding: 4px 6px;
	transition: background-color 0.4s;
}

#leftcontentcontainer li:not(:last-child) {
	border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

#leftcontentcontainer li:hover {
	background-color: rgba(0, 0, 0, 0.1);
}

#leftcontentcontainer ul li a {
	color: black;
	display: inline-block;
	width: 100%;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

#leftcontentcontainer ul li a {
	color: black;
	display: inline-block;
	width: 100%;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.recent_comment_title,
.recent_comment_body {
	border: none !important;
	margin: 0 !important;
}

/*****侧边栏结束********************************/


/* 文章查看部分 */

#post_detail,
.feedbackItem,
#comment_form_container,
#divCommentShow> div,
#under_post_news,
#under_post_kb,
.entrylistItem,
#myposts {
	width: 900px;
	margin-bottom: 32px;
	background: rgba(255,255,255,.9);
	padding: 10px 16px;
	box-sizing: border-box;
	border-radius: 2px;
}

#post_detail .postDesc::after {
	display: none;
}

#EntryTag,
#BlogPostCategory,
#post_next_prev{ font-size:14px;}

#EntryTag a:hover,
#BlogPostCategory a:hover,
#post_next_prev a:hover{
	color:#888;
}

/* 文章后的作者信息，支持/反对 */

#author_profile {
	width: 150px;
	float: left;
	margin-top: 10px;
}

#green_channel {
	display:none;
}

#div_digg {
	position:absolute;
	width:auto;
	padding:0;
	margin:0;
	top:10px;
	right:0;
}

.diggit{
	background:#888;
	border-radius:2px;
	height:50px;
	position:relative;
	overflow:hidden;
}

.diggit:before{
	content:"";
	display:block;
	width:0;
	height:0;
	border-bottom:10px solid #fff;
	border-left:7px solid transparent;
	border-right:7px solid transparent;
	position:absolute;
	bottom:10px;
	left:50%;
	transform:translateX(-50%);
}

.diggit:after{
	content:"";
	display:block;
	width:0;
	height:0;
	border-bottom:10px solid #fff;
	border-left:7px solid transparent;
	border-right:7px solid transparent;
	position:absolute;
	bottom:10px;
	left:50%;
	transform:translateX(-50%) scale(5);
	opacity:0;
	transition: 0.3s;
}

.diggit:hover:after{
	transform:translateX(-50%) scale(1);
	opacity:1;
}

.diggit span{
	color:#fff;
}

.buryit{
	display:none;
}

#blog_post_info{
	position:relative;
}

#digg_tips {
	display: none;
}


/* 评论区 */

.feedback_area_title,
#commentform_title,
.entrylistTitle,
.myposts_title {
	font-size: 16px;
	color: #fff;
	background: #888;
	width: 900px;
	padding: 6px 10px;
	box-sizing: border-box;
	margin-bottom: 16px;
	border-radius: 2px;
}

.feedbackItem {
	margin-bottom: 16px;
	position: relative;
	overflow:hidden;
}

.feedbackListSubtitle {
	color: #1a1a1a;
	font-size: 0;
}

.feedbackManage {
	z-index: 5;
	font-size: 12px;
	color:#666;
	position:absolute;
	bottom:11px;
	left:130px;
	opacity:0;
	transition: 0.3s;
}

.feedbackItem:hover .feedbackManage {
	opacity:1;
	transition: 0.3s;
}

a.layer {
	font-style: italic;
	position: absolute;
	font-size: 50px;
	color: #888;
	opacity: 0.15;
	bottom: 8px;
	right: 16px;
	z-index: 1;
	cursor:default;
}

.comment_date {
	font-size: 14px;
	float:right;
	color: #888;
}

.blog_comment_body {
	margin: 8px;
}

.comment_vote {
	text-align: left;
	font-size:12px;
}

.comment_vote a{
	padding-left:0;
}

.comment_vote .comment_bury{
	display:none;
}

a[id^='a_comment_author'] {
	font-size: 16px;
	float: left;
}

.louzhu::before,
.comment_my_posted b::before,
.new-comment-title a:nth-child(2)::before {
	color: white;
	font-size: 14px;
	content: "博主";
	display: inline-block !important;
	background-color: #333;
	padding: 0 4px;
	border-radius: 4px;
	vertical-align: top;
}

.louzhu::before {
	margin-left: 8px;
}

.sendMsg2This {
	display: none;
}

legend {
	position: absolute;
	bottom: 6px;
	right: 10px;
	font-size:14px;
	color:#888;
}

legend>a::before {
	content: "查看";
}

.comment_quote,
.postBody blockquote {
	position: relative;
	border: none;
	border-left: 10px solid lightgray;
	background-color: rgba(0, 0, 0, 0.05);
}

#comment_form {
	position: relative;
}

#comment_nav {
	display:none;
}

#blog-comments-placeholder .feedback_area_title{
	position:relative;
}

#blog-comments-placeholder .feedback_area_title i.refresh{ 
	display:block; 
	width:20px;
	height:20px;
	background:url(https://images.cnblogs.com/cnblogs_com/kaisan/1077037/t_refresh.png) center no-repeat;
	background-size:20px;
	position:absolute;
	right:8px;
	top:8px;
	cursor:pointer;
}

#blog-comments-placeholder .feedback_area_title i.refresh.on{
	transform:rotate(360deg);
	transition: 0.4s;
}

/* 发布评论 */

#comment_nav> a,
#span_refresh_tips,
#btn_comment_submit,
#commentbox_opt a {
	padding: 10px 12px;
	background: #888;
	color: white !important;
	margin: 4px;
	border-radius: 2px;
	font-size:14px;
	vertical-align:middle;
}

#span_refresh_tips {
	display:none;
}

#commentform_title {
	background-image: none;
	position: relative;
	right: 16px;
	bottom: 10px;
	margin-bottom: 0;
	border-radius:2px 2px 0 0;
}

#tip_comment2,
#tip_comment {
	display:none;
}

#tbCommentAuthor {
	background: none;
	border: none;
	padding: 0;
	font-size: 14px;
}

.comment_my_posted> img {
	display: none;
}

.comment_my_posted b::before {
	margin-right: 8px;
	font-weight: 500;
	content: "发布中";
	background-color: skyblue;
}

.new-comment-title .comment_date {
	display: none;
}

.new-comment-title a:nth-child(2) {
	float: left;
}

.new-comment-title a:nth-child(2)::before {
	margin-right: 8px;
	content: "已发布";
	background-color: lightgreen;
}

.new-comment-title a {
	float: right;
}

#tbCommentBody {
	height: 160px;
	width: 866px;
	font-size: 16px;
	font-family: "Monaco", "微软雅黑";
	resize: none;
}

#btn_comment_submit {
	border: none;
	width: 80px;
	height: 39px;
	font-size: 14px;
	line-height:14px;
	vertical-align:middle;
	cursor:pointer;
}

#comment_form_container> p:nth-last-child(2) {
	color: #888;
	bottom: 32px;
	position: relative;
	float: right;
	font-size:12px;
}

#comment_form_container{
	font-size:14px;
}

.login_tips{
	background-image:none;
	padding:0;
	margin:0;
}

/* 随笔档案（按时间分类） */

.entrylistPosttitle a {
	margin-left: 12px;
}

.entrylistPosttitle a:hover {
	margin-left: 20px;
}


/* 随笔标签 */

#myposts {
	margin: 0;
	padding: 0;
}

.myposts_title {
	font-size: 1.2rem !important;
}

.PostList {
	font-size: 1rem !important;
	padding: 1rem;
	margin: 0 !important;
	border-bottom: 1px solid gray;
}

.PostList:nth-last-child(2) {
	border: none;
}

.postDesc2 {
	float: right;
}


/* 页尾footer */

#footer {
	text-align: center;
	margin-bottom: 48px;
	color:#ccc;
}

.floatnav{ position:fixed; right:100px; bottom:100px; opacity:.4; transition: 0.3s; z-index:100; display:none;}
.floatnav ul li{  position:relative; width:50px; height:50px; background:#888; border-radius:2px; margin-top:5px; cursor:pointer; transition: 0.3s;}
.floatnav ul li.comment{ top: 110px; z-index:11; transform:scale(0.25); display:none;}
.floatnav ul li.refresh{ top: 55px; z-index:12; transform:scale(0.5);}
.floatnav ul li.gotoTop{ z-index:13;}

.floatnav ul li.comment:before{ content:""; display:block; position:absolute; width:30px; height:30px; background:url(https://images.cnblogs.com/cnblogs_com/kaisan/1077037/o_write.png) center no-repeat; background-size:30px;left:50%; top:50%;transform:translateY(-50%) translateX(-50%);}
.floatnav ul li.refresh:before{ content:""; display:block; position:absolute; width:30px; height:30px; background:url(https://images.cnblogs.com/cnblogs_com/kaisan/1077037/t_refresh.png) center no-repeat; background-size:30px;left:50%; top:50%;transform:translateY(-50%) translateX(-50%);}
.floatnav ul li.gotoTop:before{ content:""; display:block; position:absolute; width:30px; height:2px; left:50%; background:#fff; top:35%;transform:translateY(-50%) translateX(-50%);transition: 0.3s;}
.floatnav ul li.gotoTop:after{ content:""; display:block; position:absolute; width:30px; height:2px; right:50%; background:#fff; top:65%;transform:translateY(-50%) translateX(50%);transition: 0.3s;}


.floatnav:hover{opacity:1; transition: 0.3s;}
.floatnav:hover ul li{opacity:.6;}
.floatnav:hover ul li.comment{ top: 0; transform:scale(1);}
.floatnav:hover ul li.refresh{ top: 0; transform:scale(1);}

.floatnav:hover ul li.gotoTop:before{transform:skewY(40deg) translateX(0); width:15px; height:3px; top:45%;}
.floatnav:hover ul li.gotoTop:after{transform:skewY(-40deg) translateX(0); width:15px; height:3px; top:45%;}

.floatnav ul li:hover{opacity:1;}


/*****第三部分结束*******************************/


/**************************************************
第四部分：文章内容常用标签格式。
**************************************************/


/*文章内部常用标签格式*/

.postBody{
	padding-bottom:10px;
}

.postBody code,
.hljs,
.cnblogs-markdown,
.sourceCode code pre,
.sourceCode code span {
	font-family: "Monaco", "微软雅黑" !important;
}

.sourceCode code {
	display: inline-block;
	white-space: pre;
}

.postBody p img {
	max-width: 870px !important;
	margin: 1rem 0 !important;
}

.postBody blockquote {
	position: relative;
	border: none;
	border-left: 10px solid lightgray;
	background-color: rgba(0, 0, 0, 0.05);
}
.postBody h2,h3 {
padding-top: 40px; 
padding-bottom: 10px; 
}

.postBody #to_top a:first-child{
border: 1px; border-style: solid; border-radius: 4px; text-decoration: none; padding-top: 2px;padding-bottom: 2px;padding-left: 4px;padding-right: 4px; background-color: #CFD8DD; color: #009688; opacity: 0.8;
}

.postBody #to_top a:first-child:hover{
color: #F60;
border-color: white;
}

.postBody #navCategory a{
text-decoration: none;
}

.postBody #navCategory li {list-style-type:none;}

/*****第四部分结束******************************/


.feedbackCon a {
	text-decoration: underline;
}