table.deft {
  width: 100%;
  /*margin: auto;*/
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  font-size: 10pt;
}
table.deft th,
table.deft td {
  vertical-align: top;
  line-height: 100%;
  vertical-align: middle;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  border-collapse: separate;
  border-width : 0px;
}
table.deft thead th {
  z-index: 11;
  background: #e4e7eb;
  font-weight: bold;
  color: #4e545f;
  font-weight: bold;
  position: -webkit-sticky;
  position: sticky;
  top: 0px;
}

table.deft th,
table.deft td {
  font-weight: normal;
  height: 28px;
  text-align: left;
  padding: 2px 4px;
  /*padding-left : 5px;*/
}

/* safari and ios need the tfoot itself to be position:sticky also */
table.deft tfoot,
table.deft tfoot th,
table.deft tfoot td {
  position: -webkit-sticky;
  position: sticky;
  bottom: 0;
  background: #f0f0f0;
  color: rgb(76, 76, 76);
  z-index: 13;
}

table.deft {
  background-color: white;
}

table.deft [header]>th.fixed {
  /*background-color: #f7f7f7;*/
}

table.deft th.fixed,
table.deft td.fixed {
  position: -webkit-sticky;
  position: sticky;
  z-index: 11;
}

table.deft th.fixed:first-child,
table.deft td.fixed:first-child,
table.deft th:first-child,
table.deft td:first-child {
  /*border-left: 1px solid #ccc;*/
}

table.deft thead th.fixed,
table.deft tfoot th.fixed {
  z-index: 14;
}

table.deft tbody input.editor,
table.deft tbody select.editor {
  width: 100%;
  height: 100%;
  border: 0;
  margin: 0;
  background: transparent;
  outline: 0;
  padding: 0;
  letter-spacing: 0.05em;
}

table.deft tbody input.editor:focus,
table.deft tbody select.editor:focus {
  width: 100%;
  height: 100%;
  border: 0;
  margin: 0;
  background: transparent;
  outline: 0;
  padding: 0;
  color: inherit;
  box-shadow: none;
}

table.deft tr th, table.deft tr td {
  border-right: 1px solid #bcc0c8;
  border-bottom: 1px solid #bcc0c8;
  font-size : 10pt;
  display: table-cell !important;
}


table.deft tr.odd td, table.deft tr.odd th {
  background-color: rgb(247 247 247) ;
}
table.deft tr.even td, table.deft tr.even th {
  background-color: #fff ;
}
table.deft tr.odd th.fixed,
table.deft tr.odd td.fixed {
  background-color: rgb(247 247 247) ;
}

table.deft tr.even th.fixed,
table.deft tr.even td.fixed {
  background-color: #fff ;
}

/* table.deft tr td::before {
  content: '';
  display: inline-block;
  width: 1px;
  height: 100%;
  background-color: #ccc;
  position: absolute;
  top: 0;
  right: 0px;
} */

table.deft tr:first-child th:last-child,
table.deft tr td:last-child {
  border-right: 0;
}

.deft-scroll {
  border: 1px solid #ccc;
  /*scroll-behavior: smooth;*/
  -webkit-overflow-scrolling:touch;
}

/* 그리드선택 */
.df-grid-border {
  /* -webkit-transition: all 0.30s ease-in-out;
  -moz-transition: all 0.30s ease-in-out;
  -ms-transition: all 0.30s ease-in-out;
  -o-transition: all 0.30s ease-in-out;
  outline: none;
  box-shadow: 0 0 5px rgba(81, 203, 238, 1);
  padding: 3px 0px 3px 3px;
  margin: 5px 1px 3px 0px;
  border: 1px solid rgba(81, 203, 238, 1); */
  display : block;
  position : absolute;
  z-index : 11;
  background-color: #1a73e8;
  box-shadow: 0 0 0 .3px #1a73e8;
  transition: all ease 0.1s 0s;
}

/**
   * Avoid vertical margins for extra tags
   * Necessary for correct calculations when rows have nonzero vertical margins
   */
.clusterize-extra-row {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* By default extra tag .clusterize-keep-parity added to keep parity of rows.
     * Useful when used :nth-child(even/odd)
     */
.clusterize-extra-row.clusterize-keep-parity {
  display: none;
}


/* 스크롤바 설정*/
.deft-scroll::-webkit-scrollbar,
.wb-body::-webkit-scrollbar {
  width: 10px;
  height: 10px;
  /*background-color: rgba(28, 38, 47, 0.15);*/
}

/* 스크롤바 막대 설정*/
.deft-scroll::-webkit-scrollbar-thumb,
.wb-body::-webkit-scrollbar-thumb {
  /*background: rgba(28, 38, 47, .9);*/
  background: gray;
}

/* 스크롤바 뒷 배경 설정*/
.deft-scroll::-webkit-scrollbar-track,
.wb-body::-webkit-scrollbar-track {
  background-color: lightgray
}

table.deft th.readonly,
table.deft td.readonly {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--color-pending) / var(--tw-bg-opacity)) !important;
}

table.deft th.readonlyOut,
table.deft td.readonlyOut {
  background-color: transparent;
  transition: 0.5s;
}

table.deft .resizer {
  position: absolute;
  top: 0;
  right: 0;
  width: 5px;
  cursor: col-resize;
  user-select: none;
}
table.deft .resizer:hover,
table.deft .resizing {
  border-right: 2px solid blue;
}

table.deft .resizable {
  border: 1px solid gray;
  height: 100px;
  width: 100px;
  position: relative;
}

div.deft-scroll table.deft tbody select.editor {
  background-repeat: no-repeat;
  background-position: right 8px center;
  cursor: pointer;
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAQCAMAAAAlM38UAAAACVBMVEX///8tLS0tLS37CvDKAAAAAnRSTlMATX7+8BUAAAAySURBVHjatcgxEgAgCMAw4P+PdvICONutia9VlQHV3ed1msGXcrqccjqdcvo65XR60wNoZgCpdo7+EQAAAABJRU5ErkJggg==);
  background-size: 11px 8px;
  padding-right: 25px !important;
  min-height : 20px;  
  height: 23px;
}

div.deft-scroll .c-checkbox {
	/*display: table-cell;*/
}

div.deft-scroll .c-checkbox::before {
  cursor: pointer;
}

div.deft-scroll table.deft tbody .calendar {
	  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' style='enable-background:new 0 0 24 24' xml:space='preserve'%3E%3Cpath d='M0 0h24v24H0V0z' style='fill:none'/%3E%3Cpath d='M19 4h-1V2h-2v2H8V2H6v2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V10h14v10zM9 14H7v-2h2v2zm4 0h-2v-2h2v2zm4 0h-2v-2h2v2zm-8 4H7v-2h2v2zm4 0h-2v-2h2v2zm4 0h-2v-2h2v2z' style='fill:%23777'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 3px center;
    background-size: 18px;
    min-height: 16px;
}

.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' -25,
  'opsz' 20
}
.deft-scroll span.material-symbols-outlined {
  vertical-align: text-bottom;
  font-size: 17px;
  margin-right : 3px;
}

.c-checkbox {
	display: inline-block;width: auto;height: auto;vertical-align: middle;text-align: center;margin-top: 1px;
}
.c-checkbox::before {
	content: '';
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background-color: #fff;
    border: 1px solid #bbb;
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 3px;
}
.c-checkbox.on::before {
	border-color: #777;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' style='enable-background:new 0 0 24 24' xml:space='preserve'%3E%3Cpath d='M0 0h24v24H0V0z' style='fill:none'/%3E%3Cpath d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-9 14-5-5 1.4-1.4 3.6 3.6 7.6-7.6L19 8l-9 9z' style='&%2310; fill: %23777;&%2310; --color-theme-1: 3 4 94;&%2310; flex: none;&%2310; opacity: 1;&%2310;'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px;
}

.deft-scroll input, .deft-scroll select, .deft-scroll textarea {
  border: none;
  box-shadow : none;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
  font-size: 10pt;
  line-height: 22px !important;
  letter-spacing: 0.35px;
  color : black;
}

.deft-scroll input.editor.hasValue {
    outline: none;
    resize: none;
    box-sizing: border-box;
    vertical-align: middle;
    line-height: 23px;
    height : 23px;
    text-align: start;
}