@charset "utf-8";
/*reset css  重置默认的一些样式  浏览器子自带的  目的是保持各种终端显示一致*/
/*所有的标签和伪类  before after*/
*,
::before,
::after {
    padding: 0;
    margin: 0;
    /*在移动端特殊的设置*/
    /*清除点击高亮效果*/
    -webkit-tap-highlight-color: transparent;
    /*设置所有的盒子的宽度以边框开始计算*/
    -webkit-box-sizing: border-box;
    /*要兼容 webkit 浏览器内核厂商 这种情况一般是老的移动端浏览器*/
    box-sizing: border-box;
}

body {
    color: #878787;
    font-family: "MicroSoft YaHei", "sans-serif"; /*是设备默认的字体*/
    -webkit-touch-callout: inherit;
    -webkit-user-select: auto;
    background-color: #fff;
}

ul, ol {
    list-style: none;

}

li{
    white-space: normal;
    word-break : break-all;
    word-wrap: break-word;
}
a {
    color: #878787;
    text-decoration: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

a:hover {
    text-decoration: none;
}

input, textarea {
    border: none;
    outline: none;
    resize: none;
    /*特殊的属性定义  清除浏览器给input自带的样式*/
    -webkit-appearance: none; /*组件默认的样式空*/
}

button, input, select, textarea {
    margin: 0;
    padding: 0;
    outline: none;
    font-family: "Microsoft Yahei";
}

img {
    vertical-align: middle;
    border: 0;
}

/*common css  也就是我们公用的css*/
.f-l {
    float: left;
}

.f-r {
    float: right;
}

/*清除浮动*/
.clearfix::after,
.clearfix::before {
    content: ".";
    line-height: 0;
    height: 0;
    display: block;
    visibility: hidden;
    clear: both;
}

.m-r10 {
    margin-right: .5rem;
}

.m-l10 {
    margin-left: .5rem;
}

.m-t10 {
    margin-top: .5rem;
}

.m-b10 {
    margin-bottom: .5rem;
}

/*
!*所有使用精灵图的 class  以icon_开始的所有class都有这些属性*!
[class^="icon-"] {
  background: url("../images/sprites.png") no-repeat;
  !*压缩背景图*!
  background-size: 200px 200px;
}
*/

html {
    font-size: 11px
}
/* 
@media screen and (min-width: 321px) and (max-width: 375px) {
    html {
        font-size: 12px
    }
}

@media screen and (min-width: 376px) and (max-width: 414px) {
    html {
        font-size: 13px
    }
}

@media screen and (min-width: 415px) and (max-width: 639px) {
    html {
        font-size: 16px
    }
}

@media screen and (min-width: 640px) and (max-width: 719px) {
    html {
        font-size: 21px
    }
}

@media screen and (min-width: 720px) and (max-width: 749px) {
    html {
        font-size: 23.5px
    }
}

@media screen and (min-width: 750px) and (max-width: 799px) {
    html {
        font-size: 24.5px
    }
}

@media screen and (min-width: 800px) {
    html {
        font-size: 26px
    }
} */

body {
    min-width: 300px;
    max-width: 750px;
    margin: 0 auto;
}

/*给文字定义超出就以省略号显示*/
.textEllipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.textEllipsis2 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2; /** 显示的行数 **/
    line-clamp: 2;
    -webkit-box-orient: vertical;
    box-orient: vertical;
}

.textEllipsis3 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3; /** 显示的行数 **/
    line-clamp: 3;
    -webkit-box-orient: vertical;
    box-orient: vertical;
}

/*上下左右居中*/
.betweenTMLR {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

/*固定在顶部*/
.BoxPositionTop{
    position: fixed;
    background-color: rgb(255, 255, 255);
    z-index: 1001;
    width: 100%;
}

#l_msg {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 20%;
    min-width: 180px;
    max-width: 300px;
    transform:translate(-50%,-50%);
    text-align: center;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 5px;
    z-index: 99999;
    display: none;
    padding: 15px 10px;
    
}
#l_msg p{
    font-size: 1.12rem;
    color: #fff;
}

.fl{
    float: left;
}
.fr{
    float: right;
}