/* 清除margin,padding */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,p,blockquote,th,td { margin:0;padding:0;box-sizing:border-box;}
/* 设置h1-h6标签的字体大小 */
h1,h2,h3,h4,h5,h6 { font-size:100%}
/* 清除ol和ul前面的小黑点 */
ol,ul { list-style:none; }
html,body{
    width: 100%;
    height: 100%;
}
/* 设置表格样式 */
table { border-collapse:collapse; border-spacing:0 }
/* 清除fieldset的边框 */
fieldset{ border:0;}

/*防止文本框拖到*/
textarea{resize:none;}
/*去掉图片底部默认的3像素空白缝隙*/
img{
    border:0;
    vertical-align:middle;
}
/*清除浮动*/
.clearfix:after{
    content:"";
    display: block;
    clear:both;
    visibility: hidden;
    height:0;
}
.clearfix{
    zoom:1;
}
a{
    color:#fff;
    text-decoration: none;
}
.left{
    float: left;
}
.right{
    float: right;
}
/*
.w1000{
    width: 1000px;
    margin: 0 auto;
}*/

.swiper-container {
    width: 100%;
    height: 100%;
}
.swiper-slide {
    background-position: center;
    background-size: cover;
}

/*单行显示省略号*/
.slh_1{
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
/*两行显示省略号*/
.slh_2{
    overflow:hidden;
    text-overflow:ellipsis;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
}
/*三行*/
.slh_3{
    overflow:hidden;
    text-overflow:ellipsis;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:3;
}
/*四行*/
.slh_4{
    overflow:hidden;
    text-overflow:ellipsis;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:4;
}
