:root {
  --rails: 1.26rem;
  --padding: 3%;
  --color: #333;
  --swiper-pagination-color: #fff;
}
@keyframes pulse {
  0% {
      -webkit-transform:scale(0.9);
      -ms-transform:scale(0.9);
      transform:scale(0.9)
  }
  50% {
      -webkit-transform:scale(1);
      -ms-transform:scale(1);
      transform:scale(1)
  }
  100% {
      -webkit-transform:scale(0.9);
      -ms-transform:scale(0.9);
      transform:scale(0.9)
  }
}
@-webkit-keyframes pulse {
  0% {
      -webkit-transform:scale(0.9);
      -ms-transform:scale(0.9);
      transform:scale(0.9)
  }
  50% {
      -webkit-transform:scale(1);
      -ms-transform:scale(1);
      transform:scale(1)
  }
  100% {
      -webkit-transform:scale(0.9);
      -ms-transform:scale(0.9);
      transform:scale(0.9)
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background: #f7f7f9;
  width: 100%;
  max-width: 750px;
  margin: 0 auto;
  /* font-family: microsoft yahei; */
}
a {
  text-decoration: none;
}
a:link {
  color: var(--color);
}
img {
  display: block;
  width: 100%;
}
.swiper-pagination-bullet {
  width: 2.2rem;
  height: 0.4rem;
  border-radius: .2rem;
  background: var(--swiper-pagination-color);
}
.swiper-container-horizontal>.swiper-pagination-bullets {
  bottom: 2%;
}

.header {
  padding: var(--padding);
  position: relative;
  width: 100%;
  height: 16rem;
  background: url(../image/title_bg.png) 0 0 no-repeat;
  background-size: cover;
}
.header .menu,
.header .logo,
.header .msg {
  position: absolute;
  width: 2.6rem;
  top: 10%;
}
.header .menu {
  left: var(--padding);
}
.header .msg {
  right: var(--padding);
}
.header .logo {
  width: 20rem;
  top: 9%;
  left: 50%;
  margin-left: -10rem;
}

.swiper-container-1 {
  top: -10rem;
  margin: 0 var(--padding);
  margin-bottom: -10rem;
  border-radius: var(--rails);
}

.list {
  display: -webkit-flex; /* Safari */
  display: flex;
  flex-flow: row wrap;
  text-align: center;
  margin: 1rem var(--padding);
  justify-content: space-around;
  align-items: center;
  color: var(--color);
  background-color: #fff;
  padding: 1rem;
  border-radius: var(--rails);
}
.list .item {
  width: 25%;
  padding: 2% 5%;
}
.list .item p {
  text-align: center;
  margin-top: .4rem;
  white-space: nowrap;
  font-size: 1.2rem;
}

.hot {
  margin: 1rem var(--padding);
}
.hot .hot-title {
  width: 50%;
  text-align: center;
  margin: 0 auto;
}
.hot .hot-title p {
  line-height: 1.8rem;
}
.doctor .doctor-title p,
.hot .hot-title p:nth-of-type(1) {
  color: #6415bf;
  font-weight: bold;
  font-size: 1.8rem;
}
.hot .hot-title p:nth-of-type(2) {
  display: block;
  width: 11.2rem;
  margin: .6rem auto;
  color: #fff;
  border-radius: 1rem;
  background-color: #9244eb;
}
.swiper-container-2 {
  margin-top: 1rem;
  border-radius: var(--rails);
}

.doctor {
  width: 100%;
  padding: 0 var(--padding);
  padding-bottom: 0;
}
.doctor .doctor-all {
  width: 100%;
  height: auto;
  border: none;
}
.doctor .doctor-all img {
  border-radius: var(--rails) var(--rails) 0 0;
}

.doctor .doctor-title {
  padding: 1rem 0;
}
.doctor .doctor-title > p {
  text-align: center;
  padding: .26rem;
}
.doctor-list {
  background: #eae6fc;
  margin: 0 var(--padding);
  /* margin-top: -1.1rem; */
  padding-bottom: 2rem;
  border-radius: 0 0 var(--rails) var(--rails);
}
.doctor-list .doctor-list-title {
  padding: 1rem 0;
}
.doctor-list .doctor-list-title p {
  display: block;
  color: #fff;
  width: 14rem;
  padding: .4rem 0;
  font-size: 1.6rem;
  background: #9244eb;
  margin: 1rem auto;
  text-align: center;
  border-radius: 1.8rem;
}

/*.swiper-pagination-3 > .swiper-pagination-bullet {*/
/*  background: #a564cf;*/
/*}*/
.swiper-container-4 {
  margin: 0 4%;
}
.swiper-container-4 .swiper-wrapper {
  background-color: #fff;
}
.swiper-container-4 .swiper-wrapper .swiper-slide-img,
.swiper-container-4 .swiper-wrapper .swiper-slide-text {
  vertical-align: middle;
  display: inline-block;
  text-align: center;
  width: 48%;
}
.swiper-container-4 .swiper-wrapper .swiper-slide-img {
  border-radius: var(--rails) var(--rails) 0 0;
}
.swiper-container-4 .swiper-wrapper .swiper-slide-text {
  border-radius: 0 0 var(--rails) var(--rails);
}

.swiper-container-4 .swiper-wrapper .swiper-slide-text {
  padding: 2% 2%;
}
.swiper-slide-text .name{
  font-weight: bold;
}
.swiper-slide-text .name,
.swiper-slide-text .int {
  font-size: .86rem;
  color: #9244eb;
}
.swiper-slide-text .time {
  color: #fff;
  margin: .2rem 0;
  background-color: #9244eb;
  border-radius: var(--rails);
}

.bdyxfooter {
  position: fixed;
  z-index: 99;
  width: 100%;
  /*left: 0;*/
  bottom: 0;
  background: url(../image/footer.png) no-repeat center bottom;
  background-size: 100% 100%;
  max-height: 150px;
  max-width: 750px;
}
.bdyxfooter .bdyxfootlist {
  width: 20%;
  float: left;
  text-align: center;
}

.bdyxfoot_link {
  padding-top: 2rem;
}

.bdyxfoot_link a img {
  width: 56%;
  max-width: 2.2rem;
  margin: 0 auto;
}

.bdyxfoot_link a p {
  font-size: 1.1rem;
  color: #000000;
  line-height: 2.5rem;
}

.bdyxfoot_hd {
  /* position: absolute;
  top: 10%;
  left: 50%;
  z-index: 1;
  width: 26%;
  margin-left: -13%; */
  animation: pulse 1s ease 0s normal none infinite running;
  -webkit-animation: pulse 1s ease 0s normal none infinite running;
}
.bdyxfoot_hd a img {
  margin: 0 auto;
  max-width: 90%;
}

.int {
  margin: 0 var(--padding);
  margin-top: 1rem;
}
.map {
  margin: 1rem var(--padding);
  margin-bottom: 6rem;
}
.map > img {
  border-radius: var(--rails);
}

/* 底部弹出对话框 */
.footer_box {
  display: none;
  position: fixed;
  z-index: 9999;
  bottom: 0%;
  min-width: 320px;
    max-width: 750px;
    width: 100%;
  /*width: 100%;*/
  /* background-color: rgba(255,0,0, .4); */
}
.footer_box > img {
  display: block;
  width: 100%;
}
.footer_box > .footer_box-close {
  color: #fff;
  width: 50px;
  font-size: 18px;
  height: 6vh;
  line-height: 6vh;
  position: absolute;
  top: 1%;
  right: 0%;
  text-align: center;
  /* background-color: rgba(0,0,0, .4); */
}