//to reset element-ui default css
.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}

// 时间框
.el-range-editor.el-input__inner {
  //padding: 0 0 0 5px;/
  //margin-top: 10px;
  height: 32px;
  //padding: 0px 0px;
  //margin-top: 2px;
  position: relative;
  top: 2px;

  .el-input__icon {
    margin-top: -6px;
    padding: 0 0 0 5px;
    font-size: 16px;
  }

  .el-range-separator {
    height: 120% !important;
  }
}

//element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

.el-input__inner {
  border-radius: 4px;
  font-size: 14px !important;
  font-family: "MiSans Regular", serif;
  height: 32px;
  line-height: 30px;
}

// 激活输入框 或者下拉框的边框
.el-input.is-active .el-input__inner, .el-input__inner:focus {
  border-color: #4d77d6;
  font-size: 13px;
}

.el-select .el-input.is-focus .el-input__inner {
  border-color: #4d77d6;
  font-size: 13px;
}

.el-select .el-input__icon {
  height: 120% !important;
}

.el-input--suffix .el-input__inner {
  font-size: 13px;
}

.el-select .el-input__inner:focus {
  border-color: #4d77d6;
}

.el-select .el-tag {
  font-size: 16px;
  color: #a6a6a6;
  margin: 2px 0 2px 8px;
}

.el-card__body {
  padding: 20px 10px 0px 10px !important;
}

.el-tabs__content {
  background-color: #fff !important;
}

.el-button {
  line-height: 0;
  font-size: 13px;
  height: 32px;
  //padding-top: 9px;
  padding: 8px 15px;
  width: 76px;
  margin-left: 10px;
}

.el-button:focus, .el-button:hover {
  color: #4d77d6 !important;
  background: #e2eaf8;
  border-color: #e2eaf8;
}

.el-tabs--border-card > .el-tabs__header {
  background-color: #F5F7FA;
}

.el-button--primary {
  color: #fff;
  background: #4d77d6;
  border-color: #4d77d6;
  font-size: 13px;
  //height: 38px;
  //width: 100px;
  //margin-top: 5px;
}

.el-button--primary.is-disabled, .el-button--primary.is-disabled:active, .el-button--primary.is-disabled:focus, .el-button--primary.is-disabled:hover {
  color: #FFF !important;
  background-color: #4d77d6b3 !important;
  border-color: #4d77d6b3 !important;
}

.el-button--primary:hover {
  color: #FAFAFA !important;
  background: rgba(77, 119, 214, 0.84) !important;
  border-color: rgba(77, 119, 214, 0.84) !important;
}

.el-button--primary:focus {
  color: #FAFAFA !important;
  background: #4d77d6 !important;
  border-color: #4d77d6 !important;
}

.el-button--primary:active {
  color: #FAFAFA !important;
  background: #4975d9 !important;
  border-color: #4975d9 !important;
}

.el-button--success {
  color: #fff;
  background: #16a188;
  border-color: #16a188;
  font-size: 13px;
  //height: 38px;
  //width: 100px;
}

.el-button--success.is-disabled, .el-button--success.is-disabled:active, .el-button--success.is-disabled:focus, .el-button--success.is-disabled:hover {
  color: #FFF !important;
  background-color: #16a188b3 !important;
  border-color: #16a188b3 !important;
}

.el-button--success:hover {
  color: #FAFAFA !important;
  background: #1aba9d !important;
  border-color: #1aba9d !important;
}

.el-button--success:focus {
  color: #FAFAFA !important;
  background: #16a188 !important;
  border-color: #16a188 !important;
}

.el-button--success:active {
  color: #FAFAFA !important;
  background: #138d77 !important;
  border-color: #138d77 !important;
}

.el-button--info {
  color: #fff;
  background: #f2a201;
  border-color: #f2a201;
  font-size: 13px;
  height: 38px;
  width: 100px;
}

.el-button--info.is-disabled, .el-button--info.is-disabled:active, .el-button--info.is-disabled:focus, .el-button--info.is-disabled:hover {
  color: #FFF !important;
  background-color: #f2a201b3 !important;
  border-color: #f2a201b3 !important;
}

.el-button--info:hover {
  color: #FAFAFA !important;
  background: #f5b737 !important;
  border-color: #f5b737 !important;
}

.el-button--info:focus {
  color: #FAFAFA !important;
  background: #f2a201 !important;
  border-color: #f2a201 !important;
}

.el-button--info:active {
  color: #FAFAFA !important;
  background: #f6ad1a !important;
  border-color: #f6ad1a !important;
}

.el-button [class*=el-icon-] + span {
  margin-left: 5px;
}

input::-webkit-input-placeholder {
  font-size: 13px;
  color: #d9d9d9;
}

input::-ms-input-placeholder {
  font-size: 13px;
  color: #d9d9d9;
}

.el-pagination {
  button {
    height: 28px;
    line-height: 28px;
    width: 38px;
    border-radius: 4px !important;
  }

  span {
    height: 28px;
    line-height: 28px;
  }

  .el-input__suffix {
    right: 12px;
  }

  .el-pagination__total {
    font-size: 13px !important;
    font-family: "MiSans Regular", serif;
    margin-right: 12px;
    height: 28px;
    line-height: 28px;
  }

  .el-pagination__sizes {
    height: 28px;
    line-height: 28px;
    margin-right: 32px;
  }

  .el-select {
    .el-input {
      width: 136px;
      margin: 0;

      .el-input__inner {
        border-radius: 4px;
        font-size: 13px !important;
        font-family: "MiSans Regular", serif;
        height: 28px;
        line-height: 28px;
      }
    }

    .el-input__icon {
      height: 100% !important;
    }

  }

  .el-pager li {
    height: 28px;
    width: 38px;
    line-height: 28px;
    border-radius: 4px !important;
    //background-color: #4d77d6 !important;
  }

  //.el-pagination.is-background .el-pager li:not(.disabled){
  //  background-color: #3E3E45 !important;
  //  color: #fff !important;
  //}
  //.el-pagination.is-background .el-pager li:not(.disabled).active {
  //  background-color: #FFBB46 !important;
  //  color: #fff !important;
  //}
  //.el-pager li.active+li {
  //  background-color: #f5f5f5 !important;
  //}
  //.el-pagination.is-background .el-pager li:not(.disabled).active {
  //  background-color: #4d77d6 !important;
  //}
  //.el-pagination.is-background .el-pager li:not(.disabled):hover {
  //  color: #4d77d6;
  //}
  //.el-pagination.is-background .el-pager li:not(.disabled).active {
  //background-color: #FD7A3A; // 进行修改背景和字体
  //  color: #fff;
  //}
  //::v-deep {
  //  .el-pagination.is-background .el-pager li:not(.disabled) {
  //    background-color: #f5f5f5;   // 进行修改未选中背景和字体
  //  }
  //  .el-pagination.is-background .el-pager li:not(.disabled).active {
  //    background-color: #4d77d6;   // 进行修改选中项背景和字体
  //  }
  //}

  .el-pagination__jump {
    font-size: 13px !important;
    font-family: "MiSans Regular", serif;
    margin-left: 22px;
  }

  .el-pagination__editor {
    border-radius: 4px !important;
    font-size: 13px !important;
    font-family: "MiSans Regular", serif;
    padding: 0 8px;
    margin: 0;
    height: 28px;
    width: 76px;
    line-height: 28px;
  }
}

.el-pagination button, .el-pagination span:not([class*=suffix]) {
  height: 28px;
  line-height: 28px;
}

.el-pagination__editor.el-input .el-input__inner {
  //width: 60px;
  height: 28px;
}

.el-select-dropdown__item {
  height: 34px;
  line-height: 34px;
  font-size: 13px;
  font-family: "MiSans Regular", serif;
}

.el-select-dropdown__item.selected {
  color: #4d77d6 !important;
}


//暂时性解决diolag 问题 https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
  box-shadow: 0 0 8px 0 rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

.el-dialog__wrapper {
  background-color: rgba(255, 255, 255, 0.15);
}

.el-dialog__header {
  //padding: 38px 20px 0 20px !important;
  padding: 20px 20px 0 20px !important;
}

.el-dialog__title {
  font-family: "MiSans Demibold", serif;
  font-size: 20px;
}

.el-dialog--center .el-dialog__body {
  padding: 8px 25px 25px 30px
}

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

.el-divider--horizontal {
  margin: 0 0 29px 0;
  background-color: #d9d9d9;
}

.el-form-item__label {
  font-size: 16px;
  font-family: "MiSans Demibold", serif;
}

.el-form-item.is-success .el-input__inner, .el-form-item.is-success .el-input__inner:focus, .el-form-item.is-success .el-textarea__inner, .el-form-item.is-success .el-textarea__inner:focus {
  border-color: #4975d9 !important;
}


.el-menu-item {
  font-size: 16px;
}

.el-menu-item.is-active {
  color: #5a80d8 !important;

  :before {
    content: '';
    width: 4px;
    height: 32px;
    background-color: #354387;
    border-radius: 2px;
    top: 6px;
    position: absolute;
    left: 0;
  }
}

.el-menu-item:hover {
  background-color: #e3edfe !important;
  color: #5a80d8 !important;
}

.el-menu-item, .el-submenu__title {
  line-height: 42px;
  height: 42px;
  color: #8c8c8c !important;
}

.el-scrollbar {
  height: 100%;
}

.el-submenu {
  font-size: 16px;

  .el-menu-item {
    height: 38px;
    padding-left: 52px !important;
    line-height: 38px;
  }
}

.el-submenu__title {
  padding-left: 32px !important;
  height: 38px;
  font-size: 16px;
  color: #262626 !important;
  background-color: #F5F5F5 !important;
}

.el-submenu__icon-arrow {
  right: 34px;
}

.el-icon-arrow-down:before {
  content: '\25BC';
  color: #737797;
}

.el-tabs__item {
  width: 140px;
  text-align: center;
  font-size: 16px;
  font-family: "MiSans Demibold", serif;
  height: 40px;
}

.el-tabs--border-card > .el-tabs__header .el-tabs__item.is-active {
  color: #5a80d8;
  border-right-color: #ebebeb;
  border-left-color: #ebebeb;
  border-top-color: #f0f3fa;
  background-color: #f0f3fa;
  //margin-bottom: 0;
  //margin-top: 1px;
}

.el-tabs--border-card > .el-tabs__header .el-tabs__item:not(.is-disabled):hover {
  color: #5a80d8;
}

.el-tabs--border-card > .el-tabs__header .el-tabs__item {
  color: #595959;
  border-bottom: 0;
  margin-top: 0;
}

.el-tabs__content {
  background-color: #f0f3fa;
}

.el-tabs__header {
  height: 40px;
}

.el-tabs--border-card {
  border: 0;
}

.el-range-editor.is-active, .el-range-editor.is-active:hover {
  border-color: #5a80d8;
}

.el-date-table td.end-date span, .el-date-table td.start-date span {
  background-color: #5a80d8;
}

.el-picker-panel__footer {
  span {
    //color: #5a80d8;
  }

  button {
    border: none !important;
  }
}

.el-date-table td.today span {
  color: #5a80d8;
}

.el-date-table td.available:hover {
  color: #5a80d8;
}

.el-time-panel__btn.confirm {
  color: #5a80d8;
}

.el-time-panel {
  width: 140px;
  margin: 5px 0 5px 5px;
}


.el-table--enable-row-hover .el-table__body tr:hover > td {
  background-color: #e3edfe;
}

.el-table__empty-text {
  font-family: "MiSans Regular", serif;
  font-size: 13px;
}

.el-slider__runway {
  margin: 5px 0;
}

//to reset element-ui default css
.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}

//暂时性解决diolag 问题 https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}

//element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

//表头全局样式
.el-table th {
  color: black; /*修改表格头部背景*/
  //line-height: 40px !important;
  //font-family: YouYuan!important;
  font-Size: 13px !important;
  font-weight: 400 !important;
}

.el-table__row {
  height: 36px !important;
}

.el-table__row td {
  padding: 3px 0 !important;
}

.el-tree-node__content > .el-tree-node__expand-icon {
  display: none;
}

//单击表格行变色
.el-table__body tr.current-row > td {
  background-color: #d8e5f6 !important;
  /* color: #f19944; */
  /* 设置文字颜色，可以选择不设置 */
}

//聚焦表格行变色
.hover-row td {
  //background: RGB(236 245 255)!important;
  background: #d8e5f6 !important;

}

.el-table--enable-row-hover .el-table__body tr:hover > td {
  background-color: #d8e5f6 !important;
}

//.el-table tbody tr:hover>td { background-color: RED }
//表格行颜色9745
//.el-table td, .is-leaf{
//  background-color: rgb(255, 255, 255);
//  color: black;
//  font-weight:400
//}
.el-table--striped .el-table__body tr.el-table__row--striped td {
  background-color: #ebebeb !important; /*修改斑马线表格背景*/
}

.el-table thead.is-group th {
  background-color: rgb(98, 157, 209);
}

/* .el-textarea__inner,
 .el-radio__inner,
 .el-input__inner{
   border: 1px solid gray!important;
 }*/


