﻿/**
 * 评论区
 */
/* 添加评论 */
.comment-add{
	font-size:12px;
	padding:10px;
	border-radius:5px;
	margin-bottom:30px;
}
.comment-add a{
	font-size:12px;
	color:blue;
}
.comment-add .title{
	font-size:18px;
	font-weight:bold;
	padding:8px;
}
.comment-add span{
	font-size:12px;
	color:gray;
	top:0;
}
.comment-add form{
	position:relative;
	margin-bottom:0;
}
.comment-add form input[type='text'], input[type='radio'], textarea, textarea:hover{
	font-size:12px !important;
	margin-bottom:8px;
	border:1px solid #ccc;
	background-color:#fff;
	border-radius:3px;
	letter-spacing:0;
}
.comment-add form input[type='Submit']{
	padding:5px;
	margin-top:15px;
	margin-bottom:8px;
	width:150px;
}

/* 评论列表 */
.comments-list{
	padding:10px;
	background-color:#fff;
	border-radius:5px;
	margin-bottom:30px !important;
}
.comments-list .title{
	border-bottom:1px solid #C7C7C7;
	padding-bottom:8px;
	margin-bottom:8px;
}
.comments-list .contents{
	padding:10px;
	font-size: 14px !important;
}
.comments-list .contents .item{
	display:flex;
	padding: 1.5rem 0;
	border-bottom:1px solid #C7C7C7;
}
.comments-list .contents a{
	color:rgb(79, 79, 82);
}
.comments-list .contents a:hover{
	color:#f96d00;
}
.comments-list .contents,
.comments-list .contents a,
.comments-list .contents span{
	font-size:13px;
}
.comments-list .contents .item:last-child{
	border:none;
	padding-bottom:0;
}
.comments-list .contents .quote{
	margin-top:5px;
	padding:6px 8px;
	border:1px solid #C7C7C7;
	background-color:#FBFBFB;
	color:#666;
	border-radius:3px;
	font-size: 13px;
}
.comments-list .contents .left{
	width:45px;
	margin:0 15px 0 0;
}
.comments-list .contents .right{
	text-align:left;
}
.comments-list .contents .left .face{
	width:45px;
	height:45px;
}
.comments-list .contents img{
	width:15px; 
	border:0; 
	padding:0;
	top:-1px;
	margin-left:2px; 
	vertical-align:middle;
	position: relative;
}
.comments-list .contents span{
	top:0;
	left:-2px;
}

/* 
评论框内插入表情（表情大小在face.js中定义）
*/
.faceDiv {
	z-index:2147483647;
	position:fixed;
	padding: 8px;
	border: 1px solid #EAEAEA;
	width: 380px;
	background: #FFF;
}
.law {
	position: absolute;
	margin: -12px 0 0 5px;
	display: block;
	width: 14px;
	height: 7px;
}
.faceDiv ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.faceDiv ul li {
	margin: 2px;
	padding: 3px !important;
	border-radius: 5px;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 30px;
	height: 30px;
}
.faceDiv ul li:hover {
	background: #BECDDE;
}
.plk {
	border: #666666 1px solid;
	cursor: text;
}


/* 手机端所有12px的文字均增大为14px */

@media (max-width: 768px) {
	.comment-add,
	.comment-add span,
	.comment-add form input[type='text'], 
	input[type='radio'], textarea, 
	textarea:hover{
		font-size:14px !important;
	}

	.comments-list .contents .left{
		width:35px;
		margin:0 15px 0 0;
	}
	.comments-list .contents .left .face {
		width: 35px;
		height: 35px;		
	}
	
	.comments-list .contents img {
		vertical-align: text-top;
		position: relative;
		top: 3px;
	}

	.comments-list .contents .quote{
		font-size: 14px;
	}
}