body,
html {
height: 100%;
width: 100%;
margin: 0;
padding: 0;
border: 0;
}
body {
overflow-x: hidden;
overflow-y: auto;
}
input {
outline: none;
}
ul,
ol {
padding: 0;
margin: 0;
list-style-type: none;
}
a {
text-decoration: none;
}
.box {
max-width: 1300px;
padding: 0 10px;
margin: 0 auto;
}
.head {
max-height: 170px;
height: 13vw;
position: relative;
z-index: 10;
background-color: #813c75;
background-image: url(../img/head_bg.png);
background-repeat: no-repeat;
background-size: auto 100%;
background-position: right center;
}
.head .box {
height: 100%;
display: flex;
justify-content: space-between;
align-items: center;
}
.logo {
flex-shrink: 0;
max-width: 360px;
width: 28vw;
}
.logo img {
display: block;
width: 100%;
}
.nav {
display: flex;
}
.nav-li {
font-size: 20px;
padding: 18px 9px;
position: relative;
}
.nav-a {
color: #fff;
}
.nav-ul2 {
display: none;
position: absolute;
top: 50px;
left: 50%;
transform: translateX(-50%);
z-index: 9;
text-align: center;
}
.nav-ul2::before {
content: '';
display: block;
width: 0;
height: 0;
margin: auto;
position: absolute;
top: -10px;
left: 0;
right: 0;
border-top: 10px solid transparent;
border-right: 10px solid transparent;
border-bottom: 10px solid rgba(255, 255, 255, .9);
border-left: 10px solid transparent;
}
.nav-li2 {
background-color: rgba(255, 255, 255, .9);
transition: background-color .2s;
border-left: 1px solid rgba(255, 255, 255, .9);
border-right: 1px solid rgba(255, 255, 255, .9);
}
.nav-li2:first-child {
margin-top: 10px;
border-top: 1px solid rgba(255, 255, 255, .9);
}
.nav-li2:last-child {
border-bottom: 1px solid rgba(255, 255, 255, .9);
}
.nav-a2 {
display: block;
width: 140px;
line-height: 35px;
padding: 0 4px;
color: #000;
font-size: 16px;
transition: color .2s;
}
.nav-li2:hover {
background-color: #813C75;
}
.nav-li2:hover a {
color: #fff;
}
.banner-bg {
height: 32.81vw;
position: relative;
}
.banner-tx-bg {
width: 100%;
height: 32.81vw;
display: none;
position: absolute;
background: url(../img/tx.png) no-repeat center center;
background-size: cover;
}
.banner-tx {
position: absolute;
width: 86%;
height: 32.81vw;
overflow: hidden;
left: 0;
right: 0;
margin: auto;
display: none;
background-size: cover;
z-index: 8;
box-sizing: border-box;
}
.banner-tx .swiper-slide {
width: 25%;
display: flex;
justify-content: center;
align-items: center;
}
.banner-tx .swiper-slide:nth-child(4n - 3) {
margin-top: 3%;
}
.banner-tx .swiper-slide:nth-child(4n - 2) {
margin-top: -3%;
}
.banner-tx .swiper-slide:nth-child(4n - 1) {
margin-top: 3%;
}
.banner-tx .swiper-slide:nth-child(4n) {
margin-top: -4%;
}
.banner-tx a {
width: 55%;
display: flex;
flex-shrink: 0;
flex-direction: column;
align-items: center;
justify-content: center;
}
.banner-tx-img {
width: 100%;
padding-top: 100%;
border-radius: 50%;
background-size: cover;
background-position: center;
flex-shrink: 0;
}
.banner-tx p {
font-size: 26px;
color: #fff;
font-weight: bold;
}
.banner-tx-prev,
.banner-tx-next {
font-size: 20px;
--swiper-navigation-size: 60px;
--swiper-theme-color: #fff;
display: none;
}
.banner-tx-prev {
left: 40px;
}
.banner-tx-next {
right: 40px;
}
.banner {
overflow: hidden;
height: 32.81vw;
position: relative;
}
.swiper-slide img {
height: 100%;
display: block;
}
.index-title {
padding: 20px 0 10px;
font-size: 30px;
border-bottom: 1px solid #e0dfdf;
}
.index-title span:first-child,
.index-title a span:first-child {
color: #7a286a;
}
.index-title span:nth-child(2),
.index-title a span:nth-child(2) {
color: #fa9c15;
font-size: 30px;
margin-left: 0;
}
.index-title span:last-child {
font-size: 16px;
margin-left: 14px;
color: #747272;
}
.news-ul {
padding-top: 14px;
display: flex;
justify-content: space-between;
}
.news-ul li {
width: 29%;
position: relative;
}
.news-img {
display: block;
max-height: 200px;
height: 15.6vw;
background-size: 100% 100%;
background-position: center;
transition: all .3s;
}
.news-text {
margin-top: 8px;
line-height: 28px;
color: #070707;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
/*这里设置几行*/
overflow: hidden;
height: 56px;
transition: all .3s;
}
.news-ul li:hover .news-img {
background-size: 110% 110%;
}
.news-ul li:hover .news-text {
color: #7A286A;
}
.news-date {
color: #fff;
text-align: center;
position: absolute;
background-color: #7a286a;
left: -22px;
bottom: 76px;
padding: 6px 8px;
}
.news-date-t {
font-size: 22px;
line-height: 32px;
}
.news-date-b {
font-size: 14px;
line-height: 20px;
}
.scool-news {
margin-top: 14px;
display: flex;
justify-content: space-between;
}
.scool-news-l {
width: 56%;
}
.scool-news-l-ul {
margin-top: 13px;
}
.scool-news-l-ul li {
display: flex;
padding: 13px 0;
border-bottom: 1px dashed #c4c4c4;
}
.scool-news-date {
height: 34px;
line-height: 34px;
border: 1px solid #813c75;
background-color: #813c75;
font-size: 16px;
display: flex;
flex-shrink: 0;
margin-right: 8px;
}
.scool-news-date-l {
height: 34px;
background-color: #fff;
color: #813c75;
padding: 0 8px;
}
.scool-news-date-r {
height: 34px;
padding: 0 8px;
color: #fff;
}
.scool-news-l-ul a {
color: #020202;
height: 34px;
line-height: 34px;
transition: color .3s;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.scool-news-l-ul li:hover a {
color: #813C75;
}
.scool-news-r {
width: 41%;
}
.scool-news-r-ul li {
border-left: 3px solid #813C75;
background-color: #f8f8f8;
padding: 8px 16px;
margin-top: 14px;
}
.scool-news-r-title {
color: #010101;
line-height: 36px;
font-size: 16px;
transition: color .3s;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.scool-news-r-text {
color: #010101;
font-size: 14px;
line-height: 32px;
transition: color .3s;
}
.scool-news-r-ul li:hover .scool-news-r-title,
.scool-news-r-ul li:hover .scool-news-r-text {
color: #813C75;
}
.index-tab {
padding-top: 30px;
}
.index-tab-box {
display: flex;
}
.index-tab-title {
flex-grow: 1;
width: 33.33%;
text-align: center;
display: block;
font-size: 20px;
line-height: 56px;
background-color: #f4f4f4;
cursor: pointer;
user-select: none;
}
.index-tab-title.active {
background-color: #813c75;
color: #fff;
transition: background-color .3s, color .3s;
}
.talent-swiper {
overflow: hidden;
}
.talent-ul {
padding: 12px 0;
}
.talent-ul li {
display: flex;
overflow: hidden;
padding-left: 20px;
font-size: 20px;
color: #020202;
line-height: 46px;
padding: 6px 0 6px 20px;
background: url(../img/zk.png) no-repeat left center;
background-size: 10px auto;
}
.talent-ul a {
color: #020202;
margin-right: auto;
transition: color .3s;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.talent-ul span {
flex-shrink: 0;
margin-left: 16px;
}
.talent-ul li:hover a {
color: #813C75;
}
.teacher-ul {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.teacher-ul li {
width: 48%;
overflow: hidden;
background-color: #f8f8f8;
margin-top: 20px;
}
.teacher-ul li a {
display: flex;
}
.teacher-ul .teacher-img {
width: 220px;
height: 140px;
display: block;
flex-shrink: 0;
background-size: cover;
background-position: center center;
}
.teacher-text {
display: flex;
flex-direction: column;
justify-content: center;
font-size: 20px;
line-height: 38px;
color: #020202;
padding: 0 20px;
overflow: hidden;
transition: color .3s;
}
.teacher-text p {
margin: 0;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.teacher-ul li:hover .teacher-text {
color: #813C75;
}
.link-ul {
display: flex;
flex-wrap: wrap;
padding: 4px 0;
}
.index-title+.link-ul {
padding-top: 18px;
}
.link-ul:last-child {
padding-bottom: 18px;
}
.link-ul .link-fir {
font-size: 22px;
color: #070707;
padding: 0 12px;
margin: 0;
}
.link-ul .link-fir::after {
display: none;
}
.link-ul li {
line-height: 40px;
padding-left: 40px;
margin-right: 20px;
position: relative;
}
.link-ul li::after {
content: '';
display: block;
position: absolute;
top: 0;
bottom: 0;
left: 16px;
margin: auto;
width: 7px;
height: 7px;
background-color: #813C75;
}
.link-ul li a {
color: #070707;
font-size: 20px;
transition: color .3s;
}
.link-ul li:hover a {
color: #813C75;
}
.footer {
background-color: #7a286a;
}
.footer .box {
display: flex;
align-items: center;
flex-wrap: wrap;
padding: 20px 10px;
}
.footer-img {
margin-right: 80px;
height: 90px;
}
.footer-img img {
display: block;
height: 100%;
}
.footer-bq {
color: #fff;
}
.footer-bq p {
margin: 0;
font-size: 18px;
margin: 14px 0;
}
.footer-bq a {
color: #fff;
}
.list-banner {
height: 16vw;
background-size: cover;
background-position: center;
}
.list-main {
display: flex;
padding: 25px 10px 30px;
}
.list-nav {
width: 240px;
flex-shrink: 0;
margin-right: 20px;
}
.list-nav-title {
font-size: 26px;
line-height: 80px;
color: #fff;
text-align: center;
background-color: #813C75;
}
.list-nav-ul {
padding: 20px 15px;
border-left: 3px solid #813C75;
}
.list-nav-ul li {
position: relative;
border-left: 2px solid transparent;
-webkit-transition: all 0.35s;
-moz-transition: all 0.35s;
-o-transition: all 0.35s;
transition: all 0.35s;
border-top: 1px dashed #fff;
border-bottom: 1px dashed #ccc;
}
.list-nav-ul li:first-child {
border-top: 0;
}
.list-nav-ul li a {
display: block;
font-size: 18px;
line-height: 55px;
color: #333;
text-align: left;
text-indent: 12px;
border-bottom: 1px dashed #eee;
transition: color .3s;
}
.list-nav-ul li:hover a {
color: #813C75;
}
.list-nav-ul .active a {
color: #813C75;
font-weight: bold;
border: none;
}
.list-r {
flex-grow: 1;
width: 0;
}
.address {
width: 100%;
display: flex;
justify-content: space-between;
border-bottom: 1px solid #ddd;
}
.address-title {
display: inline-block;
margin: 0 0 -1px;
font-size: 22px;
line-height: 52px;
color: #813C75;
border-bottom: 3px solid #813C75;
}
.address-list {
font-size: 14px;
line-height: 55px;
color: #999;
}
.address-list a {
color: #999;
}
.news-list li {
padding: 0 0;
border-bottom: 1px solid #ddd;
}
.news-list a {
display: block;
padding: 20px;
display: flex;
transition: all 0.5s ease 0s;
}
.news-list-date {
width: 60px;
font-size: 14px;
line-height: 28px;
color: #813C75;
text-align: center;
flex-shrink: 0;
margin-right: 14px;
}
.news-list-date p {
margin: 0;
}
.news-list-date p:first-child {
font-size: 24px;
line-height: 32px;
color: #813C75;
}
.news-list-text {
flex-grow: 1;
width: 0;
}
.news-list-title {
font-size: 16px;
line-height: 30px;
color: #000;
margin: 0;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
transition: color 0.5s ease 0s;
}
.news-list-info {
font-size: 14px;
line-height: 30px;
color: #666;
margin: 0;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
transition: color 0.5s ease 0s;
}
.news-list a:hover {
box-shadow: 6px 7px 7px 0 #bbb;
}
.news-list a:hover .news-list-title,
.news-list a:hover .news-list-info {
color: #813C75;
}
.list-2 {
margin: 0;
line-height: 52px;
border-bottom: 1px solid #ddd;
transition: all 0.5s ease 0s;
}
.list-2 li {
display: flex;
align-items: center;
border-bottom: 1px solid #ddd;
transition: all 0.5s ease 0s;
}
.list-2dot {
display: inline-block;
width: 8px;
height: 8px;
margin-right: 10px;
border-radius: 50%;
background-color: #813C75;
}
.list-2 a {
flex-grow: 1;
width: 0;
color: #000;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
transition: all 0.5s ease 0s;
}
.list-2 p {
margin: 0;
margin-left: 10px;
color: #b1b1b1;
flex-shrink: 0;
}
.list-2 li:hover {
box-shadow: 6px 7px 7px 0 #bbb;
}
.list-2 li:hover a {
color: #813C75;
}
.content-bg {
width: 100%;
}
.content {
padding-top: 30px;
}
.content-title {
padding: 0 30px 5px;
font-size: 18px;
font-weight: 700;
line-height: 35px;
color: #000;
text-align: center;
margin: 0;
}
.content-sub {
padding: 0 0 10px;
font-size: 14px;
line-height: 30px;
color: #666;
text-align: center;
border-bottom: 1px solid #ddd;
}
.content-sub-span {
margin: 0 12px;
}
.content-text {
padding: 15px 0 30px;
}
.content-page {
border-top: 1px solid #ddd;
padding: 10px 0 0;
}
.content-page a {
display: block;
padding: 5px 0;
font-size: 15px;
line-height: 32px;
color: #666;
transition: all 0.5s ease 0s;
}
.content-page a:hover {
color: #813C75;
}
@media (max-width: 1300px) {
.nav-li {
font-size: 1.56vw;
padding: 1.4vw .6vw;
}
.nav-ul2 {
top: 3.9vw;
}
.nav-ul2::before {
top: -.781vw;
border-top: .781vw solid transparent;
border-right: .781vw solid transparent;
border-bottom: .781vw solid rgba(255, 255, 255, .9);
border-left: .781vw solid transparent;
}
.nav-li2:first-child {
margin-top: .781vw;
border-top: 1px solid rgba(255, 255, 255, .9);
}
.nav-a2 {
width: 10.93vw;
line-height: 2.73vw;
padding: 0 .31vw;
font-size: 1.25vw;
}
}