@import "https://cdn.bootcdn.net/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css";
@import './iconfont.css';
@import './element@2.14.1.css';

* {
  margin: 0;
  padding: 0;
  border: 0;
  text-decoration: none;
  box-sizing: border-box;
}

body div {
  font-family: pingfang SC, helvetica neue, arial, hiragino sans gb, microsoft yahei ui, microsoft yahei, simsun, sans-serif !important;
}

.column {
  display: flex;
  flex-direction: column;
}

.row {
  display: flex;
}

.flex-centet {
  align-items: center;
  justify-content: center;
}

.tips-1 {
  padding: 10px 20px;
  background-color: orange;
  width: fit-content;
  margin-bottom: 15px;
  color: #fff;
  border-radius: 2px;
  font-size: 14px;
}

.tips-2 {
  color: orangered;
  font-size: 16px;
  padding: 20px;
  font-weight: bold;
  margin: 15px 0;
  background-color: #67C23A;
  color: #bceea3;
  font-weight: normal;
}

.tips-3 {
  background-color: rgb(217, 237, 247);
  border-color: rgb(188, 223, 241);
  color: rgb(49, 112, 143);
  padding: 20px;
  margin: 15px 0;
  border-radius: 2px;
}

.tips-3>span {
  color: red;
}

/* e-input 輸入框 */

input {
  background-color: hsl(0, 0%, 98%) !important;
}

body .el-input.is-active .el-input__inner,
body .el-input__inner:focus,
body .el-select .el-input.is-focus .el-input__inner,
body .el-select .el-input__inner:focus {
  border-color: rgb(255, 71, 0);
}

.el-cascader:not(.is-disabled):hover .el-input__inner {
  cursor: pointer;
  border-color: rgb(255, 71, 0);
}

.el-cascader .el-input .el-input__inner {
  text-overflow: ellipsis;
}


/* el-pagination */

body .pagination-box {
  border: 1px solid #e5e5e5;
  border-top: none;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
}

body .el-pagination__rightwrapper {
  float: right;
}

body .el-pagination {
  width: 100%;
}

body .el-pagination.is-background .el-pager li:not(.disabled).active {
  background-color: rgb(255, 71, 0);
  color: #fff;
}

body .el-pagination.is-background .el-pager li:not(.disabled):hover {
  color: rgb(255, 71, 0);
}

body .el-pagination.is-background .el-pager li:not(.disabled).active:hover {
  color: #fff
}

/* el-form */
body .el-form-item {
  width: 50%;
}

body .el-select {
  width: 100%;
}

body .el-form-item__label {
  padding-right: 30px;
}

/* card 卡片 */
.web-card-box {
  width: 100%;
  margin-bottom: 15px;
  border: #e5e5e5 1px solid;
  border-radius: 2px;
  overflow: hidden;
}

.web-card-box .card-title {
  height: 48px;
  font-weight: bold;
  border-bottom: #e5e5e5 1px solid;
  padding: 0 15px;
  font-size: 14px;
  line-height: 48px;
  background-color: hsl(210, 5%, 98%);
  color: hsl(0, 0%, 40%);
}

.form-box {
  width: 100%;
  padding: 15px;
}

.form-border {
  margin: 15px;
  border: #e5e5e5 1px solid;
  width: calc(100% - 30px);
}

/* el-table 表格 */
body .el-table--border {
  border: 1px solid #e5e5e5;
  border-radius: 2px;
  overflow: hidden;
}

body .el-table--border::after,
body .el-table::before {
  width: 0px;
}

body .el-table--border th {
  border-color: #e5e5e5;
  text-align: center;
  background-color: hsl(210, 5%, 97%);
  font-weight: normal;
}

body .el-table .cell {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* e-tabs */
body .el-tabs--border-card>.el-tabs__header .el-tabs__item {
  height: 48px;
  line-height: 48px;
}

body .el-tabs--border-card {
  box-shadow: 0 0 black;
}

body .el-tabs--border-card>.el-tabs__header {
  background-color: hsl(210, 5%, 98%);
}

body .el-tabs--border-card>.el-tabs__header .el-tabs__item.is-active,
body .el-tabs--border-card>.el-tabs__header .el-tabs__item:not(.is-disabled):hover {
  color: rgb(255, 71, 0);
}

/* el-checkbox */

body .el-checkbox__inner:hover {
  color: red
}

body .el-checkbox__input.is-checked+.el-checkbox__label {
  color: red
}

body .el-checkbox__input.is-checked .el-checkbox__inner,
body .el-checkbox__input.is-indeterminate .el-checkbox__inner {
  background-color: red;
  border-color: red;
}

body .el-checkbox__input.is-focus .el-checkbox__inner {
  border-color: red;
}


body .el-checkbox:last-of-type {
  margin-right: 15px;
}
