.zIndex0-payroll-release {
  .wea-new-top-req {
    z-index: 0 !important;
  }
}

.salary-payroll-main-page {
  min-width: 1000px;
  overflow: auto;
  width: 100%;
  height: 100%;
  background: #f6f6f6;

  .payroll-btn-flex {
    display: flex;
    align-items: center;

    .wea-input-focus {
      margin-top: -4px;
    }
  }

  .wea-new-top-req {
    z-index: 0 !important;
  }

  .wea-new-top-req-wapper .wea-new-top-req-title > div:last-child {
    right: 16px;
  }

  .salary-payroll-content {
    padding: 8px 16px;
    height: 100%;
    overflow-y: auto;

    & > .wea-search-group {
      background: #FFF;
    }

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

    .payroll-title-flex {
      display: flex;
      align-items: center;
      justify-content: space-between;
      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;

        & > button:not(:last-child) {
          margin-right: 10px;
        }
      }
    }

    .payroll-tmpl-layout .clipper {
      background: #f6f6f6;
    }

    .payroll-tmpl-content {
      padding: 16px;
      border-top: 1px solid #e5e5e5;
      background: #f6f6f6;

      .wea-search-group {
        background: #FFF;
        padding: 0;

        .wea-title {
          background: #F6F6F6;
          border-bottom: none;
        }

        .wea-form-cell {
          padding: 0;
        }

        .wea-content {
          padding: 0;

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

            .wea-form-item {
              padding: 5px 16px;
              border-bottom: 1px solid #e5e5e5;
            }
          }
        }

        .customSm-wrapper {
          position: relative;
          z-index: 0;
          background: transparent;

          .wea-textarea-normal {
            position: relative;
            z-index: -1;
          }
        }
      }

      .sendTime-outer {
        background: #fff;
        padding: 5px 16px;
        border-bottom: 1px solid #e5e5e5;
        border-left: 1px solid #e5e5e5;
        border-right: 1px solid #e5e5e5;

        .customTimeCompWrapper {
          display: flex;
          justify-content: flex-start;

          & > div {
            margin-right: 10px;
            display: flex;
            align-items: center;

            .wea-select {
              width: 80px;
              margin: 0 10px;
            }
          }
        }
      }

      .sft-variables {
        display: flex;
        align-items: center;
        margin-left: 10px;
        position: absolute;
        top: 25%;
        right: -262px;
        margin-top: -2px;

        .sftv-item {
          margin-right: 8px;
          padding: 0;
          color: #5d9cec;
          background-color: transparent;
        }
      }

      .salarySetTitle {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
      }
    }
  }
}

.payroll-dialog-layout {
  background: #f6f6f6;

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

  .wea-select, .ant-select-selection, .ant-select {
    width: 100%;
  }

  .wea-select {
    display: inline-block;
    position: relative;
  }

  .ant-select-selection {
    height: 30px;
    border-radius: 0;
  }

  .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;
      }
    }
  }
}

.smsSettingDialog {
  .smsSettingCont {
    padding: 16px;
    background: #f6f6f6;
    height: 100%;
    overflow-y: auto;

    .ant-row {
      background: #fff;
      height: 100%;

      & > div {
        height: 100%;
      }

      & > div:first-child {

        .react-codemirror2, .CodeMirror {
          height: 100% !important;
        }

        span {
          font-family: Liberation Mono, LiberationMonoRegular, Courier New, monospace;
        }

        .CodeMirror-code {
          font-size: 16px;


        }

        .CodeMirror-scroll {
          overflow-x: visible !important;
          padding: 4px;
        }

        .CodeMirror-sizer {
          margin-left: 0 !important;
        }

        .CodeMirror-gutters {
          border-right: none;
          background-color: #f7f7f7;
          opacity: 0;
          display: none;
        }
      }

      & > div:last-child {
        border-left: 1px solid #e5e5e5;
        display: flex;
        flex-direction: column;

        .smsSetting-var-header {
          display: flex;
          padding: 10px 16px;
          border-bottom: 1px solid #e5e5e5;

          .smsSetting-var-header-title {
            flex: 1;
            font-weight: 600;
          }
        }

        .smsSetting-var-header-content {
          flex: 1;
          overflow: hidden auto;
          padding: 0 16px;
          position: relative;
        }
      }
    }
  }
}
