.img-wrap {
  min-width: 1400px;
  height: 770px;
  background: url(../img/index-pic.jpg) no-repeat 50% / cover;
}

.menu-box {
  height: 400px;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 0 20px 20px rgba(0, 0, 0, .05);
  margin: -150px auto 0;
  overflow: hidden;
}

.search-box {
  position: relative;
  height: 96px; 
  padding: 0 60px;
  box-shadow: 0 0 20px 20px rgba(0, 0, 0, .05);
  background-image: linear-gradient(to right, rgba(0, 0, 0, .05), #fff 10%, #fff 90%, rgba(0, 0, 0, .05));
}

.search-box input {
  width: 100%;
  height: 100%;
  padding-right: 162px;
}

.search-btn {
  width: 162px;
  height: 52px;
  border-radius: 26px;
  background-color: #4b9a7b;
  position: absolute;
  right: 60px;
  top: 0;
  bottom: 0;
  margin: auto 0;
  font-size: 22px;
  text-align: center;
  color: #fff;
  line-height: 52px;
  font-weight: bold;
  cursor: pointer;
}

.menu-wrap {
  width: 100%;
  height: 304px;
  display: flex;
}

.menu-item {
  width: 20%;
  height: 100%;
  display: flex;
  color: #4b9a7b;
  position: relative;
}

.menu-item::before {
  content: '';
  width: 0;
  height: 0;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  background-color: #f4faf8;
  border-radius: 50%;
}

.menu-item:hover::before {
  width: 252px;
  height: 252px;
  transition: all .3s ease;
}

.menu-item span {
  font-weight: 600;
  position: absolute;
  top: 180px;
  left: 0;
  right: 0;
  margin: 0 auto;
  text-align: center;
  z-index: 3;
}

.menu-item .iconfont {
  font-size: 72px;
  color: #4b9a7b;
  line-height: 1em;
  margin: 0 auto;
  position: absolute;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 3;
  top: 80px;
}

.head-title {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 70px;
}

.title-text {
  font-size: 36px;
  color: #333;
  font-weight: bold;
}

.more {
  width: 120px;
  height: 40px;
  border: 2px solid #4b9a7b;
  color: #4b9a7b;
  font-size: 20px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1em;
}

.more .iconfont {
  margin-left: 6px;
}

.news-box {
  height: 434px;
}

.news-box .fix-wrap {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
}

.news-item {
  width: 456px;
  height: 354px;
  float: left;
}

.news-img-wrap {
  width: 456px;
  height: 246px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-img {
  width: 100%;
  height: 100%;
  transition: all .3s ease;
  flex-shrink: 0;
}

.news-title {
  color: #333333;
  font-size: 20px;
  height: 50px;
  width: 100%;
  font-weight: 600;
  //text-align: justify;
  line-height: 1.5em;
  margin-top: 20px;
  transition: all .3s ease;
}

.news-date {
  font-size: 16px;
  color: #999;
  margin-top: 20px;
  line-height: 1em;
  transition: all .3s ease;
}

.news-item:hover .news-img {
  width: 110%;
  height: 110%;
  transition: all .3s ease;
}

.news-item:hover .news-title,
.news-item:hover .news-date {
  color: #4b9a7b;
  transition: all .3s ease;
}


.research-box {
  display: flex;
  height: 398px;
  display: flex;
  justify-content: space-between;
}

.research-list {
  width: 590px;
  height: 100%;
  border-top: 2px solid #f4faf8;
}

.research-item {
  width: 100%;
  height: calc(100% / 3);
  border-bottom: 2px solid #f4faf8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #333;
}

.date {
  width: 72px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.date-top {
  font-size: 34px;
  font-weight: bold;
  width: 60px;
  text-align: center;
  margin-bottom: 16px;
  line-height: 1em;
}

.date-bottom {
  font-size: 16px;
  font-weight: bold;
  width: 60px;
  text-align: center;
  line-height: 1em;
}

.research-des {
  width: 510px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  height: 100%;
  padding-right: 20px;
  text-align: justify;
  font-size: 20px;
}

.edu-box {
  height: 490px;
  position: relative;
}

/* rewrite swiper style */

.swiper-container{
  --swiper-theme-color: #4b9a7b;
  --swiper-pagination-color: #4b9a7b;/* 两种都可以 */
}

.swiper-container-horizontal>.swiper-pagination-bullets, .swiper-pagination-custom, .swiper-pagination-fraction {
  width: 91%;
  right: 0;
  left: auto;
}

.swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet {
  margin: 0 8px;
}

.swiper-pagination-bullet {
  width: 16px;
  height: 16px;
}

/* rewrite swiper style end */

.swiper-btns {
  width: 200px;
  height: 100px;
  position: absolute;
  bottom: 0;
  right: 0;
  background-color: #f4faf8;
  display: flex;
  justify-content: space-between;
  z-index: 20;
}

.swiper-btn {
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  cursor: pointer;
  position: relative;
}

.swiper-btn::before {
  content: '';
  display: block;
  width: 1px;
  position: absolute;
  height: 58px;
  top: 0;
  bottom: 0;
  margin: auto 0;
  background-color: #e1efea;
}

.prev::before {
  right: 0;
}

.next::before {
  left: 0;
}

.swiper-btn:active {
  opacity: .6;
}

.swiper-btn .iconfont {
  font-size: 24px;
  color: #4b9a7b;
}

.swiper-slide {
  position: relative;
}

.swiper-slide .text {
  width: 810px;
  height: 440px;
  background-color: #fff;
  padding: 50px 40px;
  position: absolute;
  right: 0;
  top: 0;
  box-shadow: 0 0 20px rgba(0, 0, 0, .05);
}

.text-title {
  width: 100%;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 26px;
}

.text-content {
  width: 100%;
  text-align: justify;
  line-height: 1.8em;
}

.exchange-box {
  /*height: 700px;*/
  display: flex;
  justify-content: space-between;
  margin: 100px auto;
  position: relative;
}

.exchange-list {
  width: 590px;
}

.exchange-title {
  font-size: 36px;
  font-weight: bold;
}

.exchange-item {
  width: 100%;
  min-height: 130px;
  border-bottom: 2px solid #f4faf8;
  display: flex;
  flex-direction: column;
  padding-top: 20px;
  /*padding-bottom: 10px;*/
}

.exchange-item .date {
  width: 100%;
  font-size: 16px;
  color: #999;
  margin-bottom: 16px;
  line-height: 1em;
  height: 1em;
  transition: all .3s ease;
}

.exchange-item:hover .date {
  color: #4b9a7b;
  transition: all .3s ease;
}

.exchange-item .title {
  font-size: 20px;
  font-weight: bold;
  display: flex;
  flex-wrap: wrap;
  text-align: justify;
}

.exchange-box .more {
  position: absolute;
  left: 0;
  bottom: 0;
}

/* 移动端样式 */

@media screen and (max-width: 768px) {  .container {
    width: 100%;
  }
  .img-wrap {
    min-width: 100vw;
    height: calc(100vw / 2.4);
    background: url(../img/index-pic.jpg) no-repeat 50% / cover;
  }

  .menu-box {
    margin: 0;
    width: 100vw;
    height: auto;
    box-shadow: none;
  }

  .menu-wrap {
    height: auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: .6rem .24rem .2rem;
  }

  .menu-item {
    width: 3.4rem;
    height: 2.38rem;
    background-color: #f4faf8;
    margin-bottom: .2rem;
    font-size: .24rem;
    font-weight: normal;
  }

  .menu-item .iconfont {
    font-size: .75rem;
    color: #4b9a7b;
    line-height: 1em;
    margin: 0 auto;
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 3;
    top: 0.5rem;
  }
  .menu-item span {
    font-weight: 600;
    position: absolute;
    top: 1.4rem;
    left: 0;
    right: 0;
    margin: 0 auto;
    text-align: center;
    z-index: 3;
}

  .head-title {
    margin-top: 0;
    padding: 0 .24rem;
    height: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .title-text,
  .exchange-title {
    font-size: .38rem;
  }

  .more {
    width: 1.1rem;
    height: .42rem;
    border: .02rem solid #4b9a7b;
    font-size: .24rem;
  }

  .news-box {
    width: 100%;
    height: auto;
  }

  .news-box.green {
    background: none;
  }

  .news-box .fix-wrap {
    width: 100%;
    height: auto;
    flex-direction: column;
    justify-content: flex-start;
  }

  .more .iconfont {
    display: none;
  }

  .news-item {
    width: 100%;
    height: 4.8rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0 .24rem;
    margin-bottom: .5rem;
  }

  .news-img-wrap {
    width: 100%;
    max-height: 3.82rem;
    position: relative;
    overflow: hidden;
  }

  .news-item img {
    position: absolute;
    max-width: 100%;
    max-height: 100%;
    display: block;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
  }

  .news-title {
    margin-top: 0;
    font-size: .24rem;
    height: 1em;
    line-height: 1em;
  }

  .news-date {
    font-size: .2rem;
    margin-top: 0;
    height: 1em;
    line-height: 1em;
  }

  .research-box {
    width: 100%;
    height: 9rem;
    display: flex;
    position: relative;
    margin-bottom: .9rem;
  }

  .research-box img {
    max-height: 4rem;
    width: 100%;
  }

  .search-box {
    display: none;
  }

  .research-list {
    width: calc(100% - .48rem);
    height: 6rem;
    display: flex;
    flex-direction: column;
    padding: .3rem;
    background-color: #fff;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    bottom: 0;
    border-radius: .04rem;
    box-shadow: 0 .1rem .5rem rgba(0, 0, 0, .05);
  }

  .research-item {
    width: 100%;
    height: 1.8rem;
  }

  .research-item:last-child {
    border: none;
  }

  .research-des {
    font-size: .24rem;
    padding: 0;
    width: 5.5rem;
  }

  .date {
    width: auto;
    height: .9rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .date-top {
    text-align: left;
    width: auto;
    height: .45rem;
    font-size: .34rem;
    margin-bottom: 0;
    position: relative;
  }

  .date-top::after {
    content: '';
    position: absolute;
    bottom: 0;
    display: block;
    width: .38rem;
    height: .02rem;
    background-color: #000;
  }

  .date-bottom {
    width: 100%;
    text-align: left;
    font-size: .32rem;
    line-height: 1em;
    transform: scale(.5) translateX(-50%);
  }

  .exchange-box {
    margin: .9rem auto 6.2rem;
    width: 100%;
    padding-top: 1.2rem;
    position: relative;
    background: url(../img/mock/exchange-img.png) no-repeat 50% 1.2rem / 100% auto;
    height: 5.9rem;
  }

  .exchange-box .more {
    position: absolute;
    top: .45rem;
    right: .24rem;
    left: auto;
  }

  .exchange-title {
    position: absolute;
    top: .41rem;
    left: .24rem;
  }

  .exchange-box img {
    display: none;
  }

  .exchange-list {
    padding: .24rem;
    height: 7rem;
    background-color: #fff;
    margin: 3.2rem auto 0;
    width: calc(100% - .48rem);
    border-radius: .04rem;
    box-shadow: 0 .1rem .5rem rgba(0, 0, 0, .05);
    display: flex;
    flex-direction: column;
  }

  .exchange-item {
    width: 100%;
    height: 1.6rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: .2rem 0;
  }

  .exchange-item:nth-child(5) {
    border: none;
  }

  .exchange-item .date {
    margin: 0;
    font-size: .22rem;
    line-height: 1em;
  }

  .exchange-item .title {
    font-size: .26rem;
  }

  .edu-box {
    width: 100%;
    height: 8.2rem;
  }

  .swiper-container {
    width: 100%;
    height: 100%;
  }

  .swiper-slide {
    width: 100vw;
    height: 100%;
    position: relative;
  }

  .swiper-img {
    position: absolute;
    top: 0;
    width: 100%;
    height: 4rem;
  }

  .swiper-pagination {
    display: none;
  }

  .swiper-btns {
    width: 2rem;
    height: 1rem;
    position: absolute;
    top: 3rem;
    right: .24rem;
  }

  .swiper-btns .iconfont {
    font-size: .2rem;
  }

  .swiper-btn::before {
    height: .58rem;
  }

  .swiper-slide .text {
    width: 100%;
    height: 4.2rem;
    top: 4rem;
    padding: 0;
    position: absolute;
    padding: .4rem;
    overflow: hidden;
  }

  .text-title {
    font-size: .3rem;
    margin-bottom: .25rem;
  }

  .text-content {
    font-size: .24rem;
    line-height: 1.4em;
  }
}




