@charset "utf-8";
/*
***css reset***
 */
body, div, a, span, h1, h2, h3, h4, h5, h6, p, ul, ol, li, dl, dt, dd, form, button, input, textarea, th, td, img {
    margin: 0;
    padding: 0;
    outline: 0;
    font-style: normal;
    border: none;
    font-weight: normal;
    font-family: PingFang SC, Microsoft YaHei, Helvetica Neue, Helvetica, Arial, Hiragino Sans GB, Heiti SC, WenQuanYi Micro Hei, sans-serif;
    word-spacing: 1px;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

caption, th, td {
    text-align: left;
    font-weight: normal
}

a,a:link,a:visited,a:hover,a:active{
    text-decoration: none;
    color: inherit;
    font-weight: inherit;
}

input {
    border: none;
}

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

i, em, strong {
    font-style: normal;
}

img {
    max-width: 100%;
    vertical-align: middle;
    border: none;
    display: inline-block;
}

/* input:focus {
    border-width: 0;
    border-color: white;
    border-style: none;
    background: none;
    border: none;
    outline: medium;
    alpha: 0;
    appearance: none;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-modify: read-write-plaintext-only;
} */

input, button, select, textarea {
    outline: none;
}

textarea {
    resize: none;
}

/*common css start*/
.fl {
    float: left;
}

.fr {
    float: right;
}

.oh {
    overflow: hidden;
}

.cb {
    clear: both;
}

.tc {
    text-align: center;
}

.bc {
    margin-left: auto;
    margin-right: auto;
}

.pr {
    position: relative;
}

.pa {
    position: absolute;
}

.f10 {
    font-size: 10px;
}

.f12 {
    font-size: 12px;
}

.f14 {
    font-size: 14px;
}

.f16 {
    font-size: 16px;
}

.f18 {
    font-size: 18px;
}

.f20 {
    font-size: 20px;
}

.tl {
    text-align: left;
}

.tr {
    text-align: right;
}

.none {
    display: none;
}
/*修改input的placeholder的默认颜色*/
input::-webkit-input-placeholder,textarea::-webkit-input-placeholder { /* WebKit browsers */
    color:    #ccc;
}

input:-moz-placeholder,textarea:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color:    #ccc;
}

input::-moz-placeholder,textarea::-moz-placeholder { /* Mozilla Firefox 19+ */
    color:    #ccc;
}

input:-ms-input-placeholder,textarea:-ms-input-placeholder { /* Internet Explorer 10+ */
    color:    #ccc;
}

/* box-sizing兼容 */
.borderbox{
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

/* 兼容ios超出滚动 */
.ovscroll{
    overflow-x:auto;
    -webkit-overflow-scrolling: touch;
}


/*垂直上下居中*/
.mid_center {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
}

/*超出省略号*/
.ellipsis {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

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

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

/*超出省略号 end*/
