body{
  font-family:"Helvetica Neue",Helvetica,"PingFang SC","Microsoft YaHei","Hiragino Sans GB","WenQuanYi Micro Hei",Arial,"SimSun",sans-serif;;font-size:18px;
}
h2{font-family: SimHei,'microsoft Yahei',sans-serif;font-size:24px;}
.header{
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;
  height: 232px;
  background: url(https://yz.cqu.edu.cn/img/top_bg.png)no-repeat top left;
  padding-top: 45px;
  transition: all .3s;
}
/* 搜索框 */
.search_form{
  text-align: right;
  transform: translateY(-30px);
}
.search-btn{
  width: 23px;
  vertical-align: top;
  height: 23px;
  cursor: pointer;
  background: url(https://yz.cqu.edu.cn/img/search_btn.png) no-repeat center center;
}
.search-text{
  background: #fff;
  width: 0px;
  /* border: 1px solid #0f5fa4; */
  /* border-right: none; */
  height: 23px;
  vertical-align: top;
  padding: 0 0px;
  color: #000;
  transition: all .3s;
}

.header .w{
  display: flex;
  justify-content: space-between;
}
.search_nav{
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  margin-left: 50px;
}
.nav>ul{
  display: flex;
  justify-content: space-between;
}
.nav>ul>li{
  position: relative;
}
.nav>ul>li>a{
  color: #fff;
  display: block;
}
.subNav{
  transition: all .3s;
  transform: translateY(10px);
  opacity: 0;
  visibility: hidden;
  background: rgba(255, 255, 255, 0.5);
  position: absolute;
  left: 0;
  min-width: 100%;
}
.subNav li a{
  color: #fff;
  line-height: 30px;
  display: block;
  padding: 0 10px;
  white-space: nowrap;
}
.subNav li:hover a{
  background: rgba(0, 0, 0, 0.3);
}
.nav>ul>li:hover .subNav{
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.scroll{
  background: #fff;
  padding-top: 15px;  
  height: 110px;
}
.scroll .nav>ul>li>a{
  color: #000;
}
.scroll .subNav{
  background: rgba(0, 0, 0, 0.5);
}

.scroll .search-btn{
  background: url(https://yz.cqu.edu.cn/img/search_btn_b.png) no-repeat center center;
  border: 1px solid #073e86;
}

.search_form{
  transform: translateY(-10px);
}



.footer{
  background: #005799;
}
.footer>.w>p{
  text-align: center;
  color: #fff;
  line-height: 60px;
}
.footer_top{
  display: flex;
  justify-content: space-between;
  padding: 50px 0;
}
.footer_cont{
  display: flex;
  justify-content: space-between;
  color: #fff;
}
.weChat img{
  display: block;
  width: 91px;
}
.weChat p{
  text-align: center;
  font-size: 15px;
}
.footer_logo{
  display: flex;
  align-items: center;
}
.footer_information{
  margin-right: 50px;
}
.footer_information h6{
  position: relative;
  font-size: 18px;
  font-weight: 600;
  display: table;
  margin-bottom: 10px;
}
.footer_information h6::after{
  content: '';
  width: 7px;
  height: 18px;
  background: #0681ff;
  position: absolute;
  right: -15px;
  top: 4px;
}
.weChat{
  margin-top: 35px;
}
.weChat p{
  margin-top: 10px;
}

.nav-btn {
  background-color: transparent;
  background-image: none;
  vertical-align: middle;
  position: absolute;
  right: 10px;
  top: 34px;
  transform: translateY(-50%);
  display: none;
}

.nav-btn .icon-bar-nav {
  display: block;
  width: 30px;
  height: 3px;
  border-radius: 1px;
  background-color: #fff;
}

.nav-btn .icon-bar-nav+.icon-bar-nav {
  margin-top: 6px;
}

@-webkit-keyframes rubberBand {
  0% {
      -webkit-transform: scale(1);
      transform: scale(1)
  }

  30% {
      -webkit-transform: scaleX(1.25) scaleY(0.75);
      transform: scaleX(1.25) scaleY(0.75)
  }

  40% {
      -webkit-transform: scaleX(0.75) scaleY(1.25);
      transform: scaleX(0.75) scaleY(1.25)
  }

  60% {
      -webkit-transform: scaleX(1.15) scaleY(0.85);
      transform: scaleX(1.15) scaleY(0.85)
  }

  100% {
      -webkit-transform: scale(1);
      transform: scale(1)
  }
}

@keyframes rubberBand {
  0% {
      -webkit-transform: scale(1);
      -ms-transform: scale(1);
      transform: scale(1)
  }
  30% {
      -webkit-transform: scaleX(1.25) scaleY(0.75);
      -ms-transform: scaleX(1.25) scaleY(0.75);
      transform: scaleX(1.25) scaleY(0.75)
  }
  40% {
      -webkit-transform: scaleX(0.75) scaleY(1.25);
      -ms-transform: scaleX(0.75) scaleY(1.25);
      transform: scaleX(0.75) scaleY(1.25)
  }

  60% {
      -webkit-transform: scaleX(1.15) scaleY(0.85);
      -ms-transform: scaleX(1.15) scaleY(0.85);
      transform: scaleX(1.15) scaleY(0.85)
  }

  100% {
      -webkit-transform: scale(1);
      -ms-transform: scale(1);
      transform: scale(1)
  }
}

@media screen and (max-width: 1000px) {
  .w100 {
    min-width: 100%;
    padding: 0 2%;
  }
  .w {
    width: 100%;
    min-width: 100%;
  }
  .header{
    position: initial;
    height: auto;
    background: #0068B7;
    padding: 0 2%;
  }
  .header .w{
    display: block;
    padding: 10px 0;
  }
  .search_nav{
    display: none;
    margin-left: 0;
    padding-top: 10px;
  }
  .search_form{
    transform: translateY(0);
  }
  .search-text{
    width: 100px;
  }
  .logo{
    display: block;
    width: 306px;
  }
  .logo img{
    display: block;
    width: 100%;
  }
  .nav>ul{
    display: block;
  }
  .nav>ul>li{
    border-bottom: 1px solid #fff;
  }
  .nav>ul>li:last-child{
    border: none;
  }
  .hasSubNav::after{
    content: '+';
    position: absolute;
    right: 5%;
    top: 3px;
    color: #fff;
  }
  .nav>ul>li>a{
    display: inline-block;
    line-height: 30px;
  }
  .nav>ul>li:hover .subNav{
    position: initial;
  }
  .search_form{
    text-align: center;
  }
  .nav-btn {
    display: block;
  }
  
  .footer_logo{
    display: block;
  }
  .footer_logo img{
    display: block;
    width: 100%;
  }
  .footer_top{
    padding: 10px 0;
    display: block;
  }
  .footer_information h6{
    margin-bottom: 6px;
  }
  .footer_cont{
    margin-top: 10px;
    align-items: center;
  }
  .footer_information{
    margin-right: 10px;
  }
  .footer>.w>p{
    line-height: 20px;
    padding-bottom: 8px;
  }
}