// cover some element-ui styles

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}

.cell {
  .el-tag {
    margin-right: 0px;
  }
}

.small-padding {
  .cell {
    padding-left: 5px;
    padding-right: 5px;
  }
}

.fixed-width {
  .el-button--mini {
    padding: 7px 10px;
    width: 60px;
  }
}

.status-col {
  .cell {
    padding: 0 10px;
    text-align: center;

    .el-tag {
      margin-right: 0px;
    }
  }
}

// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}

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

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

// dropdown
.el-dropdown-menu {
  a {
    display: block;
  }
}

// fix date-picker ui bug in filter-item
.el-range-editor.el-input__inner {
  display: inline-flex !important;
}

// to fix el-date-picker css style
.el-range-separator {
  box-sizing: content-box;
}

.el-menu--collapse
> div
> .el-submenu
> .el-submenu__title
.el-submenu__icon-arrow {
  display: none;
}

/**
*自定义table的行高
*/
.el-table--medium .el-table__cell {
  padding: 5px 0;
}

/**
*自定义el-row的行高
*/
.el-row {
  //height: 40px;
}

.el-table .el-table__cell {
  padding: 2px 0;
}

.el-tag {
  height: 20px;
  line-height: 20px;
}

.app-container {
  // padding: 10px !important;
  background: white;
  //min-height: calc(100vh - 122px);

  .el-table {
    //min-height: calc(100vh - 222px);
  }

  .el-dialog {
    .el-table {
      min-height: auto;
      height: auto;
    }
  }
}

.hasButton {
  .el-table {
    min-height: calc(100vh - 260px);
  }

  .el-dialog {
    .el-table {
      min-height: auto;
      height: auto;
    }
  }
}

.el-form-item {
  margin-bottom: 10px;
  margin-right: 5px !important;
}

.el-table__row .current-row {
  background-color: dodgerblue;
}

label {
  font-weight: 400 !important;
}

.el-submenu .el-menu-item {
  height: 40px;
  line-height: 40px;
}

/**
*自定义table选中背景色
*/
.el-table--striped
.el-table__body
tr.el-table__row--striped.current-row
td.el-table__cell {
  background-color: #409eff !important;
}

.el-table__body tr.current-row > td.el-table__cell {
  background-color: #409eff !important;
}

.tags-view-container
.tags-view-wrapper
.tags-view-item[data-v-fac8ca64]:first-of-type {
  margin-left: 0px !important;
}

/**
*统一按钮样式
*/
.el-button {
  padding: 8px;
}

.el-input-group__append .el-button .el-icon-postcard {
  font-size: 22px;
}

// 全局表格多选框颜色
.el-table__row {
  .el-checkbox {
    .el-checkbox__input.is-checked .el-checkbox__inner {
      border-color: #1890ff;
    }

    .el-checkbox__inner {
      border-color: #000000;
    }
  }
}

.el-table-column--selection {
  .el-checkbox {
    .el-checkbox__input.is-disabled .el-checkbox__inner {
      background-color: #ccd2df;
    }

    .el-checkbox__input.is-checked .el-checkbox__inner {
      border-color: #1890ff;
    }

    .el-checkbox__input.is-indeterminate .el-checkbox__inner {
      border-color: #1890ff;
    }

    .el-checkbox__inner {
      border-color: #000000;
    }
  }
}

.pageSediment {
  position: relative;
  padding: 10px 15px 70px 15px !important;
  //min-height: calc(100vh - 75px);

  .pagination-container {
    position: absolute;
    bottom: 25px;
    right: 20px;
  }
}

// MessageBox自动宽度
.reservationBox {
  width: auto;
}
