@charset "utf-8";

/*公共样式--开始*/
html,
body,
div,
ul,
li,
h1,
h2,
h3,
h4,
h5,
h6,
p,
dl,
dt,
dd,
ol,
form,
input,
textarea,
th,
td,
select {
  margin: 0;
  padding: 0;
}

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  font-family: "Microsoft YaHei";
  font-size: 14px;
  color: #111111;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
}

ul,
ol {
  list-style: none;
}

img {
  border: none;
  vertical-align: middle;
}

a {
  text-decoration: none;
  color: inherit;
}

table {
  border-collapse: collapse;
  table-layout: fixed;
}

input,
textarea {
  outline: none;
  border: none;
}

textarea {
  resize: none;
  overflow: auto;
}

select {
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;

}

/* 清除IE select默认样式 */
select::-ms-expand {
  display: none;
}

/* *{outline: 1px #00ff00 solid} */

.text-r {
  text-align: right;
}

.text-c {
  text-align: center;
}

.flex {
  display: flex;
}
 /* 自适应剩余空间 */
.flex-item {
  flex: 1;
  min-width: 0;
}

 /* 自动换行 */
.flex-wrap {
  display: flex;
  flex-wrap: wrap;
}

/* 两侧贴边布局 */
.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

 /* 垂直居中对齐 */
.flex-middle {
  display: flex;
  align-items: center;
}


/* 全居中布局 */
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.flex-column {
  flex-direction: column;
}
/*  文字单行省略 */
.text-ellipsis {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 文字多行省略 */
.multi-ellipsis {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
