// http://ionicframework.com/docs/theming/
@import '~@ionic/angular/css/core.css';
@import '~@ionic/angular/css/normalize.css';
@import '~@ionic/angular/css/structure.css';
@import '~@ionic/angular/css/typography.css';
@import '~@ionic/angular/css/display.css';
@import '~@ionic/angular/css/padding.css';
@import '~@ionic/angular/css/float-elements.css';
@import '~@ionic/angular/css/text-alignment.css';
@import '~@ionic/angular/css/text-transformation.css';
@import '~@ionic/angular/css/flex-utils.css';

/* 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;
}

.mainCon {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  overflow-y: auto;
}

.canClick {
  color: #28c9bd;
  cursor: pointer;
}

.sucCir {
  width: 17px;
  height: 17px;
  border-radius: 17px;
  background-color: #28c9bd;
  display: inline-block;
  vertical-align: middle;
  box-shadow: #ccc 0.5px 0.5px 3px;
}

.errCir {
  width: 17px;
  height: 17px;
  border-radius: 17px;
  background-color: #9ea7b4;
  display: inline-block;
  vertical-align: middle;
  box-shadow: #ccc 0.5px 0.5px 3px;
}

.topPart {
  border-bottom: 1px solid #ddd;
  box-shadow: #ddd 0.1px 0.2px 3px;
  margin-bottom: 20px;
}

img {
  width: 100% !important;
  height: 100%;
}

#v-loading {
  height: 100%;
  width: 100%;
  background-color: rgba(80, 80, 80, 0.5);
  z-index: 9999999999999;
  position: relative;
  text-align: center;
  .loading-inner {
    min-height: 30px;
    min-width: 150px;
    max-width: 55%;
    display: inline-block;
    margin-top: 50%;
    border-radius: 5px;
    background-color: #fff;
    padding: 20px 30px;
    font-size: 18px;
    position: relative;
    line-height: 30px;
    text-align: center;
  }
  #loading-inner {
    font-size: 16px;
  }
}

.msgToast {
  --background: #444444;
  --color: #ffffff;
}

.inputText {
  border: 1px solid lightgray;
  border-radius: 3px;
  height: 25px;
  margin-right: 5px;
  text-align: right;
  padding-right: 5px !important;
}

.inputDateTime {
  border: 1px solid lightgray;
  border-radius: 3px;
  height: 20px;
  margin-right: 5px;
  text-align: center;
  padding: 5px 0px 0px 0px;
}

.font-title {
  font-size: 16px;
}

.font-sub-title {
  font-size: 15px;
}

.font-content-title {
  font-size: 14px;
}

.font-content {
  font-size: 13px !important;
  color: #828282 !important;
}

.font-input {
  font-size: 13px;
}

.font-note {
  font-size: 13px;
  color: #828282;
}

.font-smaller {
  font-size: 12px !important;
  color: #828282 !important;
}

.font-mini {
  font-size: 10px !important;
  color: #828282;
}

.font-ts {
  font-size: 13px;
  color: #828282;
}

.font-alarm {
  font-size: 13px;
  color: #F2401C;
}

.content-text-color {
  color: #828282;
}

.note-text-color {
  color: #c3bebe;
}

.main-color {
  color:#62C7CC;
}

.light-color {
  // color: #828282;
  background-color: rgba(225,255,255, 0.8);
}

.spinnerColor {
  --spinner-color: #62C7CC;
}

.alarmColor {
  color: #F2401C;
}

.normalColor {
  color: #828282;
}

.main-title {
  font-size: 16px;
  padding-left: 5px;
  border-left: 5px solid #62C7CC;
  line-height: 25px;
  margin-bottom: 5px;
  margin-left: 10px;
  margin-top: 5px;
}

.main-title-detail {
  background-color: #ffffff;
  font-size: 16px;
  padding-left: 5px;
  border-left: 5px solid #62C7CC;
  line-height: 25px;
  margin-bottom: 5px;
  margin-left: 5px;
  margin-top: 5px;
}

.env-detail-content {
  padding: 5px;
  margin: 8px 5px 5px 5px;
  background-color: #ffffff;
  border-radius: 5px;
}

.icon-batch-switch {
  width: 30px !important;
  padding: 5px 5px 5px 0px;
  margin: 5px;
  background-color: #ffffff;
  border-radius: 5px;
}

.label-batch-switch {
  float: left;
  width: 40%;
  display: inline-block;
  align-content: center;
  padding-top: 18px;
}

.modelState {
  display: inline-block;
  margin-right: 10px;
  width:23px !important
}

.modelState-large {
  display: inline-block;
  margin-right: 10px;
  width:25px !important
}

.online {
  border-radius: 10px;
  background-color: #62C7CC;
  display: inline-block;
  vertical-align: middle;
  box-shadow: #ccc 0.5px 0.5px 3px;
  padding: 5px 5px 5px 5px;
  color: white;
  margin-left: 5px;
  margin-right: 2px;
  font-size: 12px;
}

.offline {
  border-radius: 10px;
  background-color: #9ea7b4;
  display: inline-block;
  vertical-align: middle;
  box-shadow: #ccc 0.5px 0.5px 3px;
  padding: 5px 5px 5px 5px;
  color: white;
  margin-left: 5px;
  margin-right: 2px;
  font-size: 12px;
}


.card-div {
  border: solid 1px #bfbfbf;
  border-radius: 7px;
  padding: 5px;
}

.item-height {
  height: 38px;
}


.fix-item-padding {
  --inner-padding-start: 5px;
  --inner-padding-end: 0px;
  --padding-start: 0px;
  --padding-end: 0px;
}

.badge {
  font-size: 10px;
  --padding-start: 4px;
  --padding-end: 4px;
}

.ion-segment-button {
  font-size: 15px;
}

.btn-large {
  height: 35px;
}


.ngx-datatable .datatable-header {
  display: block;
  overflow: hidden;
  background-color: #424242;
  color: #ffffff;
  height: unset !important;
  border-right: 1px solid white;
}

.ngx-datatable .datatable-body {
  // height:303px !important;
}
.ngx-datatable .datatable-body-cell {
  border-right: 1px solid #ffffff;
  border-bottom: 1px solid #ffffff;
}

.ngx-datatable .datatable-header .datatable-header-cell {
  position: relative;
  display: inline-block;
  border-right: 1px solid #ffffff;
  border-bottom: 1px solid #ffffff;

}

.tab-btn-color {
  // --color:#62C7CC;
  --color-selected: #62C7CC;
}
