/* 全局样式重置 */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	-moz-osx-font-smoothing: grayscale;
	font-feature-settings: 'liga';
	-webkit-text-size-adjust: 100%;
	font-family: "Helvetica Neue",-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Ubuntu, Helvetica Neue, Helvetica, Arial, PingFang SC, Hiragino Sans GB, Microsoft YaHei UI, Microsoft YaHei, Source Han Sans CN, sans-serif;
}
html {
	overflow-y: auto;
}
body {
	font-weight: 400;
}
div{
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}
address, caption, cite, code, dfn, em, th, var {
	font-style: normal;
	font-weight: normal;
}
input, textarea, select, button{
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	font-size:100%;
	*font-size: 100%;
	outline:none;
	border: none;
	vertical-align: middle;
}
table{
	outline:none;
	border-collapse: collapse;
}
th,td,tr{
	margin: 0;
	padding: 0;
}
ul, ol, li {
	list-style: none;
	padding: 0;
	margin: 0;
}
img{
	font-size: 16px;
	font-family: 'Helvetica';
	font-weight: 300;
	line-height: 2;
	text-align: center;
	display: inline-block;
	position: relative;
}
img:after {
	content: "\f1c5" " " attr(alt);
	font-size: 18px;
	font-family: FontAwesome;
	color: rgb(100, 100, 100);
	display: block;
	position: absolute;
	z-index: 2;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #ddd;
}
.clear,.clr{
	clear:both;
	overflow:hidden;
}
.clear:after,.clr:after{
	content: " "; 
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
.bg {
	background-color: #f7f7f7;
}
a,a.def {
	color: #555;
	text-decoration: none;
}
a:hover,a:focus,a.def:hover {
	color: #19c689;
	text-decoration: none;
}
a.link {
	color: #19c689;
}

.defaut-theme{
	color: #333;
	line-height: 1.6;
}
h1, h2, h3, h4, h5, h6{
	margin: 0;
	padding: 0;
}
p{
	margin: 0;
	padding: 0;
}
/* 头部样式 */
header {
	background-color: #fff;
	border-bottom: 1px solid #e6e6e6;
	padding: 10px 0;
	position: sticky;
	top: 0;
	z-index: 100;
}
.header-container {
	width: 90%;
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.logo {
	font-size: 24px;
	font-weight: bold;
	line-height: 36px;
	color: #19c689;
	text-decoration: none;
	height: 36px;
}
.logo img{
	height: 100%;
	display: block;
}
.nav-list {
	display: flex;
	list-style: none;
	margin-left: 20px;
}
.nav-list li {
	margin: 0 15px;
}
.nav-list a {
	text-decoration: none;
	color: #333;
	font-size: 16px;
	transition: color 0.3s;
}

.write-btn {
	background-color: #ea6f5a;
	color: #fff;
	border: none;
	padding: 8px 16px;
	border-radius: 20px;
	cursor: pointer;
	font-size: 14px;
	transition: background-color 0.3s;
}
.write-btn:hover {
	background-color: #d45a46;
}
.search-box {
	flex: 1;
	/* max-width: 300px; */
	max-width: 308px;
	margin: 0 20px;
	position: relative;
}
.search-box input {
	width: 100%;
	padding: 8px 15px;
	border: 1px solid #e6e6e6;
	border-radius: 4px 0 0 4px; 
	outline: none;
	font-size: 14px;
}
.search-box input.form-control{
	width: 254px;
}
.search-box button {
	/* background: url('../img/search.svg') no-repeat 10px center; */
	/* background-size: 18px 18px; */
	background-color: #19c689;
	border-color: transparent;
	border: none;
	padding: 6px 10px;
	height: 31px;
	border-radius: 0 4px 4px 0;
	cursor: pointer;
	color: #fff;
	transition: all 0.5s;
	
}
.search-box button:hover{
	background-color: #d45a46;
}
/* .search-box button {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	cursor: pointer;
	color: #999;
} */
.search-box .form-search input.my-search-input {
  -webkit-appearance: textfield;
  font-family: inherit;
  font-size: 100%;
}
.search-box .form-search input::-webkit-search-decoration,
.search-box .form-search input::-webkit-search-cancel-button {
  display: none;
}
.search-box .form-search input.my-search-input {
  background: url('../img/search.svg') no-repeat 10px center;
  background-size: 18px 18px;
  border-color: transparent;
  padding: 6px 10px;
  width: 35px;
  -webkit-border-radius: 10em;
  -webkit-background-clip: padding-box;
  -moz-border-radius: 10em;
  -moz-background-clip: padding;
  border-radius: 10em;
  background-clip: padding-box;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
  height: inherit;
  cursor: pointer;
  box-shadow: none;
  color: transparent;
}
.search-box .form-search input.my-search-input:hover {
  background-color: #fff;
}
.search-box .form-search input.my-search-input:focus {
  /* border-color: #19c689; */
  /* width: 200px; */
  border-color: #555;
  width: 100%;
  padding-left: 32px;
  color: #000;
  background-color: #fff;
  cursor: auto;
  /* -webkit-box-shadow: 0 0 5px #555;
  -moz-box-shadow: 0 0 5px #555;
  box-shadow: 0 0 5px #555; */
}
.search-box .form-search input.my-search-input:focus::-moz-placeholder {
  color: #999;
}
.search-box .form-search input.my-search-input:focus::-webkit-input-placeholder {
  color: #999;
}
.search-box .form-search input::-moz-placeholder {
  color: transparent;
}
.search-box .form-search input::-webkit-input-placeholder {
  color: transparent;
}



/* 主体内容样式 */
.main-container {
	width: 90%;
	max-width: 1200px;
	margin: 20px auto;
	display: flex;
	justify-content: space-between;
}
/* 文章列表区域 */
/* .article-list {
	width: 70%;
} */
.mainside{
	width: 70%;
}
.content-list{}
.content-list a.list-item{
	display: flex;
    /* margin-bottom: 28px; */
    transition: all .3s;
	padding: 20px 0;
	border-bottom: 1px solid #efefef;
}
/* .content-list a.list-item:nth-child(2n){
	background-color: #efefef;
} */
.content-list a.list-item:hover{
	transform: translateY(-8px);
	border-bottom: 1px solid #19c689;
}
.content-list a.list-item .article .article-side{
	display: table-cell;
	vertical-align: top;
	overflow: hidden;
	padding: 0;
    width: 160px;
	border-radius: 4px;
}
.content-list a.list-item .article-img{
	position: relative;
	display: block;
	height: 0;
	padding: 0;
	overflow: hidden;
	padding-bottom: 75%;
	transition: all .3s;
}
.content-list a.list-item:hover .article-img{
	border-radius: 15px;
}
.content-list a.list-item .article-img img{
	position: absolute;
    object-fit: cover;
    width: 100%;
    height: 100%;
    border: 0;
	transition: all .3s;
}
.content-list a.list-item:hover .article-img img{
	transform: scale(1.05);
}
.content-list a.list-item .article-body{
	position: relative;
	padding-left: 20px;
	line-height: 25px;
	display: table-cell;
    vertical-align: top;
	zoom: 1;
    overflow: hidden;
	padding-right: 15px;
}
.content-list a.list-item p{
	font-size: 14px;
}
.content-list a.list-item:hover p{
	color: #555;
}
.content-list a.list-item .gallery-article .article-body .article-intro{
	margin-top: 15px;
}
.content-list a.list-item .article-title{
	margin: 0;
	font-weight: 400;
    /* font-size: 1.25em; */
	font-size: 1.5em;
    line-height: 1.45;
    color: #000;
	transition: all .3s;
	margin-bottom: 8px;
}
.content-list a.list-item .article-title.hidden-xs{
	overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 1;
}
.content-list a.list-item .gallery-article .article-title{
	margin-bottom: 10px;
}
.content-list a.list-item .gallery-article .row{
	margin: 0 -10px;
}
.content-list a.list-item:hover .article-title{
	color: #19c689;
	font-weight: bold;
}
.content-list a.list-item .article-intro{
	height: 44px;
    line-height: 22px;
    color: #828a92;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 2;
}
.article-more{
	display: block;
	clear: both;
	color: #aaa;
	font-size: 13px;
}
.content-list a.list-item .article-more{
    position: absolute;
    bottom: 0;
}
.content-list a.list-item .gallery-article .article-more{
	position: relative;
    margin-top: 10px;
}
.content-list a.list-item .article-more b.tag{
	display: inline-block;
    padding: 0 8px;
    height: 24px;
    line-height: 24px;
    font-weight: 400;
    font-size: 13px;
    text-align: center;
    color: #19c689;
    background: #e5f2ff;
    margin-right: 3px;
    border-radius: 2px;
    min-width: 30px;
}
.article-more span{
	margin: 0 8px;
}
.content-list a.list-item .article-more span{
	font-size: 12px;
}
.content-list a.list-item:hover .article-more span,
.content-list a.list-item:hover .article-more span i{
	color: #19c689;
}
.btn-box{
	width: 100%;
	display: flex;
    justify-content: center;
	margin-top: 25px;
	margin-bottom: 25px;
}
.more-button{
	display: inline-block;
    align-items: center;
    width: 500px;
    height: 38px;
    /* background: #19c689; */
	background: #6b6b6b;
    border-radius: 5px;
    font-weight: 400;
    font-size: 14px;
    color: #fff;
	border: none;
    margin-top: auto;
    transition: all .3s;
}
.more-button:hover{
	border-radius: 28px;
}
p.loadinfo{
	font-size: 16px;
	line-height: 2.0;
	margin: 15px auto;
}

/* 分页 */
.content-pageno{
	margin: 20px 0;
    list-style: none;
    text-align: center;
}
.content-pageno .pagination{
	display: inline-block;
    height: 42px;
}
.pagination{}
.pagination li{
	/* float: left; */
    margin: 0 5px;
	display: inline-block;
    overflow: hidden;
    min-width: 30px;
    height: 40px;
    line-height: 40px;
    font-size: 14px;
    color: #19c689;
    text-align: center;
    border: 1px solid #19c689;
    border-radius: 4px;
}
.pagination li a{
	display: block;
    padding: 0 5px;
    min-width: 30px;
    color: #19c689;
	border: none;
	line-height: 40px;
}
.pagination li.active a{
	color: #fff;
	background-color: #19c689;
	
}
.pagination li:focus a,.pagination li:hover a{
	color: #fff;
	background-color: #19c689;
}
.pagination li.disabled a{}
.content-text{
	height: 40px;
    line-height: 40px;
    font-size: 14px;
}


/* 侧边栏样式 */
.sidebar {
	width: 28%;
}
.sidebar-card {
	background-color: #fff;
	border-radius: 4px;
	padding: 15px;
	width: 100%;
	overflow: hidden;
	margin-bottom: 15px;
	border: 1px solid #f0f0f0;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.sidebar-card h3 {
	font-size: 16px;
	margin-bottom: 10px;
	padding-bottom: 8px;
	border-bottom: 1px solid #e6e6e6;
}
.sidebar-slide{
	overflow: hidden;
	width: 100%;
	max-width: 314px;
	border-radius: 4px;
	margin-bottom: 15px;
}
.swiper-container-side {
	width: 100%;
	height: 100%;
	
}
.swiper-slide {
	text-align: center;
	font-size: 18px;
	background: #fff;
	/* Center slide text vertically */
	display: -webkit-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	-webkit-align-items: center;
	align-items: center;
}
.swiper-container-side .swiper-slide img{
	width: 100%;
	height: 100%;
  	object-fit: cover; 
}
.sidebar-scroll{
	position: relative;
	top: 0;
	width: 100%;
	overflow: hidden;
}
.sidebar-list {
	list-style: none;
	
}
.sidebar-list li {
	margin: 5px 0;
	overflow: hidden;
	text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}
.sidebar-list a {
	text-decoration: none;
	color: #666;
	font-size: 14px;
	transition: color 0.3s;
}
.sidebar-list a:hover {
	color: #ea6f5a;
}
.qrcode {
	width: 100%;
	max-width: 180px;
	margin: 0 auto;
	display: block;
}
.sidebar-info{}
.sidebar-info p{
	font-size: 12px;
	line-height: 1.8;
	color: #888;
}
.sidebar-info a{
	color: #888;
	/* margin-left: 15px; */
}
.sidebar-tags{
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
}
.sidebar-tags a{
	display: inline-block;
	padding: 5px 8px;
	font-size: 14px;
	border-radius: 3px;
	/* border: 1px solid #19c689;
	background: #19c689; */
}
.sidebar-tags a:nth-child(2n){
	/* border: 1px solid #d45a46;
	background: #d45a46; */
}
.sidebar-tags a:nth-child(3n){
	/* border: 1px solid #5bc0de;
	background: #5bc0de; */
}

/* 详情页主体样式 */
.article-container {
	width: 90%;
	max-width: 1200px;
	margin: 20px auto;
	display: flex;
	justify-content: space-between;
}
.article-container p,
.article-container span{
	text-wrap: wrap !important; 
	white-space: normal !important;

}
/* 文章详情区域 */
.article-detail {
	width: 70%;
	background-color: #fff;
	border-radius: 4px;
	padding: 30px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.article-title {
	font-size: 28px;
	margin-bottom: 20px;
	line-height: 1.3;
}
.article-author {
	display: flex;
	align-items: center;
	margin-bottom: 20px;
	padding-bottom: 15px;
	border-bottom: 1px solid #e6e6e6;
}
.author-avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	margin-right: 15px;
}
.author-info h4 {
	font-size: 16px;
	margin-bottom: 5px;
}
.author-meta {
	font-size: 12px;
	color: #999;
}
.author-meta span {
	margin-right: 10px;
}
.article-content {
	font-size: 16px;
	color: #333;
	margin-bottom: 20px;
}
.article-content p {
	margin-bottom: 15px;
	text-align: justify;
}
.article-content img {
	width: 100%;
	/* max-height: 400px; */
	object-fit: cover;
	border-radius: 4px;
	margin: 20px 0;
	max-width: 100%;
}
.article-tile{
	margin-bottom: 20px;
}
/* 左侧功能按钮 */
.article-tools {
	position: fixed;
	left: 20px;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	flex-direction: column;
	gap: 15px;
}
.tool-btn {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid #e6e6e6;
	background-color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: #999;
	transition: all 0.3s;
}
.tool-btn:hover {
	background-color: #ea6f5a;
	color: #fff;
	border-color: #ea6f5a;
}
/* 返回顶部 */
.float-btn{
	width: 50px;
    height: auto;
    position: fixed;
    top: auto;
    right: 50%;
    bottom: 10px;
    left: auto;
    z-index: 80;
    margin-right: -640px;
}
.float-btn a{
	cursor: pointer;
    position: relative;
    z-index: 90;
    display: block;
    margin-top: 4px;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    font-size: 20px;
    color: #d5d5d5;
    background-color: #fff;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.float-btn i.iconfont{
	display: inline-block;
	font: normal normal normal 14px / 1 iconfont;
	font-size: inherit;
}
.float-btn a em{
	display: none;
}
.float-btn > a:hover{
  background: #19c689;
}
.float-btn > a.hover:hover{
  -webkit-transition: background-color 400ms ease-out;
  -moz-transition: background-color 400ms ease-out;
  -o-transition: background-color 400ms ease-out;
  transition: background-color 400ms ease-out;
  background: #19c689;
  text-decoration: none;
  text-align: center;
  line-height: 20px;
  padding: 5px;
}
.float-btn > a.hover:hover i {
  display: none;
}
.float-btn > a.hover:hover em{
  display: block;
  color: #fff;
  font-size: 14px;
  font-style: normal;
  text-decoration: none;
}
/* 响应式适配 */
@media (min-width: 769px) {
	.hidden-wide{
		display: none;
	}
	.sidebar-scroll.fixed{
		position: fixed;
		top: 60px; 
		max-width: 314px;
	}
}
@media (max-width: 768px) {
	.main-container {
		flex-direction: column;
	}
	.mainside,
	.article-list,
	.article-detail,
	.sidebar {
		width: 100%;
		
	}
	.article-detail{
		padding: 0;
	}
	.sidebar{
		padding: 0;
		margin-top: 15px;
	}
	.nav-list {
		display: none;
	}
	.search-box {
		max-width: 200px;
		margin: 0;
	}
	.search-box .form-group{
		margin-bottom: 0;
	}
	.search-box form.form-inline{
		display: flex;
		justify-content: center;
	}
	.search-box input.form-control{
		width: 150px;
	}
	.search-box .form-search input.my-search-input {
		position: relative;
		width: 100%;
		border: 1px solid #ddd;
	}
	.search-box .form-search input.my-search-input:focus {
		width: 100%;
	}
	.content-list a.list-item h3.hidden-wide{
		font-size: 1.2em;
		margin-bottom: 4px;
		overflow: hidden;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		line-height: 1.3;
		margin-bottom: 0;
	}
	.content-list a.list-item .article-intro{
		font-size: 12px;
		height: auto;
		line-height: 18px;
	}
	.content-list a.list-item .article .article-side{
		width: 138px;
	}
	.article-container {
	    flex-direction: column;
	}
	.article-tools {
	    display: none;
	}
	.article-title {
	    font-size: 22px;
	}
	.btn-box .more-button{
		max-width: 100%;
	}
	.sidebar-slide{
		max-width: 100%;
	}
}