/**
 * 话题页面样式
 * gjc
 * 2018-11-05
 */
.topic {

}
/* 话题 main */
.topic-main {
	padding: 20px;
	width: 802px;
	min-height: 200px;
	background-color: #fff;
}
.topic-main h3 {
	padding-left: 20px;
	margin-top: 20px;
	margin-bottom: 20px;
}
.topic-main h3 img {
	margin-right: 24px;
	max-width: 36px;
	max-height: 36px;
}
.topic-list > div {
	float: left;
	width: 100%;
}
.topic-list a.topic-item {
	position: relative;
	float: left;
	margin-bottom: 14px;
	padding: 8px;
	width: 180px;
	height: 96px;
	border: 1px solid #e4e4e4;
	border-radius: 2px;
}
.topic-list a.topic-item img {
	margin-right: 16px;
	width: 40px;
	height: 40px;
	border-radius: 40px;
	border: 1px solid #e4e4e4;
	overflow: hidden;
}
.topic-list a.topic-item p span {
	width: 104px;
	font-size: 16px;
	color: #1a94e9;
	line-height: 40px;
	overflow: hidden;
	text-overflow:ellipsis;
	white-space: nowrap;
}
.topic-list a.topic-item p.topic-item-desc {
	width: 100%;
	height: 38px;
	overflow: hidden;
	text-overflow:ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
    line-height: 20px;
}
.topic-list a.topic-item i {
	position: absolute;
	right: 8px;
	bottom: 8px;
	width: 9px;
	height: 14px;
	background-image: url(../img/topic-close.png);
	background-repeat: no-repeat;
}
.topic-list a.topic-item.active {
	border-color: #1a94e9;
}
.topic-list a.topic-item.active i {
	width: 14px;
	height: 9px;
	background-image: url(../img/topic-open.png);
}
.topic-list .topic-item:not(:nth-of-type(4n)) {
	margin-right: 14px;
}
/*第一级
.topic-show-first {
	padding-left: 103px;
	height: 46px;
	line-height: 46px;
	background-color: #1a94e9;
}
.topic-show-first li {
	float: left;
}
.topic-show-first li a {
	display: block;
	width: 165px;
	color: #fff;
	font-size: 20px;
	text-align: center;
}
.topic-show-first li.active a {
	color: #66b4e9;
	background-color: #fff;
}
第二级
.topic-show-second {
	padding: 6px 20px 0px;
}
.topic-show-second li {
	float: left;
	position: relative;
}
.topic-show-second li a {
	display: block;
	padding: 10px 10px;
	font-size: 17px;
	color: #000;
}
.topic-show-second li.active.has-child a {
	color: #66b4e9;
    box-shadow: 0px 0px 4px 1px #eee;
}
.topic-show-second li.active a {
	color: #66b4e9;
	box-shadow: none;
}
.topic-show-second li.active.has-child span {
	position: absolute;
	z-index: 999;
	left: 0px;
	bottom: -4px;
	width: 100%;
	height: 8px;
	background-color: #fff;
}
第三级
.topic-show-third {
	display: none;
	padding: 0px 20px;
}
.topic-show-third ul {
	padding: 20px 10px;
    box-shadow: 0px 0px 4px 1px #eee;
}
.topic-show-third li {
	float: left;
}
.topic-show-third li a {
	padding: 0px 10px;
	color: #707070;
}
.topic-show-third li.active a {
	color: #66b4e9;
}
话题下问题列表
.topic-question-show li {
	height: 219px;
}
.topic-question-show li:not(:last-child) {
	border-bottom: 1px solid rgba(151, 151, 151, 0.2);
}*/




/* 话题 sidebar */
.topic-sidebar {

}
/* 话题 sidebar 热门文章 */
.topic-sidebar-hot {
	padding: 20px;
}
.topic-sidebar-hot > h3 {
	margin-bottom: 24px;
	font-size: 18px;
	color: #404040;
	line-height: 25px;
	text-align: center;
}
/*.topic-sidebar-hot .layui-tab-title {
	position: relative;
	height: 42px;
}
.topic-sidebar-hot .layui-tab-title li {
	position: absolute;
	width: 80px;
}
.topic-sidebar-hot .layui-tab-title li:nth-of-type(1) {
	left: 0px;
}
.topic-sidebar-hot .layui-tab-title li:nth-of-type(2) {
	left: 124px;
}
.topic-sidebar-hot .layui-tab-title li:nth-of-type(3) {
	right: 0px;
}
.topic-sidebar-hot .layui-tab-title .layui-this {
	color: #1a94e9;
}
.topic-sidebar-hot .layui-tab-title .layui-this:after {
	border-color: #1a94e9;
}
.topic-sidebar-hot .layui-tab-content {
	padding: 30px 0px;
}*/
.topic-sidebar-hot-list li {
	margin-bottom: 20px;
	height: 28px;
}
.topic-sidebar-hot-num,
.topic-sidebar-hot-txt {
	float: left;
	line-height: 28px;
	font-size: 16px;
	color: #6d6d6d;
}
.topic-sidebar-hot-num {
	width: 28px;
	height: 28px;
	text-align: center;
	background-color: #e3e3e3;
}
.topic-sidebar-hot-txt {
	width: 300px;
	padding-left: 20px;
	font-size: 15px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.topic-sidebar-hot-list li:nth-child(-n+3) .topic-sidebar-hot-num {
	color: #fff;
	background-color: #eb791d;
}
.topic-sidebar-hot-list li:nth-child(-n+3) .topic-sidebar-hot-txt {
	color: #363636;
}