.salary-edit-calc-content {
  height: 100%;
  display: flex;
  flex-direction: column;

  .salary-flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .weapp-salary-tb-tip {
    padding-top: 0;
    padding-bottom: 0;
    height: 46px;
    margin-bottom: 0;
  }

  .formula-detail-area {
    background: #fff;
    height: 46px;

    .formula-detail {
      padding-left: 8px;
      flex-grow: 1;
      flex-shrink: 1;
      min-height: 46px;
      display: flex;
      align-items: center;
      width: 100%;

      & > span:first-child {
        display: inline-block;
        min-width: 44px;
      }

      & > span:last-child {
        flex: 1;
      }
    }
  }

  .searchAdvanced-condition-hide {
    display: none;
  }

  .searchAdvanced-condition-container {
    background: #FFF;
    margin-bottom: 10px;
    border: 1px solid #e5e5e5;

    .wea-search-buttons {
      border-top: 1px solid #dadada;
      padding: 15px 0;
    }

    .wea-advanced-searchsAd {
      height: 320px;
      overflow: hidden auto;

      .formItem-delete {
        position: absolute;
        top: 0;
        right: -40px;
      }

      .searchAdvanced-commonSelect {
        border-top: 1px solid #ebebeb;
        margin: 0 25px;
        padding: 10px 0;
      }

      .custom-advance-largeSpacing {
        padding-left: 26px;

        .link {
          border: none;
          border-radius: 0;
          padding: 12px 10px 12px 26px;
          color: #2db7f5
        }
      }

    }
  }

  .editCalcTable-layout {
    flex: 1;

    .ant-spin-nested-loading, .ant-spin-container {
      height: 100%;
    }
  }
}

.salary-calculate-esf-layout {

  .titleDialog {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 46px 0 16px;

    .titleCol {
      flex: 1;
      display: flex;
      align-items: center;
    }

    .titleLeftBox {
      .titleIcon {
        color: #fff;
        margin: 0;
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 22px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #F14A2D;
        border-radius: 50%;
      }

      .title {
        font-size: 14px;
        color: #333;
        padding-left: 6px;
      }
    }

    .titleRightBox {
      justify-content: flex-end;
    }
  }

  .wea-slide-modal-title {
    border-bottom: 1px solid #e5e5e5 !important;
  }

  .wea-slide-modal-content {
    height: 100%;

    .salary-calculate-esf-area {
      position: relative;
      background: #f6f6f6;
      height: 100%;
      overflow-y: auto;
      padding: 16px;

      .esf-base-info-form, .wea-title, .wea-content {
        padding: 0;

        .ant-row {
          height: 100%;
        }
      }

      .esf-form-content {
        background: #fff;
        border: 1px solid #e5e5e5;
        border-top: none;
        border-bottom: none;

        .esf-form-item {
          border-bottom: 1px solid #e5e5e5;
        }

        .esf-form-last-item {
          border-right: none !important;
        }

        .esf-form-odd-item {
          border-right: 1px solid #e5e5e5;
        }

        .label {
          color: #666;
        }

        .label, .value {
          display: inline-block;
          line-height: 24px;
          padding: 8px 16px;
          width: 100%;
          overflow: hidden;
          white-space: nowrap;
          text-overflow: ellipsis;
        }
      }

      .wea-new-table {
        background: #FFF;
      }

      .wea-search-group {
        padding: 0;
      }

      //锚点按钮
      .anchor-list-collapsed {
        padding: 0 !important;
      }

      .anchor-list-wrapper {
        position: absolute;
        right: 0;
        margin: 10px 15px 20px;
        padding: 8px 10px;
        overflow: auto;
        background-color: #fff;
        box-shadow: 0 3px 12px 0 rgba(0, 0, 0, .12);
        border-radius: 3px;
        cursor: pointer;

        .anchor-list-collapsed-btn {
          opacity: .5;
          background: #000;
          color: #fff;
          border-radius: 3px;
          width: 30px;
          height: 30px;
          display: flex;
          align-items: center;
          justify-content: center;
          font-size: 16px;
        }

        .anchor-list-header {
          display: flex;
          align-items: center;
          justify-content: flex-end;
          min-width: 130px;
          padding: 5px;
        }

        .anchor-list {
          padding: 0 10px;
          position: relative;
          margin-top: 10px;
          transition: margin-top .3s;
          max-height: 80vh;
          overflow: auto;

          .anchor-list-ink {
            position: absolute;
            top: 0;
            left: 5px;
            height: 100%;

            .anchor-list-ink-ball.visible {
              display: inline-block;
            }

            .anchor-list-ink-ball {
              position: absolute;
              left: 50%;
              display: none;
              width: 3px;
              height: 8px;
              background-color: #5d9cec;
              border: 1.5px solid #5d9cec;
              border-radius: 8px;
              transform: translateX(-50%);
              transition: top .3s ease-in-out;
            }
          }

          .anchor-list-ink:before {
            position: relative;
            display: block;
            width: 1px;
            height: 100%;
            margin: 0 auto;
            background-color: #f0f0f0;
            content: " ";
          }

          .anchor-list-link {
            padding: 7px 0 7px 10px;
            line-height: 1.143;

            .anchor-list-link-title {
              position: relative;
              display: block;
              overflow: hidden;
              color: #666;
              white-space: nowrap;
              text-overflow: ellipsis;
              transition: all .3s;
              cursor: pointer;
              outline: none;
              text-decoration: none;
              background-color: transparent;
            }
          }

          .anchor-list-link-active > .anchor-list-link-title {
            color: #5d9cec;
          }
        }
      }

    }
  }
}

.calc-update-dialog-layout {
  background: #f6f6f6;

  .wea-search-group {
    padding: 16px;
  }

  .wea-content {
    padding: 0;

    .wea-form-cell-wrapper {
      background: #FFF;
      border: 1px solid #e5e5e5;
      border-bottom: none;

      .wea-form-cell {
        border-bottom: 1px solid #e5e5e5;
      }
    }
  }
}

.infoConfirmDialog {
  .confirm-content {
    width: 100%;
    height: 100%;
    padding: 16px;
    overflow: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    .contract {
      text-align: center;
      flex-grow: 1;
      flex-shrink: 1;
    }

    .confirm-container {
      flex-grow: 0;
      flex-shrink: 0;
      margin-top: 8px;
      width: 100%;

    }
  }
}

.loadingLayout {
  width: 100%;
  height: 100%;
  text-align: center;
  border-radius: 4px;
  padding: 30px 50px;
  margin: 20px 0;
}
