@font-face {
  font-family: user-icon;
  src: url(../fonts/iconfont.eot);
  src: url(../fonts/iconfont.eot) format('embedded-opentype'), url(../fonts/iconfont.woff2) format('woff2'), url(../fonts/iconfont.woff) format('woff'), url(../fonts/iconfont.ttf) format('truetype'), url(../fonts/iconfont.svg) format('svg');
}

.font_logo {
  font-family: user-icon !important;
  font-size: 16px;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.header {
  width: 100%;
  height: 88px;
  line-height: 88px;
  position: relative;
  border-bottom: 1px solid #fff;
  box-shadow: 10px 0px 10px 5px #ccc;
}

.header h1 em {
  font-size: 0;
}

body {
  background-repeat: no-repeat;
  /* background-attachment: fixed; */
  background-position: top 88px center;
  background-size: cover;
  background-color: #fff;
  font-family: 'Microsoft YaHei', Helvetica Neue, Helvetica, PingFang SC, Tahoma, Arial, sans-serif;
}

/* 首页头部属性 */
/* logo */
.header h1 {
  position: absolute;
  left: 0;
  height: 100%;
}

.header .header_left .logo h1 img {
  vertical-align: middle;
}

/* 导航 */
.header .nav {
  height: 100%;
  margin-left: 30%;
}

/* 伸缩效果先固定，学js后设计碰到logo收缩的效果 */
.header .nav,
.header .nav a {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  overflow: hidden;
  padding: 0 8px;
  height: 100%;
  position: relative;
}

.header .nav li {
  float: left;
  color: black;
}

.header .nav .page-on::before {
  display: block;
  border-bottom: 2px solid #002c6f;
}

.header .nav a::before {
  content: '';
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  position: absolute;
  z-index: -1;
  background-image: url(../images/页面上方链接背景图.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  display: none;
}

.header .nav a:hover::before {
  display: block;
}

.header .nav a:hover,
.header .nav .page-on {
  border-bottom: 2px solid #002c6f;
}

.header .nav li:last-child {
  margin-right: 0;
}

/* user用户 */
.header .user {
  text-align: center;
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  margin-right: 15px;
}

.header .user .user_a {
  margin: 0 5px;
  height: 100%;
}

.header .user .user_a a {
  display: flex;
  height: 100%;
  align-items: center;
  margin-right: 1px;
}

.header .user .user_a a .font_logo {
  display: block;
  background-color: #002c6f;
  height: 36px;
  width: 36px;
  line-height: 36px;
  border-radius: 18px;
}

.header .user .user_a a .font_logo::before {
  content: '\e66f';
  color: #fff;
  font-size: 22px;
}

.menu {
  position: absolute;
  left: 0;
  top: 0;
  height: 50px;
  width: 50px;
  line-height: 50px;
  display: none;
}

.menu a {
  height: 50px;
  width: 50px;
  line-height: 50px;
  padding: 0 13px;
  display: block;
}

.menu a em {
  display: block;
  line-height: 50px;
  font-size: 24px;
  text-align: center;
}

.menu a em::before {
  content: '\e653';
  color: black;
}

/* 历史谱系溯源 */
@media screen and (min-width: 1290px) {
  .header .nav a {
    margin-right: 1vw;
    color: black;
    line-height: 24px;
    flex-direction: column;
  }

  .header .header_left {
    position: relative;
    margin-left: 15px;
  }

  #logo_left {
    height: 60px;
  }

  #logo_right {
    height: 37px;
  }
}

@media screen and (max-width: 1290px) and (min-width: 1000px) {
  .header .nav a {
    margin-right: 1px;
    color: black;
    line-height: 24px;
    flex-direction: column;
  }

  .header .nav a span {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    justify-content: center;
    padding: 0 5px;
    height: 100%;
    position: relative;
  }

  .header .nav a span {
    text-align: center;
  }

  .header .header_left {
    position: relative;
    margin-left: 15px;
  }

  #logo_left {
    height: 60px;
  }

  #logo_right {
    height: 37px;
  }
}

@media screen and (max-width: 1000px) {
  .header {
    height: 50px;
    line-height: 50px;
  }

  .nav {
    display: none !important;
  }

  .header .header_left {
    display: flex;
    justify-content: center;
    height: 50px;
  }

  .header .header_left h1 {
    display: flex;
    align-items: center;
    margin: 0 auto;
    position: static;
  }

  .header .header_left h1 a {
    display: flex;
    align-items: center;
  }

  #logo_left {
    height: 36px;
  }

  #logo_right {
    height: 22px;
  }

  .menu {
    display: block;
  }
}