/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
/*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/
::-webkit-scrollbar {
  width: 6px;
  background-color: transparent;
}
/*定义滚动条轨道 内阴影+圆角*/
::-webkit-scrollbar-track {
  -webkit-box-shadow: none;
  border-radius: 4px;
  background-color: transparent;
}
/*定义滑块 内阴影+圆角*/
::-webkit-scrollbar-thumb {
  border-radius: 6px;
  -webkit-box-shadow: none;
  background-color: rgba(144, 147, 153, 0.3);
}
/*定义最上方和最下方的按钮*/
::-webkit-scrollbar-button {
  display: none;
  background-color: #252540;
  border: 1px solid #252540;
}
.ant-pollute-calendar {
  display: flex;
  justify-content: center;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  background: #fff;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.ant-pollute-calendar-left {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  justify-content: space-between;
  align-items: flex-start;
  flex-direction: column;
}
.ant-pollute-calendar-left-header {
  height: 30px;
}
.ant-pollute-calendar-left-footer {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  justify-content: space-between;
  align-items: flex-start;
  flex-direction: column;
}
.ant-pollute-calendar-left-item {
  display: flex;
  justify-content: center;
  align-items: center;
  justify-content: flex-start;
}
.ant-pollute-calendar-left-item-text {
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  justify-content: flex-start;
  font-weight: 400;
  font-size: 12px;
  color: #666;
}
.ant-pollute-calendar-left-item-list {
  display: flex;
  justify-content: center;
  align-items: center;
  justify-content: flex-start;
}
.ant-pollute-calendar-left-item-cell {
  width: 32px;
  height: 32px;
  background: var(--bg-color);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 1px;
  font-weight: 400;
  font-size: 16px;
  color: var(--text-color);
  cursor: pointer;
  transition: all 300ms;
}
.ant-pollute-calendar-left-item-cell:hover {
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
  transform: scale(1.1);
}
.ant-pollute-calendar-right {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  justify-content: space-between;
  align-items: flex-start;
  flex-direction: column;
}
.ant-pollute-calendar-right-header {
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  justify-content: flex-end;
}
.ant-pollute-calendar-right-header-item {
  width: 40px;
  margin-left: 1px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 400;
  font-size: 12px;
  text-align: center;
  color: #666;
}
.ant-pollute-calendar-right-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  height: 100%;
  justify-content: space-between;
  align-items: flex-start;
  flex-direction: column;
}
.ant-pollute-calendar-right-footer-item {
  display: flex;
  justify-content: center;
  align-items: center;
  justify-content: flex-end;
}
.ant-pollute-calendar-right-footer-item-cell {
  width: 40px;
  height: 32px;
  margin-left: 1px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--color);
  font-weight: 400;
  font-size: 16px;
  color: var(--textColor);
}
.ant-pollute-calendar-tooltip {
  padding: 8px;
}
.ant-pollute-calendar-tooltip-wrapper {
  max-width: 300px;
}
.ant-pollute-calendar-tooltip-wrapper .ant-tooltip-arrow::before {
  background: #ffffff;
}
.ant-pollute-calendar-tooltip-wrapper .ant-tooltip-inner {
  background: #fff;
  color: #333333;
  padding: 0;
}
.ant-pollute-calendar-tooltip-header {
  color: #8A97A0;
  font-size: 14px;
  margin-bottom: 10px;
}
.ant-pollute-calendar-tooltip-aqi {
  width: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 6px;
}
.ant-pollute-calendar-tooltip-aqi span:first-child {
  font-weight: 400;
  font-size: 12px;
  color: #333;
}
.ant-pollute-calendar-tooltip-aqi span:last-child {
  display: inline-block;
  min-width: 40px;
  text-align: center;
  padding: 0 10px;
  background: var(--bg-color);
  color: var(--text-color);
  border-radius: 20px;
}
.ant-pollute-calendar-tooltip-footer {
  position: relative;
  padding-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-column-gap: 20px;
  grid-row-gap: 10px;
}
.ant-pollute-calendar-tooltip-footer:after {
  content: '';
  position: absolute;
  background: rgba(229, 229, 229, 0.5);
  height: 1px;
  left: 0;
  right: 0;
  top: 0;
}
.ant-pollute-calendar-tooltip-footer-item {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ant-pollute-calendar-tooltip-footer-item span {
  white-space: nowrap;
}
.ant-pollute-calendar-tooltip-footer-item span:first-child {
  font-weight: 400;
  font-size: 12px;
  color: #333;
}
.ant-pollute-calendar-tooltip-footer-item span:last-child {
  min-width: 40px;
  text-align: center;
  padding: 0 10px;
  background: var(--bg-color);
  color: var(--text-color);
  border-radius: 20px;
}
