@charset "utf-8";
/* CSS Document */
ul, li {
  list-style: none;
}
a {
  text-decoration: none;
}
.major {
  width: 100%;
 height: 100%;
  background-color: #f9f9f9;
  padding: 3em 0;
background-image: url("../images/zs5.png");
background-position:bottom;
background-size:cover;
background-repeat:no-repeat;
background-origin:inherit;
/*background-attachment:fixed;*/
}
.majorMain {
  width: 70%;
  margin: 0 auto;
  background: #fff;
	padding: 2em;
	padding-bottom: 4em;

}
.majorMainHead {
  height: 3em;
  border-bottom: #bfbfbf 1px solid;
  display: flex;
  justify-content: space-between;
}
.majorMainHead_left {
  width: 10%;
text-align:center;
  border-bottom: #036cbd 4px solid;
  display: -webkit-box; /*flex弹性布局*/
  -webkit-box-align: center;
  -webkit-box-pack: center;
}
.majorMainHead_left h2 {
  font-family: 'Microsoft YaHei' !important;
  font-weight: 500;
  margin: 0; /*清除样式*/
  color: #036cbd ;
}
.majorMainHead_rigth {
  display: -webkit-box; /*flex弹性布局*/
  -webkit-box-align: center;
  -webkit-box-pack: center;
  color: #036cbd!important;
}
.majorMainHead_rigth a {
  color: #036cbd ;
}
/*
.majorData ul {
  margin-top: 2em;
  display: flex;
  justify-content: space-between;
}
.majorData li {
  width: 24%;
  height: 22em;
  background-color: #f9f9f9;
  position: relative;
  box-shadow: 3px 3px 6px #c3c3c3;
  
}
*/
.majorData ul{
	margin-top: 2em;
/*	overflow: hidden;*/
}
.majorData li{
	float: left;
	width: 24%;
	height: 22em;
	margin: 0 0.2%;
	position: relative;
	box-shadow: 3px 3px 6px #c3c3c3;
           margin-bottom: 30px;
}

.majorData a {
  display: block;
  width: 100%;
  height: 100%;
}
.majorData img {
  width: 95%;
  height: 43%;
  display: block;
  margin: 8px auto;
  object-fit: fill;
}
.majorData p {
  -webkit-box-orient: vertical;
  text-align: justify; /*两端对齐*/
  line-height: 1.6em;
  margin: 1em;
  padding: 0 6px;
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 4;
}
.majorData h2 {
  font-family: 'Microsoft YaHei' !important;
  font-weight: 400;
  font-size: 18px;
  text-align: center;
  background-image: linear-gradient(to top, #036cbd 0%, #40a9ed 100%);
  color: #fff;
  width: 85%;
  line-height: 1.8em;
  position: absolute;
	bottom:-5%;
  left: 8%;
/*
  bottom: -4%;
  left: 8%;
*/
}
.majorData li:hover {
  display: block;
  background-color: #036cbd ;
  transform-style: preserve-3d;
  transition: 3s;
}
.majorData li:hover img {
  display: none;
}
.majorData li:hover h2 {
  background-color: #6c5b7b;
}
.majorData li:hover p {
  padding: 0 1.5em;
  color: #fff;
  margin-top: 15%;
}
.majorData li:hover a {
  background: url("../images/search2.png") no-repeat 50% 60%;
}
.page {
  width: 26%;
  margin: 0 auto;
}
.page ul {
  list-style: none;
  display: flex;
  justify-content: space-between;
}
.pageBox a {
  color: #999;
  text-align: center;
  border: #999 1px solid;
  padding: 4px 8px;
}
.pageBox a:hover {
  color: #fff;
  border: #b20202 1px solid;
  background-color: #b20202;
}
@media screen  and (max-width: 1366px) {
  .majorMain {
    width: 85%;
  }
  .majorData li {
    height: 21em;
    margin: 5px;
  }
}
@media screen  and (max-width: 1024px) {
  .majorMain {
    width: 90%;
    font-size: 85%;
	  padding: 1em;
  }
  .majorData li {
    width: 48%;
    height: 26em;
    margin-bottom: 2em;
  }
  .majorData h2 {
    font-size: 14px;
  }
}
@media screen and (max-width: 768px) {
  .major {
    padding: 1em 0;
  }
  .majorMain {
    width: 90%;
  }
  .majorMainHead_left {
    width: 13%;
  }
	  .majorData li {
    height: 24em;
  }
	.majorData h2 {
	bottom:-4%;
  left: 8%;
}
}
@media screen and (max-width:480px) {
	.major {
    padding: 0.5em 0;
  }
  .majorMain {
    width: 95%;
    padding: 10px;
    padding-top: 0;
  }
  .majorMainHead h2 {
    font-size: 12px;
  }
.majorMainHead  p {
    font-size: 12px;
  }
  .majorMainHead_left {
    width: 17%;
  }
  .majorData ul {
    display: block;
    margin-top: 1em;
  }
  .majorData {
    overflow: hidden;
  }
  .majorData li {
    width: 46%;
    height: 16em;
    float: left;
    position: relative;
    margin-bottom: 10px;
    border: #eee 0.5px solid;
  }
  .majorData h2 {
    font-size: 14px;
    bottom: 0;
  }
	.majorData p{
		font-size: 12px;
	}
}