.custom-icon {
  font-size: 26px;
}

.ant-layout-header {
  height: 50px;
  line-height: 50px;
}

.fluid {
  .tabs-container.affixed.head.fluid {
    left: 0;
    right: 0;
    padding: 6px 2px 0;
  }
}

.vxe-grid--form-wrapper {
  .el-card__body {
    padding: 0;

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

.vxe-tools--wrapper {
  .el-link {
    color: #444;
    //background: #fafafa;
    background-repeat: repeat-x;
    border: 0 solid #bbb;
    background: -webkit-linear-gradient(top, #ffffff 0, #eeeeee 100%);
    background: -moz-linear-gradient(top, #ffffff 0, #eeeeee 100%);
    background: -o-linear-gradient(top, #ffffff 0, #eeeeee 100%);
    background: linear-gradient(to bottom, #ffffff 0, #eeeeee 100%);
    background-repeat: repeat-x;
    -moz-border-radius: 5px 5px 5px 5px;
    -webkit-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
    background: #95B8E7;
    background-repeat: repeat-x;
    background: -webkit-linear-gradient(top, #ffffff 0, #eeeeee 100%);
    background: -moz-linear-gradient(top, #ffffff 0, #eeeeee 100%);
    background: -o-linear-gradient(top, #ffffff 0, #eeeeee 100%);
    //background: linear-gradient(to bottom, #ffffff 0, #eeeeee 100%);
    background: linear-gradient(to bottom, #ffffff 0, #d7d7da 100%);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff, endColorstr=#eeeeee, GradientType=0);

    .el-link--inner {
      display: inline-block;
      position: relative;
      overflow: hidden;
      padding: 2px;
      vertical-align: top;
      width: auto;
      line-height: 20px;
      //font-size: 12px;
      margin: 0 2px;
    }
  }
}

.form-item-anchor {
  flex: 1;
  display: inline-block;
  text-align: left;
  height: 35px;
  line-height: 35px;

  a {
    i {
      padding-right: 3px;
    }

    color: #5a6268 !important;
    margin-right: 20px;
    text-decoration: none;
  }

  a.active {
    color: #0053d6 !important;
  }
}

.cms-page-button {
  display: flex;
  flex-direction: row;

  .form-item-button {
    width: auto;
    display: inline-block;
    text-align: right;
  }
}


.el-card__header {
  padding: 10px 20px !important;
  border-bottom: 1px solid #EBEEF5;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  background: #FFFFFF !important;

  .el-icon-info {
    margin-right: 5px;
  }
}

.no-buttons {
  > .el-card__body {
    height: calc(100vh - 2px) !important;
    overflow-y: auto;
    padding-top: 10px;
    overflow-x: hidden;
  }
}

.cms-page-form {

  .el-collapse {
    padding: 0;
    border-top: 0;
    border-bottom: 0;

    .el-collapse-item-d {
      margin-bottom: 5px;
    }

    .el-collapse-item__wrap {
      border-left: 2px dotted #ebeff4;
      border-right: 2px dotted #ebeff4;
      border-bottom: 2px dotted #ebeff4;
    }
  }

  .el-collapse-item__header {
    background: #ebeff4;
    height: 40px;
    line-height: 40px;
    padding: 0 10px;

    .el-collapse-item__header.is-active {

    }

    //padding: 5px 0;
  }

  > .el-card__body {
    height: calc(100vh - 100px);
    overflow-y: auto;
    overflow-x: hidden;
    border: 0;
    padding: 10px;
  }

  .edit-page-form {
    padding: 0 !important;
    margin: 0;
  }

  .role-right {
    height: calc(100vh - 120px);

    .el-collapse-item__wrap {
      height: calc(100vh - 150px);
    }
  }

  .cms-page-button {
    position: fixed;
    bottom: 0;
    right: 0;
    padding: 5px 5px 1px;
    width: 100%;
    text-align: right;
    background-color: #ebeef5;;

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

// table样式--end
.link-url {
  color: #1d50db;
  text-decoration: underline;
  cursor: pointer;
}

.link-code {
  color: #1d50db;
}

.state-amount {
  color: #f45f49;
}

.state-minor {
  color: #808080;
}

.state-process {
  color: #1d50db;
}

.state-success {
  color: #16c352;
}

.state-save {
  color: #808080;
}

.state-refuse {
  color: #ff3315;
}

.operation-btn-default {
  color: #1d50db;

  &.is-disabled {
    color: #bbbbbb;
  }
}

.vxe-body--row .vxe-body--column {
  padding: 5px 0 !important;
}

.ant-message-notice-content,
.ant-message-notice,
.ant-message {
  z-index: 9999 !important;
}

.table-setting {
  padding: 0 !important;
  max-width: 400px;

  .el-tab-pane {
    padding: 5px;
  }

  .el-form-item__content {
    vertical-align: middle !important;
  }

  .el-radio {
    margin-right: 10px;
  }

  .cms-card {
    padding: 4px 6px;
    border: 2px dashed #b8bbc4;
    position: relative;;
    max-height: 400px;
    overflow-y: auto;

    .cms-card-left, .cms-card-right {
      * {
        font-size: 10px;
      }
    }
  }
}

.vxe-table--render-default.size--medium .vxe-body--column.col--ellipsis, .vxe-table--render-default.size--medium .vxe-footer--column.col--ellipsis, .vxe-table--render-default.size--medium .vxe-header--column.col--ellipsis, .vxe-table--render-default.vxe-editable.size--medium .vxe-body--column {
  height: 48px !important;
}

button:focus {
  //outline: 1px dotted;
  outline: none;
}

.el-message-box__title {
  padding-left: 0;
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1;
  color: #303133;
}


body {

  .cms-quick-popove-collapse {
    background: #545c64 !important;
    left: 230px !important;
    min-height: 200px;
    overflow-y: auto;


    .el-popover__title {
      border-bottom: 1px solid #f2f2f2;
      padding-bottom: 15px;
      color: var(--bg-menuBarColor) !important;
      transition: none !important;
    }

    .cms-quick-popover-content-collapse {
      left: 110px !important;
      min-height: 200px;
      padding: 0 10px 0 0;
      max-height: calc(100vh - 200px);
      overflow-y: auto;
      color: var(--bg-menuBarColor) !important;
      transition: none !important;

      .el-card__body,
      .el-card__header {
        background: #545c64 !important;
      }

      .el-card__header {
        .clearfix {
          * {
            color: var(--bg-menuBarColor) !important;
          }
        }
      }

      a {
        line-height: 30px;
        // color: blue;
        color: var(--bg-menuBarColor) !important;
        padding: 5px;
        text-decoration: none;

        * {
          color: var(--bg-menuBarColor) !important;
        }
      }
    }

    .popper__arrow {
      left: 120px !important;
      background-color: #545c64;
    }
  }

  .cms-quick-popover {
    background: #545c64 !important;
    left: 74px !important;
    min-height: 200px;
    overflow-y: auto;
    padding-right: 10px;

    .el-popover__title {
      // border-bottom: 1px solid #f2f2f2;
      padding-bottom: 15px;
      color: var(--bg-menuBarColor) !important;
      transition: none !important;
    }

    .popper__arrow {
      left: 130px !important;
      background-color: #545c64;
    }

    // .el-divider__text.is-left {
    //   background: #545c64 !important;
    // }

    // .el-divider__text {
    //   color: var(--bg-menuBarColor) !important;
    //   transition: none !important;
    //   padding: 0 5px;
    // }

    // .el-divider {
    //   background-color: rgb(255 255 255) !important;
    // }

    .cms-quick-popover-content {
      min-height: 200px;
      max-height: calc(100vh - 200px);
      overflow-y: auto;
      color: var(--bg-menuBarColor) !important;
      transition: none !important;
      padding: 0 10px 0 0;

      .el-card__body,
      .el-card__header {
        background: #545c64 !important;
      }

      .el-card__header {
        .clearfix {
          * {
            color: var(--bg-menuBarColor) !important;
          }
        }
      }

      a {
        line-height: 30px;
        // color: blue;
        color: var(--bg-menuBarColor) !important;
        padding: 5px;
        text-decoration: none;

        * {
          color: var(--bg-menuBarColor) !important;
        }
      }
    }
  }
}

.cms-collect-menu {
  ul {
    li {
      list-style: none;
      line-height: 40px;
      height: 50px;
      float: left;
      padding: 4px 10px;

      a {
        text-decoration: none;

        i {
          padding-right: 3px;
        }
      }
    }
  }
}

.cms-collect-menu-dialog {
  .el-dialog__header {
    border-bottom: 1px solid #f2f2f2;
  }

  .el-dialog__footer {
    border-top: 2px solid #f2f2f2;
    padding: 10px 20px 10px;
  }

  .el-dialog__body {
    padding: 10px;
  }

  .el-form--label-top .el-form-item__label {
    padding: 0;
    border-bottom: 2px solid #409eff;
    width: 100%;
  }
}

.el-button--mini i.fa, .el-button--mini i.iconfont, .el-button--small i.fa, .el-button--small i.iconfont {
  font-size: 13px !important;
  margin-right: 5px;
  margin-top: -3px !important;
}

body {
  overflow-x: hidden;
}

.vxe-modal--content {
  overflow-x: hidden;
  padding: 10px;

  .edit-form-main {
    padding: 15px !important;
  }
}

.el-form-item {
  margin-bottom: 20px;

  .el-form-item__error {
    margin-top: -15px;
  }
}

.cms-search-form {
  .el-form-item {
    margin-bottom: 20px;

    .el-form-item__error {
      margin-top: -7px;
    }
  }

}

.cms-page-form {
  .el-form-item {
    margin-bottom: 20px;

    .el-form-item__error {
      margin-top: 0;
    }
  }

  .el-rate {
    height: 45px;
    line-height: 45px;
  }
}

.vxe-pulldown--panel {
  padding: 0 !important;
  border: none !important;
}

.custom-class-input {

}