/*全局CSS定义*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  
  /*点击去除高亮*/
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  -webkit-tap-highlight-color: transparent;
  
  /*禁止webview长按复制*/
  -webkit-touch-callout:none;
  -webkit-user-select:none;
  -khtml-user-select:none;
  -moz-user-select:none;
  -ms-user-select:none;
  -o-user-select:none;
  user-select:none;  
}

/*允许input与textarea长按复制*/
input, textarea {
  -webkit-touch-callout:auto!important;
  -webkit-user-select: auto!important;
  -khtml-user-select: auto!important;
  -moz-user-select: auto!important;
  -ms-user-select: auto!important;
  -o-user-select: auto!important;
  user-select: auto!important;
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

*:before, *:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  font-size: 0.28rem;
}

h1, h2, h3, h4, p, ul, ol, dl, dt, dd {
  margin: 0;
  padding: 0;
}

/*设置默认字体*/
body, button, input, select, textarea /* for ie */
{
  font-family:'PingFangSC-Regular','Microsoft JhengHei', Helvetica, Arial, 'Microsoft Yahei', 'Hiragino Sans GB', 'Heiti SC', 'WenQuanYi Micro Hei', sans-serif;
  color: #202020;
}

/*清除内外边距*/
body, h1, h2, h3, h4, h5, h6, hr, p, blockquote, /* structural elements 结构元素 */
dl, dt, dd, ul, ol, li, /* list elements 列表元素 */
pre, /* text formatting elements 文本格式元素 */
form, fieldset, legend, button, input, textarea, /* form elements 表单元素 */
th, td /* table elements 表格元素 */
{
  margin: 0;
  padding: 0;
}

button {
  border: none;
  background: none;
  outline: none;
}

address, cite, dfn, em, var {
  font-style: normal;
}

/*重置列表元素*/
ul, ol, li {
  list-style: none;
}

/*重置文本格式元素*/
a {
  text-decoration: none;
  cursor: pointer;
}

a:hover, a:focus, a:visited {
  text-decoration: none;
}

/*去掉IE的虚线框*/
a:active, a:focus {
  border: none;
  outline: none;
}

/*重置表单元素*/
fieldset, img {
  border: 0;
}

/*让链接里的 img 无边框*/
button, input, select, textarea {
  font-size: 100%;
  border: none;
  background:none;
  outline: none;
}

/*重置表格元素*/
table {
  border-collapse: collapse;
  border-spacing: 0;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
  line-height: inherit;
}

.cm-hidden{
  display:none!important;
}

html, body, #app {
  width: 100%;
  height: 100%;
  margin:0 auto;
}

