body * {
  box-sizing: border-box;
  flex-shrink: 0;
}

body {
  font-family: PingFangSC-Regular, Roboto, Helvetica Neue, Helvetica, Tahoma,
    Arial, PingFang SC-Light, Microsoft YaHei;
}

input {
  background-color: transparent;
  border: 0;
}

a {
  text-decoration: none;
}

button {
  margin: 0;
  padding: 0;
  border: 1px solid transparent;
  outline: none;
  background-color: transparent;
  cursor: pointer;
}

button:active {
  opacity: 0.6;
}

/* 去除输入框自动填充的默认背景色 */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px #fff inset !important;
  -webkit-text-fill-color: #000 !important;
  background-color: transparent !important;
}

/* Firefox浏览器兼容性处理 */
@-moz-document url-prefix() {
  input {
    background-color: transparent !important;
  }
}

.flex-col {
  display: flex;
  flex-direction: column;
}

.flex-row {
  display: flex;
  flex-direction: row;
}

.justify-start {
  display: flex;
  justify-content: flex-start;
}

.justify-center {
  display: flex;
  justify-content: center;
}

.justify-end {
  display: flex;
  justify-content: flex-end;
}

.justify-evenly {
  display: flex;
  justify-content: space-evenly;
}

.justify-around {
  display: flex;
  justify-content: space-around;
}

.justify-between {
  display: flex;
  justify-content: space-between;
}

.align-start {
  display: flex;
  align-items: flex-start;
}

.align-center {
  display: flex;
  align-items: center;
}

.align-end {
  display: flex;
  align-items: flex-end;
}

.main {
  width: 1200px;
  margin: 0 auto;
}

/* 分页 */
.pagination {
  display: flex;
  justify-content: center;
  margin: 20px 0;
  align-items: center;
}

.pagination button {
  min-width: 30px;
  height: 28px;
  margin: 0 4px;
  padding: 0 8px;
  border: 1px solid #dcdfe6;
  background-color: #fff;
  color: #606266;
  border-radius: 4px;
  cursor: pointer;
  transition: all .3s;
}

.pagination button:hover {
  color: #409eff;
  border-color: #c6e2ff;
  background-color: #ecf5ff;
}

.pagination button.active {
  color: #fff;
  background-color: #409eff;
  border-color: #409eff;
}

.pagination button.disabled {
  color: #c0c4cc;
  cursor: not-allowed;
  background-color: #fff;
  border-color: #ebeef5;
}

.pagination .page-jump {
  display: flex;
  align-items: center;
  margin-left: 10px;
}

.pagination .page-jump input {
  width: 50px;
  height: 28px;
  margin: 0 5px;
  padding: 0 5px;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  text-align: center;
}

.pagination .page-jump button {
  margin-left: 5px;
  height: 28px;
  padding: 0 10px;
}

body .el-select .el-input__inner:focus {
  border-color: #2978FF;
}

body .el-select-dropdown__item.selected {
  color: #2978FF;
}

body .el-input--small .el-input__inner {
  line-height: 34px;
  height: 34px;
}

/* Element UI 全局主题色 */
body .el-button--primary,
body .el-button--primary:focus {
  color: #fff;
  background-color: #2978FF;
  border-color: #2978FF;
}

body .el-button--primary:hover,
body .el-button--primary:active {
  color: #fff;
  background-color: #4B8EFF;
  border-color: #4B8EFF;
}

body .el-button.is-plain:focus,
body .el-button.is-plain:hover {
  border-color: #2978FF;
  color: #2978FF;
}

body .el-button--text,
body .el-cascader-node.in-active-path,
body .el-cascader-node.is-active,
body .el-cascader-node.is-selectable.in-checked-path,
body .el-select-dropdown__item.selected,
body .el-date-table td.today span,
body .el-date-table td.available:hover,
body .el-picker-panel__icon-btn:hover {
  color: #2978FF;
}

body .el-input__inner:focus,
body .el-select .el-input.is-focus .el-input__inner,
body .el-cascader .el-input.is-focus .el-input__inner,
body .el-range-editor.is-active,
body .el-range-editor.is-active:hover {
  border-color: #2978FF;
}

body .el-checkbox__input.is-checked .el-checkbox__inner,
body .el-checkbox__input.is-indeterminate .el-checkbox__inner {
  background-color: #2978FF;
  border-color: #2978FF;
}

body .el-checkbox__input.is-checked+.el-checkbox__label {
  color: #2978FF;
}

body .el-checkbox__inner:hover,
body .el-checkbox__input.is-focus .el-checkbox__inner {
  border-color: #2978FF;
}

body .el-date-table td.current:not(.disabled) span,
body .el-date-table td.start-date span,
body .el-date-table td.end-date span {
  color: #fff;
  background-color: #2978FF;
}

body .el-date-table td.in-range div,
body .el-date-table td.in-range div:hover {
  background-color: #EDF4FF;
}

body .el-radio-button__orig-radio:checked+.el-radio-button__inner {
  background-color: #2978FF;
  border-color: #2978FF;
}
body .el-radio-button__inner:hover {
  color: #2978FF;
}
body .el-switch.is-checked .el-switch__core {
  border-color: #2978FF;
  background-color: #2978FF;
}

body .el-switch__label.is-active {
  color: #2978FF;
}
body .el-loading-mask {
  color: #2978FF;
}
body .el-loading-spinner .path {
  stroke: #2978FF;
}