//表单
// .el-form-item{
//   margin-bottom: 8px;
// }

/* .el-select{
  width: 100%;
} */

/* 去除左侧标识符 */
.el-form-item.is-required:not(.is-no-asterisk) .el-form-item__label-wrap > .el-form-item__label:before,
.el-form-item.is-required:not(.is-no-asterisk) > .el-form-item__label:before {
  content: "";
  margin-right: 0;
}
/* 右侧侧标识符 */
.el-form-item.is-required:not(.is-no-asterisk) .el-form-item__label-wrap > .el-form-item__label:before,
.el-form-item.is-required:not(.is-no-asterisk) > .el-form-item__label:after {
  content: "*";
  color: #f56c6c;
}

.el-icon-edit-outline,
.el-icon-document {
  cursor: pointer;
}
.el-icon-edit-outline {
  vertical-align: bottom;
}

/* 级联选择框的高度调整 */
.el-cascader-panel {
  height: 300px;
}

/* 居中样式*/
.fc {
  display: flex;
  justify-content: center;
  align-items: center;
}

.f20{
  font-size: 14px;
}

/* 表单项间距 */
.el-form-item__content {
  line-height: 32px !important;
}

.padding0Label {
  margin-bottom: 0.875em !important;
  label {
    line-height: 32px;
    padding-bottom: 0px !important;
    display: block !important;
  }
}
.padding0InlineLabel {
  margin-bottom: 0.875em !important;
  label {
    line-height: 32px;
    padding-bottom: 0px !important;
  }
}
.padding0TextAreaLabel {
  margin-bottom: 0.875em !important;
  label {
    line-height: 32px;
    padding-bottom: 0px !important;
  }
}

//tabs 页签
.el-tabs__header {
  margin: 0;
}

//滚动条
.obpm-reports,
.obpm-task {
  height: 100%;
  .el-scrollbar .el-scrollbar__wrap {
    overflow-x: hidden;
  }
}

// 滚动条无法滚动
.el-scrollbar__wrap {
  height: 100%;
  .el-scrollbar__view {
    height: 100%;
  }
}

// 菜单详情
.obpm-menuDetail {
  .el-input-number--mini {
    width: 100%;
  }
}

//widget对话框
.dialog-content {
  height: 60vh;
  overflow: auto;
}

//菜单树
.overflowYS {
  overflow-y: scroll;
}
.height100 {
  height: 100%;
}
.menuTree {
  .el-scrollbar__bar {
    right: 0;
  }
  .el-scrollbar .el-scrollbar__wrap {
    overflow-x: hidden;
  }
}
.borderBottom {
  border-bottom: 1px solid #dee2e6;
}
.w20 {
  width: 20px !important;
}
.margin0 {
  margin: 0 !important;
}

.marginT10 {
  margin-top: 10px;
}
.marginL10 {
  margin-left: 10px !important;
}
.marginL20 {
  margin-left: 20px !important;
}
.marginR10 {
  margin-right: 10px !important;
}
.marginR20 {
  margin-right: 20px !important;
}
.marginB10 {
  margin-bottom: 10px !important;
}
.padding0 {
  padding: 0 !important;
}
.paddingRight0 {
  padding-right: 0px !important;
}
.paddingR20 {
  padding-right: 1.25em !important;
}
.paddingLeft10 {
  padding-left: 0.625em !important;
}
.paddingLeft0 {
  padding-left: 0px !important;
}
.paddingLR20 {
  padding-left: 1.25em !important;
  padding-right: 1.25em !important;
}
.paddingT20 {
  padding-top: 1.25em !important;
}
.paddingB10 {
  padding-bottom: 0.625em !important;
}
.adminLogo {
  display: inline-block;
  vertical-align: bottom;
  margin-right: 0.71em;
  width: 3.57em;
  height: 3.57em;
  background: #f5faf7;
  border: 1px solid #e6e6e6;
  .adminLogoImg {
    width: 2.57em;
    height: 2.57em;
    box-sizing: content-box;
    padding: 0.5em;
  }
}
.icon_select {
  width: 43.125em;
  height: 29.625em;
  .el-dialog__body {
    overflow: inherit !important;
    .custonIcon {
      width: 100%;
    }
    @extend .padding0;
    .el-tabs__item.is-top:nth-child(2) {
      padding-left: 1.25em;
    }
  }
  .customIconCon {
    @extend .paddingLR20;
    @extend .paddingT20;
    .el-checkbox {
      @extend .paddingLeft10;
      vertical-align: bottom;
    }
  }
  .custonImgCon {
    @extend .paddingLR20;
  }
  .customIconCheck {
    @extend .paddingR20;
  }
}
.customIconList {
  @extend .paddingLR20;
}
.uploadIcon {
  width: 100%;
  .el-upload {
    width: 100%;
  }
  .el-upload-dragger {
    width: 100%;
    height: 100px;
    .el-icon-upload {
      margin-top: 0.2em;
      margin-bottom: 0px;
    }
    // .el-upload__text em{
    //     color: $mainColor;
    // }
  }
}
.iconImg {
  width: 1.5em;
  height: 1.5em;
  margin: 0.4375em;
  display: block;
  text-align: center;
  line-height: 1.5em;
}
.divRelative {
  position: relative;
  width: 2.375em;
  height: 2.375em;
  margin: 0.3125em;
  display: block;
  border: 1px solid rgba(235, 238, 245, 1);
}
.imgIconCheck {
  border: 1px solid #409eff;
}
.upIconCheck {
  border: 1px solid #409eff;
}
.divAbsolution {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 2.375em;
  height: 2.375em;
  background: rgba(0, 0, 0, 0.5);
}
.font_select {
  .fontContainer {
    @extend .paddingLR20;
    height: 300px;
    overflow-y: scroll;
    .page-header {
      font-size: 16px;
      line-height: 28px;
      font-weight: bold;
    }
    .row {
      @extend .paddingB10;
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
    }
    .fa-hover {
      width: 25%;
      // display: inline-block;
      a {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        display: block;
        color: #222;
        line-height: 32px;
        height: 32px;
        padding-left: 10px;
        border-radius: 4px;
      }
      a:hover {
        background-color: #1d9d74;
        color: #fff;
        text-decoration: none;
        i {
          font-size: 28px;
          vertical-align: -6px;
        }
      }
      .checkedA {
        background-color: #1d9d74;
        color: #fff;
        text-decoration: none;
        i {
          font-size: 28px;
          vertical-align: -6px;
        }
      }
      i {
        width: 32px;
        font-size: 14px;
        display: inline-block;
        text-align: right;
        margin-right: 10px;
      }
    }
  }
}
//弹窗的paddingtop值
.el-dialog__body {
  padding-top: 0;
}
.el-table__body-wrapper {
  .el-table__row {
    cursor: pointer;
  }
}
.creat {
  display: block;
  margin-top: 2px;
  margin-right: 5px;
  width: 15px;
  height: 15px;
  background: url("../images/add.png") no-repeat;
  background-size: 15px 15px;
  cursor: pointer;
}

.pointer {
  cursor: pointer;
}
.batchCreat {
  display: block;
  width: 20px;
  height: 20px;
  background: url("../images/addMore.png") no-repeat;
  background-size: 20px 20px;
  @extend .pointer;
}
.iframeMask {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10;
}
.height85 {
  height: 85%;
}
.relative {
  position: relative;
}
.breadMap * {
  cursor: pointer !important;
}
.el-row {
  position: initial !important;
}
.dflex{
  display: flex;
}

.apiTab>.el-tabs__header .el-tabs__item.is-active{
  color: #046d53 !important;
}
.apiTab>.el-tabs__header .el-tabs__item:not(.is-disabled):hover{
  color: #046d53 !important;
}
.modulesTree {
  .custom-tree-node {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
  }
  .el-tree-node__content:hover {
    .textTree{
      display: block;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      -webkit-line-clamp: 1;
    }
    .delModule,
    .addModule {
      display: inline-block !important;
    }
  }
}
.topSoft .addModule {
  font-size: 14px;
  color: #409eff;
  padding-right: 32px;
  padding-top: 5px;
  float: right;
}
.topSoft:hover {
  .addModule {
    display: inline-block !important;
  }
}
.dialogHeight {
  height: 80%;
  .el-dialog__body {
    height: 76%;
    overflow-y: scroll;
    padding: 1.875em 0 1.875em 1.25em;
  }
}
.el-dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: 0 !important;
  transform: translate(-50%, -50%);
  max-height: calc(100% - 30px);
  max-height: -moz-calc(100% - 30px);
  max-height: -webkit-calc(100% - 30px);
  max-width: calc(100% - 30px);
  max-width: -moz-calc(100% - 30px);
  max-width: -webkit-calc(100% - 30px);
  display: flex;
  flex-direction: column;
}
.el-dialog .el-dialog__body {
  overflow: auto;
  color: #666666;
}
.rolePermission {
  .el-dialog__body {
    padding: 30px 20px;
    .el-tabs__item {
      padding: 0 10px;
    }
    .el-tree {
      > .el-tree-node {
        display: inline-block;
      }
    }
  }
  .el-scrollbar .el-scrollbar__wrap {
    overflow-x: hidden;
  }
  .rolePermissionTabs {
    .el-tabs__content {
      height: calc(100% - 40px);
      height: -moz-calc(100% - 40px);
      height: -webkit-calc(100% - 40px);
      padding: 5px 5px 5px 10px;
    }
  }
  .labelMarginBot0 {
    .el-form-item {
      margin-bottom: 0.5em;
    }
  }
  .rolePermissionModule {
    .el-form-item__label {
      padding-bottom: 0px;
      padding-right: 0.5em;
    }
    .el-form-item__content {
      display: inline-block;
    }
  }
  .widthAuto {
    width: auto !important;
    padding-right: 1em;
    .el-form-item {
      margin-bottom: 0px;
    }
  }
  .selectRoles {
    width: 100%;
    margin: 0.5em 0;
    .el-select__tags {
      max-width: 100% !important;
    }
  }
  .rolePerTipP {
    margin: 0 !important;
    .rolePerTip {
      padding-left: 0.5em;
      font-size: 12px;
      color: #409eff;
    }
  }
  .mainDetail {
    height: calc(100% - 65px);
    height: -moz-calc(100% - 65px);
    height: -webkit-calc(100% - 65px);
  }
}
.dialogPaddingTop0 {
  .el-dialog__body {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
}
.menuTree {
  border-right: 1px solid #dee2e6;
  margin-right: 20px;
}
.metadatamgr .el-scrollbar .el-scrollbar__wrap {
  overflow-x: hidden;
}
.borderR {
  border-right: 1px solid #dee2e6;
}
// 菜单的Tree
.menuTree {
  .el-tree-node__content:hover {
    .custom-tree-node {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-size: 14px;
      padding-right: 8px;
    }
    .delModule,
    .addModule {
      display: inline-block !important;
    }
  }
}
.subFormHeight {
  height: 550px;
}
.undo,
.redo {
  display: block;
  width: 24px;
  height: 24px;
  background: url("../images/undo.png") no-repeat;
  background-size: 24px 24px;
}
.redo {
  background: url("../images/redo.png") no-repeat;
  background-size: 24px 24px;
}
