


/*师资力量图片样式开始*/

.carousel.flexible .items {
	display: none;
}

.img-responsive,
.carousel-inner>.item>img,
.carousel-inner>.item>a>img {
	display: block;
	max-width: 100%;
	height: auto
}
.picbox{
	padding: 25px 50px;
}


.flex-item{
	width: 24%;
	position: relative;
	float:left;
	min-height: 1px;
	padding:3px;
	list-style: none;
  	border:1px solid transparent;
  	margin:0 0.5%;
}
.flex-item .box{
	width: 100%;
    height:auto;
	padding: 5px;
	border:2px solid #dfd3c8;
	background: #f5f8f8;
	  -webkit-transition: .4s all;
  -moz-transition: .4s all;
  -ms-transition: .4s all;
  -o-transition: .4s all;
  transition: .4s all;   
  text-decoration: none;  
  cursor: pointer; 
}

.flex-item .box .imgbox{
	position: relative;
	overflow:hidden;
	/*height:180px;*/
	margin: 0 auto;
}
.flex-item .box .imgbox .img-bg{
	position: absolute;
	height: 100%;
	width: 100%;
	transition: 0.3s;
	-webkit-filter: grayscale(80%);
    filter: grayscale(80%);
}
.flex-item .box .imgbox .ch1{margin-top:65%}

.flex-item .box .title{
	position: relative;
	width: 100%;
	height: 30px;
	font-size: 14px;
	color: #666;
	line-height: 30px;
	text-align: center;	
	overflow: hidden; /*自动隐藏文字*/
    text-overflow: ellipsis;/*文字隐藏后添加省略号*/
    white-space: nowrap;/*强制不换行*/
}

.flex-item .flex-yin{
	position: absolute;
    width: 88%;
    height: 50px;
    background: url(../images/yin.png) no-repeat;
    background-size: contain;
}
.flex-item .box .info{
	position: relative;
	width: 100%;
	height: 115px;
	font-size: 12px;
	color: #b3b3b3;
	line-height: 25px;
	text-align: left;	
	overflow: hidden;
}
.flex-item .box .info p{
	height:75px;
	overflow: hidden;
	/*padding: 10px 0 0;*/
	display: -webkit-box;
    display: -moz-box;
    /* white-space: pre-wrap; */
    word-wrap: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}
.flex-item .box>a{
	display: block;
	overflow: hidden;
}
.flex-item .title .title-name{
	display: inline-block;
	float: left;
	color: #968a81;
	max-width: 40%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.flex-item .title ul{
	float: right;
}
.flex-item .title ul li{
	float: left;
	padding-left: 10px;
	font-size: 16px;
	color: #c3b3a5;
}
/*.flex-item  a{
	color: #919191;
}*/
.flex-item .er-con-more{
	padding: 10px 0 10px 5px;
}
 .flex-xs{
	float: left;
	position: relative;
	width: 50px;
}
.flex-item .er-food-likes{
	float: right;
	transition: 0.3s;
}
/*详细*/
.flex-xstxt{
	opacity: 0;
	transition: 0.5s;
}
.flex-item .m-lines,.flex-item .m-right,
.er-nlist-more .m-lines,
.er-nlist-more .m-right{
	right: 0 !important;
	transition: 0.3s;
}
.flex-item:hover .m-lines{
	width: 20px;
	border-color: #990000;
}
.flex-item:hover .m-right{
	border-color: #990000;
}
.flex-item:hover .flex-xstxt,
.flex-item:hover .er-food-likes{
	opacity: 1;
	color: #990000;
}


.flex-item .title ul li:hover{
	color: #990000;
}
.er-view-more{
	text-align: center;
	padding-top: 25px;
}

.flex-item:hover{
 border:1px solid  #dfd3c8;
}
.flex-item:hover .box {
	border: 2px solid #990000;
}
/*.flex-item:hover .box .title{
	color: #f60;
}*/
.flex-item:hover .box .info{
	color: #968a81;
}
.flex-item:hover .box .imgbox .img-bg{
	-webkit-transform: scale(1.1);
	-ms-transform: scale(1.1);
	-o-transform: scale(1.1);
	transform: scale(1.1);
	-webkit-filter: grayscale(0);
    filter: grayscale(0);
}
.flex-item:hover .box .title-name{
	color: #990000;
}



.er-con-more:after{
	display: block;
	content: '';
	clear: both;
}


.carousel {
	position: relative;
	width: 100%;
	margin:0 auto;
}

.carousel-inner {
	position: relative;
	width: 100%;
	overflow: hidden
}

.carousel-inner>.item {
	position: relative;
	display: none;
	-webkit-transition: .6s ease-in-out left;
	-o-transition: .6s ease-in-out left;
	transition: .6s ease-in-out left
}

.carousel-inner>.item>img,
.carousel-inner>.item>a>img {
	line-height: 1
}


.carousel-inner>.active,
.carousel-inner>.next,
.carousel-inner>.prev {
	display: block
}

.carousel-inner>.active {
	left: 0
}

.carousel-inner>.next,
.carousel-inner>.prev {
	position: absolute;
	top: 0;
	width: 100%
}

.carousel-inner>.next {
	left: 100%
}

.carousel-inner>.prev {
	left: -100%
}

.carousel-inner>.next.left,
.carousel-inner>.prev.right {
	left: 0
}

.carousel-inner>.active.left {
	left: -100%
}

.carousel-inner>.active.right {
	left: 100%
}

.carousel-control {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 15%;
	font-size: 20px;
	color: #fff;
	text-align: center;
	width: 43px;
	height: 43px;
	margin-top: -21px;
	border-radius: 50%;
	border: 1px solid #b9b9b8;
	transition: 0.3s;
}

.carousel-control.left {
	position: absolute;
	left: -43px;
	top: 50%;
	background: url(../images/flex-prev.png) center no-repeat;
}

.carousel-control.right {
	left: auto;
	right: -43px;
	top: 50%;
	background: url(../images/flex-prev.png) center no-repeat;
	transform: rotate(180deg);
}
.carousel-control:hover{
	background:#990000 url(../images/flex-prev.png) center no-repeat;
	-webkit-filter: contrast(180%);
	filter: contrast(180%);
	border-color: #990000;
}