*{
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color:transparent;
}
body{
  font-family: -apple-system,Helvetica,sans-serif;
  background-color: #f5f5f5;
}
li{
  list-style: none;
}
h1,h2,h3,h4,h5,h6,strong,b{
  font-size: 12px;
  font-weight: normal;
}
em,i{
  font-style: normal;
}
pre{
  white-space: pre-wrap;
  white-space: -moz-pre-wrap;
  white-space: -o-pre-wrap;
  word-wrap: break-word;
}
a{
  text-decoration: none;
}
a:visited .border-bottom:after{
  border-color: #ebebeb;
}
.clearfix:after{
  content: "";
  display: block;
  clear: both;
}
.clearfix{
  zoom: 1;
}
.fl{
  float: left;
}
.fr{
  float: right;
}
input{
  border: none;
  background: none;
  outline: none;
  font-family: -apple-system,Helvetica,sans-serif;
  border-radius: 0;
  -webkit-appearance: none;
}
select{
  border: none;
  outline: none;
  appearance:none;
  -moz-appearance:none;
  -webkit-appearance:none;
}
/*清除ie的默认选择框样式清除，隐藏下拉箭头*/
select::-ms-expand { display: none; }
textarea{
  resize: none;
  border: none;
  outline: none;
  background: none;
  font-family: -apple-system,Helvetica,sans-serif;
}
input[type=button],input[type=submit],input[type=file],button{
  cursor: pointer;
  -webkit-appearance: none;
  border-radius: 0;
}
button{
  border: none;
  outline: none;
  border-radius: 0;
  background: #fff;
}
img{
  border: none;
}
.border-bottom:after{
  content: " ";
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  border-top: 1px solid #ebebeb;
  -webkit-transform: scaleY(0.5);
  transform: scaleY(0.5);
}
.border-top:before{
  content: " ";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  z-index: 2;
  border-top: 1px solid #dedede;
  -webkit-transform: scaleY(0.5);
  transform: scaleY(0.5);
}
.dialog{
  position: fixed;
  left: 0;
  top: 0;
  z-index: 100;
  width: 100%;
  height: 100%;
  text-align: center;
  line-height: 100vh;
  overflow: hidden;
  overflow-y: auto;
  background-color: rgba(0, 0, 0, 0.4);
}
.dialog > div{
  display: inline-block;
  vertical-align: middle;
  -webkit-overflow-scrolling: touch;
}
.btn-active:active{
  background-color: rgba(204, 204, 204, 0.05);
}
.btn-light:active{
  background-color: #e16c72;
}
.btn-red{
  line-height: 0.88rem;
  text-align: center;
  font-size: 0.32rem;
  border-radius: 0.44rem;
  color: #fff;
  background-color: #e23640;
}
.btn-border-red{
  height: 0.88rem;
  box-sizing: border-box;
  line-height: 0.88rem;
  text-align: center;
  font-size: 0.32rem;
  border: 1px solid #e23640;
  border-radius: 0.44rem;
  color: #e23640;
}
button[disabled]{
  color: #666 !important;
}
.mask{
  position: fixed;
  left: 0;
  top: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}
