@charset"utf-8";

/*公共样式*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-size: 14px;
    font-family: "Microsoft YaHei", 'Arial';
    color: #666;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    /*修正手持设备字体变化*/
}

body,html {
    width: 100%;
}

h1,h2,h3,h4,h5,h6,img,ol,ul,li,a,span,p,i,em,div,body,html {
    margin: 0;
    padding: 0;
    border: none;
    list-style-type: none;
    font-weight: normal;
}

input,button {
    border: 0;
}

input::-webkit-search-cancel-button {
    display: none;
}

input[type=search]::-ms-clear {
    display: none;
}

img {
    border: 0;
    vertical-align: middle;
    -ms-interpolation-mode: bicubic/*ie7 解决图片缩放失真问题*/
}

a {
    outline: none;
    text-decoration: none;
    color: #666;
    background: transparent;
    /*修正win8系统IE连接灰色背景*/
}

a:active {
    star: expression(this.onFocus=this.blur());
}


/*去掉点击链接时的虚线外框*/

a:focus {
    outline-style: none;
    -moz-outline-style: none;
}


/*清楚浮动*/

.clearfix:after {
    content: " ";
    clear: both;
    height: 0;
    visibility: hidden;
    display: block;
}

.clearfix {
    *zoom: 1;
}


/*省略号*/

.ellipsis {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.ellipsis_2,
.ellipsis-2{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2
}

.ellipsis_3,
.ellipsis-3{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3
}

.ellipsis_4,
.ellipsis-4 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4
}


/* float */

.fl {
    float: left;
    _display: inline;
}

.fr {
    float: right;
    _display: inline;
}


/**去掉input默认样式**/
input, textarea {
    -webkit-appearance: none;
    outline: none;
    border: none;
    background: none;
}

@font-face {
    font-family: 'DIN';
    src: url("../fonts/DIN_Regular.otf");
}