.top,
.bottom {
  display: flex;
  justify-content: space-around;
  margin: 1.25rem 0;
}

.top {
  height: 21.625rem;
}

.top-right {
  width: 83.375rem;
  display: flex;
  justify-content: space-between;
}

.bottom {
  height: 38rem;
}

.pig {
  width: 32.875rem;
  background-size: 32.875rem 21.625rem;
  box-sizing: border-box;
  padding: 0 2.5rem;
  padding-bottom: 1.375rem;
}

.warn {
  width: 38.3125rem;
  background-size: 38.3125rem 21.625rem;
  box-sizing: border-box;
  padding: 0 2.5rem;
  padding-bottom: 1.5rem;
}

.dynamic {
  width: 43.8125rem;
  background-size: 43.8125rem 21.625rem;
  box-sizing: border-box;
  padding: 0 1.5rem;
  padding-bottom: 1.5rem;
}

.pig-chart-container {
  width: 100%;
  margin-top: 1.9rem;
  height: 15.85rem;
}

.warn-table-container {
  margin-top: 0.8125rem;
  height: 16.8125rem;
}

.warn-table-thead ul {
  overflow: hidden;
  display: flex;
  justify-content: space-between;
}

.warn-table-thead li {
  float: left;
  font-size: 1rem;
  width: 6.25rem;
  line-height: 2.625rem;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  flex-shrink: 0;
}

.warn-scrollbox {
  overflow: hidden;
}

#warn-list-scrollDiv {
  height: 13.75rem;
  overflow: hidden;
}

/*这里的高度和超出隐藏是必须的*/
#warn-list-scrollDiv li {
  height: 1.625rem;
  line-height: 1.625rem;
  overflow: hidden;
  margin-bottom: 0.375rem;
  color: rgba(255, 255, 255, 0.8);
  zoom: 1;
  display: flex;
  justify-content: space-between;
}

#warn-list-scrollDiv li div {
  width: 6.25rem;
  font-size: 0.875rem;
  background-color: #1E2453;
  text-align: center;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

#warn-list-scrollDiv li div:nth-of-type(1) {
  background-color: transparent;
}

.warn-null {
  color: #A9DDEE;
}

.warn-this {
  background: linear-gradient(180deg, #FF5DAC 0%, #E93364 100%);
}

.dynamic-table-container {
  height: 16.625rem;
  margin-top: 1.3rem;
}

.dynamic-table-thead ul {
  display: flex;
  height: 1.687rem;
  line-height: 1.687rem;
  background-color: #2B3875;
}

.dynamic-table-thead li {
  box-sizing: border-box;
  border-left: 1px solid #254E91;
  border-right: 1px solid #254E91;
  text-align: center;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

.dynamic-table-container li:nth-of-type(1),
.dynamic-table-container li div:nth-of-type(1) {
  width: 18%;
}

.dynamic-table-container li:nth-of-type(2),
.dynamic-table-container li div:nth-of-type(2) {
  width: 19%;
}

.dynamic-table-container li:nth-of-type(3),
.dynamic-table-container li div:nth-of-type(3) {
  width: 19%;
}

.dynamic-table-container li:nth-of-type(4),
.dynamic-table-container li div:nth-of-type(4) {
  width: 25%;
}

.dynamic-table-container li:nth-of-type(5),
.dynamic-table-container li div:nth-of-type(5) {
  width: 20%;
}

.dynamic-scroll-box {
  overflow: hidden;
}

#dynamic-list-scrollDiv {
  height: 14rem;
  overflow: hidden;
  background-color: #1E234F;
}

#dynamic-list-scrollDiv li {
  width: 100%;
  height: 2rem;
  line-height: 2rem;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.8);
  zoom: 1;
  display: flex;
  justify-content: space-between;
}

#dynamic-list-scrollDiv li div {
  height: 2rem;
  font-size: 0.875rem;
  text-align: center;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
  border: 1px solid #254E91;
  border-top: 0;
}

#dynamic-list-scrollDiv li div:nth-of-type(1) {
  background-color: transparent;
}

.dynamic-table-thead li:nth-of-type(1),
.dynamic-table-thead li:nth-of-type(2),
.dynamic-table-thead li:nth-of-type(3),
.dynamic-table-thead li:nth-of-type(4),
#dynamic-list-scrollDiv li div:nth-of-type(1),
#dynamic-list-scrollDiv li div:nth-of-type(2),
#dynamic-list-scrollDiv li div:nth-of-type(3),
#dynamic-list-scrollDiv li div:nth-of-type(4) {
  border-right: 0;
}

.device {
  width: 32.875rem;
  background-size: 100% 100%;
  box-sizing: border-box;
  padding: 0 2.5rem;
}

.device-chart-container {
  height: 16.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1.875rem;
}

.middledevice {
  background-image: none;
  height: 12.188rem;
  width: calc(100% + 1.875rem);
  margin-left: -0.938rem;
}

.middledevice .title {
  border-color: transparent;
}

.swiper-container-chart {
  height: 8.438rem;
  margin-top: 1.25rem !important;
  box-sizing: border-box;
  padding: 0 0.938rem !important;
}

.middledevice-next,
.middledevice-prev {
  width: 1rem !important;
  height: 2rem !important;
  background-image: url(../images/swiper-chart-icon.png) !important;
  background-repeat: no-repeat !important;
  background-size: 1rem auto !important;
}

.middledevice-prev {
  left: 0 !important;
  background-position: 0 0 !important;
}

.middledevice-prev:hover {
  background-position: 0 -2.188rem !important;
}

.middledevice-next {
  right: 0 !important;
  background-position: 0 -4.375rem !important;
}

.middledevice-next:hover {
  background-position: 0 -6.688rem !important;
}

.middledevice-chart {
  width: 22% !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.middledevice-chart-box {
  width: 5.313rem;
  height: 5.313rem;
  flex-shrink: 0;
}

.middledevice-chart-title {
  font-size: 0.75rem;
  line-height: 1.875rem;
  height: 1.875rem;
  color: rgba(255, 255, 255, 0.8);
}

.ingestionandenv {
  width: 83.375rem;
  background-size: 100% 100%;
  display: flex;
  box-sizing: border-box;
  padding: 0 1.5rem;
}

.ingestion {
  width: 45%;
  flex-shrink: 0;
}

.ingestion-chart-container {
  height: 30.75rem;
  margin-top: 2.5rem;
}

.humidity {
  width: 55%;
  flex-shrink: 0;
}

.humidity-container-swiper {
  margin-top: 2.5rem !important;
  box-sizing: border-box !important;
  padding-bottom: 5.188rem !important;
}

.humidity-btn {
  visibility: hidden;
}

.humidity-container-swiper:hover .humidity-btn {
  visibility: visible;
}

.humidity-prev,
.humidity-next {
  top: 28.875rem !important;
  width: 2.188rem !important;
  height: 2.188rem !important;
  border-radius: 50% !important;
  -webkit-border-radius: 50% !important;
  -moz-border-radius: 50% !important;
  -ms-border-radius: 50% !important;
  -o-border-radius: 50% !important;
  cursor: pointer;
  background-image: url(../images/swiper-icon.png) !important;
  background-repeat: no-repeat;
  background-size: 2.125rem auto !important;
}

.humidity-prev {
  left: 50% !important;
  margin-left: -5.063rem;
  background-position: 0 0 !important;
}

.humidity-prev:hover {
  background-position: 0 -2.188rem !important;
}

.humidity-next {
  left: 50% !important;
  margin-left: 3.063rem;
  background-position: 0 -4.375rem !important;
}

.humidity-next:hover {
  background-position: 0 -6.563rem !important;
}

.humidity-prev:hover,
.humidity-next:hover {
  background-color: #131E43;
}

.humidity-unite {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.humidity-unite-box {
  width: 13.75rem;
  height: 21.625rem;
  background-color: rgba(21, 33, 71, 0.8);
  border: 2px solid #08559C;
  border-radius: 0.25rem;
  -webkit-border-radius: 0.25rem;
  -moz-border-radius: 0.25rem;
  -ms-border-radius: 0.25rem;
  -o-border-radius: 0.25rem;
  margin-top: 1.125rem;
  box-sizing: border-box;
  padding: 2.1rem 1rem;
}

.humidity-unite-title {
  width: 8.063rem;
  height: 2.875rem;
  line-height: 2.875rem;
  color: #ffffff;
  font-size: 1.125rem;
  text-align: center;
  background: url(../images/title-bg.png) no-repeat;
  background-size: 8.063rem 2.875rem;
}

.humidity-unite-box li {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
}

.humidity-unite-box li:nth-of-type(1) {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.87);
  margin-bottom: 1.3rem;
}

.humidity-unite-box li:last-of-type {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 1.875rem;
}

.humidity-unite-box li:last-of-type span:nth-of-type(1) {
  margin-right: 0.5rem;
}

.humidity-normal-icon,
.humidity-warn-icon {
  display: inline-block;
  width: 1.75rem;
  height: 1.75rem;
  background: url(../images/envstate-sprit.png) no-repeat;
  background-size: 1.75rem auto;
  vertical-align: middle;
  margin-left: 2rem;
  margin-bottom: 0.5rem;
}

.humidity-warn-icon {
  background-position: 0 -1.875rem;
}

@media screen and (min-device-width: 1782px) and (max-device-width: 1802px) {
  .bottom {
    height: 35.5rem;
  }

  .ingestion-chart-container {
    height: 29rem;
    margin-top: 2rem;
  }

  .device-chart-container {
    height: 16.5rem;
    margin-top: 1.25rem;
    margin-bottom: 1.5rem;
  }
}