*{
  box-sizing: border-box;
  outline: none;
}

html {
  height: 100%;
  font-size: 14px;
  user-select: none;
}
body {
  position: relative;
  min-height: 100%;
  color: #333;
  min-width: 1400px;
  /* max-width: 1600px; */
  margin: 0 auto;
  font: 1em/1.4 'Microsoft Yahei', 'PingFang SC', 'Avenir', 'Segoe UI',
    'Hiragino Sans GB', 'STHeiti', 'Microsoft Sans Serif', 'WenQuanYi Micro Hei',
    sans-serif;
}
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
p,
dl,
dt,
dd {
  padding: 0;
  margin: 0;
}
a {
  text-decoration: none;
  color: #333;
  outline: none;
  cursor: pointer;
}
i {
  font-style: normal;
}
input[type='text'],
input[type='search'],
input[type='password'],
input[type='checkbox'] {
  padding: 0;
  outline: none;
  border: none;
  -webkit-appearance: none;
}
input[type='text']::placeholder,
input[type='search']::placeholder,
input[type='password']::placeholder,
input[type='checkbox']::placeholder {
  color: #ccc;
}
img {
  max-width: 100%;
  vertical-align: middle;
  -webkit-user-drag: none;
}
ul {
  list-style: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* 通用样式 */
.ellipsis {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.ellipsis-2 {
  word-break: break-all;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.ellipsis-3 {
  word-break: break-all;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.ellipsis-4 {
  word-break: break-all;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}
