/* 这个文件里写的是全局样式,在各个页面都生效 */
body, html {
  margin: 0;
  padding: 0;
  width: 100%;
  user-select: text;
  min-width: 1200px;
  font-size: 14px;
  font-family: 'pingfang SC','helvetica neue',arial,'hiragino sans gb','microsoft yahei ui','microsoft yahei','simsun',sans-serif;
  -webkit-overflow-scrolling: touch;
  overflow-x: hidden;
}

body, html, .page {
  padding: 0;
  margin: 0;
  position: relative;
  overflow: hidden;
}
.home {
  background-image: url('../resource/bg.png');
  background-repeat: no-repeat;
  background-size: 1920px auto;
  background-position: center 40px;
}
html {
  background-color: white;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  width: 100%;
  height: 100%;
  overflow: auto;
}
body {
  width: 100%;
  height: 100%;
  overflow: auto;
}
h1, h2, h3, h4, h5, input {
  margin: 0;
  padding: 0;
}
ul, li {
  list-style-type: none;
}

a {
  cursor: pointer;
  text-decoration: none;
}
a:hover {
  color: initial;
  text-decoration: underline;
}

h1, h2, h3, h4, h5, h6, hr, p, blockquote, dl, dt, dd, ul, ol, li, pre, form, button, input, textarea, th, td{
  margin:0;
  padding:0;
}

.clear:after {
  content: "";
  height: 0;
  line-height: 0;
  display: block;
  visibility: hidden;
  clear: both;
}

.w1000 {
  width: 1000px;
  margin: 0 auto;
}

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

.fl {
  float: left;
}

.nav:hover .menu-box {
  height: 200px;
}

.card.card-1, .card.card-9, .card.card-2 {
  margin-bottom: 50px;
}

.float-box {

    position: absolute;

    background-color: #fdf6f6;

    width: 300px;

    text-align: left;

    padding: 5px 8px;

    border-radius: 5px;

    box-shadow: 1px 1px 5px #797575;

    bottom: 71px;

    left: -64px;

    display: none;

  }

  .card .text {

    cursor: pointer;

  }

  .text:hover .float-box {

    display: block;

  }

.float-image-box {
      position: absolute;
      right: 0;
      top: 0;
      background: rgba(249, 249, 249, 0.9);
      color: black;
      padding: 5px 8px;
      border-top: none;
      border-right: none;
      width: 400px;
      line-height: 1.7;
      border-radius: 0 0 0 5px;
      font-size: 15px;
      font-weight: bold;
      box-shadow: -3px 1px 10px #39578c;
      display: none;
    }
    .swiper-container-p2 .swiper-slide:hover .float-image-box{
      display: block;
    }
