.layout-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 50px;
  line-height: 50px;
  background-color: #fff;
  padding: 0 20px;

  .header-logo {
    img {
      height: 32px;
      vertical-align: middle;
    }
  }

  .header-menu {
    flex: 1;
    padding: 0 10px;
    height: 50px;
    line-height: 50px;

    .ant-menu-overflow {
      margin-left: 100px;
      font-size: 16px !important;
      a {
        color: inherit;
      }

      .ant-menu-overflow-item.ant-menu-submenu.ant-menu-submenu-horizontal {
        width: 110px;
        display: flex;
        justify-content: center;
      }
    }
    .ant-menu-light.ant-menu-horizontal > .ant-menu-submenu::after {
      content: '';
      display: none;
    }
    .ant-menu-light.ant-menu-horizontal > .ant-menu-item:hover,
    .ant-menu-light.ant-menu-horizontal > .ant-menu-submenu:hover {
      color: #ab1941 !important;
      background-color: #ede2e8 !important;
      transition: none !important;
      .ant-menu-title-content {
        color: #ab1941 !important;
        transition: none !important;
      }
    }
    .ant-menu-light.ant-menu-horizontal > .ant-menu-item:hover::after {
      border: none !important;
      transition: none !important;
    }
    .ant-menu-light.ant-menu-horizontal > .ant-menu-item {
      border: none !important;
      transition: none !important;

      &::after {
        content: '';
        display: none;
      }
    }
    .ant-menu-light.ant-menu-horizontal > .ant-menu-item-selected {
      // color: #AB1941 !important;
      background: #ede2e8 !important;
      .ant-menu-title-content {
        color: #ab1941 !important;
      }
      &::after {
        border: none;
      }
    }
    .ant-menu-submenu-selected {
      background: #ede2e8 !important;
      &::before {
        content: '';
        display: block;
        width: 0;
        height: 0;
        clear: both;
        z-index: 2;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-top: 8px solid #ede2e8;
        bottom: -8px;
        position: absolute;
      }
      &::after {
        border: none !important;
      }
      .ant-menu-submenu-title {
        color: #ab1941 !important;
        font-weight: bold;
      }
    }
  }
}
.ant-menu .ant-menu-item {
  text-align: center;
}

.layout-breadcrumb {
  height: 50px;
  margin: 10px 0;
  padding: 2px 20px;
  background-color: #fff;
  display: flex;
  align-items: center;
  .ant-menu {
    flex: 1;
    justify-content: flex-end;
  }
  .ant-menu-item {
    width: 110px;
  }
}

.layout-content {
  background-color: #fff;
  border-radius: 5px;
  height: calc(100vh - 120px);
  padding: 20px;
}

.layout-sticky {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #f7f8fc;
}
