@import url("./font/iconfont.css");
body {
  font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "\5FAE\8F6F\96C5\9ED1", Arial, sans-serif;
  line-height: 1.3;
  background-color: #fff;
  color: #666;
}

*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

a {
  color: #333;
  text-decoration: none;
}

:focus {
  outline: none;
}

img {
  vertical-align: top;
}

.mt {
  margin-top: 2rem;
}

.wrap {
  width: 1200px;
  margin: 0 auto;
}

/* 大屏或小屏PC电脑 */
@media screen and (min-width: 1025px) {
  /* top */
  .view-top {
    background-color: #1d2b57;
  }
  .view-top ul {
    display: flex;
    height: 42px;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .view-top ul li {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    height: inherit;
    display: flex;
    align-items: center;
  }
  .view-top ul li .iconfont {
    font-size: 1rem;
    margin-right: 0.5rem;
  }
  .view-top ul li.date {
    margin-left: 1rem;
  }
  .view-top ul li.tel {
    margin-left: 1rem;
    margin-right: auto;
  }
  .view-top ul li.tel div {
    font-weight: bold;
    margin-top: 2px;
    font-size: 1rem;
  }
  .view-top ul li.links a {
    color: #e6a23c;
    margin-right: 1em;
  }
  .view-top ul li.links a:hover {
    color: #fbbd02;
  }
  .view-top ul li.links a:last-child {
    margin-right: 0;
  }
  .view-top ul li.gbook {
    padding-left: 1em;
  }

  /* 头部 */
  .view-header {
    position: relative;
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
  }
  .view-header .wrap {
    display: flex;
    align-items: center;
    height: 100px;
  }
  .view-header .header {
    flex: 1;
  }
  .view-header .header .logo {
    display: block;
    max-width: 328px;
    margin-right: 2em;
  }
  .view-header .header .logo img {
    width: 100%;
  }
  .view-header .header .menu-btn {
    display: none;
  }

  /* 导航 */
  .view-header .menu {
    min-width: 768px;
  }
  .view-header .menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }
  .view-header .menu ul li {
    position: relative;
    padding: 0 1em;
    height: 100px;
  }
  .view-header .menu ul li > a {
    height: inherit;
    width: 100%;
    display: flex;
    align-items: center;
    color: #555;
    position: relative;
  }
  .view-header .menu ul li.active > a::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #e6a23c;
    content: "";
  }
  .view-header .menu ul li:hover > a,
  .view-header .menu ul li.active > a {
    color: #e6a23c;
  }
  .view-header .menu ul li > dl {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 220px;
    margin: 0;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4);
    background: rgba(255, 255, 255, 0.9);
  }
  .view-header .menu ul li:hover > dl {
    display: block;
  }
  .view-header .menu ul li > dl dd {
    margin: 0;
  }
  .view-header .menu ul li > dl dd a {
    display: block;
    padding: 1em 1.5em;
    color: #333;
    position: relative;
  }
  .view-header .menu ul li > dl dd a:hover {
    color: #fbbd02;
  }
  .view-header .menu ul li > dl dd a::after {
    content: "";
    display: block;
    position: absolute;
    left: 1.5em;
    right: 1.5em;
    bottom: 0;
    height: 1px;
    background-color: #ddd;
  }
  .view-header .menu ul li > dl dd:last-child a::after {
    display: none;
  }
  .view-header .menu ul li > dl dd i {
    display: none;
  }
  .view-header .menu ul li > dl.cates {
    width: 440px;
    overflow: hidden;
  }
  .view-header .menu ul li > dl.cates dd {
    float: left;
    width: 50%;
  }

  /* 图片轮播 */
  .view-baner {
    position: relative;
    z-index: 1;
  }
  .view-baner .swiper-container {
    height: calc(100vw * 0.35);
  }
  .view-baner .swiper-slide .img {
    height: 100%;
    overflow: hidden;
  }
  .view-baner .swiper-slide .img img {
    object-fit: cover;
    width: 100%;
    height: 100%;
  }
  .view-baner .swiper-pagination-bullet {
    width: 20px;
    height: 5px;
    background: #fff;
    border-radius: 3px;
    transition: width 0.3s linear;
  }
  .view-baner .swiper-pagination-bullet-active {
    width: 30px;
    opacity: 0.8;
  }

  /* 滚动条事件 */
  .effect-header-scroll .view-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
  }
  .effect-header-scroll .view-baner {
    margin-top: 100px;
  }

  .view-footer {
    position: relative;
    z-index: 1;
    padding: 2em;
    background: #000;
    border-top: 3px solid #343434;
  }
  .view-footer .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .view-footer .footer-l {
    width: 330px;
    opacity: 0.7;
  }
  .view-footer .footer-l img {
    width: 100%;
  }
  .view-footer .footer-c p {
    margin: 0;
    line-height: 2em;
    font-size: 14px;
    color: #fff;
    text-align: center;
  }
  .view-footer .footer-c p span {
    display: inline-block;
    margin: 0 0.5em;
  }
  .view-footer .footer-c p a {
    color: #fff;
  }
  .view-footer .footer-r {
    width: 120px;
  }
  .view-footer .footer-r img {
    width: 100%;
  }
  .view-footer .footer-r .text {
    color: #fff;
    line-height: 2em;
  }
}

/* 小屏PC电脑 */
@media screen and (min-width: 1025px) and (max-width: 1200px) {
  .wrap {
    width: 100%;
    padding: 0 2em;
  }

  .view-top .wrap,
  .view-header .wrap {
    padding: 0 1em;
  }
}

/* Ipad或手机 */
@media screen and (max-width: 1024px) {
  html,
  body {
    height: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  }
  body {
    background: #f1f1f1;
  }
  .view {
    width: 750px;
    margin: 0 auto;
    background: #fff;
    position: relative;
  }
  .wrap {
    width: 100%;
    padding: 0 1em;
  }
  .no-scroll {
    overflow: hidden;
  }

  /* top */
  .view-top {
    background-color: #1d2b57;
    position: relative;
    z-index: 3;
  }
  .view-top ul {
    display: flex;
    height: 42px;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .view-top ul li {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    height: inherit;
    display: flex;
    align-items: center;
  }
  .view-top ul li.text {
    display: none;
  }
  .view-top ul li .iconfont {
    font-size: 1rem;
    margin-right: 0.5rem;
  }
  .view-top ul li.tel {
    margin-left: 1rem;
    margin-right: auto;
  }
  .view-top ul li.tel div {
    font-weight: bold;
    margin-top: 2px;
    font-size: 1rem;
  }
  .view-top ul li.links a {
    color: #e6a23c;
    margin-right: 1em;
  }
  .view-top ul li.links a:hover {
    color: #fbbd02;
  }
  .view-top ul li.links a:last-child {
    margin-right: 0;
  }
  .view-top ul li.gbook {
    padding-left: 1em;
  }

  /* 导航 */
  .view-header {
    position: relative;
    z-index: 2;
    width: inherit;
  }
  .view-header .wrap {
    padding: 0;
    position: relative;
    height: inherit;
  }
  .view-header .header {
    position: relative;
    z-index: 2;
    display: flex;
    height: 55px;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
    padding: 0 1em;
  }
  .view-header .header .logo {
    max-width: 200px;
    margin-right: 2em;
  }
  .view-header .header .logo img {
    width: 100%;
  }
  .view-header .header .menu-btn {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #eee;
    border-radius: 4px;
    background: #f8f8f8;
    cursor: pointer;
  }
  .view-header .header .menu-btn i {
    font-size: 18px;
  }
  .view-header .menu {
    display: none;
    position: relative;
    z-index: 1;
    flex: 1;
    height: auto;
    background-color: #ffffff;
    overflow: hidden;
  }
  .view-header .menu::after {
    position: absolute;
    left: 0;
    right: 2em;
    bottom: 0;
    height: 2em;
    content: "";
    background-color: #ffffff;
    z-index: 2;
  }
  .view-header .menu .scroll {
    overflow: auto;
    padding: 2em;
    height: 100%;
    position: relative;
    z-index: 1;
  }
  .view-header .menu .scroll ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .view-header .menu .scroll ul li:first-child {
    border-top: 1px solid #eee;
  }
  .view-header .menu .scroll ul li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1em;
    color: #333;
    border-bottom: 1px solid #eeeeee;
  }
  .view-header .menu .scroll ul li a:active {
    background-color: #f5f5f5;
  }
  .view-header .menu .scroll ul li.active a,
  .view-header .menu .scroll ul li.active a:active {
    color: #ce0000;
  }
  .view-header .menu .scroll ul li dl dd a {
    padding-left: 2em;
  }
  .view-header .menu .scroll ul li a::after {
    font-family: "iconfont" !important;
    content: "\e659";
    color: #999;
    font-size: 18px;
  }
  .view-header .menu .scroll ul li dl,
  .view-header .menu .scroll ul li dl dd {
    margin: 0;
  }

  /* 图片轮播 */
  .view-baner {
    position: relative;
    z-index: 1;
  }
  .view-baner .swiper-container {
    height: calc(100vw * 0.35);
  }
  .view-baner .swiper-slide .img {
    height: 100%;
    overflow: hidden;
  }
  .view-baner .swiper-slide .img img {
    object-fit: cover;
    width: 100%;
    height: 100%;
  }
  .view-baner .swiper-pagination-bullet {
    width: 10px;
    height: 5px;
    background: #fff;
    border-radius: 3px;
    transition: width 0.3s linear;
  }
  .view-baner .swiper-pagination-bullet-active {
    width: 20px;
    opacity: 0.8;
  }

  .view-footer {
    position: relative;
    z-index: 1;
    padding: 2em;
    background: #000;
    border-top: 3px solid #343434;
  }
  .view-footer .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
  }
  .view-footer .footer-l {
    width: 330px;
    opacity: 0.7;
    display: none;
  }
  .view-footer .footer-l img {
    width: 100%;
  }
  .view-footer .footer-c p {
    margin: 0;
    line-height: 2em;
    font-size: 14px;
    color: #fff;
    text-align: left;
  }
  .view-footer .footer-c p span {
    display: inline-block;
    margin: 0 0.5em;
  }
  .view-footer .footer-c p a {
    color: #fff;
  }
  .view-footer .footer-r {
    width: 120px;
  }
  .view-footer .footer-r img {
    width: 100%;
  }
  .view-footer .footer-r .text {
    color: #fff;
    line-height: 2em;
  }

  /* 滚动条事件 */
  .effect-header-scroll .view-header {
    position: fixed;
    top: 0;
    left: 50%;
    right: 0;
    transform: translateX(-50%);
  }
  .effect-header-scroll .view-baner {
    margin-top: 60px;
  }

  /* 菜单显示事件 */
  .effect-menu-show .view-header {
    height: calc(100vh - 42px);
  }
  .effect-menu-show .view-header .wrap {
    display: flex;
    flex-direction: column;
  }
  .effect-menu-show .view-header .header {
    background: #ffffff;
  }
  .effect-menu-show.effect-header-scroll .view-header {
    height: 100vh;
  }
  .effect-menu-show .view-header .menu {
    display: block;
  }
  .effect-menu-show .view-header .header .menu-btn {
    background: #ecf5ff;
    border-color: #8cc5ff;
    color: #53a8ff;
  }
}

/* 手机 */
@media screen and (max-width: 750px) {
  .view {
    width: 100%;
  }

  .view-top {
    display: none;
  }
  .view-header {
    width: 100%;
    top: 0;
    left: 0;
    margin-left: 0;
    border-top: 5px solid #1d2b57;
  }
  .view-header .menu {
    height: calc(100vh - 60px);
  }

  .view-baner .swiper-container {
    height: 180px;
  }

  .view-footer .footer-c {
    width: 100%;
  }
  .view-footer .footer-c p span {
    display: block;
    text-align: center;
  }
  .view-footer .footer-r {
    display: none;
  }

  /* 滚动条事件 */
  .effect-header-scroll .view-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    transform: translateX(0);
  }
  /* 菜单显示事件 */
  .effect-menu-show .view-header {
    height: 100vh;
  }
}
