body {
	background-color: #ececec;
	color: #666;
	font-family:  "microsoft yahei";
}
a {
	color: #666;
	text-decoration: none;
}
a:hover {
	color: red;
	
}

.d1{margin:0 auto;margin-top:10px;height:40px;width:1050px;}
.d1 h4{margin-left:10px; padding-top:10px;}
.d1 a {
	color: #ffffff;
	text-decoration: none;
}
.d1 a:hover {
	color: red;
}
/*content*/
.es-box {
	position: relative;
	margin-bottom: 10px;
	padding: 20px 25px 25px 25px;
	background-color: #fff;	
	overflow: hidden;
}
.es-box .more {
	position: absolute;
	top: 20px;
	right: 20px;
	font-size: 12px;
	line-height: 24px;
	color: #02b980;
}
.es-box > h2 {
	margin-left: -25px;
	margin-bottom: 20px;
	padding-left: 20px;
	border-left: 4px solid #00b780;
	color: #222;
	font-size: 24px;
}

.es-course li,
.teachers li {
	padding-right: 10px;
	padding-left: 10px;
}
.es-course ,
.teachers {
	padding-bottom: 5px;
}
.es-course-list {
	margin-left:10px;
	padding-left:5px;
	margin-bottom: 20px;
	overflow: hidden;
}
@media (max-width: 768px) {
	.es-course-list img {
		width: 100%;    /*for img<768*/
		max-height: 374px;
	}
}
.es-course-list > div {
	position: relative;
	height: 100%;
}
.course-top {
	position: relative;
}
.course-top span {
	position: absolute;
	bottom: 0;
	left: 0;
	display: block;
	padding: 10px;
	background-color: #02b980; 
	background-color: rgba(2,185,128,0.8);
	color: #fff; 
	font-size: 12px;
	width: 100%;
	line-height: 10px;
}
.course-bottom {
	padding: 2px;
	background: #eaeaea;
	width:314px;
}
.course-bottom h3 {
	width:204px;
	font-size: 16px;
	line-height: 20px;
	text-align:center;
	height: 28px;
	overflow: hidden;
	color: #222;
}
.course-bottom .price-num {
	margin-right: 10px;
	font-size: 18px;
	color: #ff5d42;
}
.course-bottom .student-num {
	font-size: 12px;
	line-height: 18px;
	color: #a9a9a9;
}
.course-bottom .nickname {
	font-size: 12px;
	color: #00b780;
	display: inline-block;
	height: 16px;
}
.es-course-list .mask {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	padding: 20px;
	background-color: #02b980;
	color: #fff;
	opacity: 0;
	filter:Alpha(opacity=0);
	-webkit-transform: translate3d(0, -100%, 0);
	-ms-transform: translate3d(0, -100%, 0);
	transform: translate3d(0, -100%, 0);
}
.es-course-list:hover .mask {
	opacity: 1;
	filter:Alpha(opacity=100);
	display: block;
	-webkit-transform: translate3d(0, 0, 0);
	-ms-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
	-webkit-transition: all 250ms, opacity .1s ease-in;
	transition: all 250ms, opacity .1s ease-in;
}
.es-course-list .mask a {
	display: block;
	width: 100%;
	height: 100%;
	color: #fff;
}
.es-course-list .mask h3 {
	margin-bottom: 20px;	
	font-size: 16px;
	height: 60px;
	line-height: 30px;
	overflow: hidden;
}
.es-course-list .mask p {
	height: 135px;
	font-size: 14px;
	line-height: 25px;
	overflow: hidden;
	word-wrap:break-word;
}
.es-course-list .mask span.iconfont {
	display: block;
	position: absolute;
	bottom: 10px;
	right: 10px;
	width: 30px;
	height: 30px;
	line-height: 30px;
	font-size: 30px;
}
.mask .teacher-info {
	margin-bottom: 10px;
}
.mask .teacher-info img {
	margin-right: 10px;
	width: 40px;
	height: 40px;
}
.mask .teacher-info span {
	font-size: 12px;
	display: block;
	height: 20px;
	line-height: 20px;
	overflow: hidden;	
}
/*news*/
.news {
	padding-bottom: 5px;
	min-height:920px;
}
.news h3{
	padding-bottom: 5px; 
}
.news h6{
	padding-bottom: 10px; 
}
.news p{
	line-height:30px;
}
.news li {
	margin-bottom: 20px;
}
.news li a {
	color: #02b980;
	display: block;
	height: 20px;
	line-height: 20px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.news li span {
	color: #222;
	margin-right: 5px;
}
.news li em {
	width: 185px;
	float: right;
	text-align: right;
	font-style: normal;
	color: #a9a9a9;
}

/*  promoted-teacher*/
.teachers-item,
.promot-teacher {
	text-align: center;
}
.teachers-item img,
.promot-teacher .avatar {
	display: inline-block;
	margin-bottom: 10px;
	width: 80px;
	height: 80px;
	-webkit-border-radius: 50%;
	border-radius: 50%;
}
.teachers-item a,
.promot-teacher a {
	display: block;
	font-size: 18px;
	line-height: 24px;
	color: #222;
	text-decoration: none;
}
.teachers-item span,
.promot-teacher span {
	line-height: 24px;
	height: 24px;
	display: block;
	overflow: hidden;
	color: #00b780;
}
.promot-teacher span {
	margin-bottom: 10px;
}
.teachers-item p,
.promot-teacher p {
    	text-align: left;
}
/*teachers-item*/
.teachers-item {
	margin-bottom: 20px;
	padding: 20px 10px;
	background-color: #ececec;	
}
.teachers-item p {
	min-height: 60px;
}
.teachers-item i {
	margin-bottom: 10px;
	display: block;
	font-style: normal;
	color: #00b780;
	height: 15px;
	line-height: 15px;
	overflow: hidden;
}
/*comment*/
.comment img {
	margin-right: 10px;
	width: 50px;
	height: 50px;
}
.comment ul li {
	margin-left: -25px;
	margin-right:  -25px;
	padding: 10px 25px;
	word-wrap:break-word;
	overflow:hidden;
	line-height: 20px;
	color: #a9a9a9;
	font-size: 12px;
}
.comment ul li:hover {
	background-color: #f7f7f7;
}
.com-author-link {
	color: #00b780;
}
.comment ul li p {
	margin-top: 5px;
	padding-left: 60px;
	clear: both;
}
.comment ul li p a {
	color: #222;
}
/*tag-list*/
.tag-list a {
	margin: 0 10px 10px 0;
	padding: 0 15px;
	display: inline-block;
	border: 4px solid #dbdbdb;
	height: 30px;
	line-height: 22px;
	color: #999;
	text-decoration: none;
}
.tag-list a:hover {
	color: #fff;
	background-color: #02b980;
	border-color: #02b980;
}
/*class-list*/
.class-list:nth-child(1) li:nth-child(-n+3) > a > span {
	color: #ff5d42;
}
.num-warn {
	color: #ff5d42;
}
#kechen-list,
#zhibo-list {
	margin: 0 -25px;
} 
.class-list {
	list-style: none;
	padding-left: 0px;
}
.class-list li {
	padding: 10px 0;
}
.class-list li:hover {
	background-color: #f7f7f7;
}
.class-list li > a {
	display: block;
	padding: 0 25px;
	text-decoration: none;
	color: #a9a9a9;
}
.class-list li > a > span {
	display: block;
	float: left;
	width: 40px;
	height: 40px;
	text-align: left;
	font-size: 24px;
}
.class-list li h3 {
	color: #000;
	font-size: 14px;
	line-height: 26px;
}
.class-list li p {
	font-size: 12px;
	height: 17px;
}
.class-list li p > span {
	float: right;
	margin: -10px 0 0 0;
	display: inline-block;
	color: #ff5d42
}

