@charset "utf-8";

.rongyumain {
  padding: 100px 0 90px;
}
.rongyumain h2.btitle {
  font-size: 36px;
  color: #333;
  line-height: 54px;
  font-weight: bold;
  text-align: center;
  height: 54px;
  overflow: hidden;
}
.rongyumain .intro {
  margin: 20px auto 0;
  font-size: 16px;
  color: #555;
  line-height: 32px;
  max-width: 1200px;
  text-align: center;
}
.rylist {
  overflow: hidden;
  padding: 0 0 50px;
  max-width: 1500px;
  margin: 60px auto 0;
}
.rylist li {
  float: left;
  width: 33.33%;
  margin-bottom: 20px;
}
.rylist li .lin {
  padding: 0 10px;
}
.rylist li a {
  display: block;
  position: relative;
  border: 1px solid #e7e7e7;
}
.rylist li .pic {
  width: 100%;
  height: 310px;
  overflow: hidden;
  margin-top: 20px;
  position: relative;
  font-size: 0;
  text-align: center;
  line-height: 310px;
}
.rylist li img {
  max-width:100%;
  max-height:100%;
}
.rylist li h3 {
  padding: 0 30px;
  position: relative;
  overflow: hidden;
}
.rylist li h3 span {
  position: relative;
  z-index: 3;
  display: block;
  height: 40px;
  overflow: hidden;
  font-size: 16px;
  color: #333;
  line-height: 40px;
  white-space: nowrap;
  padding: 15px 30px 15px 0;
  background: url('../images/glass2.png') right no-repeat;
  border-top: 1px solid #ebebeb;
}
.rylist li h3:before {
  content: '';
  position: absolute;
  left: 100%;
  bottom: 0;
  z-index: 0;
  width: 0;
  height: 100%;
  background-image: -webkit-gradient(linear, left top, right top, from(#255ba9), to(#1fb4b8));
  background-image: linear-gradient(to right, #255ba9, #1fb4b8);
}
.rylist li h3 span,
.rylist li h3:before {
  -webkit-transition: .5s;
  transition: .5s;
}
.rylist li:hover h3 span {
  color: #fff;
  background-image: url('../images/glass2h.png');
  border-top-color: transparent;
}
.rylist li:hover h3:before {
  width: 100%;
  left: 0;
  -webkit-transition: width .5s;
  transition: width .5s;
}
@media screen and (max-width: 1440px) {
  .rylist {
    padding: 0 0 40px;
  }
  .rylist li .lin {
    padding: 0 20px;
  }
}
@media screen and (max-width: 1100px) {
  .rylist {
    padding: 0 0 30px;
  }
  .rylist li .lin {
    padding: 0 15px;
  }
  .rylist li {
    width: 50%;
  }
  .rylist li h3 {
    padding: 0 20px;
  }
}
@media screen and (max-width: 640px) {
  .rongyumain {
    padding: 80px 0 80px;
  }
  .rylist li {
    width: 100%;
  }
}


