@import '~@/styles/jgElement-ui.scss';

.el-menu--horizontal {
  display: flex;
  background: none !important;
}

.tableClass {
  .el-table {
    border: none !important;
    border-radius: 0 !important;
    background-color: rgba(0, 0, 0, 0);

    .el-table__header-wrapper {
      border-right: none;

    }

    .el-table__row .cell {
      color: #8DEAF9 !important;
      font-weight: 100 !important;
    }

    .el-table__row {
      background: rgba(0, 0, 0, 0) !important;
    }

    thead {
      background: #073781;
      border-radius: 2px;
      height: 42px;

      & th {
        //inherit:规定应该从父元素继承 background-color 属性的设置。
        //transparent:默认。背景颜色为透明。
        // background-color: inherit !important;
        background-color: transparent;
        color: #02D9FD;
      }

      & tr {
        // background-color: inherit !important;
        background-color: transparent;
      }
    }
  }
}

//*****start*通用表单查询条件,列表样式******//
.bgc {
  box-shadow: inset 0px 0px 8px 0px rgba(255, 255, 255, 0.5);
  background-color: rgba(0, 0, 0, 0);
}

.from-clues {
  height: 100%;
  width: 100%;
  // min-width: 1280px;
  box-sizing: border-box;
  overflow-x: hidden;
  padding: 2px;

  &-header {
    width: 100%;
    padding: 5px 30px 20px 24px;
    box-sizing: border-box;
    background: url("~@/image/formHeader.png") no-repeat;
    background-size: 100% 100%;
    margin-top: 15px;

    .el-form-item__label {
      color: #E3F1FF;
    }

    .el-input__inner {
      background: #07388B;
      border-radius: 2px;
      color: #CEF8FF !important;
      border: 1px solid #6BC1FC;
    }

    .el-input__inner::placeholder {
      color: #92BEDC !important;
    }
  }

  .el-dialog__close {
    font-size: 0;
  }

  .el-form-item {
    display: flex;
    width: 100%;
  }

  .advanced-search {
    display: flex;
    font-size: 12px;
    flex-wrap: wrap;
    padding-top: 5px;
    height: 30px;

    span {
      display: flex;
      align-items: center;
    }

    i {
      color: $light-blue;
      margin-left: 5px;
      cursor: pointer;
    }

    ul {
      display: flex;
      align-items: center;

      li {
        color: $light-blue;
        border: 1px solid $light-blue;
        border-radius: 10px;
        padding: 2px 8px;
        line-height: 16px;
      }
    }

    .clean-btn {
      margin-left: 10px;
    }
  }

  &-content {
    width: 100%;
    box-sizing: border-box;
    margin-top: 15px;
    background: url("~@/image/formContent.png") no-repeat;
    background-size: 100% 100%;
    padding: 22px 42px 20px;
    //修改表头的背景颜色横向渐变色
    @extend .tableClass;

    .el-pagination__total {
      color: #FFFFFF;
    }

    .el-pagination {
      .el-input__inner {
        color: #FFFFFF;
        border: none;
        @extend .bgc;
      }

      .el-pager li:not(.disabled).active {
        box-shadow: inset 0px 0px 12px 0px #02D9FD;
        border-radius: 1px;
        border: 1px solid #02D9FD;
        background-color: rgba(0, 0, 0, 0);
      }

      .el-pager li {
        @extend .bgc;
        color: #FFFFFF;
      }
    }
  }



  .el-form--inline .el-form-item {
    width: auto;
    margin-right: 0px;

    .el-form-item__content {
      width: auto;
    }
  }



  .el-form-item--small.el-form-item {
    margin-bottom: 0px;
  }
}

.el-pagination.is-background .btn-prev,
.el-pagination.is-background .btn-next {
  @extend .bgc;
  color: #FFFFFF;
}


//*****end*通用表单查询条件,列表样式******//
.el-range-separator {
  line-height: 28px !important;
}

.width200px {
  width: 200px;
}

.width300px {
  width: 300px;
}


.slxx_title {
  border-bottom: 1px solid $borderColor;
  padding-left: 10px;
  padding-bottom: 5px;
  margin-bottom: 10px;
  margin-top: 5px;
  font-size: 16px;
  font-weight: 500;
  color: #4a4a4a;
}

// 搜索框按钮的位置
.btnColRight {
  box-sizing: border-box;
  text-align: right;
}

// 修改弹框样式
.modifydialog {
  .el-dialog__header {
    text-align: center;
    margin-bottom: 10px;

    .el-dialog__title {
      color: white;
    }
  }

  .el-form-item__label {
    color: white;
  }

  .el-input__inner {
    background-color: #07388b;
  }

  .el-input__inner {
    background: #07388b;
    border-radius: 2px;
    border: 1px solid #6bc1fc;
  }

  .el-textarea__inner {
    background: #07388b;
    color: #fff;
  }

  .el-form-item__label {
    color: #fff;
  }

  .el-dialog__header {
    text-align: center;
    margin-bottom: 10px;

    .el-dialog__title {
      color: white;
    }
  }
}

// 角色配置
.roleconfiguration {
  .el-dialog__body {
    display: flex;
    flex-direction: column;
  }

  .el-tabs {
    color: #cef8ff;
  }

  .sjmx {
    .el-tabs__item {
      height: 50px;
      padding-top: 6px;
    }
  }

  .el-tabs__item {
    color: #cef8ff !important;

    display: flex;
    flex-direction: row;
    justify-content: center;
    background: url("~@/image/tabitem.png") no-repeat;
    background-size: 100% 100%;
    border: none !important;
  }

  .obligee-item-name {
    background: #05275b;
    color: #ffffff;
    background: url("~@/image/itembg.png") no-repeat;
    background-size: 100% 100%;
  }

  .el-tabs__nav-scroll {
    background: none;
  }

  .el-tabs__nav {
    display: flex;
    border: none !important;
  }

  .el-tabs__item.is-top {
    border: 1px solid #dfe4ed;
    border-top: 1px solid #dfe4ed;
    border-bottom: 1px solid transparent;
  }

  .el-tabs__header {
    border: none;
    margin-bottom: 0;
  }

  .el-tabs__item.is-top:not(:last-child) {
    margin-right: 5px;
  }

  .el-tabs__item.is-top {
    background-color: none !important;
  }

  .el-tabs__item.is-active {
    background: url("~@/image/tabitemse.png") no-repeat;
    background-size: 100% 100%;
  }

  .success-images {
    width: 30px;
    height: 30px;
    position: relative;
    top: 10px;
    right: 3px;
  }

  .tab-pane-item {
    line-height: 20px;
    color: #02d9fd;

    p {
      text-align: center;
    }
  }

  .edit-content {
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 1px;
    margin-bottom: 10px;
    border-top: none;
  }

  .editDialogBox {
    border-radius: 8px;
    overflow: hidden;
    min-width: 1228px;
    height: 825px !important;

    .dialog-from {
      padding: 13px;
      border-radius: 2px;
      box-sizing: border-box;

      .el-row {
        display: flex;
        flex-wrap: nowrap;
      }

      .el-col {
        line-height: 18px;
        display: flex;
        align-items: center;
        margin-bottom: 3px;
        color: #b5d6dc;
        border-radius: 2px;
        border: 1px solid #224c7c;
        margin: 5px;

        span {
          display: inline-block;
          padding: 3px;
          border-radius: 3px;
          overflow: hidden;
          white-space: nowrap;
          text-align: left;
          color: #02d9fd;
        }

        p {
          flex: 1;
          width: 100%;
          padding-left: 5px;
          line-height: 20px;
          color: #c0c4cc;
          cursor: not-allowed;
          white-space: nowrap;
          margin-right: 5px;
          text-align: right;
        }
      }
    }

    .dialog_title {
      display: flex;
      position: relative;
      font-size: 24px;
      top: -8px;
      width: 38%;
      height: 40px;
      margin-left: 28px;
      justify-content: center;
    }

    .el-dialog__header {
      display: flex;
      margin-bottom: 10px;
    }

    .el-dialog__footer {
      padding-right: 40px;
    }

    .divider {
      width: 100%;
      border-bottom: 1px solid #ccc;
    }

  }

  .el-dialog__wrapper {
    overflow: hidden;
  }

  .el-table {
    background: none;

    th.el-table__cell {
      background-color: #073781;
      color: #02d9fd;
    }

    tr {
      background: none;

      td {
        color: white;
      }
    }
  }
}

// 面包屑
.breadcrumb {
  width: 80%;
  text-indent: 10px;
  background: url("~@/image/breadcrumb.png") no-repeat;
  background-size: 100% 100%;
  line-height: 32px;
  height: 32px;
  padding-left: 35px;
  margin: 8px 0 10px 6px;
  color: #CEF8FF;
}

.el-icon-arrow-right {
  width: 2px;
  position: relative;
  left: 10px;
  color: #FFFFFF;
}

.el-breadcrumb__inner {
  color: #CEF8FF !important;
}

.breadcrumb1366 {
  padding: 10px 0 !important;
}

.cur-location {
  font-size: 16px;
  color: white;
  line-height: 40px;
  float: left;

  img {
    position: relative;
    top: 3px;
    margin-right: 4px;
  }
}

.el-breadcrumb__inner a,
.el-breadcrumb__inner.is-link {
  color: white;
  cursor: text;
  font-weight: normal;
}

.button {
  width: 76px;
  height: 32px;
  color: #ffffff;
  cursor: pointer;
  border: 0;
  font-size: 12px;
}

.button:hover {
  //   width: 76px;
  //   height: 32px;
  //   color: #ffffff;
  //   cursor: pointer;
  //   border: 0;
  //   font-size: 12px;
  // background: none;
}

.cx {
  background: url("../image/btn.png") no-repeat 0 -34px;
  background-size: cover;
}

.cx:hover {
  background: url("../image/btn.png") no-repeat 0 -34px;
  background-size: cover;
  color: white;
}

.cz {
  background: url("../image/btn.png") no-repeat 0 0;
  background-size: cover;
}

.cz:hover {
  background: url("../image/btn.png") no-repeat 0 0;
  background-size: cover;
  color: white;
}

.el-button:focus {
  background: none;
}

.cx:focus {
  background: url("../image/btn.png") no-repeat 0 -34px;
  background-size: cover;
  color: white;
}

.cz:focus {
  background: url("../image/btn.png") no-repeat 0 0;
  background-size: cover;
  color: white;
}

// 监管弹框样式
.dialogBox {
  overflow: hidden;
  background: url("~@/image/dialogBg.png") no-repeat !important;
  background-size: 100% 100% !important;
  // min-height: 90vh;

  .dialog_title {
    display: flex;
    position: relative;
    font-size: 22px;
    top: -10px;
    width: 38%;
    height: 40px;
    margin-left: 28px;
    justify-content: center;
    white-space: nowrap;

    b {
      font-weight: 200;
      display: inline-block;
      position: relative;
      font-size: 24px;
      top: -11px;
      width: 38%;
      height: 40px;
      margin-left: 28px;
      // @include flex-center;
      display: flex;
      justify-content: center;
    }
  }

  .dialog_full {
    position: absolute;
    top: 0;
    right: 30px;
  }

  .el-dialog__body {
    max-height: 88vh;
    overflow-x: hidden;
    overflow-y: hidden;
  }

  .dialog_footer {
    margin-bottom: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .dialogBox-content {
    height: auto
  }

  .editDialogBox-box {
    background: #031A46;
    box-shadow: inset 0px 0px 12px 0px #02D9FD;
    border-radius: 2px;
    border: 1px solid #6BC1FC;
    margin: 0 18px 10px 18px;
  }

  .item-content-input {
    /deep/.el-input__inner {
      border: none !important;
      text-align: right;
    }
  }

  .regularHeight {
    display: flex;
    flex-direction: column;
    height: 87vh;

    .editDialogBox-con,
    .JsonEditor {
      flex: 1;
      height: 100%;
    }
  }

  .dialog-from {
    padding: 13px;
    border-radius: 2px;
    box-sizing: border-box;

    .el-row {
      display: flex;
      flex-wrap: nowrap;
    }

    .el-col {
      line-height: 18px;
      display: flex;
      align-items: center;
      margin-bottom: 3px;
      color: #B5D6DC;
      border-radius: 2px;
      border: 1px solid #224C7C;

      span {
        display: inline-block;
        padding: 3px;
        border-radius: 3px;
        overflow: hidden;
        white-space: nowrap;
        text-align: left;
        color: #02D9FD;
      }

      p {
        flex: 1;
        width: 100%;
        padding-left: 5px;
        line-height: 20px;
        color: #c0c4cc;
        cursor: not-allowed;
        white-space: nowrap;
        margin-right: 5px;
        text-align: right;
      }
    }

  }

  .el-textarea__inner {
    border: 1px solid #224C7C;
    margin: 0 0 10px 0 !important;
    width: 100% !important;
    color: #dadde3 !important;
    background: transparent !important;
  }

  .el-input__inner {
    border: 1px solid #224C7C !important;
    margin: 0 !important;
    width: 100% !important;
    color: #dadde3 !important;
    background: transparent !important;
  }

  .el-dialog__header {
    color: #FFFFFF;
    height: 46px !important;
    width: 97%;
    margin: 0 auto;
    margin-top: 2px;
  }

  .el-dialog__body {
    padding-top: 0;
    padding-bottom: 0;
    // height: 95vh;
  }

  .el-dialog__headerbtn {
    width: 42px;
    height: 20px;
    background: url("~@/image/closebg.png") no-repeat;
    background-size: 100% 100%;
    right: 40px;
    top: 33px;

    &:hover {
      box-shadow: inset 0px 0px 12px 0px #02D9FD;
    }
  }

  .el-dialog__close {
    font-size: 0;
  }

  .el-form-item {
    display: flex;
    width: 100%;
  }

}
.contentCenter {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(calc(-50% + 85px), -50%);
}

.mainCenter {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  // 展开收起按钮位置
  .el-input__suffix {
    right: 10px;
  }
}