// 字体修改
body, a {
  font-family: Arial, "Helvetica Neue", Helvetica, "Microsoft YaHei", "\5FAE\8F6F\96C5\9ED1", "PingFang SC", "Hiragino Sans GB", sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
}

// 样式修复
.ant-tabs-nav .ant-tabs-tab {
  height: 37px;
}

// 按钮样式
.ant-btn, .ant-btn-lg, .ant-input-group-addon {
  border-radius: 2px;
}

// Menu 边栏调整

.ant-menu-root > .ant-menu-item {
  padding-left: 16px !important;
  text-align: center;
  border-bottom: 1px solid #3C4150;
}

.ant-menu.ant-menu-inline.ant-menu-dark.ant-menu-root > .ant-menu-item-selected.ant-menu-item {
  background: #404352;
}

.ant-menu-inline > .ant-menu-submenu > .ant-menu-submenu-title {
  text-align: center;
  height: auto;
  border-bottom: 1px solid #3C4150;
  padding:10px 24px 10px 0 !important;

  &:after {
    position: absolute;
    top: 50%;
    margin-top: -19px;
  }

  > span {
    position: relative;
    font-size: 14px;
    line-height: 30px;
    > i {
      font-size: 1.3em;
      font-weight: initial;
      vertical-align: middle;
      margin-bottom: 4px;
    }
  }
}

.ant-menu-submenu-selected > .ant-menu-submenu-title > span {
  font-weight: bold;
}

.ant-menu-inline > .ant-menu-submenu > .ant-menu-submenu-title > span,
.ant-menu-dark.ant-menu-inline .ant-menu-item-selected {
  background-color: transparent;
}

.ant-menu-dark, .ant-menu-dark .ant-menu-sub {
  color: #B5BAC9;
  background: #4E5466;
}

.ant-menu-dark .ant-menu-inline.ant-menu-sub {
  background: #333843;
}

.ant-menu-dark .ant-menu-item, .ant-menu-dark .ant-menu-item > a {
  font-size: 13px;
  color: #ACB3BE;

}

.ant-menu-sub > .ant-menu-item {
  padding-left: 28px !important;
}

.ant-menu-dark .ant-menu-item-selected > a, .ant-menu-dark .ant-menu-item-selected > a:hover {
  color: white;
}

.ant-layout-aside .ant-layout-sider {
  width: 180px;
  background: #4E5466;
}

.ant-layout-aside .ant-layout-main {
  margin-left: 180px;
}

// Menu 字体调整
.ant-menu-inline .ant-menu-item {
  font-size: 13px;
}

.ant-menu-submenu-selected > .ant-menu-submenu-title {
  background: #404352;
}

// 表格调整

// 表格默认用 middle
.ant-table-tbody > tr > td, .ant-table-thead > tr > th {
  padding: 10px 8px;
}

.ant-table {
  font-size: 13px;
  border-radius: 0px;
  color: #4E5466;

  table {
    //border-collapse: collapse; // 边框重合
    border-radius: 0;
    //border: 1px solid #B4BEC8;
  }

  .ant-table-thead {

    //border: 1px solid #4E5466;

    > tr > th {
      background: #4E5466;
      color: white;
      white-space: nowrap;
      border-right: 0;
    }
  }

  .ant-table-tbody {

    /* 表格的间隔颜色 */
    tr:nth-of-type(even) {
      background-color: #F6F7F8;
    }

    /* 当前划过的表格的行的颜色 */
    tr:hover {
      background: #EEF7FE;
    }

    > tr > td {
      border: 1px solid #B4BEC8;
      border-top: 0;
    }
    > tr > td:not(:first-child) {
      border-left: 0;
    }
  }

}

.ant-table-small {
  border: 0;
}

.ant-table-small .ant-table-body > table {
  //border: 1px solid #4E5466;
}

.ant-table-small .ant-table-thead > tr > th {
  border-bottom: 0;
}

.ant-table-small .ant-table-header .ant-table-thead > tr > th, .ant-table-small .ant-table-row:last-child td {
  border-bottom: 1px solid #B4BEC8;
}

//

.ant-table-bordered .ant-table-thead {
  border: 1px solid #4E5466;
}

.ant-table-bordered .ant-table-thead > tr > th {
  border-bottom: 0;
}

.ant-table-bordered .ant-table-tbody > tr > td:last-child {
  border-right: 1px solid #B4BEC8;
}

.ant-table-bordered .ant-table-tbody tr:last-child > td, .ant-table-bordered .ant-table-tbody tr:last-child > th {
  border-bottom: 1px solid #B4BEC8;
}

// 处理 form label 后的 : 号

.ant-form-item-label > label:after {
  content: ' ';
}

// Tabs

.ant-tabs-tab-active {
  font-size: 15px;
  font-weight: 700;
}

.ant-tabs-nav .ant-tabs-tab-active .ant-tabs-tab-inner {
  color: #333;
}

// 面包屑

.ant-breadcrumb {
  color: #666;
  font-weight: 700;
  font-size: 13px;
}

.ant-breadcrumb > span:last-child {
  color: #999;
}

//  搜索框

.ant-search-input.ant-input-group .ant-input:first-child {
  border-radius: 2px;
}

.ant-search-input .ant-search-btn {
  height: 26px;
  border-radius: 0 2px 2px 0;
  color: #fff;
  background-color: #5486F6;
  border-color: #5486F6;
}

.ant-pagination-options-size-changer {
  margin-right: 0;
}

.ant-table-pagination {
  margin: 13px 0 16px 0;
}

.ant-input, .ant-time-picker-input, .ant-input-number-input, .ant-input-number {
  border-radius: 2px;
}

.ant-select-selection, .ant-select-sm .ant-select-selection {
  border-radius: 2px;
}

.ant-pagination-next, .ant-pagination-prev, .ant-pagination-item {
  border-radius: 2px;
}

// 其它调整

.ant-checkbox-inner {
  border: 1px solid #979797;
}

.ant-layout-breadcrumb-bull {
  left: 20px;
  top: 10px;
  font-size: 1.6em;
  position: absolute;
}
