html,body{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;}

html,body,div,span,object,h1,h2,h3,h4,h5,h6,p,b,a,em,img,q,i,dl,dt,dd,ol,ul,li,form,label,table,tr,th,td,header,footer,nav,section,input,select,button {
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
  color: inherit;
  font-size:inherit;
  font-weight: normal;
}
body{
  background:#fff;
}
html,body{
  height: 100%;
}
/*去除默认样式*/
ul,ol,li {
  list-style: none;
}
/*表格边框合并，边框距零*/
table {
  border-collapse: collapse;
  border-spacing: 0;
}
/*继承父元素的字体系列样式*/
input,
select,
textarea,
button {
  font-family: inherit;font-size:inherit;color: inherit;
}
h1,h2,h3,h4,h5,h6,p,b,a,em{
  font-size: 100%;
}
/*a链接*/
a {
  display: block;
  text-decoration: none;
  color:inherit;
}
a:hover {
  text-decoration: none;
}
/*去除点击高亮效果*/
a,
button,
input,
select,
img,
ul,
li,
label {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-tap-highlight-color: transparent;
  outline: medium none;
}

input::-moz-focus-inner {
  border: none;
  padding: 0;
}
select,
input {
  vertical-align: middle;
}

/*placeholder文本颜色*/
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  font-size:.3rem;color: #999;
}
input:-moz-placeholder,
textarea:-moz-placeholder {
  font-size:.3rem;color: #999;
}

/* layer 移动端修改样式 */
.layui-m-layer{
  z-index:90 !important;
}
.layui-m-layer .layui-m-layer-msg{
  bottom:0 !important;
}
.layui-m-layer .layui-m-layer-msg{
  /* background: #cacaca !important; */
}
.layui-m-layer-msg .layui-m-layercont{
  font-size:.34rem;
  width:4.8rem;line-height: .48rem;
}

/* 公共样式 */
.none{
  display: none;
}
.tc{
  text-align: center;
}
.tr{
  text-align: right;
}
.flex{
  display: flex;
}
.flexCen{
  display:flex;justify-content: center;align-items: center;
}


