@charset "utf-8";
.community-banner{
	padding: 20px 0;
}
.community-banner img{
	width: 100%;
	display: block;
	border-radius: 8px;
}
.community-container{
	display: flex;
}
.community-content{
	flex: 1;
	margin-bottom: 50px;
	overflow: hidden;
}
/* 文章列表 */
.article-list-item{
	padding: 20px 30px 0;
}
.article-list-item+.article-list-item{
	border-top: 1px solid #e5efff;
}
.article-list-item>a{
	cursor: pointer;
	display: block;
}
.article-list-item a:hover .article-title{
	color: #2c68ff;
}
.article-list-item a:hover .article-img{
	box-shadow: 1px 1px 5px rgba(0,0,0,.1);
}
.article-list .article-title{
	font-size: 18px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	font-weight: bold;
	color: #2b2b2b;
}
.article-list .article-content{
	display: flex;
	margin-top: 10px;
	margin-bottom: 10px;
}
.article-list .article-img{
	width: 190px;
	height: 106px;
	border-radius: 4px;
	object-fit: cover;
	margin-right: 10px;
	flex-shrink: 0;
}
.article-list .article-content-box{
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	line-height: 1.6;
	max-height: 45px;
	letter-spacing: 1px;
}
.article-list .article-content-box img,
.article-list .article-content-box img+br{
	display: none;
}
.article-list .article-content-box *{
	font-size: 14px !important;
}
.article-list .article-img + .article-content-box{
	-webkit-line-clamp: 3;
	max-height: 68px;
}
/* 文章功能区 */
.article-tool-box{
	height: 45px;
}
.article-tool{
	padding: 10px 0;
	height: 45px;
	box-sizing: border-box;
}
.article-tool.fixed{
	position: fixed;
	left: 50%;
	margin-left: -400px;
	bottom: 0;
	z-index: 10;
	width: 800px;
	padding-left: 30px;
	padding-right: 30px;
	background: #fff;
	box-sizing: border-box;
}
.article-tool-btn{
	color: #8590a6;	
	display: inline-block;
	user-select: none;
}
a.article-tool-btn{
	cursor: pointer;
}
.comments-item:hover .article-tool-btn.hide{
	opacity: 1;
	visibility: visible;
}
.article-tool-btn+.article-tool-btn{
	margin-left: 35px;
}
.article-tool-btn:hover{
	color: #6c788f !important;
}
.article-tool-btn.on{
	color: #2c68ff !important;
}
/* 右侧栏 */
.community-sidebar{
	width: 370px;
	margin-left: 20px;
	margin-bottom: 50px;
}
.community-nav{
	text-align: center;
	padding: 30px 0;
}
.community-nav a{
	display: inline-block;
	width: 60px;
	margin: 0 10px;
	font-size: 12px;
	cursor: pointer;
}
.community-nav .cc-icon{
	display: inline-block;
	font-size: 20px;
	width: 40px;
	height: 40px;
	line-height: 40px;
	border-radius: 50%;
	background: #e0ecff;
	color: #0066ff;
	margin-bottom: 5px;
}
.community-nav a:nth-of-type(2) .cc-icon{
	background: #fff2e0;
	color: #ff9607;
}
.community-nav a:nth-of-type(3) .cc-icon{
	background: #e4f7f7;
	color: #26bfbf;
}
.community-nav-footer{
	display: flex;
	border-top: 1px solid #e5efff;
}
.community-nav-footer a{
	flex: 1;
	text-align: center;
	height: 50px;
	line-height: 50px;
}
.community-nav-footer a+a{
	border-left: 1px solid #e5efff;
}
.community-nav a:hover,
.community-nav-footer a:hover{
	color: #2c68ff;
}
.community-sidebar .ad{
	width: 100%;
	display: block;
}
/* 文章详情 */
.article-container{
	width: 800px;
	margin: 20px auto;
}
.article-detail{
	padding: 20px 30px;
}
.article-detail .article-img{
	width: 100%;
	height: auto;
	margin-bottom: 20px;
}
.article-creator{
	display: flex;
	align-items: center;
	margin-bottom: 20px;
}
.article-creator img{
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
	margin-right: 10px;
}
.article-creator dt{
	color: #2b2b2b;
}
.article-creator dt i{
	color: #2c68ff;
}
.article-creator dd{
	color: #7f818c;
	font-size: 12px;
}
.article-detail .article-title{
	font-size: 20px;
	color: #2b2b2b;
	font-weight: 800;
	line-height: 1.6;
	margin-bottom: 10px;
}
.article-detail .article-time{
	color: #7f818c;
}
.article-detail-box{
	line-height: 1.6;
	margin: 20px 0;
}
.article-detail-box img{
	max-width: 100%;
}
/* 文章评论 */
.comments-title{
	font-size: 14px;
	color: #2b2b2b;
	padding: 20px;
	display: flex;
	justify-content: space-between;
	border-bottom: 1px solid #e5efff;
}
.comments-title span{
	font-weight: bold;
}
.comments-title+.comments-editor{
	margin: 20px;
}
.comments-list{
	margin-top: 20px;
}
.comments-item+.comments-item{
	border-top: 1px solid #e5efff;
}
.comments-item{
	display: flex;
	padding: 10px 20px;
}
.comments-item-children{
	padding-left: 0;
	margin-left: 56px;
}
.comments-item-children+.article-tool{
	margin-left: 92px;
}
.comments-item>img{
	width: 26px;
	height: 26px;
	border-radius: 50%;
	object-fit: cover;
	margin-right: 10px;
}
.comments-item>dl{
	flex: 1;
}
.comments-item>dl dt{
	line-height: 26px;
	margin-bottom: 10px;
	display: flex;
	justify-content: space-between;
}
/* .comments-item>dl dd{
	color: #7f818c;
	font-size: 12px;
} */
/* 评论输入框 */
.comments-editor{
	display: flex;
	align-items: flex-end;
}
.comments-editor-textarea {
	position: relative;
	flex: 1;
}
.comments-editor-content {
  position: relative;
  z-index: -1;
  opacity: 0; 
  line-height: 1.6;
  /* white-space: pre; */
  word-break: break-all;
  padding: 7px 10px;
}
.comments-editor-textarea textarea {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;   
  line-height: 1.6;
  color: #464545;
  resize: none;
  overflow: hidden;
  border: none;
  padding: 7px 10px;
  border: 1px solid #e5efff;
  box-sizing: border-box;
  border-radius: 4px;
}
.comments-editor-textarea textarea:focus{
	border-color: #2c68ff;
}
.comments-editor-btn{
	display: inline-block;
	height: 36px;
	line-height: 36px;
	background: #2c68ff;
	color: #fff;
	padding: 0 16px;
	border-radius: 4px;
	font-size: 12px;
	margin-left: 10px;
	cursor: pointer;
}
.comments-editor-btn:hover{
	color: #fff;
	opacity: .8;
}
/* 表情包 */
.comments-editor-emoji{
	position: absolute;
	bottom: 1px;
	right: 1px;
	z-index: 1;
}
.comments-editor-emoji>i{
	display: inline-block;
	cursor: pointer;
	color: #8e98ad;
	font-size: 24px;
	padding: 5px;
	line-height: 1;
}
.comments-editor-emoji .emojis {
	position: absolute;
	right: 0;
	bottom: 40px;
	width: 350px;
	height: 160px;
	padding: 10px;
	background: #fff;
	border-radius: 4px;
	box-shadow: 0 0 10px rgba(0,0,0,.1);
	box-sizing: border-box;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	overflow-y: scroll;
	transition-duration: .3s;
	opacity: 0;
	visibility: hidden;
}
.comments-editor-emoji>i:hover{
	color: #2c68ff;
}
.comments-editor-emoji:hover .emojis {
	opacity: 1;
	visibility: visible;
}
.comments-editor-emoji .emoji {
	height: 40px;
	width: 40px;
	box-sizing: border-box;
	cursor: pointer;
}
.comments-editor-emoji .emoji img{
	height: 30px;
	width: 30px;
}
#replyList{
	display: none;
	background: #f5f8fa;
}
@media only screen and (max-width: 1399px) {
	.community-sidebar{
		width: 300px;
	}
}