* {
  padding: 0;
  margin: 0;
}

body {
  background: #F5F8FD;
}

html {
  min-width: 768px;
}

[v-cloak] {
  display: none;
}

ul {
  list-style-type: none;
}

input,
button {
  outline: none;
}

.el-dropdown-menu {
  max-height: 400px;
  overflow-y: auto;
}

/* 紫色按钮 */
.el-button--purple {
  color: #fff;
  background-color: #ad48ad;
  border-color: #ad48ad;
}

.el-button--purple.is-plain {
  color: #ad48ad;
  background: #f4ebf9;
  border-color: #c7abff;
}

.el-button--purple:focus,
.el-button--purple:hover {
  background: #ad48ad !important;
  border-color: #ad48ad !important;
  color: #fff !important;
}

/* 橙色按钮 */
.el-button--orange {
  color: #fff;
  background-color: #ffa500;
  border-color: #ffa500;
}

.el-button--orange.is-plain {
  color: #ffa500;
  background: #fff5ee;
  border-color: #fbceb1;
}

.el-button--orange:focus,
.el-button--orange:hover {
  background: #ffa500 !important;
  border-color: #ffa500 !important;
  color: #fff !important;
}

input::-webkit-input-placeholder {
  color: #dcdcdc;
}

.el-message__icon {
  font-size: 1.25rem !important;
}

.el-message__content {
  font-size: 1.1rem !important;
}

.el-message--warning {
  border-color: #FFB337;
}

.el-message--success {
  border-color: #7BCB54;
}

.el-message--error {
  border-color: #F56C6C;
}

table {
  border-collapse: collapse;
}

/* 表格和顶部标签的滚动条隐藏---safari与chrome兼容 */
.el-table::-webkit-scrollbar,
.el-tabs__nav-scroll::-webkit-scrollbar,
.scroll_none::-webkit-scrollbar,
.el-cascader-menu::-webkit-scrollbar,
.el-scrollbar__wrap::-webkit-scrollbar,
.el-textarea__inner::-webkit-scrollbar,
.index_main_left_bottom_search::-webkit-scrollbar {
  display: none;
}

/* 表格和顶部标签的滚动条隐藏---firefox兼容;edge兼容 */
.el-table,
.el-tabs__nav-scroll,
.scroll_none,
.el-cascader-menu,
.el-scrollbar__wrap,
.el-textarea__inner,
.index_main_left_bottom_search {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.el-table,
.el-table th {
  text-align: center;
}

.el-table__body-wrapper {
  overflow-y: auto;
}

::-webkit-scrollbar {
  width: 2px;
}

/* 小型按钮最小宽度 */
.el-button--mini {
  min-width: 80px;
}

/* 表格下的按钮左侧边距 */
.el-table .el-button+.el-button {
  margin-left: 0px;
  margin-top: 10px;
}

.el-input-number--mini {
  width: 7rem;
}

/* 禁用输入框的字体颜色黑色 */
.el-input.is-disabled .el-input__inner,
.el-textarea.is-disabled .el-textarea__inner {
  color: #333;
}

/* 修改密码弹出框 */
/* .small_dialog>.el-dialog {
  width: 40%;
  margin-top: 30vh !important;
} */

.pwd_dialog .el-dialog__body {
  padding: 30px 20px;
}

/* 弹框里面的input */
.el-dialog input {
  height: 32px;
  line-height: 32px;
  width: 100%;
}

.dialog-footer button {
  min-width: 150px;
}

.dialog_btn {
  height: 32px;
  line-height: 32px;
  padding: 0 16px;
}

/* small类型的input */
.el-input--small .el-input__inner:not(.el-date-range-picker__editor .el-input__inner) {
  width: calc(100% / 3 - 3px);
}

/* 小弹框里面small类型的input */
.small_dialog .el-input--small .el-input__inner {
  width: 50%;
}

/*弹框的标题加粗 */
.el-dialog__title {
  font-weight: bold;
}

/* 弹框的地步按钮居中 */
.el-dialog__footer {
  text-align: center;
}

/* 表单的下边距 */
.el-form-item {
  margin-bottom: 10px;
}

/* 分页器 */
.el-pagination {
  /* height: 38px; */
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

/* 重写tabs的样式 */
.tabs {
  position: fixed;
  top: calc(4.38rem - 2.6rem);
  left: 18.6rem;
  right: 36rem;
}

.el-tabs__header {
  height: 2.6rem;
  margin: 0;
}

.el-tabs__item {
  width: 10rem;
  height: 100%;
  border-radius: 0.38rem 0.38rem 0rem 0rem;
  border: 0.06rem solid #DCDCDC;
  margin-right: 0.63rem;
  line-height: 2.6rem;
  font-size: 1rem;
  text-align: center;
  position: relative;
}

.el-tabs__item .close {
  position: absolute;
  right: 0.5rem;
  font-size: 1.5rem;
  color: #909399;
  font-weight: lighter;
}

.el-tabs__item.is-active .close {
  color: #fff;
}

.el-tabs__item.is-active {
  background: #1890FF;
  color: #fff;
}

.el-tabs--card>.el-tabs__header .el-tabs__item:first-child {
  border-left: 0.06rem solid #DCDCDC;
}

.el-tabs--card>.el-tabs__header .el-tabs__item:first-child .el-icon-close {
  display: none;
}

.el-tabs--card>.el-tabs__header,
.el-tabs--card>.el-tabs__header .el-tabs__nav,
.el-tabs--card>.el-tabs__header .el-tabs__item.is-active {
  border: none;
}

/* 重写tabs的样式结束 */

.flex {
  display: flex;
}

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

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

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

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

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

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

.flex-wrap {
  flex-wrap: wrap;
}

.w-s {
  white-space: nowrap;
}

.cursor {
  cursor: pointer;
}

.purple {
  color: #B80ECB;
}

.blue {
  color: #3A7EE8;
}

.yellow {
  color: #C24320;
}

.green {
  color: #00BF71;
}
/* 联级选择器： */
.el-cascader-node{
  padding: 5px 10px !important;
  cursor: pointer !important;
  width: 10vw !important;
}
.el-scrollbar__view.el-cascader-menu__list{
  width: 10vw !important;
}
.el-cascader-node.in-active-path,
.el-cascader-node:hover{
background: #1890FF !important;
color: #fff !important;
}  .avatar-uploader .el-upload {
  border: 1px dashed #d9d9d9;
  border-radius: 6px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.avatar-uploader .el-upload:hover {
  border-color: #409EFF;
}
.avatar-uploader-icon {
  font-size: 28px;
  color: #8c939d;
  width: 178px;
  height: 178px;
  line-height: 178px;
  text-align: center;
}
.avatar {
  width: 178px;
  height: 178px;
  display: block;
}