﻿/* 申明当前css文件是UTF-8字符编码 */
@charset "UTF-8";

/*清除所有元素内外间距*/
html, body, ul, li, ol, dl, dd, dt, p, h1, h2, h3, h4, h5, h6, form, img {
  margin: 0;
  padding: 0;
}
/*让所有斜体 不倾斜*/
em,
i {
    font-style: normal;
}
/*去掉列表前面的小点*/
li {
    list-style: none;
}
/*图片没有边框   去掉图片底侧的空白缝隙*/
img {
    border: 0;  
    display: block;
}
/*让button 按钮 变成小手*/
button {
    cursor: pointer;
}
/*取消链接的下划线*/
a {
    color: #666;
    text-decoration: none;
}

a:hover {
    color: #e33333;
}

button,
input {
    font-family: 'PingFangSC-Light','Microsoft YaHei', 'Heiti SC', tahoma, arial, 'Hiragino Sans GB', \\5B8B\4F53, sans-serif;
    /*取消轮廓线 蓝色的*/
    outline: none;
    /* 边框去掉 */
    border:0;
}

body {
    background-color: #fff;
    font: 12px/1.5 'PingFangSC-Light','Microsoft YaHei', 'Heiti SC', tahoma, arial, 'Hiragino Sans GB', \\5B8B\4F53, sans-serif;
    color: #666;
}
*,
::before,
::after {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
/*清除浮动*/
.clearfix::before,
.clearfix::after {
  content: '';
  display: block;
  visibility: hidden;
  height: 0;
  line-height: 0;
  clear: both;
}

.clearfix {
    *zoom: 1
}
/* 多行溢出代码 */
.line-cut-2{
    overflow : hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
/* 单行溢出 */
.line-cut{
    white-space: nowrap;
    overflow: hidden;
    text-overflow:ellipsis;
}
/* 1. 精确测量，每个小背景图片的大小和 位置。
2. 给盒子指定小背景图片时,背景定位基本都是负值。 */
.fl {
	float: left;
}
.fr {
	float: right;
}
/*版心*/
.w {
	width: 1180px;
	margin: 0 auto;
}
