html {
  height: 100%;
  box-sizing: border-box;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  height: 100%;
  font-size: 14px;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family:
    Microsoft YaHei,
    '宋体';
}
:root {
  --el-menu-base-level-padding: 10px;
  --el-menu-level-padding: 15px;
}

*:before,
*:after {
  box-sizing: inherit;
}

ul,
li {
  list-style: none;
}
img {
  vertical-align: middle;
}

.margin-top {
  margin-top: 12px;
}
.margin-right {
  margin-right: 12px;
}
.margin-bottom {
  margin-bottom: 12px;
}
.margin-left {
  margin-left: 12px;
}
.padding-top {
  padding-top: 12px;
}
.padding-right {
  padding-right: 12px;
}
.padding-bottom {
  padding-bottom: 12px;
}
.padding-left {
  padding-left: 12px;
}

.flex {
  display: flex;
}
.flex-between {
  display: flex;
  justify-content: space-between;
}
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.flex-center-align {
  display: flex;
  align-items: center;
}
.flex-end {
  display: flex;
  justify-content: flex-end;
}
.flex-col {
  display: flex;
  flex-direction: column;
}
.flex-1 {
  flex: 1;
  overflow: hidden;
}

.align-left {
  text-align: left;
}
.align-center {
  text-align: center;
}
.align-right {
  text-align: right;
}
.position-relative {
  position: relative;
}
.bg-white {
  background: #fff;
}
.red {
  color: var(--el-color-danger);
}
.green {
  color: var(--el-color-success);
}
.cursor-pointer {
  cursor: pointer;
}
.block {
  display: block !important;
}

.border-radius {
  border-radius: 5px;
}

/* 百分百高度 */
.h-full {
  height: 100%;
}
.w-full {
  width: 100% !important;
}
.h-full.el-tabs > .el-tabs__content {
  flex: 1;
}

/* 滚动条 */
.overflow-y {
  overflow-y: auto;
}

/* element ui */
.el-tabs--border-card > .el-tabs__content {
  padding: 12px;
}
.el-dialog__body {
  border-top: 1px solid #dcdfe6;
  padding: 20px 0 0;
}
.el-form > .el-form-item:last-child {
  margin-bottom: 0;
}
.el-scrollbar,
.el-scrollbar__wrap {
  box-sizing: initial;
}

/* 搜索宽度 */
.search-width-small {
  width: 120px;
}
.search-width {
  width: 260px !important;
}

.el-pagination .btn-next {
  margin-right: 0 !important;
}

.el-form-item__content {
  color: #606266;
}
.el-form .el-form-item:last-child {
  margin-bottom: 0;
}

/* 图片底部有空白 */
.el-image {
  line-height: 0;
}

.rent-plan-box .status-1 {
  color: #67c23a;
}
.rent-plan-box .status-2 {
  color: #f78989;
}
