.js-ti{
	color: #505050;
	padding: 5px;
	text-align: center;
}
.js-ti h5{
	margin: 0 !important;
	font-size: 17px;
	font-weight: bold;
	text-align: center;
}
.jiaoshi a{
	display: block;
	margin-top: 10px;
	box-shadow: 2px 2px 5px #6A6A6A;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	overflow: hidden
}

.teach-pic {
	max-height: 280px;
	overflow: hidden;
}
.teach-pic img{
	width: 100%;
    height: 250px;
}
.jiaoshi a:hover .js-ti{
	background: #347bd8;
	color: white;
}
.jiaoshi{
	width: 20%;
	margin: 5px 30px;
	float: left;
	 
}
.jiaoshi1 a:hover .js-ti{
	background: #9e2536;
	color: white;
}
.jiaoshi1 a{
	display: block;
	margin-top: 10px;
	box-shadow: 2px 2px 5px #6A6A6A;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	overflow: hidden
}
.jiaoshi1{
	width: 20%;
	float: left;
	margin: 0 180px;
}
.jiaoshi1 .js-ti{
	height: 116px;
}


@media only screen and (max-width:1250px ) {
	.jiaoshi1{
		margin: 0 150px;
	}
}
@media only screen and (max-width:1050px ) {
	.jiaoshi1{
		width: 100%;
		margin: 0;
	}
	.jiaoshi{
		width: 100%;
		margin: 0;
	}
	 .teach-pic {
		max-height: 490px;
	}   
}
 
