/* You can add global styles to this file, and also import other style files */
* {
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
}

html:lang(zh) .sg-common-class, html:lang(zh) body {
  font-family: "Microsoft Yahei", 微软雅黑, Arial, STXihei, "boschsans", "Helvetica Neue", Helvetica, 华文细黑, sans-serif;
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

/*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/
*::-webkit-scrollbar {
  width: 12px;
  height: 12px;
  background-color: #F5F5F5;
}

/*定义滚动条轨道 内阴影+圆角*/
*::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  background-color: #F5F5F5;
}

/*定义滑块 内阴影+圆角*/
*::-webkit-scrollbar-thumb {
  border-radius: 12px;
  //-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
  background-color: #c0c0c0;
}

// 表格中删除的字体颜色
.deleteFontColor {
  color: red;
  cursor: pointer;
}

.deleteFontColor:hover {
  color: red;
  cursor: pointer;
}

.amap-logo, .amap-copyright {
  display: none !important;
}

//页面标准按钮样式
.btnDel {
  color: #ff2c32;
  background-color: #FFFFFF;
  border-color: #d9d9d9;
}

.btnDel:hover, .btnDel:focus, .btnDel:active {
  background-color: #ff2c32;
  border-color: #ff2c32;
  color: #ffffff;
}

.btnAll {
  color: #FFFFFF;
  background-color: #a0d911;
  border-color: #a0d911;
}

.btnAll:hover, .btnAll:focus, .btnAll:active {
  background-color: #a0d911;
  border-color: #a0d911;
  color: #FFFFFF;
}

.btnAdd {
  color: #FFFFFF;
  background-color: #52c41a;
  border-color: #52c41a;
}

.btnAdd:hover, .btnAdd:focus, .btnAdd:active {
  background-color: #52c41a;
  border-color: #52c41a;
  color: #FFFFFF;
}

.textStyle1 {
  color: #ffffff;
  font-weight: 400;
  font-size: 1rem;
}

.textStyle2 {
  color: #000;
  font-weight: 200;
  font-size: 1rem;
}

.whenHover {
  cursor: pointer;
}

.textStyle2:hover, .textStyle2:focus {
  color: #005691 !important;
}

.header, .footer {
  background-image: url(data:image/svg+xml;base64,[encoded data, 13556 characters]);
  height: 16px;
}

.searchBar {
  margin: 10px 10px 0 10px;
  padding: 15px;
  background-color: #fff;
  position: relative;
}

.searchItem {
  display: inline-block !important;
  margin-bottom: 15px;
  width: 100%;
  min-width: 265px;
}

.item-label-group:before {
  padding-left: 10px;
  content: '';
}

.item-label-group:after {
  content: ':';
  padding-left: 5px;
  padding-right: 10px;
  font-weight: 600;
}

.item-label-group {
  width: calc(44% - 5px);
  font-size: 15px;
  text-align: right;
  vertical-align: baseline;
  padding-right: 5px;
  line-height: 30px;
  display: inline-block;
}

.searchItemGroup {
  width: 100%;
  display: inline-block !important;
  margin-bottom: 15px;
  min-width: 265px;
}

.item-input-group {
  width: 55%;
  display: inline-block;
  min-width: 260px;
}

@media screen and (min-width: 780px) {
  .searchItem {
    width: 50%;
  }
  .item-label-group {
    width: calc(22% - 5px);
  }
  .item-input-group {
    width: 77%;
  }
}

.contentItem {
  display: inline-block !important;
  width: 100%;
  min-width: 485px;
}

@media screen and (min-width: 1280px) {
  .searchItem {
    width: 33.333%;
  }
  .item-label-group {
    width: calc(29.33% - 5px);
  }
  .searchItemGroup {
    width: 50%;
  }
  .item-input-group {
    width: 68%;
  }
  .btnLine.whenOneLine, .pagePart.whenOneLine {
    display: inline-flex;
    vertical-align: bottom;
  }

  .btnLine.whenOneLine {
    width: calc(100% - 420px);
  }

  .contentItem {
    width: 50%;
  }
}

@media screen and (min-width: 1720px) {
  .contentItem {
    width: 33.333%;
  }
}

.item-label, .item-input {
  display: inline-block;
}

.item-label {
  width: calc(44% - 5px);
  font-size: 15px;
  text-align: right;
  padding-right: 5px;
  line-height: 30px;
  vertical-align: top;
}

.item-label:before {
  padding-left: 10px;
  content: '';
}

.item-label:after {
  content: ':';
  padding-left: 5px;
  padding-right: 10px;
  font-weight: 600;
}

.item-input {
  width: 55%;
}

.item-input-left {
  width: 30%;
}

.item-input-right {
  width: 20%;
}

.btnLine {
  text-align: right;
}

.btnLine button:not(:last-child) {
  margin-right: 10px;
}

.tableBar {
  //white-space: nowrap;
  //overflow-x: auto;
  margin: 10px;
  padding: 15px;
  background-color: #fff;
  position: relative;
}

.infoText {
  text-align: left;
  font-size: 5px;
  color: #888888;
  margin: -15px 0 5px 34%;
}

span.delSpan {
  color: #ff2c32;
  cursor: pointer;
}

span.editSpan {
  color: #1890ff;
  cursor: pointer;
}

span.addSpan {
  color: #4FB3A4;
  cursor: pointer;
}

.bottomLine {
  border-bottom: 1px solid #e6e6e6;
}

.addIcon {
  line-height: 25px;
  height: 40px;
  margin: 0 5px;
  position: relative;
}

.inModal {
  width: 100%;
}

.inModal .item-label {
  text-align: left;
}

.inModal .item-label:before {
  padding: 0;
}

.noData {
  line-height: 40px;
  font-size: 16px;
  text-indent: 20px;
}

.echartsPart {
  min-width: 300px;
  width: 100%;
  height: 500px;
}

.inputNumIcon:hover {
  color: #FFFFFF;
  background-color: #1890ff;
  border-radius: 10px;
}

.hidden {
  display: none;
}

.pagePart {
  margin-top: 10px;
  display: inline-block;
}

.canClick {
  color: #1890ff;
  cursor: pointer;
}

.backBtnOnTabset {
  position: absolute;
  right: 16px;
  top: 5px;
  z-index: 2;
}

.subTitle {
  line-height: 30px;
  margin-bottom: 15px;
  font-size: 18px;
  text-indent: 5px;
  font-weight: 500;
  position: relative;
}

label.subTitle {
  position: absolute;
  left: 15px;
}

.half {
  width: 50%;
  display: inline-block;
  vertical-align: top;
}

.ant-table-body table thead tr th, table tbody tr {
  text-align: center;
}

button.searchBtn, button.searchBtn:hover, button.searchBtn:active, button.searchBtn::selection {
  color: #ffffff;
  background-color: #25a8e3;
  border-color: #25a8e3;
}
button.delBtn, button.delBtn:hover, button.delBtn:active, button.delBtn::selection {
  color: #ffffff;
  background-color: #ff0000;
  border-color: #ff0000;
}

button.unbindBtn, button.unbindBtn:hover, button.unbindBtn:active, button.unbindBtn::selection {
  color: #ffffff;
  background-color: #669966;
  border-color: #669966;
}
