body {
  margin: 0px;
  color: #313131;
}
a{
  text-decoration: none;
}
#header-box{
  z-index: 99;
  position: absolute;
  width: 100%;
  padding-top: 4px;
}
#header-box.fixed{
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  position: fixed;
  margin-top: 0;
  padding-top: 2px;
  box-shadow: 0 0 3px #ccc;
  background: rgba(255, 255, 255, 0.98);
  padding-bottom: 0;
  -webkit-transition: all 300ms ease-in-out;
  transition: all 300ms ease-in-out;
  -webkit-animation: 2s xiajiang;
  animation: 2s xiajiang;
}
@-webkit-keyframes xiajiang {
  0% {
    -webkit-transform: translateY(-100px);
    transform: translateY(-100px);
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}
@keyframes xiajiang {
  0% {
    -webkit-transform: translateY(-100px);
    transform: translateY(-100px);
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}
#header-box.fixed #nav li a{
  color: #4a4a4a;
}
header .logo {
  float: left;
  margin: 2px 0 0 50px;
  width: 170px;
}
#header .logo img{
  width: 100%;
}
header #menu {
  display: none;
}
#nav{
  float: right;
  margin: 2px 50px 0 0;
}
#nav>li{
  position: relative;
  display: inline-block;
  line-height: 52px;
}
#nav>li:after {
  content: "";
  width: 0;
  height: 1px;
  bottom: -1px;
  left: 50%;
  position: absolute;
  background: #008cd6;
  -webkit-transition: all 334ms linear;
  transition: all 334ms linear;
}
#nav>li:hover:after, #nav>li.active:after {
  opacity: 1;
  width: 100%;
  left: 0;
}
#nav>li a {
  color: #f8f8f8;
  text-decoration: none;
  font-size: 18px;
  opacity: 0.8;
  margin: 0 15px;
  line-height: 24px;
}
#nav>li.active a {
  opacity: 1;
}
#nav .sub-nav {
  display: none;
}
#nav li:hover .sub-nav {
  display: block;
  position: absolute;
  width: 168px;
  background-color: #fff;
  list-style: none;
  padding: 0;
  animation: 1s drop;
  /* transform: translate(0, 100%); */
}
@keyframes drop {
  0% {
    -webkit-transform: translateY(-5%);
    transform: translateY(-5%);
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}
#nav .sub-nav li {
  height: 48px;
}
#nav .sub-nav li:hover {
  background-color: #008cd6;
}
#nav .sub-nav li a {
  color: #008cd6;
  display: inline-block;
}
#nav .sub-nav li:hover a {
  color: #fff;
}

/* 医生专区 */
#nav>.doctor-area a {
  border: 1.5px solid #f8f8f8;
  padding: 5px 15px;
  border-radius: 25px;
}
#nav>.doctor-area a:hover  {
  border-color: #008cd6;
  color: #008cd6;
  -webkit-transition: all 334ms;
  transition: all 334ms;
}
#nav>.doctor-area::after {
  display: none;
}

#header-box.fixed #nav>.doctor-area a {
  border-color: #008cd6;
  color: #008cd6;
}
#header-box.fixed #nav>.doctor-area a:hover  {
  border-color: #37a7e3;
  color: #37a7e3;
  box-shadow: 0 0 5px -1px #37a7e3;
  -webkit-transition: all 334ms;
  transition: all 334ms;
}

#phone-menu {
  display: none;
}
#contact{
  margin: 22px 10% 82px 10%;
  padding: 50px 0;
  border-bottom: solid 1px #ccc;
}
#contact .title{
  font-size: 24px;
  font-weight: bold;
  display: inline-block;
}
#contact .wx-icon, #contact .wb-icon{
  width: 30px;
  height: 30px;
  display: inline-block;
  position: relative;
  top: 8px;
  cursor: pointer;
}
#contact .wx-icon{
  background: url(../img/wx-icon.png) center top no-repeat;
  background-size: 100%;
  margin: 0 20px 0 20px;
}
#contact .wb-icon{
  background: url(../img/wb-icon.png) center top no-repeat;
  background-size: 100%;
}
#contact .wx, #contact .wb{
  width: 180px;
  height: 180px;
  position: relative;
  bottom: 192px;
  left: 6px;
  display: none;
}
#contact .wx{
  background: url(../img/wx.png) center center no-repeat;
  background-size: 90%;
  background-color: #fff;
}
#contact .wb{
  background: url(../img/wb.png) center center no-repeat;
  background-size: 90%;
  background-color: #fff;
}
#footernav{
  margin: 30px 10%;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  flex-direction: row;
}
#footernav .sub-item{
  padding: 0;
  list-style: none;
}
#footernav a{
  color: #313131;
  display: block;
  line-height: 30px;
}
#footernav li{
  color: #313131;
  display: block;
  line-height: 30px;
}
#footernav .logo{
  height: 60px;
  margin-top: 109px;
}
#info{
  background-color: #f4f4f4;
  font-size: 14px;
  padding: 18px 10% 18px 10%;
  line-height: 36px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  flex-direction: row;
}
#info .item:last-child{
  margin-right: 0;
}
#info .item .icon{
  display: inline-block;
  width: 24px;
  position: relative;
  margin-right: 6px;
}
#info .item .icon-phone{
  background: url(../img/phone.png) top left no-repeat;
  background-size: 100%;
  height: 26px;
  top: 8px;
}
#info .item .icon-email{
  background: url(../img/email.png) top left no-repeat;
  background-size: 100%;
  width: 20px;
  height: 18px;
  top: 4px;
}
#info .item .icon-address{
  background: url(../img/address.png) top left no-repeat;
  background-size: 100%;
  width: 18px;
  height: 22px;
  top: 4px;
}
#copyright{
  text-align: center;
  color: #313131;
  font-size: 14px;
  height: 60px;
  background-color: #fff;
  padding-top: 14px;
}
#copyright a{
  color: #333;
  text-decoration: none;
}
#copyright img{
  display: block;
  float: left;
}
.cb{
  width: 0px;
  height: 0px;
  clear: both;
}
@media (max-width: 1000px){
  #header-box {
    width: 100%;
    background-color: #fff;
    height: 48px;
    padding-top: 2px;
  }
  header #menu {
    display: block;
    background: url(../img/menu-mobile.png) center top no-repeat;
    width: 30px;
    height: 30px;
    background-size: 100%;
    position: relative;
    top: 10px;
    left: 2%;
    cursor: pointer;
  }
  #phone-menu {
    width: 100%;
    position: fixed;
    left: 0;
    height: 100%;
    top: 0;
    background: rgba(255, 255, 255, 0.97);
    z-index: 99999;
    margin: 0 auto;
    display: none;
  }
  #phone-menu .close {
    display: block;
    background: url(../img/close.png) center top no-repeat;
    width: 30px;
    height: 30px;
    background-size: 100%;
    position: relative;
    margin: 12px 0 12px 12px;
    cursor: pointer;
  }
  #phone-menu ul {
    list-style: none;
    padding: 12px 48px;
  }
  #phone-menu li {
    height: 48px;
    line-height: 48px;
    border-bottom: solid 1px #cdcdcd;
    cursor: pointer;
    padding-left: 12px;
  }
  #phone-menu li a {
    color: #333;
  }
  #phone-menu .doctor-area a {
    color: #008cd6;
  }
  #phone-menu li em{
    float: right;
    margin-right: 5px;
    width: 14px;
    height: 8px;
    background: url(../img/toggle-down.png) center top no-repeat;
    background-size: 100%;
    position: relative;
    top: 22px;
  }
  #phone-menu li em.down{
    transform: rotate(-180deg);
  }
  #phone-menu .sub-nav{
    display: none;
    padding: 12px 0 12px 12px;
  }
  header .logo {
    float: right;
    margin: 2px 8% 0 0px;
    width: 128px;
  }
  #nav{
    display: none;
  }
}
@media (max-width: 450px){
  #header-box {
    padding-top: 0;
    top: 0px;
    position: fixed;
    height: 50px;
  }
  #contact{
    margin: 40px 10% 0px 10%;
    padding: 0;
    border-bottom: none;
    color: #4e4e4e;
    font-size: 13px;
  }
  #contact .title{
    font-size: 16px;
    font-weight: normal;
  }
  #contact .wx-icon, #contact .wb-icon{
    width: 20px;
    height: 20px;
    top: 6px;
  }
  #contact .wx, #contact .wb{
    width: 132px;
    height: 132px;
    bottom: 149px;
  }
  #footernav{
    color: #4e4e4e;
    margin: 20px 10%;
    display: block;
    font-size: 13px;
  }
  #footernav h3{
    margin: 2px 0px;
    font-weight: normal;
  }
  #footernav h3 em{
    float: right;
    margin-right: 5px;
    width: 14px;
    height: 8px;
    background: url(../img/toggle-down.png) center top no-repeat;
    background-size: 100%;
    position: relative;
    top: 11px;
  }
  #footernav h3 em.down{
    transform: rotate(-180deg);
  }
  #footernav .sub-item{
    display: none;
  }
  #footernav a{
    color: #4e4e4e;
    display: inline-block;
    line-height: 30px;
  }
  #footernav .sub-item a{
    width: 100%;
  }
  #footernav .logo{
    height: 60px;
    margin-top: 109px;
  }
  #footernav .logo{
    display: none;
  }
}