//引入清除默认样式
@import './reset.scss';

//滚动条外观设置
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-thumb {
  width: 10px;
  background-color: #c4cbd7;
  border-radius: 10px;
}


// 
.icon {
  width: 1em;
  height: 1em;
  vertical-align: -0.15em;
  fill: currentColor;
  overflow: hidden;
}

:root {
  --el-border-radius-base: 0 !important;
  --layout-main-bg-color: rgb(247 250 252) !important;
  --el-fill-color-blank: rgba(240, 245, 245, 1) !important;
  --mht-upload-bg-color: rgba(240, 245, 245, 1);
}
.el-radio{
  --el-radio-input-bg-color: #fff!important;
}
.el-message-box {
  --el-messagebox-border-radius: 0;
}

/** 暗黑主题 */
html.dark {
  --layout-main-bg-color: rgb(18 18 18);
}

.el-input {
  --el-select-input-focus-border-color: none !important;
  --el-input-bg-color: rgba(240, 245, 245, 1) !important;
  --el-input-focus-border-color: none;
  --el-input-border-color: none !important;
}

.el-table {
  --el-table-header-text-color: var(--el-color-primary) !important;
  --el-table-bg-color: var(--el-bg-color) !important;
}



// .el-select__wrapper {
//   background-color: var(--el-input-bg-color) !important;
// }

.el-input,
.el-textarea,
input {
  --el-input-text-color: var(--input-text-color) !important;
}


.el-input__wrapper.is-focus,
.el-select__wrapper.is-focused,
.el-select__wrapper {
  box-shadow: none !important;
}

.el-textarea,
.el-date-editor,
.el-cascader {
  --el-input-focus-border-color: none !important;
  --el-input-bg-color: rgba(240, 245, 245, 1) !important;
  --el-input-border-color: none !important;
}

.el-cascader {
  width: 100%;
}

.el-textarea__inner {
  padding: 12px 16px !important;
}

.el-input__wrapper:hover,
.el-textarea__inner:hover,
.el-input-group__append:hover,
.el-input-group__prepend:hover {
  box-shadow: none !important;

}

.el-input__wrapper.is-focus,
.el-textarea__inner:focus,
.el-date-editor.is-active {
  box-shadow: none !important;

}

.el-input-group__append,
.el-input-group__prepend {
  background: var(--el-input-bg-color) !important;
  box-shadow: none !important;
  padding: 0 10px !important;
}


.el-textarea,
.el-date-editor,
.el-cascader {
  --el-input-focus-border-color: none !important;
  --el-input-border-color: none !important;
}

.el-cascader {
  width: 100%;
}


.el-dialog__body {
  padding-top: 0 !important;
}

.el-dialog {
  border-radius: var(--el-border-radius-boundary) !important;

}






.el-overlay {
  font-family: var(--el-overlay-font);
}

.el-table--default .el-table__cell {
  padding: 12px 0 !important;
}


// 下拉框选中的颜色
// .el-select-dropdown__item.is-selected {
//   color: #fff !important;
//   background-color: var(--el-color-primary) !important;
// }

.el-select-dropdown__list {
  padding: 0 !important;
}

// .el-select-dropdown{
//   border-radius: var(--el-border-radius-base)!important;
// }
.el-popper {
  border-radius: var(--el-border-radius-base) !important;
  margin-top: -10px !important;
}



.el-popper__arrow {
  display: none !important;
}



.el-select-dropdown__item {
  // height: 38px !important;
  // line-height: 38px !important;
}



.el-dialog__header {
  padding-top: 12px !important;
  padding-bottom: 12px !important;
  margin-right: 0 !important;

}

.el-dialog__headerbtn {
  top: 2px !important;
  font-size: 20px !important;
}

.el-table {
  border-bottom: 0 !important;
}

.el-form-item.is-error .el-input__wrapper,
.el-form-item.is-error .el-select-v2__wrapper,
.el-form-item.is-error .el-select-v2__wrapper:focus,
.el-form-item.is-error .el-textarea__inner,
.el-form-item.is-error .el-textarea__inner:focus {
  box-shadow: none !important;
}

.el-cascader__dropdown.el-popper,
.el-picker__popper.el-popper,
.el-popover.el-popper,
.el-notification,
.el-select__popper.el-popper {
  border: 0 !important;
}

// .el-date-table td.in-range .el-date-table-cell {
//   color: #fff !important;
// }

.el-cascader-node.is-active {
  color: #fff !important;
  background-color: var(--el-color-primary) !important;
}

// .el-cascader-menu__list{
//   li[aria-haspopup="true"]{
//     background-color: var(--el-color-primary)!important;
//   }
// }
.el-step__description {
  padding-right: 0 !important;
}


.el-form-item {
  display: block !important;

}

.el-form-item__label {
  font-size: .14rem;
  color: #4E5969;
}

.op {
  .el-form-item__label {
    opacity: 0;
  }
}

.el-cascader-node__prefix {
  position: absolute !important;
}

span[class=el-tooltip__trigger] {
  display: inline-block;
  width: 100%;
}

.el-dialog__header {
  padding-left: 15px;
  // font-weight: bold;
}

.el-card {
  border: 0 !important;
  --el-card-border-radius: 0 !important;
  --el-card-bg-color: var(--el-bg-color) !important;
}


.dialog-box {
  padding: 30px;
  padding-top: 10px;

  .dialog-label {
    display: block;
    margin-bottom: 12px;
    font-size: 14px;
  }


  .dialog-p {
    font-size: 14px;
    margin-top: 20px;
    color: var(--el-color-info);
  }
}

.amap-sug-result {
  z-index: 999999;
  border: 0;
  box-shadow: var(--el-box-shadow);

  .auto-item {
    height: 30px;
    line-height: 30px;
    padding: 0 10px;

    &:hover {
      background-color: var(--el-color-primary-light-5);
    }
  }
}

.el-checkbox {
  --el-checkbox-bg-color: var(--el-card-bg-color) !important;
}

.el-card__body {
  height: 100%;
}
.operations {
  color: var(--el-text-color-secondary);
}

.operations .el-icon {
  cursor: pointer;
}

.operations .primary:hover {
  color: var(--el-color-primary);
}

.mht-operations{
  .el-icon + .el-icon{
    margin-left: 6px;
  }
  .el-icon {
    color: var(--el-color-primary);
    cursor: pointer;
    transform: translateY(4px);
    &:hover{
      color: var(--el-color-primary-light-3);
    }
  }
  .el-icon-danger{
    color: var(--el-color-danger);
    cursor: pointer;
    &:hover{
      color: var(--el-color-danger-light-3);
    }
  }
}


.pagination-box {
  overflow: hidden;
  margin-top: 25px;
  text-align: right;
  height: 30px;

  .el-pagination {
    float: right;
  }
}
.no-click {
  pointer-events: none;
}
.mht-loading {
  transform: rotate(45deg);
  animation: spin 2s linear infinite;
  pointer-events: none;
}
@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.el-button{
  line-height: normal;
}
.el-table .row-success{
  color: var(--el-color-success);
}
.el-table .row-danger{
  color: var(--el-color-danger);
}

.phone-list{
  li{
    line-height: 26px;
    padding-left: 15px;
    color: var(--el-color-primary);
  }
}

.el-tour__footer{
  display: none!important;
}
 .el-tour__body{
  margin-bottom: 13px;
 }

 .costom-select-item {

  font-size: 14px;

  .el-image {
      height: 30px;
      width: 30px;
      margin-right: 8px;
      border-radius: 4px;
      vertical-align: middle;
      transform: translateY(-1px);
  }
}

.customClass {
  .el-message-box__content {
      padding: 20px 20px;
  }

  .el-message-box__btns {
      padding-right: 20px;
  }
}

.dialog-footer{
  padding-right: 30px;
  padding-bottom: 10px;
}

.up_head_img{
  .upload-button{
      padding-top: 0!important;
  }
}

.el-image__error{
  font-size: 12px!important;
  line-height: 14px;
}