// 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/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';
/*统一默认样式*/
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;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/*制定网站字体大小颜色*/
html, body {
  font-size: 14px;
  color: #555555;
}

html, body {
  width: 100%;
  height: 100%;
}

*:focus {
  outline: none;
}
img {
  transform: translate3d(0px, 0px, 0px) scale(1) !important;
}

$themeColor: #1890ff;
.msgToast, .btnToast {
  --background: rgba(0, 0, 0, 0.7);
  --color: #ffffff;
  text-align: center;
}

.partCard {
  padding: 5px 10px 0 10px;

  .partTitle {
    text-align: left;
    font-size: 16px;
    padding: 5px;
    border-bottom: 2px solid $themeColor;
    color: $themeColor;

    label {
      padding-left: 8px;
    }
  }

  .partCon {
    padding: 5px 0 0 0;
  }
}

.mainContent {
  height: 100%;
  overflow-y: auto;
  font-size: 14px;
}

.inBox {
  width: 100%;
  height: 100%;

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


.zi {
  color: #DA45FF;
}

.lv {
  color: #009966;
}

.hong {
  color: #ff0000;
}

.hui {
  color: #cccccc;
}

.error {
  background-color: #ff0000;
  color: #ffffff;
}

.online {
  background-color: #009966;
  color: #ffffff;
}

.offline {
  background-color: #cccccc;
  color: #888888;
}

.tag {
  text-align: center;
  display: inline-block;
  margin: 0 3px;
  width: 40px;
  line-height: 20px;
  height: 20px;
  border-radius: 10px;
}

.searchBar {
  height: 60px;
  padding: 12px;
  line-height: 36px;
  width: 100%;
  position: relative;

  .inputPart {
    position: relative;
    width: 100%;
    display: inline-block;

    .searchBarSearchIco {
      position: absolute;
      top: 0;
      left: 10px;
    }

    .searchBarText {
      width: 100%;
      border: none;
      background-color: #ededed;
      padding-left: 35px;
      border-radius: 10px;
    }
  }

  .inputPart.showBtn {
    width: calc(100% - 81px);
  }

  .buttonPart {
    display: inline-block;
    .cancel, .search {
      display: inline-block;
      width: 40px;
      text-align: center;
    }
  }
}

.divideDiv {
  background-color: #f4f4f4;
  height: 20px;
}
