body,
html,
div,
span,
ul,
li,
section,
header,
aside,
footer,
main,
a,
p,
h1,
h2,
h3,
h4,
h5,
h6,
textarea,
input,
select {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
html {
  height: 100%;
}

.jedate {
  z-index: 999999 !important;
}

.container {
  width: 100%;
  height: 100%;
  min-width: 1200px;
  font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
  line-height: inherit;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizelegibility;
}

/* 颜色变量 */
:root {
  --primary-color: #3489ff;
  --warning-color: #ff9100;
  --el-color-danger: #f05459;
}

ul,
li {
  list-style: none;
}

a {
  text-decoration: none;
}

.m_r_10 {
  margin-right: 10px;
}

.m_r_20 {
  margin-right: 20px;
}

.m_r_30 {
  margin-right: 30px;
}

.m_l_10 {
  margin-left: 10px;
}

.m_l_20 {
  margin-left: 20px;
}

.m_l_30 {
  margin-left: 30px;
}

text.required {
  color: red;
  margin-right: 5px;
}

/* 按钮 */
.dk-button {
  outline: none;
  border: none;
  background: none;
  padding: 5px 20px;
  text-align: center;
  font-size: 14px;
  border-radius: 3px;
  cursor: pointer;
}

.dk-button-primary {
  background: var(--primary-color);
  color: #fff;
}

.dk-button-default {
  background: #fff;
  color: #333;
  border: 1px solid #d2d7e2;
}

.dk-button-warning {
  background: var(--warning-color);
  color: #fff;
}

.dk-button-disabled {
  background: #7e8087;
  color: #fff;
}

.dk-button-danger {
  background: #f56c6c;
  color: #fff;
}

.returnButton {
  text-align: center;
}

/* 表单 */
.dk-form-item {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  font-size: 14px;
  position: relative;
}

.dk-form-item .dk-form-item__label {
  width: 130px;
  margin-right: 10px;
  text-align: right;
}

.dk-form-item.is-required .dk-form-item__label:before {
  color: var(--el-color-danger);
  content: "*";
  margin-right: 4px;
}

.dk-form-item .dk-form-item__label.not-required:before {
  display: none;
}

.dk-form-item .dk-form-item__content {
  flex: 1;
  position: relative;
}

main .dk-form-item .tips {
  position: absolute;
  font-size: 12px;
  color: #f05459 !important;
  left: 3px;
  margin-top: 5px;
}

.dk-form-item .dk-form-item__content.avatar {
  width: 200px;
  text-align: center;
}

.dk-form-item .dk-form-item__content .dk-input__wrapper,
.dk-form-item .dk-form-item__content .dk-calendar__wrapper {
  width: 100%;
  border: 1px solid #d4d7e0;
  padding: 1px 11px;
  border-radius: 3px;
  display: flex;
  align-items: center;
}

.dk-form-item .dk-form-item__content .dk-input__wrapper input,
.dk-form-item .dk-form-item__content .dk-calendar__wrapper input {
  width: 100%;
  height: 30px;
  line-height: 30px;
  border: none;
  outline: none;
}

.dk-form-item .dk-form-item__content .dk-calendar__wrapper input {
  cursor: pointer;
}

.dk-form-item .dk-form-item__content .dk-textarea__wrapper {
  width: 100%;
  border: 1px solid #d4d7e0;
  padding: 0;
  border-radius: 3px;
  display: flex;
  align-items: center;
}

.dk-form-item .dk-form-item__content .dk-textarea__wrapper textarea {
  line-height: 30px;
  border: none;
  outline: none;
  border-radius: 3px;
  padding: 3px 10px;
  min-height: 30px;
  min-width: 100%;
  max-width: 100%;
  height: 100px;
  border-radius: 3px;
}

.dk-form-item.is-disabled .dk-form-item__content .dk-input__wrapper,
.dk-form-item.is-disabled .dk-form-item__content .dk-textarea__wrapper,
.dk-form-item.is-disabled .dk-form-item__content .dk-calendar__wrapper {
  background: #f2f5f9;
  cursor: not-allowed;
}

.dk-form-item.is-disabled .dk-input__wrapper input,
.dk-form-item.is-disabled .dk-textarea__wrapper textarea,
.dk-form-item.is-disabled .dk-calendar__wrapper input {
  background: #f2f5f9;
  color: #989ba3;
  resize: none;
}

/* 多选框checkbox */
.dk-checkbox-input input {
  display: none;
}

.dk-checkbox-input .dk-checkbox-inner {
  cursor: pointer;
  display: inline-block;
  position: relative;
  border: 1px solid #dcdfe6;
  border-radius: 3px;
  box-sizing: border-box;
  width: 15px;
  height: 15px;
  background-color: #ffffff;
  vertical-align: sub;
}

.dk-checkbox-input .dk-checkbox-inner::after {
  box-sizing: content-box;
  content: "";
  border: 1px solid transparent;
  border-left: 0;
  border-top: 0;
  height: 7px;
  left: 4px;
  position: absolute;
  top: 1px;
  transform: rotate(45deg) scaleY(0);
  width: 3px;
  transition: transform 0.15s ease-in 50ms;
  transform-origin: center;
}

.dk-checkbox-input.is-checked {
  color: var(--primary-color);
}

.dk-checkbox-input.is-checked .dk-checkbox-inner {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.dk-checkbox-input.is-checked .dk-checkbox-inner::after {
  transform: rotate(45deg) scaleY(1);
  border-color: var(--el-checkbox-checked-icon-color);
  color: #fff;
}

/* 单选框radio */
.dk-radio-group {
  display: flex;
  justify-content: space-evenly;
}

.dk-radio-group .dk-radio {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.dk-radio-group .dk-radio input[type="radio"] {
  display: none;
}

.dk-radio-group .dk-radio .dk-radio-inner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 1px solid #dcdfe6;
  border-radius: 50%;
  margin-right: 5px;
  position: relative;
}

.dk-radio-group .dk-radio.is-checked {
  color: var(--primary-color);
}

.dk-radio-group .dk-radio.is-checked .dk-radio-inner {
  border-color: var(--primary-color);
  background: var(--primary-color);
}

.dk-radio-group .dk-radio.is-checked .dk-radio-inner::after {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #fff;
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

/* 下拉多选框mutiple */
.dk-form-multiple-select {
  position: relative;
  flex: 1;
}

.dk-form-multiple-select .multiple-select-input {
  position: relative;
  min-height: 34px;
  line-height: 34px;
  border: 1px solid #d4d7e0;
  padding: 0 13px;
  border-radius: 3px;
  font-size: 13px;
  color: #626262;
  cursor: pointer;
}

.dk-form-multiple-select .multiple-select-input .select-down {
  width: 15px;
  position: absolute;
  right: 13px;
  top: 10px;
}

.dk-form-multiple-select .tag_list {
  display: flex;
  flex-wrap: wrap;
}

.dk-form-multiple-select .tag_list .tag {
  display: inline-block;
  font-size: 12px;
  padding: 0 5px;
  border-radius: 3px;
  background: #f0f2f5;
  color: #7e8187;
  margin: 5px;
  height: 22px;
  line-height: 22px;
}

.dk-form-multiple-select .tag_list .tag img {
  width: 12px;
  vertical-align: middle;
  cursor: pointer;
}

.dk—multiple-select-warp {
  position: absolute;
  z-index: 9;
  top: 50px;
  color: #333;
  left: 0;
  display: none;
}

.dk—multiple-select-content::after {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  z-index: 1;
  background: #fff;
  box-sizing: border-box;
  border: 1px solid #e4e7ed;
  border-bottom-color: transparent !important;
  border-right-color: transparent !important;
}

.dk—multiple-select-content {
  padding: 10px 0;
  border-radius: 3px;
  width: 300px;
  font-size: 14px;
  background: #fff;
  border: 1px solid #dee1e8;
  box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.12);
  min-height: 50px;
  max-height: 200px;
  overflow: auto;
}

.dk—multiple-select-content .item {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 10px;
}

.dk—multiple-select-content .item:hover {
  background: #f5f7fa;
}

.dk—multiple-select-content .item img {
  width: 20px;
  display: none;
}

.dk—multiple-select-content .item.active {
  color: var(--primary-color);
}

.dk—multiple-select-content .item.active img {
  display: inline-block;
}

/* 提示框 */
.DkMessage {
  display: none;
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 14px;
  z-index: 9999999;
}

.DkMessage.success {
  background: #edf8e6;
  color: #58ba2d;
  border: 1px solid #dbf1d0;
}

.DkMessage.error {
  background: #fdecec;
  color: #f05459;
  border: 1px solid #fcdadb;
}

.DkMessage.info {
  background: #f1f1f2;
  color: #7e8087;
  border: 1px solid #e5e4e7;
}

.DkMessage.warning {
  background: #fcf4e7;
  color: #de912f;
  border: 1px solid #f8e8cf;
}

/* 表格 */
.dk-table-wrapper {
  margin-top: 15px;
  max-height: 50%;
  overflow: auto;
  position: relative;
}

table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 14px;
}

table thead tr {
  background: #f9f9f9;
  font-weight: 500;
  position: sticky;
  top: 0;
  z-index: 2;
}

table thead tr,
table tbody tr {
  border: 1px solid #e2dfdf;
}

table thead tr th,
table tbody tr td {
  text-align: center;
  padding: 10px;
  border-right: 1px solid #e2dfdf;
  word-break: break-all;
}

table tbody tr td.operation span {
  font-size: 14px;
  color: var(--primary-color);
  cursor: pointer;
}
table tbody tr td.operation span:not(:last-child) {
  margin-right: 5px;
}

/* 分页 */
.dk-pagination {
  display: flex;
  align-items: center;
  justify-content: right;
  margin-top: 30px;
  font-size: 14px;
}

.dk-pagination .dk-form-item__content input {
  width: 50px;
}

.dk-pagination .dk—select__content_warp .dk—select__content {
  width: 80px;
}

.dk-pagination .dk-pageNum {
  display: flex;
  align-items: center;
}

.dk-pagination .dk-pageNum .page-item {
  margin: 0 3px;
  max-width: 306px;
  overflow: hidden;
  display: flex;
}

.dk-pagination .dk-pageNum .page-item span {
  cursor: pointer;
  display: block;
  min-width: 28px;
  height: 28px;
  border-radius: 2px;
  padding: 0 3px;
  background: #f2f5f9;
  color: #333;
  text-align: center;
  line-height: 28px;
  margin: 0 3px;
}

.dk-pagination .dk-pageNum .page-item span a {
  color: #333;
}

.dk-pagination .dk-pageNum .page-item span.active {
  background: var(--primary-color);
  color: #fff;
}

.dk-pagination .dk-pageNum .page-item span.active a {
  background: var(--primary-color);
  color: #fff;
}

.dk-pagination .dk-pageNum button img {
  vertical-align: middle;
}

.dk-pagination .dk-pagination-jump {
  display: flex;
  align-items: center;
}

/* 遮罩层 */
.dk-overlay {
  display: none;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99999;
  overflow: auto;
}

/* 消息弹框 */
.dk-message-box {
  position: absolute;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.12);
  width: 420px;
  padding-bottom: 10px;
  border-radius: 4px;
  border: 1px solid #ebeef5;
}

.dk-message-box .dk-message-box-header {
  padding: 15px;
  font-size: 18px;
  color: #303133;
  display: flex;
  justify-content: space-between;
}

.dk-message-box .dk-message-box-header .dk-message-box-title p {
  margin: 3px 0;
  font-size: 16px;
}

.dk-message-box .dk-message-box-header .dk-message-box-headerbtn img {
  width: 15px;
  cursor: pointer;
}

.dk-message-box .dk-message-box-content {
  padding: 10px 15px;
  font-size: 14px;
  color: #303133;
}

.dk-message-box .dk-message-box-content p {
  margin: 0;
  color: #9c9c9c;
}

.dk-message-box .dk-message-box-btns {
  padding: 5px 15px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}

/* tabbar */
.dk-container main .dk-tab-bar {
  font-size: 14px;
  color: #333;
  font-weight: 500;
  margin-bottom: 15px;
  display: flex;
}

.dk-container main .dk-tab-bar .item {
  padding: 8px 10px;
  cursor: pointer;
  margin-right: 20px;
}

.dk-container main .dk-tab-bar .item.active {
  border-bottom: 2px solid var(--primary-color);
  color: var(--primary-color);
}

/* 暂无数据 */
.tableEmpty {
  height: 100px;
  color: #909399;
  border: 1px solid #ebeef5;
  border-top: none;
}

.loading-box {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 999;
  background: #fff;
  text-align: center;
}

.loading-box .loading {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 4px solid #f3f3f3;
  border-top: 4px solid var(--primary-color);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 2s linear infinite;
}

.upload-loading {
  display: none;
  border: 3px solid #f3f3f3;
  border-top: 3px solid var(--primary-color);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  animation: spin 2s linear infinite;
}

/* loading动画 */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.dk-loading {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 9999999999;
}

.dk-loading .loading-content {
  height: 15px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 200px;
}

.dk-loading .loading-content span {
  display: inline-block;
  width: 15px;
  height: 100%;
  margin-left: 5px;
  border-radius: 50%;
  background: var(--primary-color);
  animation: load 1s ease infinite;
}

@keyframes load {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

.dk-loading span:nth-child(1) {
  animation-delay: 0.13s;
}

.dk-loading span:nth-child(2) {
  animation-delay: 0.26s;
}

.dk-loading span:nth-child(3) {
  animation-delay: 0.39s;
}

.dk-loading span:nth-child(4) {
  animation-delay: 0.52s;
}

.dk-loading span:nth-child(5) {
  animation-delay: 0.65s;
}

/* 树形下拉结构 */
.dk-form-tree {
  position: relative;
}

.dk-form-tree .tree_input {
  position: relative;
  min-height: 36px;
  line-height: 36px;
  border: 1px solid #d4d7e0;
  width: 360px;
  padding: 0 13px;
  border-radius: 3px;
  font-size: 13px;
  color: #626262;
  cursor: pointer;
}

.dk-form-tree .tree_input .select-down {
  width: 15px;
  position: absolute;
  right: 13px;
  top: 10px;
}

.dk-form-tree .tag_list {
  display: flex;
  flex-wrap: wrap;
}

.dk-form-tree .tag_list .tag {
  display: inline-block;
  font-size: 12px;
  padding: 0 5px;
  border-radius: 3px;
  background: #f0f2f5;
  color: #7e8187;
  margin: 5px;
  height: 24px;
  line-height: 24px;
}

.dk-form-tree .tag_list .tag img {
  width: 12px;
  vertical-align: middle;
  cursor: pointer;
}

.dk-form-tree .dk—tree-warp {
  position: absolute;
  z-index: 9;
  top: 50px;
  color: #333;
  left: 0;
  display: none;
}

.dk—tree-warp::after {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  z-index: 1;
  background: #fff;
  box-sizing: border-box;
  border: 1px solid #e4e7ed;
  border-bottom-color: transparent !important;
  border-right-color: transparent !important;
}

.dk—tree-warp .dk—tree-content {
  padding: 10px 10px 10px 0;
  border-radius: 3px;
  width: 300px;
  font-size: 14px;
  background: #fff;
  border: 1px solid #dee1e8;
  box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.12);
  min-height: 50px;
  max-height: 300px;
  overflow: auto;
}

.dk—tree-warp .dk—tree-content .first .item1 {
  cursor: pointer;
  padding: 5px 10px;
}

.dk—tree-warp .dk—tree-content .first .item1:hover {
  background: #f5f7fa;
}

.dk—tree-warp .dk—tree-content .first .arrow_r {
  width: 20px;
  vertical-align: middle;
}

.dk—tree-warp .dk—tree-content .first.isOpen .arrow_r {
  transform: rotate(90deg);
}

.dk—tree-warp .dk—tree-content .first .dk—tree-item {
  padding-left: 30px;
  display: none;
}

.dk—tree-warp .dk—tree-content .first.isOpen .dk—tree-item {
  display: block;
}

.dk—tree-warp .dk—tree-content .first .item1.isOpen .dk—tree-item {
  display: block;
}

.dk—tree-item .second {
  margin-bottom: 5px;
}

.dk—tree-item .second label {
  display: inline-block;
  vertical-align: middle;
  margin-right: 2px;
}

/* 表单错误提示信息 */
.dk-form-item .dk-form-tree.form-item-error > div,
.dk-form-item .dk-form-multiple-select.form-item-error > div,
.dk-form-item .dk-form-item__content.form-item-error > div,
.dk-form-item .dk-form-tree.form-item-error > div {
  border-color: #f05459 !important;
}

.dk-form-item .dk-form-tree.form-item-error .tips,
.dk-form-item .dk-form-multiple-select.form-item-error .tips,
.dk-form-item .dk-form-item__content.form-item-error > div .tips,
.dk-form-item .dk-form-tree.form-item-error > div .tips {
  position: absolute;
  font-size: 12px;
  color: #f05459 !important;
  left: 3px;
  bottom: -20px;
  margin: 0;
  height: 20px;
}

.primary-color {
  color: var(--primary-color);
}

.dk-tab-content {
  width: 100%;
}

.dk-container main {
  border: 1px solid #e2dfdf;
  margin: 20px;
  border-radius: 3px;
  padding: 0;
}

.form-physician {
  height: calc(100%);
}

.form-steps-content {
  padding: 20px;
}

.form-step1 {
  display: flex;
}

.form-step1 .avatar .avatar-img {
  width: 110px;
  height: 138px;
  object-fit: cover;
  vertical-align: top;
  cursor: pointer;
  display: none;
}

.form-step1 .avatar input {
  display: none;
}

.form-step1 .avatar .upload_avatar {
  width: 110px;
  height: 138px;
  line-height: 160px;
  text-align: center;
  border: 1px dashed #d9d9d9;
  background-color: #fafafa;
  cursor: pointer;
  margin: 0 auto;
}

.form-step1 .avatar .upload_avatar .add-icon {
  width: 40px;
  height: 40px;
}

.form-step1 .avatar .tip {
  margin-top: 10px;
  font-size: 12px;
}

.form-btn {
  width: 100%;
  height: 60px;
  line-height: 60px;
  background: #ffffff;
  text-align: center;
}

.col-5 {
  width: 5%;
}
.col-10 {
  width: 10%;
}
.col-15 {
  width: 15%;
}
.col-20 {
  width: 20%;
}
.col-25 {
  width: 25%;
}
.col-30 {
  width: 30%;
}
.col-35 {
  width: 35%;
}
.col-40 {
  width: 40%;
}
.col-45 {
  width: 45%;
}
.col-50 {
  width: 50%;
}
.col-55 {
  width: 55%;
}
.col-60 {
  width: 60%;
}
.col-65 {
  width: 65%;
}
.col-70 {
  width: 70%;
}
.col-75 {
  width: 75%;
}
.col-80 {
  width: 80%;
}
.col-85 {
  width: 85%;
}
.col-90 {
  width: 90%;
}
.col-95 {
  width: 95%;
}
.col-100 {
  width: 100%;
}

.pull-right-0 {
  position: absolute;
  right: 0px;
}

.pull-right-5 {
  position: absolute;
  right: 5px;
}

.pull-right-10 {
  position: absolute;
  right: 10px;
}

.pull-right-15 {
  position: absolute;
  right: 15px;
}

.pull-right-20 {
  position: absolute;
  right: 20px;
}

.pull-right-25 {
  position: absolute;
  right: 25px;
}

.pull-right-30 {
  position: absolute;
  right: 30px;
}

.pull-right-35 {
  position: absolute;
  right: 35px;
}

.pull-right-40 {
  position: absolute;
  right: 40px;
}

.pull-right-45 {
  position: absolute;
  right: 45px;
}

.pull-right-50 {
  position: absolute;
  right: 50px;
}

.pull-right-55 {
  position: absolute;
  right: 55px;
}

.pull-left {
  position: absolute;
  left: 0;
}

/* 附件 */
.annex {
  color: var(--primary-color);
  cursor: pointer;
}

/* 预览大图 */
.to-preview-img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  cursor: pointer;
  margin: 10px;
}

.preview-image .swiper-wrapper,
.preview-image .swiper-slide {
  height: 100%;
}

.preview-image .preview-close {
  position: absolute;
  top: 50px;
  right: 50px;
  width: 38px;
  height: 38px;
  line-height: 38px;
  background: #2f3031;
  border-radius: 50%;
  text-align: center;
  cursor: pointer;
  z-index: 9999;
}

.preview-close img {
  width: 22px;
  height: 22px;
  vertical-align: sub;
}

.preview-image .image-action {
  background: rgba(0, 0, 0, 0.7);
  border-radius: 100px;
  width: 300px;
  position: absolute;
  bottom: 3%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9;
  padding: 8px;
  display: flex;
  justify-content: space-around;
}

.preview-image .image-action img {
  width: 32px;
  vertical-align: middle;
  margin-right: 10px;
  cursor: pointer;
}

.preview-image .mySwiper {
  height: 80%;
  width: 80%;
  margin-top: 4%;
}

.preview-image .mySwiper img {
  height: 100%;
  max-width: 100%;
  transform: scale(1) rotate(0deg) translate(0px, 0px);
}

/* 表单删除 */
.input-delete,
.calendar-delete {
  cursor: pointer;
  width: 14px;
  margin-left: 5px;
}

.select-delete {
  cursor: pointer;
  width: 14px;
  margin-left: 5px;
  margin-right: 5px;
}
