/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
.ant-pro-global-header {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
.ant-pro-global-header {
  height: 56px;
  padding: 0 12px 0 0;
  background: #fff;
  -webkit-box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
          box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
  position: relative;
}
.ant-pro-global-header .ant-layout {
  min-height: 100vh;
  overflow-x: hidden;
}
.ant-pro-global-header .ant-layout-header {
  height: 56px;
  line-height: 1;
}
.ant-pro-global-header .ant-layout-header .react-intl-lc {
  position: fixed;
  z-index: 999;
  right: 70px;
  top: 0px;
  color: #fff;
}
.ant-pro-global-header .antd-header-logo-pic {
  display: inline-block;
  margin-right: 0px !important;
  margin-left: 54px !important;
}
.ant-pro-global-header .antd-header-logo-pic img {
  cursor: pointer;
  width: 40px;
  height: 40px;
  background-size: 100%;
  border-radius: 50px 50px 50px 50px;
}
.ant-pro-global-header .ant-userinfo {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-right: 20px;
}
.ant-pro-global-header .ant-userinfo .username {
  border-left: none;
  color: #fff;
  padding-left: 10px;
  display: block;
  max-width: 188px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: bold;
}
.ant-pro-global-header .ant-top-handle {
  display: inline-block;
  width: 40px;
  height: 56px;
  margin: 0px 20px 0;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
}
.ant-pro-global-header .ant-top-handle i {
  display: block;
  color: #ff9500;
  line-height: 12px;
  position: absolute;
  right: 5px;
  top: 20px;
  font-size: 14px;
  font-weight: bold;
  font-style: normal;
  width: 8px;
  height: 8px;
  border-radius: 12px;
  background-color: #ff9500;
}
.ant-pro-global-header .react-intl-lc {
  position: fixed;
  z-index: 999;
  right: 70px;
  top: 0px;
  color: #fff;
}
.ant-pro-global-header .antd-header-logo-pic {
  display: inline-block;
  margin-right: 0px !important;
  margin-left: 54px !important;
}
.ant-pro-global-header .ant-userinfo {
  margin-right: 20px !important;
}
.logo {
  height: 56px;
  line-height: 58px;
  vertical-align: top;
  display: inline-block;
  padding: 0 0 0 24px;
  cursor: pointer;
  font-size: 20px;
}
.logo img {
  display: inline-block;
  vertical-align: middle;
}
.menu .anticon {
  margin-right: 8px;
}
.menu .ant-dropdown-menu-item {
  width: 160px;
}
i.trigger {
  font-size: 20px;
  line-height: 64px;
  cursor: pointer;
  -webkit-transition: all 0.3s, padding 0s;
  transition: all 0.3s, padding 0s;
  padding: 0 24px;
}
i.trigger:hover {
  background: #e6f7ff;
}
.right {
  float: right;
  height: 100%;
}
.right .action {
  cursor: pointer;
  padding: 0 12px;
  display: inline-block;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  height: 100%;
}
.right .action > i {
  font-size: 16px;
  vertical-align: middle;
  color: rgba(0, 0, 0, 0.65);
}
.right .action:hover,
.right .action:global(.ant-popover-open) {
  background: #e6f7ff;
}
.right .search {
  padding: 0;
  margin: 0 12px;
}
.right .search:hover {
  background: transparent;
}
.right .account .avatar {
  margin: 20px 8px 20px 0;
  color: #1890ff;
  background: rgba(255, 255, 255, 0.85);
  vertical-align: middle;
}
@media only screen and (max-width: 768px) {
  .ant-pro-global-header .ant-divider-vertical {
    vertical-align: unset;
  }
  .ant-pro-global-header .name {
    display: none;
  }
  .ant-pro-global-header i.trigger {
    padding: 0 12px;
  }
  .ant-pro-global-header .logo {
    padding-right: 12px;
    position: relative;
  }
  .ant-pro-global-header .right {
    position: absolute;
    right: 12px;
    top: 0;
    background: #fff;
  }
  .ant-pro-global-header .right .account .avatar {
    margin-right: 0;
  }
}
