﻿* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #1357ac;
  --secondary-color: #ffc300;
  --text-color: rgba(0, 0, 0, 0.85);
  --light-bg: #f1f1f1;
  --container-padding: 15px;
}

html {
  font-size: 16px;
}
body{
  min-width: 1400px;
}
a {
  text-decoration: none;
}

/* 头部操作部分 */
.header-top {
  width: 100%;
  background: #f4f4f4;
  height: auto;
}


.header-top .link-now {
  width: 180px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.05);
  padding: 15px 15px 15px 8px;
}
.header-top .link-now img {
  margin-right: 5px;
}  
.header-top .action-item img {
  margin-right: 5px;
}
.header-top .link-zhiliang {
  padding: 15px 18px 15px 28px;
  border-right: 1px solid #d8d8d8;
}
.header-top .link-shichang {
  border-right: 1px solid #d8d8d8;
  padding: 15px 18px 15px 36px;
}
.action-item {
  list-style-type: none;
  padding: 15px 17px 15px 24px;
  border-right: 1px solid #d8d8d8;
  display: flex;
  justify-content: center;
  align-items: center;
}
.action-item:first-child {
  border-left: 1px solid #d8d8d8;
}
.action-item span {
  cursor: pointer;
  font-size: 16px;
  font-family: PingFang SC;
  color: rgba(0, 0, 0, 0.65);
}
.action-list div {
  opacity: 0;
  height: 0;
  overflow: hidden;
  font-family: PingFang SC;
  border-radius: 5px;
  transition: all 0.5s;
  position: absolute;
  z-index: 999;
  width: 180px;
  background-color: #fff;
  right: -49px;
  top: 45px;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1);
}
.action-list strong {
  color: #0a75c7;
}
.action-list div::before {
  content: "";
  width: 0;
  height: 0;
  border: 8px solid transparent;
  border-bottom-color: #fff;
  position: absolute;
  right: 90px;
  top: -16px;
  z-index: 111;
}
.header-top .link-now a {
  color: rgba(19, 87, 172, 1);
}
.header-top a {
  font-size: 16px;
  font-family: PingFang SC;
  color: rgba(0, 0, 0, 0.65);
  z-index: 100;
}
.link {
  display: flex;
}
.action-list {
  position: relative;
  display: flex;
}
/* 头部图片嵌套 */
.header-middle {
  position: relative;
  background: linear-gradient(
      to bottom,
      rgba(19, 87, 172, 0.01),
      rgba(19, 97, 171, 0.2)
    ),
    url(../../Images/middle-bg.png) bottom center;
  height: 190px;
  z-index: 0;
}
.header-middle .container > img {
  position: relative;
  z-index: 10;
}
.header-middle .container {
  align-items: center;
}
/* 导航 */
.header-bottom {
  width: 100%;
  background: var(--primary-color);
  height: auto;
  position: relative;
}
.header-bottom .container-md {
    display: none;
    padding: 0 10px;
}
.header-bottom .container-sd {
    display: none;
}
.nav-list {
  display: flex;
  width: 1035px;
  justify-content: space-between;
}
.nav-item {
  list-style-type: none;
  width: 200px;
  height: 56px;
  line-height: 56px;
  text-align: center;
  margin-right: 42px;
}
.nav-item:last-child {
  margin-right: 0;
}
.nav-item i {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 8px;
  position: relative;
  top: 2px;
}
.nav-item a {
  color: #fff;
  font-size: 18px;
  position: relative;
  top: -1px;
  font-family: PingFang SC;
}

.nav-item:nth-child(1) i {
  background: url(../../Images/nav.png) no-repeat 0 -42px;
}
.nav-item:nth-child(1):hover i {
  background: url(../../Images/nav.png) no-repeat 0 -1px;
}
.nav-list .nav-item-active i {
  background: url(../../Images/nav.png) no-repeat 0 -1px;
}
.nav-item:nth-child(2) i {
  background: url(../../Images/nav.png) no-repeat -55px -42px;
}
.nav-item:nth-child(2):hover i {
  background: url(../../Images/nav.png) no-repeat -55px -1px;
}
.nav-item:nth-child(3) i {
  background: url(../../Images/nav.png) no-repeat -100px -42px;
}
.nav-item:nth-child(3):hover i {
  background: url(../../Images/nav.png) no-repeat -100px -1px;
}
.nav-item:nth-child(4) i {
  background: url(../../Images/nav.png) no-repeat -149px -42px;
}
.nav-item:nth-child(4):hover i {
  background: url(../../Images/nav.png) no-repeat -149px -1px;
}
.nav-item:nth-child(5) i {
  background: url(../../Images/nav.png) no-repeat -195px -42px;
}
.nav-item:nth-child(5):hover i {
  background: url(../../Images/nav.png) no-repeat -195px -1px;
}
.nav-item:nth-child(6) i {
  background: url(../../Images/nav.png) no-repeat -229px -42px;
}
.nav-item:nth-child(6):hover i {
  background: url(../../Images/nav.png) no-repeat -229px -1px;
}
.nav-item:nth-child(7) i {
  background: url(../../Images/nav.png) no-repeat -262px -42px;
}
.nav-item:nth-child(7):hover i {
  background: url(../../Images/nav.png) no-repeat -262px -1px;
}
.nav-item-active a {
  color: #ffc300;
}
.nav-item:hover {
  background-color: #0b4997;
}
.nav-item:hover a {
  color: #ffc300;
}
.nav-item-active {
  background-color: #0b4997;
}
.search {
  position: relative;
  height: 56px;
  top: 10px;
}
.search-input {
  outline: none;
  box-sizing: border-box;
  padding-left: 16px;
  padding-right: 70px;
  width: 285px;
  height: 36px;
}
.search-input::placeholder {
  color: rgba(0, 0, 0, 0.45);
  font-size: 14px;
}
.search-text {
  position: absolute;
  right: 17px;
  color: #1357ac;
  font-size: 14px;
  bottom: 29px;
  cursor: pointer;
}
.search-text::before {
  content: "";
  width: 1px;
  height: 14px;
  display: inline-block;
  background: #1357ac;
  position: relative;
  top: 2px;
  right: 6px;
}
/* 当前位置 */

.content-top .now-page {
  color: rgba(19, 87, 172, 1);
}
.content-top .first-page {
  color: rgba(0, 0, 0, 0.851);
}
.content-top .home {
  margin: 0 8px 0 3px;
}
.content-top .more {
  margin: 0 5px 0 5px;
}
.container {
  width: 1400px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

/* 底部 */
.footer {
  background: var(--primary-color);
  padding: 20px 0;
  height: auto;
  width: 100%;
  box-sizing: border-box;
}


.footer p {
  text-align: center;
  color: #fff;
  margin-bottom: 10px;
  font-family: PingFang SC;
  font-size: 16px;
}
.footer p a {
  color: #fff;
  font-family: PingFang SC;
  font-size: 16px;
}
.footer-link {
  width: 658px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
}
.footer-link img {
  width: 120px;
  height: 52px;
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  body{
    min-width: 320px;
  } 
  .header-top{
    display: none;
  }
  .header-top .container {
    z-index: 10;
  }
  .header-top .link,
  .header-top .action-list {
    flex-direction: column;
    align-items: center;
    height: 43px;
    overflow: hidden;
    z-index: 10;
  }
  .header-top .linktoggle{
    overflow: visible;
  }
  
  .header-top .link-now,
  .header-top .link-shichang,
  .header-top .link-zhiliang,
  .header-top .action-item {
    width: 100%;
    text-align: center;
    padding: 10px;
    border-right: none ;
    border-bottom: 1px solid #d8d8d8;
    background: #E8E8E8;
  }  
  .header-middle{
    height: 100px;
  } 
  .header-middle .container {
    padding: 0 10px;
  } 
  .header-middle .container > img
  {
    height: 50px;
  }
  .container {
    width: 100%;
  }
  .container .logo-text{
    display: none;
  }
  .header-bottom .container {
    display: none;
  }
  .header-bottom .container-md {
    display: block;
  }
  .header-bottom .Mobile {
    display: none;
  }
  .footer-link {
    width: 100%;
    padding: 0 10px;
  }
  
  .footer-item {
    margin-bottom: 15px;
  }
  .footer-link img
  {
    width: 80px;
    height: 35px;
  }
  .container-md .nav-box{
    width: 100%;
    height: 56px;
  }
  .container-md .nav-list {
    width: 90%;
    display: block;
    float: left;
    height: 56px;
    overflow: hidden;
  }
  .container-md .nav-item {
    float: left;
    width: auto;
    margin-right: 10px;
  }
  .container-md .nav-menu{
    width: 10%;
    height: 56px;
    line-height: 56px;
    float: right;
    text-align: right;
  }
  .container-md .nav-menu img{
    width: 20px;
  }
  .search {
    width: 100%;
  }
  
  .search-input {
    width: 100%
  }
  
  .container-sd{
    position: absolute;
    background: var(--primary-color);
    width: 100%;
    padding: 0 10px;
    z-index: 10;
    top: 0;
  }
  .container-sd .nav-box{
    width: 100%;
    display: flex;
  }
  .container-sd .nav-list {
    flex-direction: column;
    width: 90%;
  }
  .container-sd .nav-item {
    width: 100%;
  }
  .container-sd .nav-menu{
    width: 10%;
    height: 56px;
    line-height: 56px;
    float: right;
    text-align: right;
  }
  .container-sd .nav-menu img{
    width: 20px;
  }
}
