﻿

.recommend-teacher {
	background-color: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 4px;
}

	.recommend-teacher > ul > li {
		width: 100%;
		padding: 0 16px;
		margin-bottom: 20px;
		display: flex;
		justify-content: flex-start;
		align-items: flex-start;
	}

		.recommend-teacher > ul > li:first-child {
			margin-top: 16px;
		}

.recommend-teacher-img {
	width: 40px;
	height: 40px;
	-moz-border-radius: 50%;
	border-radius: 50%;
}

	.recommend-teacher-img img {
		width: 100%;
		height: 100%;
		display: block;
		border: 1px solid #eee;
		-moz-border-radius: 50%;
		border-radius: 50%;
	}

.recommend-teacher-info {
	width: calc(100% - 55px);
	margin-left: 15px;
}

	.recommend-teacher-info p {
		width: 100%;
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
	}

	.recommend-teacher-info > p img,
	.recommend-teacher-info > img {
		width: 100%;
	}

.recommend-teacher-name {
	height: 20px;
	margin-top: 8px;
	font-size: 14px;
	line-height: 20px;
	color: #262626;
}

	.recommend-teacher-name a {
		color: #262626;
	}

		.recommend-teacher-name a:hover {
			color: #1a8cff;
		}

	.recommend-teacher-name span {
		margin-left: 5px;
		font-size: 12px;
		color: #8c8c8c;
	}

.recommend-teacher-msg {
	height: 17px;
	margin-top: 7px;
	font-size: 12px;
	line-height: 17px;
	letter-spacing: 0;
	color: #262626;
}

.recommend-teacher .recommend-teacher-info h4 {
	display: flex;
	align-items: center;
}

	.recommend-teacher .recommend-teacher-info h4 > a:first-child {
		font-size: 15px;
		font-family: PingFang SC-Regular, PingFang SC;
		font-weight: 400;
		color: #262626;
		line-height: 21px;
		max-width: 75px;
	}

	.recommend-teacher .recommend-teacher-info h4 > span {
		height: 17px;
		font-size: 12px;
		font-family: PingFang SC-Regular, PingFang SC;
		font-weight: 400;
		color: #61543A;
		line-height: 17px;
		background: #F3E0AB;
		border-radius: 2px;
		padding: 0 3px;
		margin-left: 5px;
	}

	.recommend-teacher .recommend-teacher-info h4 > a:last-child {
		font-size: 12px;
		font-family: PingFang SC-Regular, PingFang SC;
		font-weight: 400;
		color: #FE5900;
		line-height: 17px;
		margin-left: auto;
	}

	.recommend-teacher .recommend-teacher-info h4 > a:first-child:hover {
		color: #1A8CFF;
	}

	.recommend-teacher .recommend-teacher-info h4 > a i {
		vertical-align: middle;
		font-size: 14px;
	}

.recommend-teacher .recommend-teacher-info > div, .recommend-teacher .recommend-teacher-info > p {
	font-size: 12px;
	font-family: PingFang SC-Regular, PingFang SC;
	font-weight: 400;
	color: #8C8C8C;
	line-height: 17px;
	margin-top: 2px;
}



.recommend-teacher .recommend-teacher-info .teacher-dl{
	display: flex;
	align-items: center;
	margin-top: 4px;
}
.recommend-teacher .recommend-teacher-info .teacher-dl dd{
	font-size: 12px;
	font-family: PingFang SC-Regular, PingFang SC;
	font-weight: 400;
	color: #8C8C8C;
	line-height: 16px;
	margin-right: 13px;
	white-space: nowrap;
	position: relative;
}
.recommend-teacher .recommend-teacher-info .teacher-dl dd i{
	font-size: 12px;
}
.recommend-teacher .recommend-teacher-info .teacher-dl dd::after{
	content: '';
	width: 1px;
	height: 12px;
	position: absolute;
	right: -7px;
	top: 50%;
	transform: translateY(-50%);
	background: #EBEBEB;
}

.recommend-teacher .recommend-teacher-info .teacher-dl dd:last-child::after{
	content:none;
}
.recommend-teacher .recommend-teacher-info .teacher-dl dd:last-child{
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
