// -------- Theme Colors -----------
@primary-color: #2196F3;                         // 全局主色
@link-color: #1890ff;                            // 链接色
@success-color: #52c41a;                         // 成功色
@warning-color: #faad14;                         // 警告色
@error-color: #f5222d;                           // 错误色
@font-size-base: 13px;                           // 主字号
@heading-color: rgba(0, 0, 0, .85);              // 标题色
@text-color: rgba(0, 0, 0, .65);                 // 主文本色
@text-color-secondary : rgba(0, 0, 0, .45);      // 次文本色
@disabled-color : rgba(0, 0, 0, .25);            // 失效色
@border-radius-base: 4px;                        // 组件/浮层圆角
@border-color-base: #ececec;                     // 边框色
@box-shadow-base: 0 2px 8px rgba(0, 0, 0, .15);  // 浮层阴影

// -------- Custom Colors -----------
@custom-blue-1: #2196F3;
@custom-gray-1: #252a2f;
@custom-white-1: rgba(255,255,255,1);
@custom-white-2: rgba(255,255,255,.6);
@custom-height-1: 50px;
@custom-width-1: 50px;
@custom-fontcolor-1: rgba(0, 0, 0, 0.65);
@custom-dark-header: #171717;
@custom-gray-font: #cdcdcd;
@custom-dark-sidebar: #222628;
@custom-dark-sidebar-font: #252a2f;
@custom-primary-color: #2196F3;
@custom-menu-primary-color: #2196F3;
@custom-menu-select-color: #2196F3;
@custom-menu-select-font-color: #fff;
@custom-menu-item-active-bg: color(~`colorPalette('@{custom-menu-primary-color}', 1) `);
@custom-modal-header-background: #fff;
@custom-modal-header-color: rgba(0,0,0,.85);
@custom-detail-component-title-background: #fafafa;
@custom-detail-component-title-border-color: #fafafa;
@custom-header-logo-background: none;
@custom-table-tr-odd-background: #ffffff;
@custom-table-tr-even-background: #ffffff;
@custom-detail-color: rgba(0,0,0,.65);
// -------- Modal垂直居中 -----------
.vertical-center-modal {
  display: flex;
  align-items: center;
  justify-content: center;
}
.vertical-center-modal .ant-modal {
  top: 0;
  position: static;
  margin: 0;
}
.noPadding .ant-modal-body {
  padding: 0;
}
// 全局公共组件可变样式
.cmsp-default__header{
  background:@custom-dark-header;
  height:@custom-height-1;
  color:@custom-gray-font;
  box-shadow: 0 2px 2px 0 rgba(68,68,68,0.04);
}
.cmsp-default__sidebar{
  background:@custom-dark-sidebar;
  color:@custom-gray-font;
  box-shadow: 2px 0 2px 0 rgba(68,68,68,0.04);
  li{
    position:relative;
    a{
      display: block;
      padding:10px 0;
      color:@custom-fontcolor-1
    }
    a:hover{
      color:@custom-fontcolor-1
    }
    .menu-arrow{
      position:absolute;
      right:0;
      margin-left: 110px;
      width: 0;
      height: 0;
      top:15px;
      border: 6px solid;
      border-color: transparent #fff transparent transparent;
      transform: rotate(360deg);
    }
    .menu-arrow-none{
      display: none;
    }
  }
}
.cmsp-default__sidebar-second{
  background:@custom-white-1;
  color:@custom-fontcolor-1;
  box-shadow: 2px 0 2px 0 rgba(68,68,68,0.04);
}
.cmsp-default__header-logo{
  position: absolute;
  left: 0px;
  width: 200px;
  text-align: left;
  padding-right: 41px;
  background: @custom-header-logo-background;
  height: 50px;
  padding-top: 10px;
  padding-left: 15px;
  a{
    color:@custom-fontcolor-1;
  }
}
.cmsp-default__header-nav-wrap{
  position:absolute;
  right:10px;
}
.cmsp-default__nav{
  height:@custom-height-1;
}
.cmsp-default__nav{
  display: flex;
  align-items: center;
  i{
    font-size:18px;
  }
}
.cmsp-default__nav>li{
  display: inline-block;
  vertical-align: middle;
}
.cmsp-default__nav-item{
  position:relative;
  cursor: pointer;
  padding: 8px 5px;
  min-width:40px;
  margin:0 5px;
  transition: background-color .3s;
  outline: 0;
  text-align: center;
}
.cmsp-default__nav-item:hover{
  background:rgba(255,255,255,.1);
  border-radius: 4px;
}
.cmsp-default__nav-avatar{
  cursor: pointer;
}
// 切换主题
//.change(@themeColor: #2196F3){
//  @primary-color: @themeColor;
//  .parentClass{
//    color:@primary-color;
//  }
//  .ant-btn-primary {
//    color: #fff;
//    background-color: @primary-color;
//    border-color: @primary-color;
//    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.12);
//    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.035);
//  }
//  .cmsp-default__header-logo{
//    font-size:20px;
//    a{
//      color:@primary-color;
//    }
//  }
//}
//.theme-red{
//  .change(#f00);
//}
//.theme-golden{
//  .change(#D29A04);
//}
// 覆盖ANTD源样式
@custom-pagination-size-base:28px;
.ant-menu-inline, .ant-menu-vertical, .ant-menu-vertical-left{
  border-right:0;
}
.general-query__search-high-search .ant-btn span{
  margin-left:2px !important;
}
.table-container .ant-table-thead > tr > th.ant-table-column-has-actions.ant-table-column-has-sorters:hover{
  background: #F9FBFF;
}
.table-container .ant-table-thead > tr > th{
  padding:10px 16px;
  background: #F5f7f9;
}
.table-container .ant-table-tbody > tr > td{
  padding:10px 16px;
}
.table-container .ant-pagination{
  padding-right:15px;
}
.table-container .ant-pagination-item{
  min-width: @custom-pagination-size-base;
  height:@custom-pagination-size-base;
  line-height: @custom-pagination-size-base - 2;
}
.table-container .ant-pagination-prev, .table-container .ant-pagination-next, .table-container .ant-pagination-jump-prev, .table-container .ant-pagination-jump-next{
  min-width: @custom-pagination-size-base;
  height:@custom-pagination-size-base;
  line-height: @custom-pagination-size-base - 2;
}
.table-container .ant-select-selection--single{
  height:@custom-pagination-size-base;
}
.table-container .ant-select-selection__rendered{
  line-height: @custom-pagination-size-base - 2;
}
.table-container .ant-pagination-options-quick-jumper{
  height:@custom-pagination-size-base;
  line-height: @custom-pagination-size-base;
}
.table-container .ant-pagination-options-quick-jumper input{
  height:@custom-pagination-size-base;
}
.high-search__popover-content .ant-form-item{
  margin-bottom: 0;
}
.nf-dynamic-form .ant-form-item{
  margin-bottom: 0;
}
.high-search__popover-content .ant-calendar-picker, .nf-dynamic-form .ant-calendar-picker{
  width:100% !important;
}
.staff-add__dialog .ant-calendar-picker{
  width:100% !important;
}
.zxxjrgwh .ant-calendar-picker{
  width: 100% !important;
}
@-moz-document url-prefix() {
  .table-container .ant-table-fixed-header .ant-table-scroll .ant-table-header{
    margin-bottom:-50px !important;
  }
}
.high-search__popover-content .ant-select-selection--multiple, .nf-dynamic-form .ant-select-selection--multiple{
  max-height: 33px;
  overflow-y: auto;
}
.general-query__advanced-search-area .ant-select, .nf-dynamic-form .ant-select{
  width:100% !important;
}
.nf-dynamic-form .ant-select{
  //margin-top: 3px;
}
.nf-dynamic-form .select-wrap{
  height:auto;
}
.ant-select-tree-dropdown{
  max-height:300px;
}
.general-query__advanced-search-area .ant-popover{
  position: static;
}
.general-query__advanced-search-area .ant-popover-inner{
  box-shadow: 0 1px 1px 2px rgba(169, 168, 168, .1);
  border-radius: 0;
}
.general-query__advanced-search-area .ant-form-item-control{
  line-height:0;
}
.general-query__advanced-search-area .ant-select-selection__clear{
  right:21px;
}
.nf-dynamic-form .ant-form-item-control{
  line-height:20px;
}
.ant-form-item{
  margin-bottom:12px;
}
.role-menu__tree .ant-tree li span.ant-tree-switcher{
  float:left;
}
.role-menu__tree .ant-tree li span.ant-tree-switcher i{
  font-size: 16px;
}
.ant-modal-body{
  padding:15px;
}
.showProblemDialog .ant-modal-header{
  z-index: 9 !important;
  position: relative !important;
}
.ant-modal-header, .ant-drawer-header {
  background: @custom-modal-header-background;
}
.ant-drawer-header {
  border-radius: 0;
}
.ant-modal-title, .ant-drawer-title, .ant-modal-close, .ant-drawer-close, .ant-modal-close:focus, .ant-modal-close:hover, .ant-drawer-close:focus, .ant-drawer-close:hover  {
  color: @custom-modal-header-color;
}
.showProblemDialog .ant-modal-body {
  margin-top: -62px !important;
  z-index: 1 !important;
}
.ant-table-thead > tr > th.ant-table-selection-column, .ant-table-tbody > tr > td.ant-table-selection-column{
  min-width:30px;
  width:30px;
}
.role-menu__tree .ant-tree li, .role-menu__tree .ant-tree .ant-tree-treenode{
  position: relative;
}
.role-menu__tree .ant-tree .ant-tree-checkbox{
  position: absolute;
  right: 20px;
  top:5px;
}
.ant-input-number{
  width:100% !important;
}
.numeric-input .ant-tooltip-inner {
  min-width: 32px;
  min-height: 32px;
}
.numeric-input .numeric-input-title {
  font-size: 12px;
}
.progress-warning .ant-progress-status-exception .ant-progress-circle-path,.progress-warning .ant-progress-status-success .ant-progress-circle-path{
  stroke: #F0AB29;
}
.progress-warning .ant-progress-circle.ant-progress-status-exception .ant-progress-text,.progress-warning .ant-progress-circle.ant-progress-status-success .ant-progress-text{
  color: #F0AB29;
  font-size:60px;
}
.ant-menu-dark, .ant-menu-dark .ant-menu-sub{
  background:@custom-dark-sidebar;
  color:@custom-dark-sidebar-font;
}
.ant-menu.ant-menu-dark .ant-menu-item-selected, .ant-menu-submenu-popup.ant-menu-dark .ant-menu-item-selected{
  background-color: @custom-menu-select-color;
}
.ant-menu-dark .ant-menu-item-selected{
  color: @custom-menu-select-font-color;
}
.ant-menu-dark .ant-menu-item-active>a, .ant-menu-dark .ant-menu-item-selected .anticon, .ant-menu-dark .ant-menu-item-selected .anticon+span, .ant-menu-dark .ant-menu-item-selected>a, .ant-menu-dark .ant-menu-item-selected>a:hover, .ant-menu-dark .ant-menu-item:hover>a, .ant-menu-dark .ant-menu-submenu-active>a, .ant-menu-dark .ant-menu-submenu-open>a, .ant-menu-dark .ant-menu-submenu-selected>a, .ant-menu-dark .ant-menu-submenu-title:hover>a{
  color: @custom-menu-select-font-color;
}
.ant-menu-dark.ant-menu-dark:not(.ant-menu-horizontal) .ant-menu-item-selected{
  background-color: @custom-menu-select-color;
}
.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected{
  background-color: @custom-menu-item-active-bg;
}
.ant-menu-vertical .ant-menu-item::after, .ant-menu-vertical-left .ant-menu-item::after, .ant-menu-vertical-right .ant-menu-item::after, .ant-menu-inline .ant-menu-item::after{
  border-right: 3px solid @custom-menu-primary-color;
}
.ant-menu-item-active, .ant-menu-item-selected, .ant-menu-item-selected>a, .ant-menu-item-selected>a:hover, .ant-menu-item:hover, .ant-menu-item>.ant-badge>a:hover, .ant-menu-submenu-active, .ant-menu-submenu-title:hover, .ant-menu-vertical .ant-menu-submenu-selected, .ant-menu-vertical .ant-menu-submenu-selected>a, .ant-menu-vertical-left .ant-menu-submenu-selected, .ant-menu-vertical-left .ant-menu-submenu-selected>a, .ant-menu-vertical-right .ant-menu-submenu-selected, .ant-menu-vertical-right .ant-menu-submenu-selected>a, .ant-menu:not(.ant-menu-inline) .ant-menu-submenu-open{
  color:@custom-menu-primary-color;
}
.ant-input-affix-wrapper .ant-input-suffix {
  right: 0px;
}
.ant-table-placeholder{
  border-bottom: none;
}
.ant-alert-info{
  min-height:37px;
}
.ant-pagination {
  padding-right: 15px;
}
.report--nav .ant-select-selection--multiple {
  height: 30px;
}
.report--nav .ant-select-selection--multiple .ant-select-selection__rendered > ul > li{
  height: 25px;
}
.ant-tabs-nav .ant-tabs-tab-active{
  color: @custom-menu-primary-color;
}
.ant-tabs-nav .ant-tabs-tab:active{
  color: @custom-menu-primary-color;
}
.ant-tabs-nav .ant-tabs-tab:hover{
  color: @custom-menu-primary-color;
}
.ant-tabs-ink-bar{
  background-color: @custom-menu-primary-color;
}
.ant-menu-dark .ant-menu-item-selected:hover{
  color:@custom-menu-select-font-color;
}
.schema-form-component-item .schema-detail-component-title,.schema-form-component-item .schema-form-component-title {
  background: @custom-detail-component-title-background;
  border-bottom: 2px solid @custom-detail-component-title-border-color;
  font-weight: 600;
}
.ant-table-thead>tr>th {
  padding: 12px 16px;
  background: #f5f7f9;
}
.table-container .ant-table-column-sorters {
  padding: 2px 10px;
}
// 去掉流程图logo
.io-zoom-controls{
  position:absolute !important;
}
.bjs-powered-by{
  display: none;
}
.ant-checkbox-group{
  width: 100%;
}
.ant-table-tbody > tr:nth-child(2n) td, .ant-table-tbody > tr:nth-child(2n) td, .ant-table-tbody > tr:nth-child(2n) td {
  background: @custom-table-tr-even-background;
}
.ant-table-tbody > tr:nth-child(2n+1) td, .ant-table-tbody > tr:nth-child(2n+1) td, .ant-table-tbody > tr:nth-child(2n+1) td {
  background: @custom-table-tr-odd-background;
}
.ant-table-fixed-column .ant-table-tbody > tr:nth-child(2n) td, .ant-table-fixed-column .ant-table-tbody > tr:nth-child(2n) td, .ant-table-fixed-column .ant-table-tbody > tr:nth-child(2n) td {
  background: @custom-table-tr-odd-background !important;
}
.ant-table-fixed-column .ant-table-tbody > tr:nth-child(2n+1) td, .ant-table-fixed-column .ant-table-tbody > tr:nth-child(2n+1) td, .ant-table-fixed-column .ant-table-tbody > tr:nth-child(2n+1) td {
  background: @custom-table-tr-even-background !important;
}
.detail-control-item-control span,.detail-control-item-control pre, .detail-value, .read-detail span {
  color: @custom-detail-color;
  font-weight: 600;
}
.ant-form-item-label>label {
  line-height: 32px;
  height: auto;
}
.ant-upload-list-item-card-actions i svg{
  display: none;
}
.ant-upload-list-text .ant-upload-list-item-card-actions .ant-btn-icon-only.ant-btn-sm {
  width: 35px;
}
.ant-upload-list-text .ant-upload-list-item-card-actions i.anticon-download::after {
  content: '下载';
  display: inline-block;
  width: 20px;
  height: 20px;
  font-size: 12px;
  position: relative;
  bottom: 3px;
  color: #1890ff;
}
.ant-upload-list-text .ant-upload-list-item-card-actions i.anticon-delete::after {
  content: '删除';
  display: inline-block;
  width: 20px;
  height: 20px;
  font-size: 12px;
  position: relative;
  bottom: 3px;
  color: #1890ff;
}
.ant-upload-list-item-info>span {
  padding-right: 50px;
}
.ant-select-disabled.ant-select-single:not(.ant-select-customize-input) .ant-select-selector,
.ant-input-disabled, .ant-input[disabled],
.ant-select-disabled.ant-select-multiple .ant-select-selection-item,
.ant-checkbox-disabled+span, .ant-radio-disabled+span,
.ant-picker-input>input[disabled],
.ant-input-number-disabled .ant-input-number-input {
  color: #4a4a4a !important;
}
.ant-upload-list-picture .ant-upload-list-item-card-actions, .ant-upload-list-text .ant-upload-text-icon .anticon {
  position: static;
}
.disabled-area {
  color: #4a4a4a !important;
}
.backlog-datail .ant-upload-list-item-info > span{
  display: flex;
}
.notice{
  background: @custom-menu-select-color !important;
}
.notice:hover {
  background: @custom-menu-select-color !important;
}
