/* 初始化样式 */
body,
dl,
dd,
ul,
li,
ol,
h1,
h2,
h3,
h4,
h5,
h6,
p,
form,
header,
section,
article,
footer,
figure {
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: #000;
}

a:hover {
  text-decoration: none;
  color: #000;
}

img {
  border: 0;
}

button,
input,
select,
textarea {
  outline: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th,
ol {
  padding: 0;
}

li {
  list-style: none;
}

html {
  width: 100%;
  min-width: 85.375rem;
  background-color: #F8F8F8;
}

@media screen and (min-device-width: 1920px) {
  html {
    font-size: 16px;
  }
}

@media screen and (min-device-width: 1536px) and (max-device-width: 1919px) {
  html {
    font-size: 12.6px;
  }
}

@media screen and (min-device-width: 1280px) and (max-device-width: 1535px) {
  html {
    font-size: 10.1px;
  }
}

@media screen and (min-device-width: 1098px) and (max-device-width: 1279px) {
  html {
    font-size: 9.14px;
  }
}

@media screen and (min-device-width: 960px) and (max-device-width: 1097px) {
  html {
    font-size: 9.14px;
  }
}

@media screen and (min-device-width: 768px) and (max-device-width: 959px) {
  html {
    font-size: 6.4px;
  }
}

/* 状态提示徽章样式 */
.icon-offline,
.icon-online,
.icon-fault,
.icon-resolve {
  height: 1.5rem;
  line-height: 1.5rem;
  text-align: center;
  margin-left: 0.56rem;
  box-sizing: border-box;
  padding: 0 0.25rem;
}

.icon-offline {
  display: inline-block;
  background-color: rgba(240, 6, 39, 0.2);
  font-size: 0.88rem;
  color: #F32337;
}

.icon-online {
  display: inline-block;
  background-color: rgba(93, 185, 11, 0.2);
  font-size: 0.88rem;
  color: #37AA04;
}

.icon-fault {
  display: inline-block;
  background-color: rgba(248, 183, 40, 0.2);
  font-size: 0.88rem;
  color: #FC9005;
}

.icon-resolve {
  display: inline-block;
  background-color: rgba(80, 135, 249, 0.2);
  font-size: 0.88rem;
  color: #2D6DF1;
}

.null-tabledata {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 12rem;
}

.null-tabledata img {
  width: 9.375rem;
  flex-grow: 0;
  margin-bottom: 1rem;
  color: #333333;
}

select {
  border: 1px solid #AAA;
  appearance: none;
  /*清除select下拉框默认样式*/
  -moz-appearance: none;
  -webkit-appearance: none;
  /*为下拉小箭头留出一点位置，避免被文字覆盖*/
  background: url("../images/open-icon.png") no-repeat transparent;
  /*自定义图片覆盖原有的下三角符号*/
  background-size: 0.875rem;
  background-position: right;
  box-sizing: border-box;
  padding: 0.125rem;
  padding-right: 1rem;
  border-radius: 0.25rem;
  -webkit-border-radius: 0.25rem;
  -moz-border-radius: 0.25rem;
  -ms-border-radius: 0.25rem;
  -o-border-radius: 0.25rem;
  color: #333333;
}