* {
  margin: 0;
  padding: 0;
}

body {
  line-height: 1.15;
  font-size: 16px;
  margin: 0;
  padding: 0;
  background-repeat: no-repeat;
  background-position: 0 0 / cover;
  background-color: #101129;
  overflow: hidden;
}

.loading {
  position: absolute;
  left: 0;
  top: 0;
  font-size: .3rem;
  z-index: 100000000;
  width: 100%;
  height: 100%;
  background: #101129;
  text-align: center;
}

.loadbox {
  position: absolute;
  width: 178px;
  height: 150px;
  color: #fefefe;
  left: 50%;
  top: 50%;
  margin-top: -100px;
  margin-left: -75px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.loadbox img {
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
}

@font-face {
  font-family: myFirstFont;
  src: url('DISPLAY FREE TFB.ttf')
}

.newFont {
  font-family: myFirstFont !important;
  color: #fff;
}

.viewport {
  margin: 0 auto;
  background: url(../images/logo.png) no-repeat 0 0 / contain;
  display: flex;
  justify-content: space-between;
  padding: 3.667rem 0.833rem 0;
  height: 100%;
  position: relative;
  z-index: 11;
}

.column {
  position: relative;
}

.column:nth-child(2) {
  margin: 1.333rem 0.833rem 0;
}

.panel {
  /* 边框 */
  box-sizing: border-box;
  border: 2px solid red;
  border-image: url(../images/border.png) 51 38 21 132;
  border-width: 2.125rem 1.583rem 0.875rem 5.5rem;
  position: relative;
  margin-bottom: 0.833rem;
  background: #101129;
}

.panel .inner {
  /* 装内容 */
  /* height: 60px; */
  position: absolute;
  top: -2.125rem;
  right: -1.583rem;
  bottom: -0.875rem;
  left: -5.5rem;
  padding: 1rem 1.5rem;
}

.panel h2 {
  font-size: 0.633rem;
  color: #fff;
  text-align: center;
  margin: 0 10px;
}

.panel h3 {
  font-size: 0.833rem;
  color: #fff;
}

.panel .inner .img {
  margin-right: 1.5rem;
}

.urgentAmount .inner {
  display: flex;
  justify-content: space-between;
}

.urgentAmount h4 {
  font-size: 2rem;
  padding-left: 0.2rem;
  color: #fff;
  text-align: center;
  font-family: myFirstFont !important;
}

.urgentAmount span {
  font-size: 0.62rem;
  color: #4c9bfd;
}

.deviceUsageSummary .inner,
.urgentGoodsSummary .inner,
.notificationOfPatientDischarge .inner,
.urgentGoodsDetails .inner {
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
}

.deviceUsageSummary .inner h3,
.urgentGoodsSummary .inner h3,
.notificationOfPatientDischarge .inner h3,
.urgentGoodsDetails .inner h3 {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.deviceUsageSummary .tabs,
.urgentGoodsSummary .tabs,
.urgentGoodsDetails .tabs {
  padding: 0 1.5rem;
  margin-bottom: 0.75rem;
}

.deviceUsageSummary .tabs a,
.urgentGoodsSummary .tabs a,
.urgentGoodsDetails .tabs a {
  color: #fff;
  font-size: 0.75rem;
  padding: 0 1.125rem;
}

.deviceUsageSummary .content,
.urgentGoodsSummary .content,
.notificationOfPatientDischarge .content,
.urgentGoodsDetails .content {
  flex: 1;
  position: relative;
}

.deviceUsageSummary .head,
.urgentGoodsSummary .head,
.notificationOfPatientDischarge .head,
.urgentGoodsDetails .head {
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.583rem;
  padding: 0.5rem 1.5rem;
  color: #68d8fe;
  display: flex;
  justify-content: space-between;
  line-height: 1.05;
}

.deviceUsageSummary .marquee-view,
.urgentGoodsSummary .marquee-view,
.notificationOfPatientDischarge .marquee-view,
.urgentGoodsDetails .marquee-view {
  position: absolute;
  top: 1.6rem;
  bottom: 0;
  width: 100%;
  overflow: hidden;
}

.deviceUsageSummary .row,
.urgentGoodsSummary .row,
.notificationOfPatientDischarge .row,
.urgentGoodsDetails .rowForUrgentGoodsDetails {
  line-height: 1.05;
  padding: 0.5rem 1.5rem;
  color: #fff;
  font-size: 16px;
  position: relative;
  display: flex;
  justify-content: space-between;
}

.deviceUsageSummary .row:hover,
.urgentGoodsSummary .row:hover,
.notificationOfPatientDischarge .row:hover,
.urgentGoodsDetails .rowForUrgentGoodsDetails:hover {
  color: #68d8ff;
  background: rgba(255, 255, 255, 0.1);
}

.deviceUsageSummary .row:hover .icon-dot,
.urgentGoodsSummary .row:hover .icon-dot,
.notificationOfPatientDischarge .row:hover .icon-dot,
.urgentGoodsDetails .rowForUrgentGoodsDetails:hover .icon-dot {
  opacity: 1;
}

.deviceUsageSummary .icon-dot,
.urgentGoodsSummary .icon-dot,
.notificationOfPatientDischarge .icon-dot,
.urgentGoodsDetails .icon-dot {
  position: absolute;
  left: 0.64rem;
  opacity: 0;
}

.deviceUsageSummary .marquee-view,
.urgentGoodsSummary .marquee-view,
.notificationOfPatientDischarge .marquee-view,
.urgentGoodsDetails .marquee-view {
  position: absolute;
  top: 1.6rem;
  bottom: 0;
  width: 100%;
  overflow: hidden;
}

/* ------------------------------------------------------------动画 */
@keyframes row {
  0% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  100% {
    -webkit-transform: translate3d(0, -307px, 0);
    transform: translate3d(0, -307px, 0);
  }
}

@keyframes rowForUrgentGoodsDetails {
  0% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  100% {
    -webkit-transform: translate3d(0, -307px, 0);
    transform: translate3d(0, -307px, 0);
  }
}

/* 调用动画 */
.deviceUsageSummary .marquee {
  /* //infinite永久调用动画 */
  animation: row 20s linear infinite;
}

/*鼠标划入 停止动画  */
.deviceUsageSummary .marquee:hover {
  animation-play-state: paused;
}

.urgentGoodsDetails .marquee {
  animation: 20s rowForUrgentGoodsDetails linear infinite;
  position: relative;
}

/*鼠标划入 停止动画  */
.urgentGoodsDetails .marquee:hover {
  animation-play-state: paused;
}

.notificationOfPatientDischarge .marquee {
  animation: 20s rowForUrgentGoodsDetails linear infinite;
  position: relative;
}

/*鼠标划入 停止动画  */
.notificationOfPatientDischarge .marquee:hover {
  animation-play-state: paused;
}

.tousseSummary,
.foreignTousseSummary,
.foreignTousseSummary_SpecifyPeriod {
  display: flex;
}

.tousseSummary .chart,
.foreignTousseSummary .chart,
.foreignTousseSummary_SpecifyPeriod .chart {
  display: flex;
  margin-top: 1%;
  height: 80%
}

.tousseSummary .bar,
.foreignTousseSummary .bar,
.foreignTousseSummary_SpecifyPeriod .bar {
  width: 100%;
  height: 100%
}

.operationReservationSummary .chart {
  margin-top: 2%;
  height: 90%
}

.operationReservationSummary .chart .bar {
  float: left;
  padding: 1% 1%;
  width: 48%;
  height: 46%;
}

.operationReservationSummary .inner_2 .chart .bar {
  width: 23%;
  height: 85%;
}

.gauge {
  width: 100%;
  height: 150px;
}

.columnRight {
  height: 100%
}

.nowTime .inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.nowTime .inner .time {
  font-size: 2.2rem;
  text-align: center;
}

.nowTime .inner .monthAndDay {
  font-size: 1.2rem;
  text-align: center;
  color: #fff;
}

.sales {
  height: 10.333rem;
}

.sales .caption {
  display: flex;
  line-height: 1;
}

.sales h3 {
  height: 0.75rem;
  padding-right: 0.75rem;
}

.sales a {
  padding: 0.167rem;
  font-size: 0.667rem;
  margin: -0.125rem 0 0 0.875rem;
  border-radius: 0.125rem;
  color: #0bace6;
}

.sales a.active {
  background-color: #4c9bfd;
  color: #fff;
}

.sales .inner {
  display: flex;
  flex-direction: column;
}

.sales .chart {
  flex: 1;
  padding-top: 0.6rem;
  position: relative;
}

.sales .label {
  position: absolute;
  left: 1.75rem;
  top: 0.75rem;
  color: #4996f5;
  font-size: 0.583rem;
}

.sales .line {
  width: 100%;
  height: 100%;
}

/* 渠道区块 */
.wrap {
  display: flex;
}

.channel,
.quarter {
  flex: 1;
  height: 9.667rem;
}

.channel {
  margin-right: 0.833rem;
}

.channel .data {
  overflow: hidden;
}

.channel .item {
  margin-top: 0.85rem;
}

.channel .item:first-child {
  float: left;
}

.channel .item:last-child {
  float: right;
}

.channel h4 {
  color: #fff;
  font-size: 1.333rem;
  margin-bottom: 0.2rem;
}

.channel small {
  font-size: 50%;
}

.channel span {
  display: block;
  color: #4c9bfd;
  font-size: 0.583rem;
}

/* 季度区块 */
.quarter .inner {
  display: flex;
  flex-direction: column;
  margin: 0 -0.25rem;
}

.quarter .chart {
  flex: 1;
  padding-top: 0.75rem;
}

.quarter .box {
  position: relative;
}

.quarter .label {
  transform: translate(-50%, -30%);
  color: #fff;
  font-size: 1.25rem;
  position: absolute;
  left: 50%;
  top: 50%;
}

.quarter .label small {
  font-size: 50%;
}

.quarter .gauge {
  height: 3.5rem;
}

.quarter .data {
  display: flex;
  justify-content: space-between;
}

.quarter .item {
  width: 50%;
}

.quarter h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.quarter span {
  display: block;
  width: 100%;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  color: #4c9bfd;
  font-size: 0.583rem;
}

/* 排行榜 */
.top {
  height: 11.8rem;
}

.top .inner {
  display: flex;
}

.top .all {
  display: flex;
  flex-direction: column;
  width: 7rem;
  color: #4c9bfd;
  font-size: 0.6rem;
  vertical-align: middle;
}

.top .all ul {
  padding-left: 0.5rem;
  margin-top: 0.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.top .all li {
  overflow: hidden;
}

.top .all [class^="icon-"] {
  font-size: 1.5rem;
  vertical-align: middle;
  margin-right: 0.5rem;
}

.top .province {
  flex: 1;
  display: flex;
  flex-direction: column;
  color: #fff;
}

.top .province i {
  padding: 0 0.5rem;
  margin-top: 0.208rem;
  float: right;
  font-style: normal;
  font-size: 0.583rem;
  color: #0bace6;
}

.top .province s {
  display: inline-block;
  transform: scale(0.8);
  text-decoration: none;
}

.top .province .icon-up {
  color: #dc3c33;
}

.top .province .icon-down {
  color: #36be90;
}

.top .province .data {
  flex: 1;
  display: flex;
  margin-top: 0.6rem;
}

.top .province ul {
  flex: 1;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.top .province ul li {
  display: flex;
  justify-content: space-between;
}

.top .province ul span {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.top .province ul.sup {
  font-size: 0.583rem;
}

.top .province ul.sup li {
  color: #4995f4;
  padding: 0.5rem;
}

.top .province ul.sup li.active {
  color: #a3c6f2;
  background-color: rgba(10, 67, 188, 0.2);
}

.top .province ul.sub {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  font-size: 0.5rem;
  background-color: rgba(10, 67, 188, 0.2);
}

.top .province ul.sub li {
  color: #52ffff;
  padding: 0.417rem 0.6rem;
}

.clock {
  position: absolute;
  top: -1.5rem;
  right: 1.667rem;
  font-size: 0.833rem;
  color: #0bace6;
}

.clock i {
  margin-right: 5px;
  font-size: 0.833rem;
}

@media screen and (max-width: 1600px) {
  .top span {
    transform: scale(0.9);
  }

  .top .province ul.sup li {
    padding: 0.4rem 0.5rem;
  }

  .top .province ul.sub li {
    padding: 0.23rem 0.5rem;
  }

  .quarter span {
    transform: scale(0.9);
  }
}

.noUrgent {
  display: none;
  align-items: center;
}

.noUrgent span {
  font-size: 1.2rem;
}

.noUrgent h4 {
  margin-bottom: 0;
}