/* 手机端样式 */
@media screen and (max-width: 768px) {
  .hidden-pc {
    display: block;
  }

  .hidden-mobile {
    display: none;
  }

  .hide {
    display: none;
  }

  .menu-button {
    position: relative;
  }

  .menu-button {
    background: #f2f2f2;
    display: block;
    padding: 20px;
    color: #000000;
    cursor: pointer;
    font-size: 12px;
    text-transform: uppercase;
    float: right;
    width: 20px;
  }

  .back-home {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
  }

  .menu {
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: calc(100vh - 40px);
    background-image: url(/szgyyq/xhtml/images/mobile-menu-bg.png);
    background-size: 100% 100%;
    overflow: hidden;
    z-index: 99;
  }

  .menu-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 20px;
  }

  .hnew-navbar-center-list-item {
    background: #fff;
    width: calc(45vw - 10px);
    display: inline-block;
    margin: 10px 0;
    height: 32px;
    line-height: 32px;
    text-decoration: none;
    border-radius: 4px;
    color: #1d71b7;
    text-align: center;
    font-size: 14px;
  }

  .menu-button::before {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    display: block;
    width: 15px;
    height: 3px;
    border-top: 2px solid #000000;
    border-bottom: 2px solid #000000;
  }

  .menu-button::after {
    content: '';
    position: absolute;
    top: 15px;
    right: 20px;
    display: block;
    width: 15px;
    height: 2px;
    background: #000000;
  }

  .img-mobile {
    width: 50px;
    margin: 20px auto 0;
  }

  .img-title {
    width: 90%;
    margin: 15px auto;
  }

  .header-img {
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .search {
    width: calc(100vw - 80px);
    margin: 40px 0 30px 40px;
  }

  .search dl {
    position: relative;
    width: 100%;
    background-color: #fff;
    border: 1px solid #b5b5b5;
    border-radius: 30px;
    overflow: hidden;
  }

  .search dl dd {
    margin-right: 70px;
    margin-left: 10px;
    height: 33px;
    background-color: transparent;
    border: none;
  }

  .search dl dd input[type='text'] {
    padding: 0;
    height: 33px;
    line-height: 33px;
    width: 100%;
    font-size: 14px;
    color: #999;
    background: none;
    border: 0;
    vertical-align: top;
  }

  .search dl dt.button {
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 33px;
    border-left: 1px solid #b5b5b5;
  }

  .search dl dt input.searchBtn {
    width: 100%;
    height: 33px;
    color: #fff;
    background: url(http://www.sipac.gov.cn/szgyyq/xhtml/images/public/header-search-btn.jpg)
      no-repeat center;
    -webkit-appearance: none;
    border: none;
    vertical-align: top;
    cursor: pointer;
  }
}

/* 手机端样式 end */

/* 电脑端样式 */
@media screen and (min-width: 768px) {
  .hidden-pc {
    display: none;
  }

  .hidden-mobile {
    display: block;
  }

  .header-box {
    min-width: 1200px;
  }

  .header-top-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 44px;
    font-size: 14px;
    color: #bfd5f5;
    background: #245399;
  }

  .header-top {
    width: 1200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .back-home {
    color: #bfd5f5;
    cursor: pointer;
  }

  .header-top-right {
    display: flex;
    align-items: center;
  }

  .top-bar-gh {
    position: absolute;
    top: 28px;
    left: 0;
    right: 0;
    margin: 0 auto;
  }

  .header-box .logo {
    width: 1200px;
    height: 75px;
    margin-right: auto;
    margin-left: auto;
    padding-top: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
  }

  .nav-bar {
    width: 100%;
    height: 70px;
    display: flex;
    align-items: flex-end;
    margin-bottom: 10px;
  }

  .nav-left {
    width: 100%;
    height: 70px;
    background: #317ac9;
  }

  .nav-center {
    height: 70px;
    min-width: 1200px;
    background: white;
    display: flex;
    align-items: flex-end;
  }

  .nav-right {
    width: 100%;
    height: 55px;
    background: #317ac9;
  }

  .nav-title {
    max-width: 230px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    height: 100%;
    background: #317ac9;
    color: #ffffff;
    font-size: 22px;
    font-weight: bold;
    padding: 0 60px;
  }

  .nav-img {
    height: 100%;
    flex-shrink: 0;
  }

  .hnew-navbar-center-list {
    width: 100%;
    height: 55px;
    background: #317ac9;
    display: flex;
    align-items: center;
  }

  .hnew-navbar-center-list-item {
    cursor: pointer;
    color: #ffffff;
    font-size: 18px;
    margin-left: 30px;
  }

  .search {
    float: right;
    width: 200px;
    margin-right: 30px;
  }

  .search dl {
    position: relative;
    width: 100%;
    background-color: #fff;
    border: 1px solid #b5b5b5;
    border-radius: 30px;
    overflow: hidden;
  }

  .search dl dd {
    margin-right: 70px;
    margin-left: 10px;
    height: 31px;
    background-color: transparent;
    border: none;
  }

  .search dl dd input[type='text'] {
    padding: 0;
    height: 31px;
    line-height: 31px;
    width: 100%;
    font-size: 14px;
    color: #999;
    background: none;
    border: 0;
    vertical-align: top;
  }

  .search dl dt.button {
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 31px;
    border-left: 1px solid #b5b5b5;
  }

  .search dl dt input.searchBtn {
    width: 100%;
    height: 31px;
    color: #fff;
    background: url(http://www.sipac.gov.cn/szgyyq/xhtml/images/public/header-search-btn.jpg)
      no-repeat center;
    -webkit-appearance: none;
    border: none;
    vertical-align: top;
    cursor: pointer;
  }

  .switch-language a {
    color: #bfd5f5;
  }

  .switch-language font {
    margin: 0 8px;
  }
}
