@charset "utf-8";

/*默认1920px*/
html {
  font-size: 100px;
  /*min-width: 1000px;*/
}

body, html {
  width: 100%;
  height: 100%;
  overflow-y: hidden;
  padding: 0;
  margin: 0;
  -webkit-tap-highlight-color: transparent;
  -webkit-overflow-scrolling: touch;
  -webkit-app-region: no-drag; /* 禁止整个容器被拖动 */
}

body {
  /*background-color: #f8f8f8;*/
  font-size: 0;
  font-family: -apple-system-font, Helvetica Neue, Helvetica, sans-serif;
}

body.export {
  box-sizing: border-box;
  max-width: 1000px;
  margin: 0 auto;
}
body.print-report {
  max-width: 800px;
  box-sizing: border-box;
  margin: 0 auto;
}

* {
  outline: none;
}

*:not(.el-table__body-wrapper, .el-table__fixed-body-wrapper, .scroll-bar-display ,.feedback-right-box, .tag-list-scroll, .physical-examination-three-year-data)::-webkit-scrollbar {
  display: none;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

p {
  margin: 0;
}

/*基础*/
.red {
  color: #F53F3F;
}

.black {
  color: #1D2129;
}
.clear-both:after {
  content: ' ';
  display: block;
  clear: both;
}

.no-select {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Chrome/Safari/Opera */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently not supported by any browser */
}

.justify {
  text-align: justify;
}

.justify:after {
  content: '';
  width: 100%;
  display: inline-block;
  height: 0;
}

.mobile-preview img {
  max-width: 100%;
}

/*element*/
body .el-loading-mask {
  background-color: transparent;
  z-index: 999;
}

.el-message-box {
  max-width: -webkit-fill-available;
}

.el-dialog__wrapper, .el-message-box__wrapper {
  background: rgba(0, 0, 0, 0.5);
}

.v-modal {
  display: none;
}

.top-tb {
  margin-bottom: 20px;
}

.top-tb .right {
  float: right;
}

.el-popper img {
  max-width: 50vw;
  max-height: 50vh;
}

.data-list-tb {
  margin-bottom: 10px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  font-size: 14px;
}

.data-list-tb .add {
  float: left;
}

.data-list-tb .el-checkbox, .data-list-tb .tips {
  line-height: 40px;
}

.data-list-tb .el-input-group.query {
  width: 240px;
  float: right;
}

.data-list-tb .el-input-group .el-input-group__prepend {
  width: 90px;
}

.data-list-tb .query-right {
  float: right;
  text-align: right;
}

.data-list-tb .el-date-editor + .query {
  margin-left: 10px;
}

.data-list-tb .query-right .input-div, .data-list-tb .query-right .el-select {
  width: 180px;
  margin-right: 10px;
}

.data-list-tb .query-right .el-date-editor {
  width: 150px;
}

.el-button + .data-list {
  margin-top: 10px;
}

.data-list.el-table thead {
  color: #666;
}

.data-list.el-table .el-table__header tr th {
  background-color: var(--robot-table-header-bg);
}

.data-list.el-table td, .data-list.el-table th {
  padding: 8px 0;
}

.data-list .img {
  max-width: 100px;
  max-height: 50px;
  vertical-align: middle;
}

.data-list a.link {
  text-decoration: underline;
  color: blue;
  cursor: pointer;
}

.data-list .blank-split {
  width: 100%;
  height: 5px;
}

.data-list.el-table .cell {
  white-space: nowrap;
  word-break: normal;
  padding: 0 10px;
}

.data-list.el-table .cell .el-button--small {
  padding: 7px 15px;
  font-size: 12px;
  border-radius: 4px;
  height: 28px;
}

.data-list.el-table .cell .el-button--mini {
  height: 28px;
  font-size: 12px;
}

.el-dialog .el-dialog__header {
  text-align: left;
  padding-bottom: 20px;
}

.el-dialog .el-dialog__body {
  /*padding: 20px;*/
}

.dialog-footer > .left {
  float: left;
}

.el-dialog__close {
  font-size: 10px;
}

.el-dialog__wrapper > .el-dialog {
  position: relative;
  margin: 0 auto;
  left: 0;
  min-width: 430px;
  transform: none;
}

.dialog > .el-dialog {
  width: 10rem;
}

.el-tooltip__popper > img {
  max-width: 500px;
}

.el-form-item__content > .el-select, .el-form-item__content > .el-cascader, .el-form-item__content > .el-date-editor.el-input {
  width: 100%;
}

.el-form-item.multi-input .el-form-item__content {
  display: flex;
}

.el-form-item.multi-input .el-form-item__content .el-input {
  flex: 1;
}

.el-form-item.multi-input .el-form-item__content .multi-input-split {
  padding: 0 5px;
}

/*提示框*/
.el-notification.import-excel {
  background-color: #000;
  border: none;
}

.el-notification.import-excel .el-notification__group {
  width: 100%;
}

.el-notification.import-excel .el-notification__title {
  color: #fff;
}

.el-notification.import-excel .el-notification__content {
  max-height: 4rem;
  color: #25fe15;
  overflow: auto;
}

.el-select-dropdown {
  z-index: 99999 !important;
  max-width: 10rem;
}

.el-radio.is-bordered {
  margin-right: 0;
}
/* element plus 新版本样式兼容 */
:root {
  --el-text-color-placeholder: #c4c4cf !important;
  --el-border-radius-base: 3px !important;
}
.el-input__inner::placeholder {
  font-size: 13px;
}
.el-drawer .el-drawer__body {
  padding: 0;
}
.el-select .el-select__wrapper {
  /*min-width: 160px;*/
}

/* 去掉input 为number的图标*/
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

.tips {
  font-size: .16rem;
  color: red;
  line-height: .3rem;
}

.tips * {
  vertical-align: middle;
}

.tips .fa {
  color: #d0d001;
  margin-right: .05rem;
}

.form-title {
  color: #303133;
  font-size: 13px;
  line-height: 48px;
  font-weight: bold;
}

.form-title-border {
  position: relative;
  padding-left: 10px;
}

.form-title-border:before {
  content: '';
  position: absolute;
  width: 4px;
  height: 18px;
  top: 15px;
  left: 0;
  border-radius: 3px;
  background-color: #50AAFB;
}

.form-title-box {
  padding: 0 15px;
  box-sizing: border-box;
  margin-bottom: 20px;
  background-color: #f2f3f4;
}

.el-button.save-btn {
  width: 100%;
}

.el-tabs--card > .el-tabs__header > .el-tabs__nav-wrap > .el-tabs__nav-scroll > .el-tabs__nav > .el-tabs__item {
  background-color: #f2f3f4;
}

.el-tabs--card > .el-tabs__header > .el-tabs__nav-wrap > .el-tabs__nav-scroll > .el-tabs__nav > .el-tabs__item.is-active {
  background-color: #FFFFFF;
}

/*关联疾病*/
.disease-tag .el-tag {
  margin-right: 10px;
  cursor: pointer;
}

.disease-tag .el-tag.active {
  background: #409EFF;
  color: #fff;
}

/*按钮点击效果*/
.btn-active:hover {
  filter: brightness(1.05);
  cursor: pointer;
}
.btn-active:active {
  filter: grayscale(0.1);
}

/*自定义消息提示*/
.custom-message {
  z-index: 10000 !important;
  top: 90px !important;
  min-width: 310px !important;
}
.show-patient-tags-container .el-tag{
  margin: 0 3px 3px 0;
  cursor: pointer;
}
.patient-tooltip{
  overflow: hidden;
}
.patient-tooltip .el-tag:nth-of-type(2){
  margin: 0 3px;
}
.is-dark .el-tag {
  margin-right: 3px;
}
.is-dark .el-tag:last-of-type{
  margin-right: 0;
}


/*pubilcTooltip组件换行显示*/
.show-tooltip-box {
  max-width: 300px;
  font-size: 14px;
  line-height: 22px;
}
/*滚动条样式美化*/
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-thumb {
  border-radius: 10px;
  opacity: 0.2;
  background: #e2e2e4;
  width: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #c5c7ca;
}
::-webkit-scrollbar-track {
  border-radius: 0;
  width: 10px;
}

/* 机器人2.0拖拽属性 */
.robot-drag {
  -webkit-app-region: drag; //鼠标拖动区域  这个默认所有div都会生效
  user-select: none;
  cursor: move;
}
.robot-no-drag {
  -webkit-app-region: no-drag;  //不可拖动区域 需要手动设置
}
.robot-no-copy {
  -webkit-user-select: none; //禁止选择复制
}
.robot-no-select {
  -moz-user-select: none;  //禁止选中文本
}

body {
  --robot-primary: #2A6BFF;
  --robot-danger: #FF5F57;
  --robot-warning: #FEBC2E;
  --robot-success: #2ACA41;

  --robot-black: #1D2129;
  --robot-gray: #7A8499;
  --robot-gray-light: #8592A6;

  /*tab激活背景色*/
  --robot-tab-act-bg: #2A6BFF;
  /*表格title行背景色*/
  --robot-table-header-bg: #F4F8FB;
  /*患教推送 主题背景色*/
  --robot-article-education-bg: #2A6BFF;
  /*机器人弹窗-路径节点背景色*/
  --robot-patient-path-node-bg: #F9FAFC;
/*  患教推送背景色*/
  --robot-article-bg: #E7F2FF;
/*  患教推送顶部背景色*/
  --robot-article-header-bg: linear-gradient(180deg, #E7F2FF 0%, #FFFFFF 100%) no-repeat;
}
/* 灰色系列*/
.theme-grey {
  --robot-primary: #98B4D0;
  --robot-light-1: #98B4D0;
  --robot--bg: #F5F5F5;
  --robot-top-header-bg: linear-gradient(#98B4D0 0%, #B9D1EA 100%);
  --robot-table-header-bg: #F5F5F5;
  --robot-tab-act-bg: #4BA6FF;
  --robot-article-education-bg: #5E98DC;
  --robot-patient-path-node-bg: #F5F5F5;
  --robot-article-bg: #F5F5F5;
  --robot-article-header-bg: #F5F5F5;
}
/*蓝色系列*/
.theme-blue {
  --robot-primary: #088AFF;
  --robot-light-1: #088AFF;
  --robot--bg: #F3F3F7;
  --robot-top-header-bg: #088AFF;
  --robot-table-header-bg: #F5F5F5;
  --robot-tab-act-bg: #198CFF;
  --robot-article-education-bg: #088AFF;
  --robot-patient-path-node-bg: #F3F3F7;
  --robot-article-bg: #F3F3F7;
  --robot-article-header-bg: #F3F3F7;
}


.data-table ::-webkit-scrollbar {
  width: 6px;
  height: 8px;
  background-color: #ebeef5;
  padding: 3px;
}
.data-table ::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background-color: #C9CDD4;
}
.data-table ::-webkit-scrollbar-track{
  background: rgba(242,243,245,0.6);
  box-shadow: inset 0px -1px 0px 0px #E5E6E8;
}
.data-table .cell {
  padding-left: 0!important;
  padding-right: 5px!important;
}

/* 通用状态颜色 */
.common-status-green {
  color: #A0D914 !important;
}
.common-status-blue {
  color: #198BFD !important;
}
.common-status-orange {
  color: #F79652 !important;
}
.common-status-yellow {
  color: #f7c852 !important;
}
.common-status-red {
  color: #F5222D !important;
}

.data-table.el-table .el-table__cell {
  padding: 12px 0;
}

/* 兼容放大模式的样式 */
html[class~="htmlZoomClass"] .el-picker__popper.el-popper[role=tooltip] .el-picker-panel{
  zoom: 0.75;
}
html[class~="htmlZoomClass"] > body > div > .el-popper {
  font-size: 16px;
}
/*html[class~="htmlZoomRobotClass"] > body > div > .el-popper[data-popper-placement="top"] {*/
/*  margin-bottom: -14%;*/
/*}*/
html[class~="htmlZoomClass"] > body .el-table > .el-popper {
  scale: 0.83;
  font-size: 16px;
}
