/*reset Css*/

* {
    margin: 0;
    padding: 0;
}

/** 清除内外边距 **/
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;
}

body {
    background-color: #fff; /*整体背景颜色*/
    -webkit-touch-callout: none; /*-webkit-user-select: none;*//*禁止复制*/
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0); /*点击高亮效果*/
}

/* 选中文字的颜色和背景 */
::selection {
    background-color: #ACCE22;
    color: white;
}

::-moz-selection {
    background-color: #ACCE22;
    color: white;
}

/*clearfix清除浮动*/
.clearfix {
    *zoom: 1
}

.clearfix:before,
.clearfix:after {
    display: table;
    content: ""
}

.clearfix:after {
    clear: both
}

/* 默认合并表格边框 */
table {
    border-collapse: collapse;
}

h1, h2, h3, h4, h5, h6 {
    font-size: 100%;
    font-weight: normal;
}

input, textarea {
    -webkit-appearance: none;
    border-radius: 0;
}

ol, ul, li {
    list-style: none;
}

a, a:active {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

a {
    border: 0;
}

em, i {
    font-style: normal;
}

/* <input>标签 */
input {
    border: none;
    appearance: none;
    -moz-appearance: none;
    outline: none;
    -webkit-appearance: none;
}

input:focus {
    outline: none;
}

/* input标签聚焦不出现默认边框 */

textarea {
    resize: none;
}

/* 禁用了文本的拖拉，尤其在谷歌下 */
select, button, input, img {
    vertical-align: middle;
}

/*去除图片底部缝隙并基于中线对齐*/
img {
    max-width: 100%;
    height: auto;
    width: auto \9;
    display: block;
    -ms-interpolation-mode: bicubic;
}

/** 设置默认字体 **/
/* 
    宋体：\5B8B\4F53
    新宋体：\65B0\5B8B\4F53
    黑体：\9ED1\4F53
    微软雅黑：\5FAE\8F6F\96C5\9ED1
    楷体：\6977\4F53_GB2312
    思源黑体： Source Han Sans CN
 */
body, button, input, select, textarea /* for ie */
{
    font: 14px/1 "Microsoft YaHei", ALBB-R, sans-serif;
}

/* body,button, input, select, textarea {font: 14px/1 Arial,"Microsoft YaHei",PingFangSC-Regular,"Hiragino Sans GB","Droid Sans Fallback","WenQuanYi Micro Hei",sans-serif;} */
body {
    background: #fff;
    -webkit-text-size-adjust: 100%;
    color: #333;
}

.body-maxwidth {
    max-width: 1920px;
    margin: 0 auto;
}

/*End reset*/

/*public Css*/

/* 重绘元素边框盒 */
* {
    box-sizing: border-box;
}

*::before, *::after {
    box-sizing: border-box;
}

*:focus {
    outline: none;
}

html {
    -ms-touch-action: none; /* 阻止windows Phone 的默认触摸事件 */
}

/*兼容iphone去除默认input表单默认设置*/
input[type="submit"], input[type="reset"], input[type="button"], button {
    -webkit-appearance: none;
}

/* 水平垂直居中 */
.cell_mid {
    display: table;
    height: 100%;
    width: 100%;
}

.cell_h {
    height: 100%;
    display: table-cell;
    vertical-align: middle;
}

/*动画--规定动画移动出去的时间*/
a {
    -moz-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out;
    -webkit-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
}

.animation {
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

/* 指定文字禁止复制 */
.noSelect {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -khtml-user-select: none;
    user-select: none;
}

/* 文字限制行数 */
/* 限制一行 */
.linelimit {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

/* 【常用】限制多行 修改行数-webkit-line-clamp: 2;【兼容必须限高】 */
.linelimit-2 {
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.linelimit-3 {
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}