/*! rtl:begin:ignore */
/* -----------  color  ——————---- start */
/* -----------  color  ——————---- end */
/* -----------  motion  ——————---- start */
/* -----------  motion  ——————---- end */
/* -----------  transition  ——————---- start */
/* -----------  transition  ——————---- end */
/* -----------  font  ——————---- start */
/* -----------  font  ——————---- end */
/* -----------  zIndex  ——————---- start */
/*
    普通组件内部自身层级应设置在0-100间
*/
/* -----------  zIndex  ——————---- end */
/* -----------  Button  ——————---- start */
/* -----------  Button  ——————---- end */
/* -----------  Collapse  ——————---- start */
/* -----------  Collapse  ——————---- end */
/* -----------  Card  ——————---- start */
/* -----------  Card  ——————---- end */
/* -----------  Carousel  ——————---- start */
/* -----------  Carousel  ——————---- end */
/* -----------  Cascader  ——————---- start */
/* -----------  Cascader  ——————---- end */
/* -----------  Switch  ——————---- start */
/* -----------  Switch  ——————---- end */
/* -----------  Input  ——————---- start */
/* -----------  Input  ——————---- end */
/* -----------  InputNumber  ——————---- start */
/* -----------  InputNumber  ——————---- end */
/* -----------  checkbox  ——————---- start */
/* -----------  checkbox  ——————---- start */
/* -----------  checkbox  ——————---- end */
/* -----------  Radio  ——————---- start */
/* -----------  Radio  ——————---- end */
/* -----------  icon  ——————---- start */
/* -----------  icon  ——————---- end */
/* -----------  Popconfirm  ——————---- start */
/* -----------  Popconfirm  ——————---- end */
/* -----------  Progress  ——————---- start */
/* -----------  Progress  ——————---- end */
/* -----------  Pagination  ——————---- start */
/* -----------  Pagination  ——————---- end */
/* -----------  Timeline  ——————---- start */
/* -----------  Timeline  ——————---- end */
/* -----------  Tabs  ——————---- start */
/* -----------  Tabs  ——————---- end */
/* -----------  Select  ——————---- start */
/* -----------  Select  ——————---- end */
/* -----------  Rate  ——————---- start */
/* -----------  Rate  ——————---- end */
/* -----------  Dropdown  ——————---- start */
/* -----------  Dropdown  ——————---- end */
/* -----------  Tooltip  ——————---- start */
/* -----------  Tooltip  ——————---- end */
/* -----------  Transfer  ——————---- start */
/* -----------  Transfer  ——————---- end */
/* -----------  DatePicker  ——————---- start */
/* -----------  DatePicker  ——————---- end */
/* -----------  ColorPicker  ——————---- start */
/* -----------  ColorPicker  ——————---- end */
/* -----------  Tree  ——————---- start */
/* -----------  Tree  ——————---- end */
/* -----------  Alert  ——————---- start */
/* -----------  Alert  ——————---- end */
/* -----------  Split-Panel ——————---- start */
/* -----------  Split-Panel ——————---- end */
/* -----------  Modal  ——————---- start */
/* -----------  Modal  ——————---- end */
/* -----------  Steps  ——————---- start */
/* -----------  Steps  ——————---- end */
/* -----------  Form  ——————---- start */
/* -----------  Form  ——————---- end */
/* -----------  Tag ——————---- start */
/* -----------  Tag ——————---- end */
/* -----------  Menu  ——————---- start */
/* -----------  Menu  ——————---- end */
/* -----------  notice  ——————---- start */
/* -----------  message  ——————---- end */
/* -----------  Spin  ——————---- start */
/* -----------  Spin  ——————---- end */
/* -----------  Spin  ——————---- start */
/* -----------  Spin  ——————---- end */
/* -----------  Layout  ——————---- start */
/* -----------  Layout  ——————---- end */
/* -----------  Typography  ——————---- start */
/* -----------  Typography  ——————---- start */
/* -----------  Search  ——————---- start */
/* -----------  Search  ——————---- start */
/* -----------  Badge  ——————---- start */
/* -----------  Badge  ——————---- end */
/* -----------  Anchor  ——————---- start */
/* -----------  Anchor  ——————---- end */
/* -----------  Avatar  ——————---- start */
/* -----------  Avatar  ——————---- end */
/* -----------  AdvancedSelector  ——————---- start */
/* -----------  AdvancedSelector  ——————---- end */
/* -----------  motion  ——————---- start */
/* -----------  motion  ——————---- end */
/* -----------  transition  ——————---- start */
/* -----------  transition  ——————---- end */
/* -----------  zIndex  ——————---- start */
/*
    普通组件内部自身层级应设置在0-100间
*/
/* -----------  zIndex  ——————---- end */
.kd-signature {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  width: 100%;
  height: 100%;
}
.kd-signature-image {
  width: 100%;
  height: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
.kd-signature-image img {
  width: 100%;
  height: 100%;
}
.kd-signature-empty {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  width: 100%;
  height: 100%;
  border: 1px dashed #e5e5e5;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background: var(--kd-c-signature-bg-color, #fafafa);
  color: var(--kd-c-signature-color-text, #999999);
  font-size: var(--kd-c-signature-font-size, 12px);
  cursor: pointer;
  border-radius: var(--kd-c-signature-border-radius, var(--kd-g-radius-border, 2px));
  -webkit-transition: border-color var(--kd-c-signature-motion-duration, var(--kd-g-duration, 0.3s)), background-color var(--kd-c-signature-motion-duration, var(--kd-g-duration, 0.3s));
  transition: border-color var(--kd-c-signature-motion-duration, var(--kd-g-duration, 0.3s)), background-color var(--kd-c-signature-motion-duration, var(--kd-g-duration, 0.3s));
}
.kd-signature-empty:hover {
  border-color: var(--kd-c-signature-border-color-hover, var(--kd-g-color-theme-5, #87adff));
  background-color: var(--kd-c-signature-bg-color-hover, var(--kd-g-color-theme-1, #f2f8ff));
}
.kd-signature.kd-signature-disabled {
  cursor: not-allowed;
  border: 1px solid var(--kd-g-color-border-disabled, #ccc);
  background: var(--kd-c-signature-bg-color, #fafafa);
  color: var(--kd-c-signature-color-text, #999999);
}
.kd-signature-drawing-board {
  width: 100%;
  height: 100%;
  border: 1px solid #e5e5e5;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  background: var(--kd-c-signature-drawing-board-bg-color, #fafafa);
  position: relative;
}
.kd-signature-drawing-board-operation {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: absolute;
  top: 9px;
  right: 9px;
  color: #b2b2b2;
  z-index: 9999;
}
.kd-signature-drawing-board-operation > * {
  cursor: pointer;
}
.kd-signature-drawing-board-operation > *:not(:last-child) {
  margin-right: 13px;
}
.kd-signature-drawing-board-operation span:nth-of-type(2) {
  -webkit-transform: scaleX(-1) !important;
          transform: scaleX(-1) !important;
}
.kd-signature-drawing-board-operation.enabled {
  color: #666666;
}
.kd-signature-drawing-board-tip {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  color: var(--kd-c-signature-board-tip-color, #b2b2b2);
  font-size: 12px;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.kd-signature-modal .kd-modal-header {
  position: relative;
}
.kd-signature-modal-footer .kd-btn:not(:last-child) {
  margin-right: 12px;
}
.kd-signature-modal .kd-modal-expand-icon {
  position: absolute;
  right: 43.5px;
  font-size: 14px;
  cursor: pointer;
}
.kd-signature-modal.kd-signature-modal-fullscreen .kd-modal-container-box {
  width: 90vw !important;
  height: 90vh !important;
  top: 5vh;
  left: 5vw;
  -webkit-transform: none !important;
          transform: none !important;
}
.kd-signature-rtl {
  direction: rtl;
}
.kd-signature-rtl.kd-signature-modal .kd-signature-modal-footer .kd-btn:not(:last-child) {
  margin-right: 0;
  margin-left: 12px;
}
.kd-signature-rtl.kd-signature-modal .kd-modal-expand-icon {
  left: 43.5px;
  right: auto;
}
.kd-signature-rtl .kd-signature-drawing-board-operation {
  top: 9px;
  left: 9px;
  right: auto;
}
.kd-signature-rtl .kd-signature-drawing-board-operation > * {
  cursor: pointer;
}
.kd-signature-rtl .kd-signature-drawing-board-operation > *:not(:last-child) {
  margin-left: 13px;
  margin-right: 0;
}
/*! rtl:end:ignore */
