.bottom {
  display: flex;
  justify-content: space-between;
  margin: 1.125rem;
}
.top{
	display: flex;
	justify-content: space-between;
	margin: 1.125rem;
}

.bottom {
  margin-top: 1.25rem;
}

.container {
  width: 34.25rem;
  height: 30rem;
  background-color: #0D1633;
  background-size: 100% 100%;
  box-sizing: border-box;
  padding: 2.5rem;
  padding-top: 0;
  position: relative;
}

.ingestion {
  width: 46.5rem;
  background-size: 100% 100%;
}

.title {
  width: 11.5rem;
  height: 2.25rem;
  line-height: 2.25rem;
  text-align: center;
  font-size: 1rem;
  border: 0.125rem solid #09559C;
  border-radius: 0px 0px 0.5rem 0.5rem;
  -webkit-border-radius: 0px 0px 0.5rem 0.5rem;
  -moz-border-radius: 0px 0px 0.5rem 0.5rem;
  -ms-border-radius: 0px 0px 0.5rem 0.5rem;
  -o-border-radius: 0px 0px 0.5rem 0.5rem;
  color: rgba(255, 255, 255, 0.87);
  background: url(../images/title-bg.png) no-repeat;
  background-size: 9.625rem auto;
  background-position: 0.938rem -1.125rem;
  position: relative;
  left: 50%;
  margin-left: -5.75rem;
  margin-bottom: 2.5rem;
}

.pig-chart-container,
.warn-chart-container,
.ingestion-chart-container,
.device-chart-container,
.dynamic-chart-container {
  height: 23.4rem;
}

.bg-pic {
  background-image: none;
  width: 46.5rem;
  position: relative;
  background-color: transparent;
}

.bg-pic img {
  display: block;
  width: 28.813rem;
  height: 20.375rem;
  margin: 0 auto;
  margin-top: 7.125rem;
}

.bg-pic div {
  height: 3.25rem;
  line-height: 3.25rem;
  position: absolute;
  font-size: 1rem;
  font-weight: 400;
  line-height: 3.25rem;
  color: #FFFFFF;
  box-sizing: border-box;
  padding: 0 1.5rem;
  background: url(../images/middle-txt-border.png) no-repeat;
  background-size: 100% 100%;
}

.bg-pic div:nth-of-type(1) {
  left: 0.438rem;
  top: 7.125rem;
}

.bg-pic div:nth-of-type(2) {
  left: 17.063rem;
  top: 0.375rem;
}

.bg-pic div:nth-of-type(3) {
  right: 1.25rem;
  top: 7.125rem;
}

.bg-pic div:nth-of-type(1) span {
  font-size: 1.25rem;
  font-weight: bold;
  line-height: 3.25rem;
  color: #67C5F8;
}

.bg-pic div:nth-of-type(2) span,
.bg-pic div:nth-of-type(3) span {
  font-size: 1.25rem;
  font-weight: bold;
  line-height: 3.25rem;
  color: #EC396F;
}

.warn-chart-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.warn-chart-box {
  width: 14rem;
  height: 6.9375rem;
  border: 1px solid #09559C;
  flex-shrink: 0;
  margin-bottom: 0.688rem;
}

.warn-chart-title {
  height: 1.625rem;
  background-color: #0C254C;
  color: rgba(255, 255, 255, 0.87);
  font-size: 0.875rem;
  line-height: 1.625rem;
  text-align: center;
}

.warn-chart-main {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  box-sizing: border-box;
  padding: 1.125rem 1.25rem;
  justify-content: space-between;
  flex-wrap: wrap;
}

.warn-chart-main div {
  width: 45%;
  flex-shrink: 0;
  line-height: 1.61rem;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.warn-chart-main div:nth-of-type(1) span,
.warn-chart-main div:nth-of-type(2) span {
  color: #67C5F8;
}

.warn-chart-main div:nth-of-type(3) span,
.warn-chart-main div:nth-of-type(4) span {
  color: #EC396F;
}

.device .title {
  margin-bottom: 1.5rem !important;
}

.device-chart-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.device-chart {
  width: 27%;
  height: 10.625rem;
  overflow: hidden;
  margin-right: 2.5rem;
  margin-bottom: 2.1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.device-chart-container .device-chart:nth-of-type(4),
.device-chart-container .device-chart:nth-of-type(5),
.device-chart-container .device-chart:nth-of-type(6) {
  margin-bottom: 0;
}

.device-chart-container .device-chart:nth-of-type(3n) {
  margin-right: 0;
}

.device-chart-title {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.87);
}

.device-chart-legend {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
}

.device-chart-legend div {
  display: flex;
  align-items: center;
}

.device-chart-legend div span {
  flex-shrink: 0;
}

.device-chart-legend div:nth-of-type(1) {
  margin-bottom: 0.75rem;
}

.device-chart-legend div span:nth-of-type(2) {
  margin: 0 1px;
}

.device-chart-box {
  width: 5.313rem;
  height: 5.313rem;
  /* background-color: whitesmoke; */
}

.device-chart-online-icon,
.device-chart-offline-icon {
  width: 0.875rem;
  height: 0.875rem;
  background: url(../images/isline-spirt.png) no-repeat;
  background-size: auto 0.875rem;
  float: left;
  margin-right: 0.5rem;
}

.device-chart-offline-icon {
  background-position: -1.25rem 0;
}

.dynamic .title {
  margin-bottom: 0.625rem;
}

.list-thead {
  line-height: 2.75rem;
  font-size: 1rem;
  font-weight: bold;
  color: rgba(87, 113, 225, 0.8);
  display: flex;
  justify-content: space-around;
  border-bottom: 2px solid #485EBE;
}

.list-thead li {
  width: 5.313rem;
  text-align: center;
}

.scrollbox {
  overflow: hidden;
}

#list-scrollDiv {
  height: 21.5rem;
  overflow: hidden;
}

/*这里的高度和超出隐藏是必须的*/
#list-scrollDiv li {
  height: 2.625rem;
  line-height: 2.625rem;
  font-size: 0.875rem;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.8);
  zoom: 1;
  display: flex;
  justify-content: space-around;
}

#list-scrollDiv li div {
  width: 5.313rem;
  text-align: center;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.scrollDivStyle {
  display: block;
  width: 5rem;
  margin-left: 0.156rem;
  text-align: center;
  line-height: 1.5rem;
  margin-top: 0.563rem;
  background-color: #EC396F;
  border-radius: 0.75rem;
  -webkit-border-radius: 0.75rem;
  -moz-border-radius: 0.75rem;
  -ms-border-radius: 0.75rem;
  -o-border-radius: 0.75rem;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

@media screen and (min-device-width: 1782px) and (max-device-width: 1802px) {
  .container {
    height: 28.7rem;
  }

  .pig-chart-container,
  .warn-chart-container,
  .ingestion-chart-container {
    height: 23rem;
    margin-top: -0.8rem;
  }

  .device-chart-container {
    margin-top: -0.3rem;
  }
}