/*通用样式*/
*,
::before,
::after{
    font-size: 16px;
    color: #333333;
    padding: 0;
    margin: 0;
    -webkit-tap-highlight-color: transparent;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-family: 'Microsoft Yahei',sans-serif;
    /*字体会影响layui的iconfont*/
}
html {
    width: 100%;
    font-family: 'Heiti SC', 'Microsoft YaHei';
    /*font-size: 100px;   !*方便用rem*!*/
    outline: 0;
    -webkit-text-size-adjust:none; /*字体小于12px时候，依然用12px*/
}
body {
    width:100%;
    margin: 0;
    -webkit-user-select: none;
    position: relative;
    background-color:#f3f3f3;
}

input{
    border:none;
    /*有一些手机需要用下面的来去除扁平化*/
    -webkit-appearance: none;
    display: none;
    border-radius: 0;
}
*,
h1,
h2,
h3,
h4,
h5,
h6 {
    text-decoration: none;
    font-weight: normal;
}
a{
    /*去掉下划线*/
    text-decoration: none;
}
s,
i,
em {
    font-style: normal;
    text-decoration: none;
}
img {
    border: 0;
    vertical-align: middle;
}
ol,ul{
    list-style: none;
}
.clearfix::before,
.clearfix::after{
    content:"";
    display: block;
    line-height: 0;
    height: 0;
    visibility: hidden;
    clear:both;
}
input:focus{
    outline: none;
}
input::-webkit-inner-spin-button{
    display: none;
}
select:focus{
    outline: none;
}
textarea:focus{
    outline: none;
}
textarea{
    resize:none
}
select{
    appearance:none;
    -moz-appearance:none;
    -webkit-appearance:none;
    border: none;
    background-color: transparent;
    border-radius: 0;
}
button{
    border: none;
    outline: none;
    background-color: transparent;
}
.w{
    width: 1200px;
    margin: 0 auto;
}
.odd_w{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.over_h{
    overflow: hidden;
}
.over_v{
    overflow: visible;
}
.layui-icon::before{
    font-family: layui-icon!important;
}