* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
html {
  width: 100%;
  height: 100%;
}
body,
#workshop-body {
  width: 100%;
  height: 100%;
  background: url(../../assets/images/bg.jpg) no-repeat top center;
  line-height: 1.15;
  overflow: hidden;
  color: #fff;
}
.time-content {
  display: flex;
  margin: 0 auto;
  justify-content: center;
  margin-top: -20px;
  font-size: 0.14rem;
}
.time-content span {
  margin: 0 1px;
}
.time-content .date {
  margin-right: 10px;
}

@font-face {
  font-family: electronicFont;
  src: url(../../assets/font/DS-DIGIT.TTF);
}

.workshop-body header {
  position: relative;
  height: 1.25rem;
  background: url(../images/head_bg.png) no-repeat;
  background-size: 100% 100%;
}
header h1 {
  color: #9ddcff;
  font-size: 0.3rem;
  text-align: center;
  line-height: 1rem;
  font-weight: 400;
}

.ai-workshop-content {
  width: 100%;
  height: calc(100% - 1.25rem);
  color: #fff;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
}
.content-1 {
  height: 30%;
  margin: 20px auto;
}

#echart-box-r,
#echart-box-w,
#echart-box-3,
#echart-box-t {
  /* width: 100%; */
  height: 100%;
}

.content-plc > .label {
  left: 0px;
  top: 0px;
}

.plc-pie-wrap {
  width: 30%;
  height: 100%;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  /* margin-top: 10%; */
  /* margin-top: 40px; */
  /* padding-top: 12px; */
  /* background: url(../images/line.png) rgba(225, 225, 225, 0.15) !important; */
}
.plc-pie-wrap .title {
  position: absolute;
  font-size: 0.14rem;
  color: #8dc1f1;
  font-weight: 400;
  display: inline-block;
  transform: translateY(-0.4rem);
}
.plc-pie-panel {
  width: 100%;
  height: 55%;
  margin-top: 30%;
  display: flex;
  justify-content: center;
  align-items: center;
  /* padding-bottom:10px; */
  /* box-sizing: border-box; */
}

.content-1 .item {
  display: flex;
  justify-content: start;
  align-items: center;
  text-align: center;
  flex-direction: column;
  height: 100%;
  color: #fff;
  margin: 0 auto;
}
.item .title {
  height: 0.5rem;
  font-size: 0.25rem;
  margin-top: 0.1rem;
  margin-bottom: 0.1rem;
}
.my-panel-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  background-color: none;
  background: url(../images/line.png) rgba(225, 225, 225, 0.1) !important;
  border: 0.0125rem solid rgba(25, 186, 139, 0.17);
  margin-bottom: 0.2rem;
  box-sizing: border-box;
}
.my-panel-wrap .label {
  position: absolute;
  color: #8dc1f1;
  display: inline-block;
  font-size: 0.14rem;
  margin-top: 0.08rem;
  margin-left: 0.08rem;
  font-weight: 700;
}

.cloumn-1 .my-panel-wrap,
.cloumn-3 .my-panel-wrap {
  height: 50%;
}
.cloumn-3 .my-panel-wrap .my-panel {
  height: 100%;
}
.cloumn-2 .my-panel-wrap {
  height: 25%;
  margin-bottom: 0.0875rem;
}
.content-plc {
  width: 100%;
  height: 22% !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* padding-bottom: 0.1rem; */
}
.equipment-detail {
  width: auto;
  /* height:18% !important; */
  padding: 0.4rem 0.2rem 0.3rem 0.2rem;
}
.equipment-detail .label {
  margin-left: 0px;
  margin-top: -0.3rem;
}
/* 日期设置样式*/
.date-content {
  width: 100%;
  height: auto;
  min-height: 1rem;
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.06rem;
}
.date-content .wrap-1 {
  width: 65%;
}
.date-content .wrap-2 {
  width: 30%;
}

.date-detail,
.date-menu {
  width: auto;
  height: auto !important;
  min-height: 1rem;
  text-align: center;
}

.date-detail .label,
.date-menu .label {
  position: relative;
  margin-top: 0.1rem;
}
.date-detail .label-wrap {
  width: 100%;
  height: 30px;
  color: #8dc1f1;
  display: flex;
  justify-content: space-between;
  align-items: end;
}

.date-detail .export-data {
  height: 26px;
  padding: 0px 5px;
  margin-right: 10px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  font-size: 0.12rem;
  font-weight: 700;
  border: 1px solid rgba(37, 57, 120, 0);
  transform: translateY(0.05rem);
  cursor: pointer;
  transition: all 0.3s;
}

.date-detail .export-data:hover {
  border: 1px solid #8dc1f1;
}
/* X轴单位 */
.date-menu .label {
  margin-left: 0px;
  width: 100%;
  text-align: left;
  margin-bottom: 20px;
  padding: 5px 0 0 10px;
}
.date-menu-wrap {
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.date-menu-wrap .time {
  color: #8dc1f1;
  font-size: 0.14rem;
  padding: 3px 15px;
  border: 1px solid rgba(255,255,255,0.3);
  /* border: 1px solid rgba(37, 57, 120,0.3); */
  cursor: pointer;
  transition: all 0.3s;
}
.date-menu-wrap .active-time,
.date-menu-wrap .time:hover {
  color: #e3c549;
  border: 1px solid#8DC1F1;
}

.el-date-editor--datetimerange.el-input,
.el-date-editor--datetimerange.el-input__inner {
  width: 98% !important;
  margin: 10px auto;
}

.el-date-editor .el-range-input {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  outline: 0;
  padding: 0;
  width: 39%;
  /* color: #606266; */
  background-color: #283c7b;
  color: #b5bae2;
  font-size: 12px;
}

.el-date-editor .el-range-separator {
  color: #b5bae2;
  /* background-color:#253978; */
  display: block;
  height: 100%;
  text-align: center;
  padding: 0 3px;
  line-height: 3;
}

.el-picker-panel {
  color: #b5bae2;
  border: 0px solid #e4e7ed;
  box-shadow: none;
  background-color: #283c7b;
  line-height: 30px;
  margin: 5px 0;
  border-radius: 0px;
}
.el-date-range-picker__time-header {
  border-bottom: 1px solid rgba(228, 228, 228, 0.2);
  font-size: 0.12rem;
}
.el-date-range-picker__time-header > .el-icon-arrow-right {
  font-size: 0.2rem;
  vertical-align: middle;
  display: table-cell;
  color: #b5bae2;
}

.el-date-table th {
  padding: 5px;
  color: #b5bae2;
  font-weight: 400;
  border-bottom: solid 1px rgba(235, 238, 245, 0.2);
}

.el-picker-panel__footer {
  border-top: 1px solid rgba(235, 238, 245, 0.2);
  padding: 4px;
  text-align: right;
  background-color: #283c7b;
  position: relative;
  font-size: 0;
  color: #b5bae2;
}

.el-button--text {
  color: #b5bae2;
}

.el-picker-panel__link-btn {
  display: inline-block;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.2);
  border: 0px solid #dcdfe6;
  color: #b5bae2;
  font-size: 14px;
  border-radius: 0px;
  padding: 7px 15px;
}

.el-button.is-plain:focus,
.el-button.is-plain:hover {
  background: none;
  border-color: none;
  color: #66b1ff;
}
.el-picker-panel__icon-btn {
  color: #b5bae2;
}

/* 面板样式 */
.my-panel-wrap::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  border-left: 2px solid #02a6b5;
  border-top: 2px solid #02a6b5;
  content: '';
}

.my-panel-wrap::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid #02a6b5;
  border-top: 2px solid #02a6b5;
  content: '';
}

.column {
  height: calc(100% - 0.3rem);
  /* height: 100%; */
  margin-left: 0.125rem;
  margin-right: 0.125rem;
  flex: 3;
}
.cloumn-1,
.cloumn-3 {
  width: 28%;
}
.cloumn-2 {
  width: 38%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.column .equipments-content {
  /* width: 100%; */
  height: 0.6rem;
}
.equipments-content .list-wrap {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: space-between;
}
.equipments-content .list-wrap .item {
  flex:1;
  display: inline-block;
  list-style: none;
  font-size: 0.14rem;
  padding: 5px 6px;
  text-align: center;
  cursor: pointer;
  color: #8dc1f1;
  border: 1px solid rgba(255, 255, 255, 0);
  box-sizing: border-box;
  transition: all 0.3s;
  
}
.equipments-content .list-wrap .item:hover {
  display: inline-block;
  list-style: none;
  color: #e3c549;
  cursor: pointer;
  border: 1px solid #8dc1f1;
  box-sizing: border-box;
}
.active-equipment {
  color: #e3c549 !important;
  border: 1px solid #8dc1f1 !important;
}

/* 表格样式 */
.el-date-range-picker__content.is-left {
  border-right: 1px solid rgba(228, 228, 228, 0.2);
}

.my-table {
  width: 100%;
}

.el-table {
  width: 100%;
  display: block;
  border: 1px solid #253978;
  font-size: 0.12rem;
}
.el-table.device-table {
  background: none;
}
.el-table__body {
  width: 100% !important;
  table-layout: fixed;

  /* table-layout: auto;  */
}
.el-table__body-wrapper::-webkit-scrollbar {
  width: 3px;
  height: 5px;
  box-shadow: inset006pxrgba(0, 0, 0, 0.7);
  -webkit-box-shadow: inset006pxrgba(0, 0, 0, 0.7);
}
/* 滚动槽 */
.el-table__body-wrapper::-webkit-scrollbar-track {
  width: 2px;
  height: 5px;
  box-shadow: inset006pxrgba(0, 0, 0, 0.7);
  -webkit-box-shadow: inset006pxrgba(0, 0, 0, 0.7);
  border-radius: 2px;
}
/* 滚动条滑块 */
.el-table__body-wrapper::-webkit-scrollbar-thumb {
  border-radius: 2px;
  background: #678cff;
  box-shadow: inset006pxrgba(0, 0, 0, 0.7);
  -webkit-box-shadow: inset006pxrgba(0, 0, 0, 0.7);
}
.el-table__body-wrapper::-webkit-scrollbar-thumb:window-inactive {
  background: rgba(103, 140, 255, 0.5);
  width: 2px;
}

.el-table__body,
.el-table__footer,
.el-table__header {
  table-layout: auto !important;
  /* border-collapse: initial; */
  border-collapse: auto;
}

.device-table tr {
  background: rgba(11, 24, 79, 0.6) !important;
  color: #b5bae2;
}
.el-table .el-table__cell {
  padding: 6px 0px;
}
.el-table th.el-table__cell {
  background: none !important;
  padding: 3px 0px;
}
.device-table tr:hover {
  background: none !important;
  background-color: rgba(255, 255, 255, 0.2) !important;
  color: #666;
}
.el-table th.el-table__cell:hover {
  background: none !important;
}

.el-table td.el-table__cell,
.el-table th.el-table__cell.is-leaf {
  border-bottom: 1px solid rgba(235, 238, 245, 0.2) !important;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
/* .el-table td.el-table__cell div {
} */
.el-table--striped .el-table__body tr.el-table__row--striped td.el-table__cell {
  background: #18245e;
}

.el-table th.el-table__cell > .cell {
  display: block;
  color: #fff;
  padding-left: 0px;
  padding-right: 0px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.has-gutter tr {
  background: #283c7b !important;
}

.el-table--border::after,
.el-table--group::after,
.el-table::before {
  content: '';
  position: absolute;
  background-color: rgba(37, 57, 120, 0) !important;
  z-index: 1;
}

.el-table--border .el-table__cell,
.el-table__body-wrapper .el-table--border.is-scrolling-left ~ .el-table__fixed {
  border-right: 1px solid #253978;
}

.el-table--enable-row-hover .el-table__body tr:hover > td.el-table__cell {
  background-color: #283c7b;
  color: #fff;
}

.el-table .el-table__cell  {
  overflow: hidden;
  width: 100px !important;
}

.el-input__inner {
  border: 0px solid #dcdfe6;
  background-color: #283c7b;
  color: #b5bae2;
  border-radius: 0px;
}

.el-range-editor.el-input__inner {
  padding: 0px 10px;
  width: 82%;
}

/* 温度情况 */
.temp-content {
  height: 33% !important;
}

@media screen and (min-width: 1920px) {
  html {
    font-size: 100px !important;
  }
}
@media screen and (max-width: 1920px) {
  html {
    font-size: 100px !important;
  }
}
@media (min-width: 800px) and (max-width: 1220px) {
  html {
    font-size: 100px !important;
  }
  .date-menu-wrap .time {
    padding: 2px 6px;
  }
  .my-panel-wrap .label {
    font-size: 0.12rem;
    margin-top: 0.04rem;
    margin-left: 0.04rem;
  }
  .equipment-detail .label {
    margin-left: -13px;
    margin-top: -0.33rem;
  }
  .plc-pie-wrap .title {
    transform: translateY(-0.27rem);
  }
}
@media screen and (max-width: 800px) {
  html {
    font-size: 80px !important;
  }
  body,
  #workshop-body {
    background-size: cover;
    background-repeat: repeat-y;
    overflow: auto;
  }
  .el-range-editor.el-input__inner{
    padding: 0px 0px;
    width:100% !important;
    padding-left: 10px;
  }
  .el-date-editor .el-range__icon{
    display: none;
  }
  .el-date-editor .el-range-separator{
    margin-left:4px;
    margin-right:4px;
    padding: 0 0px;
    /* font-size:10px; */
  }
  .el-date-editor .el-range-input{
    width:100% !important;
  }
  .item .title {
    font-size: 0.2rem;
    margin-bottom: 0.2rem;
    margin-top: 0.2rem;
  }
  /* .grant-parent {
    margin: 0 0.125rem;
  } */
  .ai-workshop-content {
    flex-wrap: wrap;
    /* display: block; */
    /* flex-direction: column;
    align-items: flex-start;
    justify-content: start; */
  }
  .column {
    width: 100%;
    position: relative;
    flex: auto;
    margin-bottom: 0.1rem;
    /* justify-content: center; */
  }
  .cloumn-1 {
    order: 2;
    /* margin-top: calc(30% + 1.5rem); */
    margin-top: 0rem;
  }
  .cloumn-2 {
    order: 1;
    /* margin-bottom: 1rem; */
    position: relative;
    display: flex;
    height: auto;
    flex-direction: column;
    justify-content: center;
    padding: 0 10px;
    margin-bottom: 0px;
  }
  .cloumn-3 {
    order: 3;
    margin: 0.1rem 0 !important;
    padding: 0 10px;
    /* margin-top: calc(30% + 1.5rem); */
    /* margin-top: 0rem; */
  }
  .my-panel-wrap {
    /* width: 96%; */
    /* margin: 0.2rem auto; */
    height: 3rem;
    width: 100%;
    margin-bottom: 0.1rem !important;
  }
  .cloumn-2 .my-panel-wrap {
    width: 100%;
  }

  .equipment-detail {
    height: auto;
    height: 1rem;
    padding: 0.2rem 0.05rem;
  }

  .content-plc {
    order: 1;
    height: 2.6rem !important;
  }
  .equipments-content {
    order: 2;
    height: 1rem !important;
  }

  .date-content {
    order: 3;
  }
  .date-content {
    width: 100%;
    height: auto;
    min-height: 1rem;
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.06rem;
    flex-direction: column;
  }
  .date-content .wrap-1 {
    width:100%;
  }
  .date-content .wrap-2 {
    width:100%;
  }
  .equipment-detail {
    order: 4;
    height: 3.6rem !important;
  }
  .temp-content {
    order: 5;
  }

  .plc-pie-wrap {
    margin-top: 0px;
    padding-top: 0px;
  }
  .plc-pie-wrap .title {
    transform: translateY(-0.6rem);
  }
  .date-detail,
  .date-menu {
    height: 1.2rem !important;
  }
  .date-menu .label {
    transform: translateY(-5px);
  }
  .date-menu-wrap .time {
    padding: 5px 15px;
  }
  .el-date-range-picker {
    width: 100%;
    overflow: auto;
  }
  .el-date-range-picker .el-picker-panel__body {
    min-width: 100%;
  }
  .equipment-detail .label {
    margin-top: 0px !important;
    padding-left: 10px;
  }
  .el-table {
    margin-top: 0.3rem;
  }

  .temp-content {
    height: 3rem !important;
  }
}
/* .width-1{
  width: 100px;
} */

.device-table-align{
  width: 100%;
  margin-top:30px;
  border-spacing: 0;
  border-collapse: collapse;
  border: 0px solid #ddd;
 
}
.device-table-align tr{
  font-size: 13px;
}
.device-table-align tr th{
  /* color: #fff; */
  color: #b5bae2;
  background: none !important;
  width: 100px;
}
.device-table-align tr td{
  color: #b5bae2;
  text-align: center;
  box-sizing: border-box;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  /* word-break: break-all; */
  line-height: 23px;
  padding: 2px 4px;
}
.device-table-align tr td .cell{
  white-space: nowrap;
    min-width: 50px;
    box-sizing: border-box;
}
.device-table-wrap{
  width: 100%;
  overflow: hidden;
  overflow-x: auto;
  position: relative;
  flex: 1;
}
.device-table-horizontal{
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
  border: 0px solid #ddd;
 
}

.device-table-horizontal tr th{
  /* color: #fff; */
  color: #b5bae2;
  background: none !important;
  width: 100px;
  padding: 4px 4px;
}

.device-table-horizontal tr td{
  color: #b5bae2;
  text-align: center;
  box-sizing: border-box;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  line-height: 23px;
  padding: 4px 4px;
  width:80px;
}
/* .device-table-align .cell {
  box-sizing: border-box;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  word-break: break-all;
  line-height: 23px;
  padding: 0 12px;
} */

.el-table th.el-table__cell > .cell{
  padding-left: 10px;
}

/*里面的代码可以根据自己需求去进行更改*/
/* 设置滚动条的样式 */
::-webkit-scrollbar {
  width:6px;
  height:5px;
  }
  /* 滚动槽 */
  ::-webkit-scrollbar-track {
  -webkit-box-shadow:inset006pxrgba(0,0,0,0.7);
  border-radius:10px;
  }
  /* 滚动条滑块 */
  ::-webkit-scrollbar-thumb {
  border-radius:6px;
  background:#66b1ff;
  -webkit-box-shadow:inset006pxrgba(0,0,0,0.5);
  }
  ::-webkit-scrollbar-thumb:window-inactive {
  background:#66b1ff;
  }
  