﻿/* 
* 该文件做为基类预加载，以保证页面初始渲染时不会晃动，定下来即不可修改 
* 修改请在其它样式中覆盖
*/
html,
body {
  height: 100%;
}
.form-cell3 {
  display: flex;
  flex-wrap: wrap;
}

.wi-breadcrumb {
  display: none;
}

.wi-layouts-title {
  font-size: 0;
  overflow: hidden;
}

button.si-btn-text {
  background: transparent !important;
  padding: 0 !important;
  font-size: 12px;
  height: auto !important;
}

.ddl {
  padding: 4px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0px 10px 28px 8px rgba(0, 0, 0, 0.04),
    0px 6px 16px 0px rgba(0, 0, 0, 0.06), 0px 3px 6px -2px rgba(0, 0, 0, 0.08);
}

.table {
  width: 100%;
  max-width: 100%;
  margin-bottom: 12px;
  border-spacing: 0;
  border-collapse: collapse;
}

.table thead {
  background-color: whitesmoke;
  border-bottom: dashed 1px #e1e4e8;
}

.table thead tr {
  background: #fff;
}

.table th {
  padding: 10px 0 10px 12px;
  /* background-color: whitesmoke; */
  text-align: left;
  line-height: 1.42857;
  box-sizing: border-box;
}

.table tr {
  border-bottom: dashed 1px #e1e4e8;
  box-sizing: border-box;
}

.si-page-header {
  display: flex;
  align-items: center;
}

.si-page-header .back {
  margin-right: 16px;
  cursor: pointer;
}

.si-page-title {
  font-size: 18px;
  font-weight: 500;
  color: #333;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  word-break: break-all;
}

.table td {
  padding: 12px 0 12px 12px;
  text-align: left;
}

.si-btn--text {
  padding: 0;
  background: transparent !important;
}

.coerce-hide {
  display: none !important;
}

/* .popup {
  border-radius: 20px 0 0 20px;
} */

.drawer .pop-body {
  padding: 24px;
  box-sizing: border-box;
}

.si-btn {
  height: auto;
}

.form-cell3 .wi-form-item {
  flex: 0 0 33.333%;
  max-width: 33.333%;
}

.form-cell2 .wi-form-item {
  flex: 50%;
  width: 50%;
}

.w-e-text-container {
  z-index: 4 !important;
}

.popup.top-round {
  border-radius: 20px 20px 0 0 !important;
}

.mobile .folding-action {
  display: none;
}

.popup.full-screen .pop-body {
  top: 0 !important;
}

.iframe-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background: var(--body-background);
}

.iframe-wrap .form-footer {
  position: absolute;
  right: 22px;
  top: 22px;
}

.iframe-wrap .iframe {
  flex: 1;
}

.wi-app-body {
  overflow: hidden;
}

tbody {
  position: relative;
}

.tox .tox-statusbar {
  display: none !important;
}

.pager select {
  width: auto;
  text-align: center;
}

.pager .gotonum {
  width: 60px !important;
  margin: 0 10px;
  height: 28px;
}

.datalist,
.wi-table-main {
  min-height: 200px;
}

tbody .noresult {
  position: fixed;
  width: 98%;
  margin: 0 auto;
}

.smy_de_at,
.smy_dr_bg {
  min-height: 100%;
}

body {
  margin: 0 auto;
  text-align: center;
  padding: 0;
  height: 100%;
  /* display: none; */
}

.icon-add:before {
  content: "+";
  width: 25px;
  height: 25px;
  font-size: 14px;
  padding-right: 5px;
}

p,
i,
b,
a,
span,
label,
input,
td,
th,
dt,
dd,
button,
li {
  font-size: 12px;
}

label {
  color: #676a6c;
  display: inline-block;
}

div {
  font-size: 0;
  line-height: 25px;
  text-align: left;
}

ul {
  padding: 0;
  margin: 0;
}

li {
  list-style: none;
  display: inline-block;
}

select {
  line-height: 20px;
}

i,
b,
em {
  font-style: normal;
  font-weight: normal;
}

p {
  margin: 0;
}

a {
  color: #4377de;
  cursor: pointer;
  text-decoration: none;
}

.hand {
  cursor: pointer;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}

.inline-block,
li,
.form-item {
  display: inline-block;
  list-style: none;
}

.form-item {
  text-align: left;
}

/* common classname */

.width-half {
  width: 50%;
}

.clr {
  width: 100%;
  height: 1px;
  margin-top: -1px;
  clear: both;
}

.bold {
  font-weight: 700;
}

.txt-gray {
  color: #676a6c;
}

.red,
.font-red,
.txt-red {
  color: red;
}

.errorMsg,
.abslt {
  position: absolute;
  width: 100%;
  font-size: 12px;
  line-height: 100%;
  text-align: right;
  top: calc(100% + 3px) !important;
  right: 0 !important;
}

.blue {
  color: #4377de;
}

.fl {
  float: left;
}

.fr {
  float: right;
}

.tac {
  text-align: center;
}

.tal {
  text-align: left;
}

.tar {
  text-align: right;
}

.vat {
  vertical-align: top;
}

.vam {
  vertical-align: middle;
}

.vab {
  vertical-align: bottom;
}

.folding-action {
  cursor: pointer;
  z-index: 9;
  text-align: center;
  line-height: 28px;

  font-size: 14px;
  background: var(--grey-2);
  border-radius: 5px;
  margin: 12px;
}

.hide,
div.hide,
.wi-form-item.hide {
  display: none;
}

.width-auto {
  width: auto !important;
}

.abs-hide {
  display: none !important;
}

.abs-show {
  display: block !important;
}

.inline-block {
  display: inline-block;
}

.rltv {
  position: relative;
}

.abs {
  position: absolute;
}

.mar12 {
  margin: 12px;
}

.mar-r12 {
  margin-right: 12px;
}

.mar-l12 {
  margin-left: 12px;
}

.mar-t12 {
  margin-top: 12px;
}

.pad-l12 {
  padding-left: 12px;
}

.pad12 {
  padding: 12px;
}
.pad14 {
  padding: 14px;
}
.pad16 {
  padding: 16px;
}
.pad18 {
  padding: 18px;
}
.pad20 {
  padding: 20px;
}
.pad24 {
  padding: 24px;
}

.pad-l24 {
  padding-left: 24px;
}

.form-item label {
  width: 30%;
  vertical-align: top;
}

.split-line {
  width: 100%;
  margin: 8px 0;
  border-bottom: 1px #ccc dashed;
}

.flex1 {
  flex: 1;
}

.flex {
  display: flex !important;
}

.tag {
  border-radius: 6px;
  padding: 0 12px;
  margin-right: 6px;
  vertical-align: top;
  display: inline-block;
}

.bg-white {
  background: #fff;
}

iframe {
  border: 0;
}

.display-block {
  display: block !important;
}

.wi-table-wrapper table,
.wi-table-main table {
  width: 100%;
  max-width: 100%;
  margin-bottom: 12px;
  border-spacing: 0;
  border-collapse: collapse;
}

.wi-table-wrapper table thead,
.wi-table-main table thead {
  background-color: whitesmoke;
  border-bottom: dashed 1px #e1e4e8;
}

.wi-table-wrapper tr,
.wi-table-main tr {
  border-bottom: dashed 1px #e1e4e8;
  box-sizing: border-box;
}

.wi-table-wrapper td,
.wi-table-main td {
  padding: 12px 0 12px 12px;
  text-align: left;
}

.wi-table-wrapper th,
.wi-table-main th {
  padding: 10px 0 10px 12px;
  /* background-color: whitesmoke; */
  text-align: left;
  line-height: 1.42857;
  box-sizing: border-box;
}

.overflow-hidden {
  overflow: hidden;
}

.full-screen-popup iframe {
  width: 100%;
  height: 100%;
}

.image,
.image > img {
  width: 100%;
  height: 100%;
}

.popup.full-screen {
  border-radius: 0;
}

.popup {
  display: none;
}

.form {
  box-sizing: border-box;
}
.flex-middle {
  align-items: center;
}
label.label-for {
  display: inline !important;
  vertical-align: middle;
}
#p-app {
  display: flex;
  flex-direction: column;
}
#p-app iframe {
  display: block;
  flex: 1;
  width: 100%;
  height: auto;
}

.cg input,
.rg input {
  vertical-align: middle;
}

.pager {
  user-select: none;
  /* padding-bottom: 10px; */
  width: 100%;
}

.pager .fr {
  float: inherit;
}

.pager.center {
  text-align: center;
}

[prms] {
  display: none !important;
}

#p-app {
  position: relative;
  z-index: 0;
}

.wi-global-loading {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;

  background: #fff;
  z-index: 9999;
}

#app {
  display: flex;
  flex-direction: column;
  min-height: 540px;
  min-width: 1200px;
}

.mobile #app {
  min-width: 200px;
}

#page-app {
  width: 100%;
  flex: 1;
}

#page-app iframe {
  width: 100%;
  height: 100%;
}

/* si */
.si-select div,
.si-select {
  height: auto;
}

.si-select li {
  display: block;
}

.si-select input[type="checkbox"] {
  width: 0 !important;
  height: 0 !important;
}

.si-select .si-tag--sm {
  line-height: 22px;
}

.si-select .si-input {
  height: 100% !important;
}
