.major-auto h2{
  padding-top: 80rem;
  text-align: center;
  padding-bottom: 30rem;
  color: #EA4049;
  font-size: 24px;
  line-height: 34px;
  font-weight: 600;
}
.major{
  background-color: #fff;

}

/* 教学风采开始 */
.style-tap-list {
  width: 1200rem;
  margin: auto;
  display: flex;
  border-bottom: 1rem solid #D9D9D9;
}

.style-tap-list ul {
  height: 60rem;
  line-height: 58rem;
  margin: auto;
  display: flex;
}

.style-tap-list ul li {
  cursor: pointer;
  font-weight: 400;
  font-size: 16rem;
  margin: 0 35rem;
  color: #333333;
}
.major-list{
  width: 960rem;
  margin: auto;
  margin-top: 30rem;
  display: flex;
  flex-wrap: wrap;
}
.major-list li:hover .major-list-bot span{
  background: #EA4049;
  color: #fff;
}
.major-list li{
  margin-right: 20rem;
  cursor: pointer;
  margin-bottom: 20rem;
  width: 300rem;
  background: #FFFFFF;
box-shadow: 0rem 2rem 8rem rgba(0, 0, 0, 0.03);
border-radius: 10rem;
}
.major-list li:nth(3n){
  margin-right: 0;
}
.major-list li img{
  background: #F2F2F2;
border-radius: 10rem 10rem 0rem 0rem;
width: 300rem;
height: 300rem;
}
.major-list-bot{
  width: 100%;
  background-color: #fff;
  text-align: center;
}
.major-list-bot p{
  padding: 0 20rem;
  overflow: hidden;
  font-weight: 600;
  font-size: 14rem;
  text-align: center;
  line-height: 20rem;
  color: #333333;
  margin: 13rem auto;
}
.major-list-bot p a{
  color: #333333;
}
.major-list-bot span{
  margin: auto;
  width: 98rem;
  height: 31rem;
  margin-bottom: 16rem;
  display: inline-block;
  text-align: center;
  line-height: 31rem;
  color: #333333;
  font-size: 14rem;
  background: #F2F2F2;
border-radius: 17.5rem;
}
.s-active {
  border-bottom: 2rem solid #333333;
}