﻿ 

.body {
  background: #ffffff;
}
.list_content {
  width: 95%;
  padding-top: 95px;
  margin: 0 auto;
}
.list_content .contents {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.list_content .contents .list_content_item {
  width: 345px;
  height: 540px;
  margin-bottom: 30px;
  background: #ffffff;

    overflow: hidden;/*这个属性是关键*/


}

.list_content .contents .list_content_item:hover {
  width: 345px;
  height: 540px;
  margin-bottom: 30px;
  background-color: #33ccff;
  color: #fff;
  overflow: hidden;/*这个属性是关键*/
}

.list_content .contents .list_content_item img {
       
  display: inline-block;
    height:260px; 
    width: 100%;
    cursor: pointer;
    transition: all .6s;
  overflow: hidden;/*这个属性是关键*/
    }


.list_content .contents .list_content_item:hover img {


  transform: scale(1.05)
 
    }

.list_content .contents .list_content_item .info {
  padding-top: 30px;
  padding-left: 50px;
  padding-right: 40px;
}
.list_content .contents .list_content_item .info h4 {
  font-size: 20px;
  margin-bottom: 30px;
}
.list_content .contents .list_content_item .info .source {
  height: 30px;
}
.list_content .contents .list_content_item .info p {
  width: 100%;
  line-height: 30px;
  color: #999999;
  font-size: 16px;
  margin-bottom: 32px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.list_content .contents .list_content_item .info .infoDetail {
  height: 120px;
  padding-top: 38px;
  border-top: 1px dashed #cccccc;
}
.list_content .contents .list_content_item .info .infoDetail .field {
  -webkit-line-clamp: 1;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.list_content .contents .list_content_item .info .infoDetail > div {
  line-height: 30px;
  color: #999999;
  font-size: 16px;
}
.list_content .contents .list_content_item .info .infoDetail > div > span {
  color: #666666;
}
.list_content .contents .list_content_item .info .infoDetail .feature {
  
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.list_content .contents .list_content_item .info .name {
  display: flex;
  justify-content: space-between;
}
.list_content .contents .list_content_item .info .name h4 {
  -webkit-line-clamp: 3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.list_content .contents .list_content_item .info .name span {
  color: #999999;
  font-size: 30px;
  height: 30px;
  line-height: 30px;
}
/* 外面盒子样式---自己定义 */
.page_div {
  margin: 20px auto;
  text-align: center;
  margin-bottom: 140px;
  margin-top: 50px;
  color: #666666;
}
/* 页数按钮样式 */
.page_div button {
  display: inline-block;
  min-width: 60px;
  height: 60px;
  cursor: pointer;
  color: #666;
  font-size: 18px;
  line-height: 40px;
  background-color: #FFFFFF;
  border: none;
  text-align: center;
  margin: 0 4px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  box-shadow: 0 0 4px rgba(105, 105, 105, 0.2);
}
#firstPage,
#lastPage,
#nextPage,
#prePage {
  width: 80px;
  color: #666666;
  border: none;
  height: 60px;
  line-height: 60px;
}
#nextPage,
#prePage {
  width: 125px;
}
#nextPage {
  margin-left: 20px;
}
#prePage {
  margin-right: 20px;
}
#nextPage span,
#prePage span {
  color: #999999;
}
.page_div .current {
  border-color: #e2e2e2;
  color: #3366cc;
}
/* 页面数量 */
.totalPages {
  margin: 0 10px;
}
.totalPages span,
.totalSize span {
  color: #0073A9;
  margin: 0 5px;
}
/*button禁用*/
.page_div button:disabled {
  opacity: 0.5;
  cursor: no-drop;
}
