﻿/*

@Name：不落阁整站模板源码 
@Author：Absolutely 
@Site：http://www.lyblogs.cn

*/

/*全局样式*/
body {
    font-size: 15px;
    font-family: 'Segoe UI',SegoeUI,'Microsoft YaHei',微软雅黑,"Helvetica Neue",Helvetica,Arial,sans-serif;
	color: #616161;
}


.shadow {
	box-shadow: 0 2px 10px 0 rgba(0, 0, 0, .1);
}

.clear {
	clear: both;
}

.blog-body {
	margin-top: 65px;
}

.blog-container {
	margin: 0 15px;
	position: relative;
}

.blog-main {
	margin-top: 15px;
	width: 100%;
	position: relative;
	min-height: 100vh;
}

.blog-main>.home-tips {
	padding: 10px 10px;
	background: #fff;
	font-size: 13px;
	margin-bottom: 15px;
}

.blog-main>.home-tips>i {
	color: #009688;
	font-size: 15px;
}

.blog-main>.home-tips>.home-tips-container {
	margin-left: 20px;
	height: 17px;
	overflow: hidden;
}

.blog-main>.home-tips>.home-tips-container>span {
	display: block;
}

.blog-main>.blog-main-left {
	width: 100%;
	float: left;
}

.blog-main>.blog-main-right {
	width: 100%;
	float: right;
}

/* 小屏幕（平板，大于等于 768px） */
@media ( min-width : 768px) {
	.blog-container {
		width: 738px;
		margin: 0 auto;
	}
	.blog-main>.blog-main-right>.blog-module {
		width: 45%;
		margin-bottom: 15px;
	}
	.blog-main>.blog-main-right>.blog-module:nth-child(odd) {
		float: left;
		clear: left;
	}
	.blog-main>.blog-main-right>.blog-module:nth-child(odd).blog-module:last-child
		{
		width: auto;
		float: none;
		clear: both;
	}
	.blog-main>.blog-main-right>.blog-module:nth-child(even) {
		float: right;
		clear: right;
	}
}

/* 中等屏幕（桌面显示器，大于等于 992px） */
@media ( min-width : 992px) {
	.blog-container {
		width: 962px;
	}
	.blog-main>.blog-main-left {
		width: 74%;
	}
	.blog-main>.blog-main-right {
		width: 25%;
	}
	.blog-main>.blog-main-right>.blog-module {
		width: auto;
		float: none !important;
	}
}

/* 大屏幕（大桌面显示器，大于等于 1200px） */
@media ( min-width : 1200px) {
	.blog-container {
		width: 1170px;
	}
}
/*全局样式END*/

/*面包屑导航*/
.sitemap {
	background: #fff;
	margin-top: 79px;
	padding: 5px 15px;
	line-height: normal;
	border-radius: 0 !important;
}

.sitemap a {
	font-size: 12px;
}

@media ( min-width : 768px) {
	.sitemap {
		padding: 6px 15px;
	}
	.sitemap a {
		font-size: 13px;
	}
}

@media ( min-width : 992px) {
	.sitemap {
		padding: 8px 15px;
	}
	.sitemap a {
		font-size: 14px;
	}
}
/*面包屑导航END*/

/*顶部导航*/
.blog-nav {
	width: 100%;
	height: 64px;
	position: fixed;
	top: 0;
	background-color: white;
}

.blog-nav .layui-nav {
	position: absolute;
	top: 0;
	/* left: 23%; */
	width: 100%;
	background: none;
	display: none;
	text-align: right;
}

.blog-nav .layui-nav .layui-nav-item {
	line-height: 64px;
	margin: 0 5px;
}

.blog-nav .layui-nav .layui-nav-item a {
	padding: 0 15px;
}

.blog-nav .blog-user {
	line-height: 64px;
	position: absolute;
	z-index: 10;
}

.blog-nav .blog-user img {
	width: 40px;
	height: 40px;
	border-radius: 50px;
}

.blog-nav .blog-user img:hover {
	opacity: .5;
}

.blog-nav .blog-user .layui-icon-username,.layui-icon-logout {
	line-height: 64px;
	font-size: 24px;
}

.blog-nav .blog-user .layui-icon-username:hover {
	color: #c2c2c2;
}

.blog-nav .blog-logo {
	position: absolute;
	top: 0px;
	left: 25%;
	width: 50%;
	text-align: center;
	margin: 0 auto;
	line-height: 64px;
	font-size: 30px;
	color: #262626;
	font-weight: bold;
	font-family: KaiTi;
	display: inline-block;
	z-index: 10;
}

.blog-nav .blog-navicon {
	position: absolute;
	right: 0;
	padding: 10px 12px;
	color: #635c5c;
	margin-top: 13px;
}

.blog-nav .blog-navicon:hover {
	border: 1px solid #5FB878;
}

@media ( min-width : 992px) {
	.blog-nav .layui-nav {
		display: block;
	}
	.blog-nav .blog-user {
		right: -10px;
	}
	.blog-nav .blog-logo {
		position: absolute;
		left: 0;
		width: auto;
	}
	.blog-nav .blog-navicon {
		display: none;
	}
	.blog-nav-left {
		display: none !important;
	}
}
/* 顶部导航End */

/*网站底部*/
.blog-footer {
	text-align: center;
/* 	border-top: 1px solid #009688; */
	margin-top: 15px;
	background: #f2f2f2;
	padding: 15px 0;
}

.blog-footer a {
	color: #d2d2d2;
}

.blog-footer a:hover {
	color: #fbfbfb;
}

.blog-footer>p {
	margin: 2px 0;
}

.blog-footer>p a, .blog-footer>p span {
	padding-left: 7px;
}
/*网站底部END*/

/*子栏目导航*/
.child-nav {
	margin: 15px 0;
	text-align: center;
	height: 39px;
	background: #fff;
	border-bottom: 1px solid #5FB878;
}

.child-nav-btn {
	padding: 0 20px;
	width: auto;
	font-size: 14px;
	line-height: 40px;
	display: inline-block;
	cursor: pointer;
}

.child-nav-btn-this {
	background: #5FB878;
	color: #fff;
}
/*子栏目导航END*/

/*侧边导航*/
.blog-nav-left {
	top: 65px;
	border-radius: 0;
	border-top: 1px solid #5FB878;
	box-shadow: 0 0 8px #fff;
	background-color: white;
}

.leftIn {
	-moz-animation: leftIn 0.5s;
	-o-animation: leftIn 0.5s;
	-webkit-animation: leftIn 0.5s;
	animation: leftIn 0.5s;
}

.leftOut {
	-moz-animation: leftOut 0.5s;
	-o-animation: leftOut 0.5s;
	-webkit-animation: leftOut 0.5s;
	animation: leftOut 0.5s;
}

@media ( min-width : 992px) {
	.blog-nav-left {
		display: none !important;
	}
}
/*侧边导航END*/

/*侧边导航遮罩*/
.blog-mask {
	position: fixed;
	left: 0;
	right: 0;
	top: 65px;
	bottom: 0;
	background: rgba(0, 0, 0, 0.7);
	z-index: 998;
}

.maskIn {
	-moz-animation: maskFadeIn 0.5s;
	-o-animation: maskFadeIn 0.5s;
	-webkit-animation: maskFadeIn 0.5s;
	animation: maskFadeIn 0.5s;
}

.maskOut {
	-moz-animation: maskFadeOut 0.5s;
	-o-animation: maskFadeOut 0.5s;
	-webkit-animation: maskFadeOut 0.5s;
	animation: maskFadeOut 0.5s;
}

@media ( min-width : 992px) {
	.blog-mask {
		display: none;
	}
}
/*侧边导航遮罩END*/

/*百度分享*/
.blog-share {
	box-shadow: 0 0 8px #fff;
	position: fixed;
	right: 80px;
	bottom: 15px;
	background: #393D49;
	z-index: 999;
	margin-bottom: 1px;
	height: 50px;
}

.blog-share .blog-share-body {
	width: 100%;
	height: 100%;
}

.bdsharebuttonbox {
	height: 100%;
}

.bdsharebuttonbox a {
	float: left;
	margin: 9px !important;
	background-position: 0 !important;
}

.bdsharebuttonbox .bds_qzone {
	background: url(../images/qzone_32.png) no-repeat;
}

.bdsharebuttonbox .bds_tsina {
	background: url(../images/weibo_32.png) no-repeat;
}

.bdsharebuttonbox .bds_weixin {
	background: url(../images/wechat_32.png) no-repeat;
}

.bdsharebuttonbox .bds_sqq {
	background: url(../images/qq_32.png) no-repeat;
}

.shareIn {
	-moz-animation: shareIn 0.5s;
	-o-animation: shareIn 0.5s;
	-webkit-animation: shareIn 0.5s;
	animation: shareIn 0.5s;
}

.shareOut {
	-moz-animation: shareOut 0.5s;
	-o-animation: shareOut 0.5s;
	-webkit-animation: shareOut 0.5s;
	animation: shareOut 0.5s;
}
/*百度分享END*/

/*文章列表（网站首页和文章专栏共用）*/
.article {
	padding: 15px;
	margin-bottom: 10px;
	background: #fff;
	border-left: 5px solid #fff;
	-moz-transition: all 0.3s linear;
	-o-transition: all 0.3s linear;
	-webkit-transition: all 0.3s linear;
	transition: all 0.3s linear;
}

.article:hover {
	border-left: 5px solid #009688;
	-moz-transition: all 0.3s linear;
	-o-transition: all 0.3s linear;
	-webkit-transition: all 0.3s linear;
	transition: all 0.3s linear;
}

.article>.article-left {
	width: 25%;
	float: left;
}

.article>.article-left>img {
	width: 100%;
	height: auto;
}

.article>.article-right {
	width: 73%;
	float: right;
	padding-left: 2%;
}

.article>.article-right>.article-title a {
	font-size: 14px;
}

.article>.article-right>.article-title a:hover {
	color: #009688;
}

.article>.article-right>.article-abstract {
	display: none;
}

.article>.article-footer {
	margin-top: 5px;
	font-size: 11px;
	padding: 2px;
	color: #a6a6a6;
}

.article>.article-footer>span {
	padding-right: 3%;
}

.article>.article-footer a {
	color: #009688;
}

.article>.article-footer .article-viewinfo, .article>.article-footer .article-author
	{
	display: none;
}

.icon-stick {
	border: 1px solid #FF5722;
	color: #FF5722;
	padding: 0 2px 0 0;
	font-family: SimHei;
	display: inline-block;
	margin-right: 3px;
	position: relative;
	top: -1px;
	font-size: 13px;
}

@media ( min-width : 768px) {
	.article>.article-right>.article-title a {
		font-size: 17px;
	}
	.article>.article-right>.article-abstract {
		font-size: 14px;
		display: block;
		margin-top: 10px;
		text-indent: 2em;
	}
	.article>.article-footer {
		margin-top: 10px;
		font-size: 13px;
	}
	.article>.article-footer .article-viewinfo {
		display: inline;
		float: right;
	}
	.article>.article-title .article-edit {
		display: inline;
		float: right;
		padding-right: 3%;
		cursor: pointer;
	}
	.article>.article-footer .article-author {
		display: inline;
	}
	.icon-stick {
		font-size: 14px;
	}
}

@media ( min-width : 992px) {
	.article>.article-right>.article-title a {
		font-size: 18px;
	}
	.icon-stick {
		font-size: 15px;
	}
}
/*文章列表END*/

/*右侧模块（网站首页和文章列表以及文章详细共用）*/
.blog-module {
	margin-bottom: 10px;
	padding: 15px;
	background: #fff;
	height: 100%;
}

.blog-module>.blog-module-title {
	border-bottom: 1px solid #009688;
	font-size: 15px;
	font-weight: 500;
	padding: 0 0 5px 0;
	margin-bottom: 5px;
}

.blog-module-ul li, .blog-module-ul .fa {
	margin: 3px 0;
}

.blog-module-ul li .fa {
	color: #009688;
}
/*右侧模块END*/

/*文章分类导航*/
.article-category {
	position: fixed;
	top: 64px;
	right: 0;
	bottom: 0;
	background: #393D49;
	color: #eee;
	width: 130px;
	font-size: 11px;
	padding: 10px;
	display: none;
	margin: 0;
	z-index: 999;
}

.article-category>.article-category-title {
	text-align: center;
	border-bottom: 1px solid #009688;
	font-size: 15px;
	font-weight: 500;
	padding: 0 0 5px 0;
	margin-bottom: 5px;
}

.article-category>a {
	display: block;
	color: #eee;
	padding: 5px 1%;
	margin: 4px 0;
	background: #009688;
	width: 98%;
	text-align: center;
	line-height: 19px;
	word-break: keep-all; /* 不换行 */
	white-space: nowrap; /* 不换行 */
	overflow: hidden; /* 内容超出宽度时隐藏超出部分的内容 */
	text-overflow: ellipsis;
	/* 当对象内文本溢出时显示省略标记(...) ；需与overflow:hidden;一起使用。*/
	float: left;
}

.article-category>a:hover {
	color: #fff;
	background: #5FB878;
}

.category-toggle {
	position: fixed;
	right: 0;
	top: 40%;
	width: 15px;
	background: #009688;
	color: #fff;
	font-size: 16px;
	padding: 30px 0;
	z-index: 9999;
}

.category-toggle>i {
	display: block;
	height: 16px;
}

.categoryIn {
	-moz-animation: categoryIn 0.5s;
	-o-animation: categoryIn 0.5s;
	-webkit-animation: categoryIn 0.5s;
	animation: categoryIn 0.5s;
}

.categoryOut {
	-moz-animation: categoryOut 0.5s;
	-o-animation: categoryOut 0.5s;
	-webkit-animation: categoryOut 0.5s;
	animation: categoryOut 0.5s;
}

/*分类导航In动画*/
@
keyframes categoryIn {from { right:-140px;
	
}

to {
	right: 0;
}

}
@
-moz-keyframes categoryIn {from { right:-140px;
	
}

to {
	right: 0;
}

}
@
-webkit-keyframes categoryIn {from { right:-140px;
	
}

to {
	right: 0;
}

}

/*分类导航Out动画*/
@
keyframes categoryOut {from { right:0;
	
}

to {
	right: -140px;
}

}
@
-moz-keyframes categoryOut {from { right:0;
	
}

to {
	right: -140px;
}

}
@
-webkit-keyframes categoryOut {from { right:0;
	
}

to {
	right: -140px;
}

}
@media ( min-width : 768px) {
	.article-category {
		font-size: 13px;
		width: 260px !important;
	}
	.article-category>.blog-module-title {
		text-align: start;
	}
	.article-category>a {
		padding: 7px 1%;
		margin: 5px 0;
		width: 46%;
	}
	.article-category>a:nth-child(odd) {
		float: right;
	}
	.article-category>a:nth-child(even) {
		float: left;
	}
	@
	keyframes categoryIn {from { right:-280px;
		
	}
	to {
		right: 0;
	}
}

@
-moz-keyframes categoryIn {from { right:-280px;
	
}

to {
	right: 0;
}

}
@
-webkit-keyframes categoryIn {from { right:-280px;
	
}

to {
	right: 0;
}

}
@
keyframes categoryOut {from { right:0;
	
}

to {
	right: -280px;
}

}
@
-moz-keyframes categoryOut {from { right:0;
	
}

to {
	right: -280px;
}

}
@
-webkit-keyframes categoryOut {from { right:0;
	
}

to {
	right: -280px;
}

}
}
@media ( min-width : 992px) {
	.article-category {
		display: block;
		position: static;
		background: #fff;
		color: #333;
		width: auto !important;
		font-size: 14px;
		margin: 0 0 15px 0;
	}
	.article-category a {
		background: inherit;
		border: 1px solid #d2d2d2;
		color: #444;
	}
	.article-category a:hover, .article-category a.hover {
		border: 1px solid #5FB878;
		background: inherit;
		color: #5FB878;
	}
	.category-toggle {
		display: none;
	}
}
/*文章分类导航END*/

/*评论与留言*/
.blog-comment {
	position: relative;
	margin-bottom: 10px;
}

.blog-comment li {
	border-bottom: 1px dotted #01AAED;
	padding: 15px 0 10px 0;
}

.blog-comment .content, .blog-comment .info, .blog-comment .replycontainer
	{
	margin-left: 53px;
}

.blog-comment .info-footer {
	font-size: 13px;
}

.blog-comment .info, .blog-comment .replycontainer {
	padding-top: 5px;
}

.blog-comment .replycontainer .layui-form-item {
	margin-bottom: 5px;
}

.blog-comment .info span {
	padding-right: 5px;
}

.blog-comment .info .username {
	color: #01AAED;
}

.blog-comment .info .btn-reply {
	color: #009688;
}

.blog-comment .content {
	padding: 2px 0 5px 0;
	min-height: 30px;
	font-size: 13px;
}

.blog-comment hr {
	margin-left: 53px;
}

.comment-parent>img {
	width: 45px;
	height: 45px;
	margin: 5px 5px 5px 0;
	position: absolute;
	border-radius: 50px;
}

.comment-child img {
	width: 40px;
	height: 40px;
	margin: 5px 5px 5px 0;
	position: absolute;
	border-radius: 50px;
}

.comment-child {
	margin-left: 53px;
	min-height: 50px;
}

.comment-child .info {
	margin-left: 48px;
	font-size: 12px;
	line-height: 20px;
}
/*评论与留言END*/

/***********************************************动画定义*************************************************/
/*侧边导航In动画*/
@
keyframes leftIn {from { left:-200px;
	
}

to {
	left: 0;
}

}
@
-moz-keyframes leftIn {from { left:-200px;
	
}

to {
	left: 0;
}

}
@
-webkit-keyframes leftIn {from { left:-200px;
	
}

to {
	left: 0;
}

}

/*侧边导航Out动画*/
@
keyframes leftOut {from { left:0;
	
}

to {
	left: -200px;
}

}
@
-moz-keyframes leftOut {from { left:0;
	
}

to {
	left: -200px;
}

}
@
-webkit-keyframes leftOut {from { left:0;
	
}

to {
	left: -200px;
}

}

/*分享In动画*/
@
keyframes shareIn {from { right:-200px;
	
}

to {
	right: 80px;
}

}
@
-moz-keyframes shareIn {from { right:-200px;
	
}

to {
	right: 80px;
}

}
@
-webkit-keyframes shareIn {from { right:-200px;
	
}

to {
	right: 80px;
}

}

/*分享Out动画*/
@
keyframes shareOut {from { right:80px;
	
}

to {
	right: -200px;
}

}
@
-moz-keyframes shareOut {from { right:80px;
	
}

to {
	right: -200px;
}

}
@
-webkit-keyframes shareOut {from { right:80px;
	
}

to {
	right: -200px;
}

}

/*淡入动画*/
@
keyframes maskFadeIn {from { opacity:0;
	
}

to {
	opacity: 1;
}

}
@
-moz-keyframes maskFadeIn {from { opacity:0;
	
}

to {
	opacity: 1;
}

}
@
-webkit-keyframes maskFadeIn {from { opacity:0;
	
}

to {
	opacity: 1;
}

}

/*淡出动画*/
@
keyframes maskFadeOut {from { opacity:1;
	
}

to {
	opacity: 0;
}

}
@
-moz-keyframes maskFadeOut {from { opacity:1;
	
}

to {
	opacity: 0;
}

}
@
-webkit-keyframes maskFadeOut {from { opacity:1;
	
}

to {
	opacity: 0;
}
}