.cp-alarm {
  margin: 6px;
  width: 100%;
}
.cp-alarm .sub-title {
  height: 40px;
  line-height: 40px;
  font-size: 14px;
  font-weight: 800;
  border-bottom: 1px solid var(--calendar-border);
  padding: 0 20px;
  margin-bottom: 0;
}
.cp-alarm .sub-title .extra {
  right: 20px;
  font-weight: 400;
}
.cp-alarm .alarm-summary {
  background-color: var(--bg-color2);
  border: 1px solid var(--bg-border-color2);
}
.cp-alarm .alarm-summary-time {
  margin: 24px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 0 20px;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: start;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.cp-alarm .alarm-summary-time img {
  width: 46px;
  height: 46px;
  margin-right: 19px;
}
.cp-alarm .alarm-summary-time-name {
  font-size: 12px;
  color: var(--title-color);
}
.cp-alarm .alarm-summary-time-value {
  color: var(--title-color);
  font-size: 12px;
}
.cp-alarm .alarm-summary-time-value span {
  font-size: 20px;
  line-height: 25px;
}
.cp-alarm .alarm-summary-time-value-compare {
  display: inline-block;
  margin-left: 36px;
}
.cp-alarm .alarm-summary .triangle-up {
  width: 12px;
  height: 8px;
  position: relative;
  overflow: hidden;
  display: inline-block;
  margin-left: 4px;
}
.cp-alarm .alarm-summary .triangle-up::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #f65861;
  -webkit-transform-origin: left bottom;
      -ms-transform-origin: left bottom;
          transform-origin: left bottom;
  -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
          transform: rotate(45deg);
}
.cp-alarm .alarm-summary .triangle-down {
  width: 12px;
  height: 8px;
  position: relative;
  overflow: hidden;
  display: inline-block;
  margin-left: 4px;
  margin-bottom: -2px;
}
.cp-alarm .alarm-summary .triangle-down::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #41ffb4;
  -webkit-transform-origin: right top;
      -ms-transform-origin: right top;
          transform-origin: right top;
  -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
          transform: rotate(45deg);
}
.cp-alarm .alarm-trend {
  height: 284px;
  background-color: var(--bg-color2);
  border: 1px solid var(--bg-border-color2);
}
.cp-alarm .alarm-record {
  background-color: var(--bg-color2);
  border: 1px solid var(--bg-border-color2);
  min-height: 180px;
}
.cp-alarm .alarm-record-table {
  padding: 10px 20px;
  height: 240px;
  overflow-y: auto;
}
.cp-alarm .alarm-record .alarmLevel img {
  margin-top: -2px;
}
