/*************************公共样式*************************/
html {
  width: 100%;
  height: 100%;
}
body {
  width: 100vw;
  height: 100%;
  line-height: 1.5;
  font-size: 16px;
  --xyui-bg-0: #ededed;
  --xyui-bg-4: #4c4c4c;
  --xyui-fg-1: rgba(0, 0, 0, 0.5);
  --xyui-red: #fa5151;
  --xyui-orange: #fa9d3b;
  --xyui-yellow: #ffc300;
  --xyui-blue: #10aeff;
  --xyui-indigo: #1485ee;
  --xyui-link: #576b95;
  --xyui-text-green: #06ae56;
}
* {
  margin: 0;
  padding: 0;
  outline: 0;
  font-family: 'Microsoft Yahei', Arial, system-ui, '-apple-system', 'Helvetica Neue', sans-serif;
}
a {
  text-decoration: none;
}
input::placeholder,
textarea::placeholder {
  font-size: 15px;
  color: #cdcdcb;
  font-family: 'Courier New', Courier, monospace;
}
.xyui-flex-row {
  display: flex;
  display: -webkit-box;
  display: -webkit-flex;
}
.xyui-flex-col {
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  flex-direction: column;
}
.xyui-flex {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  flex: 1;
}
.xyui-overflow {
  overflow: auto;
}
.xyui-icon-right {
  -webkit-mask-position: 0 0;
  mask-position: 0 0;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100%;
  mask-size: 100%;
  background-color: currentColor;
  -webkit-mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%2212%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M2.454%206.58l1.06-1.06%205.78%205.779a.996.996%200%20010%201.413l-5.78%205.779-1.06-1.061%205.425-5.425-5.425-5.424z%22%20fill%3D%22%23B2B2B2%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E);
  mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%2212%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M2.454%206.58l1.06-1.06%205.78%205.779a.996.996%200%20010%201.413l-5.78%205.779-1.06-1.061%205.425-5.425-5.425-5.424z%22%20fill%3D%22%23B2B2B2%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E);
}
.xyui-icon-search {
  -webkit-mask-position: 50% 50%;
  mask-position: 50% 50%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100%;
  mask-size: 100%;
  background-color: currentColor;
  -webkit-mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M16.31%2015.561l4.114%204.115-.848.848-4.123-4.123a7%207%200%2011.857-.84zM16.8%2011a5.8%205.8%200%2010-11.6%200%205.8%205.8%200%200011.6%200z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E);
  mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M16.31%2015.561l4.114%204.115-.848.848-4.123-4.123a7%207%200%2011.857-.84zM16.8%2011a5.8%205.8%200%2010-11.6%200%205.8%205.8%200%200011.6%200z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E);
}
.xyui-underline {
  border-bottom: 1px solid #f2f2f2 !important;
}
.xyui-p-0 {
  padding: 0px !important;
}
.xyui-p-15 {
  padding: 15px !important;
  box-sizing: border-box;
}
.xyui-p-t-10 {
  padding-top: 10px !important;
  box-sizing: border-box;
}
.xyui-p-lr-5 {
  padding-left: 5px !important;
  padding-right: 5px !important;
  box-sizing: border-box;
}
.xyui-m-0 {
  margin: 0px !important;
}
.xyui-m-r-5 {
  margin-right: 5px !important;
}
.xyui-m-r-10 {
  margin-right: 10px !important;
}
.xyui-m-r-15 {
  margin-right: 15px !important;
}
.xyui-m-tb-15 {
  margin-top: 15px !important;
  margin-bottom: 15px !important;
}
.xyui-m-t-30 {
  margin-top: 30px !important;
}
.xyui-m-t-50 {
  margin-top: 50px !important;
}
.xyui-m-l-10 {
  margin-left: 10px !important;
}
.xyui-background {
  background-color: #f2f2f2 !important;
}
.xyui-link {
  color: var(--xyui-link);
}
.xyui-blue {
  color: var(--xyui-blue);
}
.xyui-red {
  color: var(--xyui-red);
}
.xyui-orange {
  color: var(--xyui-orange);
}
.xyui-text-green {
  color: var(--xyui-text-green);
}
/*************************按钮*************************/
.xyui-btn-mini {
  border-width: 0;
  box-sizing: border-box;
  border-radius: 3px;
  padding: 0px 5px;
  font-size: 12px;
  line-height: 22px;
}
.xyui-btn-small {
  border-width: 0;
  box-sizing: border-box;
  border-radius: 5px;
  padding: 0px 10px;
  font-size: 14px;
  line-height: 30px;
}
.xyui-btn {
  border-width: 0;
  box-sizing: border-box;
  border-radius: 8px;
  padding: 8px 20px;
  font-size: 16px;
}
.xyui-btn-large {
  border-width: 0;
  box-sizing: border-box;
  border-radius: 12px;
  padding: 0px 30px;
  font-size: 18px;
  line-height: 45px;
  font-weight: 600;
  letter-spacing: 2px;
}
.xyui-btn-len {
  border-width: 0;
  font-size: 20px;
  font-weight: 600;
  height: 45px;
  width: 100%;
  letter-spacing: 3px;
}
.xyui-btn-list {
  border-width: 0;
  box-sizing: border-box;
  margin: 0 2px;
}
.xyui-btn-add {
  background-color: #07c160;
  color: #ffffff;
}
.xyui-btn-delete {
  background-color: #f2f2f2;
  color: #fa5151;
}
.xyui-btn-sure {
  background-color: #1485ee;
  color: #ffffff;
}
.xyui-btn-warning {
  background-color: var(--xyui-orange);
  color: #fff;
}
/*************************卡片*************************/
.xyui-card {
  margin: 0px 0 10px 0;
  background-color: #ffffff;
  border-radius: 8px;
}
.xyui-card:last-of-type {
  margin: 0px 0 0px 0;
}
/*************************表单*************************/
.xyui-form {
  box-sizing: border-box;
  padding: 0px 15px 0px 15px;
  position: relative;
  font-size: 16px;
}
.xyui-row {
  position: relative;
  padding: 10px 5px;
  text-align: left;
  line-height: 30px;
}
.xyui-row::after {
  content: " ";
  position: absolute;
  left: 5px;
  right: 5px;
  bottom: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  color: rgba(0, 0, 0, 0.1);
  -webkit-transform-origin: 0 0;
  transform-origin: 0 0;
  -webkit-transform: scaleY(0.5);
  transform: scaleY(0.5);
  z-index: 2;
}
.xyui-row:last-of-type::after {
  border-top: 0;
}
.xyui-row .xyui-row-label {
  display: block;
  width: 100px;
  word-wrap: break-word;
  word-break: break-all;
  font-size: 16px;
  font-weight: 600;
}
.xyui-row .xyui-row-body {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  flex: 1;
  position: relative;
  font-size: 16px;
  font-weight: 500;
}
.xyui-row .xyui-input {
  width: 100%;
  border: 0;
  outline: 0;
  background-color: transparent;
  font-size: 16px;
  font-weight: 500;
}
.xyui-row .xyui-input::-webkit-outer-spin-button,
.xyui-row .xyui-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.xyui-row .xyui-input-radio {
  margin: 0 20px 0 0;
}
.xyui-row .xyui-input-radio input[type="radio"] {
  margin: 0 10px 0 0;
}
.xyui-row .xyui-input-checkbox {
  margin: 0 20px 0 0;
}
.xyui-row .xyui-input-checkbox input[type="checkbox"] {
  margin: 0 10px 0 0;
}
.xyui-row .xyui-textarea {
  display: block;
  border: 0;
  resize: none;
  background: transparent;
  width: 100%;
  line-height: 20px;
  height: 80px;
  outline: 0;
  font-size: 16px;
  font-weight: 500;
}
/*************************详情显示*************************/
.xyui-line {
  position: relative;
  padding: 10px 5px;
  text-align: left;
  line-height: 30px;
  font-size: 16px;
  font-weight: 500;
}
.xyui-line::after {
  content: " ";
  position: absolute;
  left: 5px;
  right: 5px;
  bottom: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  color: rgba(0, 0, 0, 0.1);
  -webkit-transform-origin: 0 0;
  transform-origin: 0 0;
  -webkit-transform: scaleY(0.5);
  transform: scaleY(0.5);
  z-index: 2;
}
.xyui-line:last-of-type::after {
  border-top: 0;
}
.xyui-line label {
  font-size: 16px;
  font-weight: 600;
  line-height: 29px;
}
.xyui-line .label {
  padding-left: 10px;
}
.xyui-line .xyui-icon-right {
  width: 15px;
  height: 28px;
  color: black;
  margin-right: 10px;
}
/*************************列表*************************/
.xyui-table {
  padding: 10px;
  width: 100%;
  height: 100%;
  position: relative;
  box-sizing: border-box;
}
.xyui-table table {
  width: 100%;
  line-height: 40px;
  border-spacing: 0px;
}
.xyui-table table thead {
  background-color: var(--xyui-bg-0);
  font-size: 18px;
}
.xyui-table table tbody tr {
  position: relative;
  text-align: center;
}
.xyui-table table tbody tr::after {
  content: " ";
  position: absolute;
  left: 5px;
  right: 5px;
  bottom: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  color: rgba(0, 0, 0, 0.1);
  -webkit-transform-origin: 0 0;
  transform-origin: 0 0;
  -webkit-transform: scaleY(0.5);
  transform: scaleY(0.5);
  z-index: 2;
}
.xyui-table table tbody tr:active {
  background-color: rgba(0, 0, 0, 0.1);
}
.xyui-no-data {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  vertical-align: middle;
  text-align: center;
}
/*************************搜索*************************/
.xyui-search {
  box-sizing: border-box;
  height: 35px;
  padding: 5px 0;
  border-radius: 5px;
  background-color: var(--xyui-bg-0);
  margin-bottom: 5px;
}
.xyui-search .xyui-icon-search {
  width: 20px;
  height: 100%;
  margin: 0 5px;
  box-sizing: border-box;
}
.xyui-search input {
  border: 0px;
  padding-left: 5px;
  border-radius: 5px;
}
.xyui-search button {
  box-sizing: border-box;
  padding-left: 5px;
  padding-right: 5px;
  margin-left: 5px;
  margin-right: 5px;
}
/*************************树*************************/
.xyui-tree-wrapper {
  display: inline-block;
  position: fixed;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 5px;
  --xyui-tree-bg: #efefef;
  --xyui-tree-line: #cdcdcd;
}
.xyui-tree {
  text-align: center;
  display: table;
  background-color: #ffffff;
  padding: 0 10px 30px 10px;
}
.xyui-tree > .xyui-tree-node::after {
  border-left: 0 !important;
}
.xyui-tree-node {
  padding-top: 20px;
  display: table-cell;
  position: relative;
  box-sizing: border-box;
}
.xyui-tree-node:not(:first-child)::before {
  border-top: 1px solid var(--xyui-tree-line);
  pointer-events: none;
}
.xyui-tree-node::before {
  content: "";
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 19px;
  box-sizing: border-box;
}
.xyui-tree-node:not(:last-child)::after {
  border-top: 1px solid var(--xyui-tree-line);
  pointer-events: none;
}
.xyui-tree-node::after {
  content: "";
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 50%;
  width: 50%;
  border-left: 1px solid var(--xyui-tree-line);
  height: 19px;
  box-sizing: border-box;
}
.xyui-tree-node > .man {
  color: #0066ff;
}
.xyui-tree-node > .weman {
  color: #ff7799;
}
.xyui-tree-leaf {
  padding-left: 3px;
  padding-right: 3px;
}
.xyui-tree-label {
  position: relative;
  display: inline-flex;
  box-sizing: border-box;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  max-height: 98px;
  min-height: 66px;
}
.xyui-tree-label .label {
  display: inline-flex;
}
.xyui-tree-label .btn {
  position: absolute;
  width: 0px;
  height: 10px;
  border-left: 1px solid var(--xyui-tree-line);
  left: 50%;
  top: 100%;
  z-index: 1;
}
.xyui-tree-label .btn .xyui-tree-node-label-btn {
  position: relative;
  width: 20px;
  height: 20px;
  background-color: #ffffff;
  border: 1px solid var(--xyui-tree-line);
  border-radius: 50%;
  transform: translate(-50%, 10px);
}
.xyui-tree-label .btn .xyui-tree-node-label-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 4px;
  right: 4px;
  height: 0;
  border-top: 1px solid var(--xyui-tree-line);
}
.xyui-tree-label .btn .xyui-tree-node-label-btn::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 4px;
  bottom: 4px;
  width: 0;
  border-left: 1px solid var(--xyui-tree-line);
}
.xyui-tree-label .btn .xyui-tree-node-label-btn.expand::after {
  border: none;
}
.xyui-tree-label-man {
  padding: 8px 3px;
  writing-mode: vertical-lr;
  font-size: 14px;
  box-sizing: border-box;
}
.xyui-tree-label-spouse {
  padding: 5px 0px 5px 0;
  display: inherit;
  font-size: 11px;
  position: relative;
}
.xyui-tree-label-spouse > div {
  writing-mode: vertical-lr;
  box-sizing: border-box;
  position: relative;
  top: 50%;
  transform: translate(0, -50%);
}
.xyui-tree-label-spouse > .man {
  color: #0088ff;
}
.xyui-tree-label-spouse > .weman {
  color: #ff8899;
}
.xyui-tree-label-spouse > div:last-child {
  padding-right: 5px;
}
.xyui-tree-node-children {
  padding-top: 20px;
  margin-top: -6px;
  display: none;
  position: relative;
  box-sizing: border-box;
  width: 100%;
}
.xyui-tree-node-children::after {
  content: "";
  display: table;
  clear: both;
  pointer-events: none;
}
