html,body{
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

/* ul,h1,h2,h3,h4,h5,h6,p{
    list-style: 0;
    padding: 0;
    margin: 0;
}
a{
    text-decoration: none;
} */





.t_l_line{
    position: absolute;
    top: 0;
    left: 0;
}
.t_r_line{
    position: absolute;
    bottom: 0;
    right: 0;
}


/* 左一 */
.t_left_box{
    position: relative;
    width: 23%;
    height: 35%;
    left: 2%;
    top: -58%;
    display: inline-block;
    text-align: center;
}

/* 左二 */
.b_left_box{
    display: inline-block;
    width: 23%;
    height: 46%;
    left: 2%;
    top: -55%;
    position: relative;
}

/* 中间 */

.t_center_box{
    position: relative;
    width: 45%;
    left: 3%;
    top: 1%;
    height: 85%;
    display: inline-block;
    /* min-width: 490px; */
}
/* 设备信息 */

.t_top_box{
    width: 100%;
    height: 10%;
    overflow: hidden;
    position: relative;
    margin-bottom: 0.2rem;
}
/* 中间模型 */
.t_bottom_box{
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}
/* 右1 */
.t_right_box{
    display: inline-block;
    width: 26%;
    height:40%;
    right: -4%;
    top: -52%;
    position: relative;
    /* min-width: 560px; */
}


.c_right_box{
    display: inline-block;
    width: 26%;
    height:42%;
    right: -49%;
    top: -60%;
    position: relative;
   
} 


.t_mbox{
    width: 3rem;
    height: 1.28rem;
    position: relative;
    margin: 0 auto;
    margin-top: 0.2rem;
}
.t_rbox{
    background: #D9523F;
}   
.t_gbox{
    background: #13D0B2;
}
.t_ybox{
    background: #F6A645;
}
.t_mbox i{
    display: inline-block;
    width: 0.46rem;
    height: 0.48rem;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20%;
    margin: auto;
}
.t_mbox h2{
    font-size: 0.28rem;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
}
.t_mbox span{
    font-size: 0.2rem;
    color: #fff;
    position: absolute;
    top: 24%;
    left: 48%;
}
.t_rbox i{
    background: url(../img/indent.png) no-repeat;
    background-size: 100% 100%;
}
.t_gbox i{
    background: url(../img/vip.png) no-repeat;
    background-size: 100% 100%;
}
.t_ybox i{
    background: url(../img/consumption.png) no-repeat;
    background-size: 100% 100%;
}
.t_nav{
    width: 100%;
    height: 100%;
}
.t_nav li{
    display: inline-block;
    width: 30%;
    height: 100%;
    text-align: center;
    position: relative;
    
}
.t_nav li span{
    font-size: 0.14rem;
    color: #1AA1FD;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    top: 20%;
}
.t_nav li h1{
    font-size: 0.10rem;
    color: #fff;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    top: 65%;
}
.t_nav li i{
    width: 1px;
    height: 100%;
    position: absolute;
    right: -0.2rem;
    background: url('../img/sper.png') no-repeat;
    background-size: 100% 100%;
}
.t_table{
    font-size: 0.16rem;
    color: #fff;
    width: 94%;
    margin: 0 auto;
    border-spacing: 0;
    text-align: center;
    box-sizing: border-box;
    margin-top: 12%;
}
.t_table tr{
    margin: 0;
    padding: 0;
    height: 0.42rem;
}
.t_table thead tr{
    background: #053A98;
}
.t_table tbody tr td:first-child{
    border-left: 1px solid #053A98;
}
.t_table td{
    border-bottom: 1px solid #053A98;
    border-right: 1px solid #053A98;
}
.t_title{
    position: absolute;
    font-size: 0.18rem;
    color: #fff;
    left: 5%;
    top: 10%;
}
.t_b_h,t_b_m{
    position: absolute;
    font-size: 0.16rem;
    left: 10%;
    width: 50%;
    height: 4.6rem;
}
.t_b_h span{
    position: absolute;
    color: #fff;
    top: 10%;
}
.t_b_h img{
    position: absolute;
    width: 0.53rem;
    height: 0.53rem;
    top: 6%;
    left: 24%
}
.t_b_h h3{
    font-size: 0.36rem;
    color: #F0FF00;
    position: absolute;
    left: 55%;
    top: 8%;
    width: 1rem;
}
.t_b_h h3 span{
    font-size: 0.2rem;
    position: absolute;
    left: 50%;
    top: 28%;
    color: #0072FF;
}
.t_b_m img{
    position: absolute;
    left: 20%;
    top: 5%;
    border-top: 1px dotted #F0FF00;
    padding: 0 0.18rem;
    padding-top: 20px;
    width: 3.19rem;
    height: 1.67rem;
}
.t_b_box,.t_b_box1,.t_b_box2,.t_b_box3{
    width: 1.3rem;
    height: 0.56rem;
    border: 1px dotted #F0FF00;
    border-radius: 5px;
    position: absolute;
}
.t_b_box{
    top: 55%;
    left: 25%;
}
.t_b_box1{
    top: 55%;
    left: 55%;
}
.t_b_box2{
    top: 75%;
    left: 25%;
}
.t_b_box3{
    top: 75%;
    left: 55%;
}

.t_b_box span,.t_b_box1 span,.t_b_box2 span,.t_b_box3 span{
    font-size: 0.14rem;
    color: #fff;
    position: absolute;
    left: 10%;
}
.t_b_box i,.t_b_box1 i,.t_b_box2 i,.t_b_box3 i{
    width: 20px;
    height: 20px;
    position: absolute;
    top: 50%;
    left: 15%
}
.t_b_box i{
    background: url('../img/t.png') no-repeat;
    background-size: 100% 100%;
}
.t_b_box1 i{
    background: url('../img/s.png') no-repeat;
    background-size: 100% 100%;
}
.t_b_box2 i{
    background: url('../img/j.png') no-repeat;
    background-size: 100% 100%;
}
.t_b_box3 i{
    background: url('../img/g.png') no-repeat;
    background-size: 100% 100%;
}
.t_b_box h2,.t_b_box1 h2,.t_b_box2 h2,.t_b_box3 h2{
    font-size: 0.18rem;
    color: #fff;
    position: absolute;
    top: 30%;
    left: 40%;
}

.realtime-content {
  /* flex: 0 0 60%; */
   height: 420px; 
  padding: 20px;
  padding-top: 0;  /* 减少上内边距 */
  overflow-x: auto;  /* 如果内容过多，允许滚动 */
   overflow-y: auto;
  margin-top: 0;  /* 减少或移除上边距 */
}

#surveyorTable, #realTimeData {
  width: 100%;  /* 表格宽度填满容器 */
  border-collapse: collapse;
  margin-top: 2px;
}

#surveyorTable th, #surveyorTable td, #realTimeData th, #realTimeData td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
}

#surveyorTable thead, #realTimeData thead {
  background-color: #007BFF; /* 深蓝色背景 */
  color: white; /* 白色字体 */
}

#surveyorTable tbody tr:nth-child(odd), #realTimeData tbody tr:nth-child(odd) {
  background-color: #fbfbfb;
  color: #111;
}

#surveyorTable tbody tr:hover, #realTimeData tbody tr:hover {
  background-color: #f1f1f1;
}

#tableContainer {
  height: 200px; /* 或者其他根据需要设定的固定高度 */
  overflow-y: auto; /* 启用垂直滚动条 */
}

/* 设置表头的字号 */
#surveyorTable th, #realTimeData th {
  font-size: 14px; /* 你可以根据需要调整字号 */
}

/* 设置表格内容的字号 */
#surveyorTable td, #realTimeData td {
  font-size: 16px; /* 你可以根据需要调整字号 */
}
