body{
  background-color:#f5f6fa;
  padding-bottom: 120px;
  position: relative;
}
.diff-text ul li{
  list-style-type: none;
  display: inline-block;
}
.real-test-list{

}
.real-test-card{
  position: relative;
  width:32%;
  height:200px;
  float: left;
  box-sizing: border-box;
  border: 1px solid #fff;
  background-color: #fff;
  display: inline-block;
  transition: all .3s ease-in-out;
  border-radius:6px;
  margin-bottom:30px;
  margin-right: 2%;
}
.real-test-card:nth-child(3n){
  margin-right: 0;
}
.real-test-card:hover{
  box-shadow:0 0 29px 0 rgba(107,104,112,0.29);
}
.isDone{
  border: 1px solid #cdc4f2;
}

/* ========== */
.middle{
  margin:0 3%;
}
.real-test-card-content{
  margin:20px;
  height: 100%;
}
.real-test-card-content p{
  font-size:16px;
  overflow: hidden;
  display: inline-block;
  font-weight: bolder;
  line-height: 20px;
  height: 50px;
  /*width: 260px;*/
}
/* 试卷的信息：名字 难度 分数等 */
.diff-button-container{
  height:72px;
  overflow: hidden;
}
.diff-grade{
  overflow: hidden;
  margin-top: 20px;
}
.diff-text{
  margin-top:20px;
  overflow: hidden;
  /*display: none;*/
}
.starts{
  display: inline-block;
  width:140px;
  margin-left:20px;
}
.starts .start-icon{
  display: inline-block;
  width: 14px;
  height: 14px;
  background-image:url(../img/diff-grade1.jpg);
  background-size: 100% 100%;
  margin-right: 5px;
}
.starts .start-icon2{
  display: inline-block;
  width: 14px;
  height: 14px;
  background-image:url(../img/diff-grade2.jpg);
  background-size: 100% 100%;
  margin-right: 5px;
}
.diff-text ul{
  float:left;
  width:100%;
}
.diff-text ul li{
  margin-bottom: 5px;
  line-height: 20px;
  text-align: left;
  margin-right:5px;
  font-size:14px;
}
.diff-text ul li i{
  font-style: normal;
  display: inline-block;
  margin-left:5px;
  color:#0b0de6cc;
}
/* 一开始处于隐藏状态的button */
.real-test-card-content div.button{
  display: inline-block;
  text-align: center;
  width:100px;
  border-radius:4px;
  color:#fff;
  background-color:#6434fe;
  margin:26px auto 0;
  cursor: pointer;
  padding: 8px 0;
}
/* 试卷信息和按钮的显隐藏切换 ===*/
.real-test-card:hover .diff-text {
  display: none;
}
.real-test-card:hover .button-box {
  position: absolute;
  left: 50%;
  transform: translate(-50%);
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 80%;
}
.button-box{
  display: none;
}