.bd-example-modal-lg .modal-dialog {
  display: table;
  position: relative;
  margin: 0 auto;
  top: calc(50% - 24px);
}

.bd-example-modal-lg .modal-dialog .modal-content {
  background-color: transparent;
  border: none;
}

#kt_header {
  height: 60px;
}

.subheader {
  height: 82px;
}
.ag-details-row {
  padding: calc(var(--ag-grid-size) * 3);
  background-color: var(--ag-background-color);
}
.card-body {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  min-height: 1px;
  padding: 1rem;
}

.card.card-custom > .card-body {
  padding: 1em 1rem !important;
}

.card-header {
  padding: 1rem;
}

body {
  font-family: "Microsoft JhengHei", "times new roman", Helvetica, "sans-serif";
  color: #000000dd;
}

.dropdown-menu {
  font-size: 1.1rem;
}

.container {
  max-width: 100%;
  padding: 0 25px;
}

.ag-theme-alpine {
  --ag-font-size: 1rem;
  --ag-grid-size: 0.5rem;
  --ag-header-column-separator-width: 2px;
  --ag-header-column-resize-handle-width: 2px;
  --ag-cell-horizontal-padding: 0.6rem;
  --ag-header-height: 3.2rem;
}

.ag-grid-v-line .ag-cell {
  border-right-color: #bdc3c7 !important;
}

.ag-grid-v-line.ag-theme-balham .ag-ltr .ag-cell {
  border-right-color: #bdc3c7;
}

.ag-header-cell-label {
  justify-content: center;
  white-space: pre-wrap !important;
}

.ag-header-group-cell-label {
  justify-content: center;
  white-space: pre-wrap !important;
}

.ag-header-cell {
  background-color: #c9dfdb;
  color: #000000;
  white-space: pre-wrap !important;
}

.ag-header-group-cell {
  background-color: #c9dfdb;
  color: #000000;
}

/* .ag-row-hover-color{
    color-mix(in srgb, #b9dddd, var(--ag-accent-color) 12%);} */

.center {
  display: flex;
  justify-content: center; /* align horizontal */
  align-items: center;
  text-align: center;
}

.rk-grid-button {
  margin: 0.2rem;
  font-weight: bold;
}

.card-body {
  padding-top: 2px !important;
  padding-left: 0.5rem !important;
  padding-right: 0.5rem !important;
}

/*.header-green {*/
/*    background-color: #3a70bb;*/
/*    color: #ffffff;*/
/*}*/

.header-edit {
  background-color: #f8ecc9;
  color: #0c090c;
}

.header-show {
  background-color: rgba(238, 126, 143, 0.8);
  color: #0c090c;
}

.cell-modified {
  background-color: #ffe4ca;
}

.rk-rowspan-cell {
  background: white;
  border-left: 1px solid lightgrey !important;
  border-right: 1px solid lightgrey !important;
  border-bottom: 1px solid lightgrey !important;
  text-align: center;
  vertical-align: middle; /* align horizontal */
}

.rk-square {
  top: 114px;
  margin: 0.5em;
  left: 75px;
  width: 162px;
  background: #ffffff 0% 0% no-repeat padding-box;
  box-shadow: 0px 0px 4px #000000bf;
  border-radius: 7px;
  opacity: 1;
}

.rk-fav-hint {
  top: 319px;
  left: 77px;
  width: 731px;
  height: 31px;
  /* UI Properties */
  font-size: 16px;
  text-align: left;
  letter-spacing: 0px;
  color: #f88538;
  opacity: 1;
}

.ag-header-cell-resize {
  position: absolute;
  z-index: 1;
  height: 100%;
  width: 8px;
  top: 0;
  cursor: ew-resize;
}

.rtk-window {
  z-index: 8000 !important;
}

.k-svg-icon {
  width: 30px !important;
  height: 30px !important;
  font-size: 1rem !important;
}

.k-stepper .k-step-current .k-step-indicator {
  --kendo-color-primary: #68aaad;
}

.k-step-indicator {
  width: 50px !important;
  height: 50px !important;
}

.custom-autocomplete ::placeholder {
  font-size: 12px !important;
  color: #999 !important;
  text-align: left !important;
}
.rtk-guide {
  background: #448e8a !important;
  color: white !important;
}

.k-stepper .k-step-label .k-step-text {
  max-width: calc(16em - (16px + var(--kendo-spacing-1, 0.25rem))) !important;
}
.rtk_opendialogbutton {
  font-size: 12pt !important;
  border-radius: 20px !important;
  /* 調整圓弧的程度 */
  padding: 1.7rem 2rem !important;
  /* 調整內邊距 */
  background-color: #68aaad !important;
  /* 按鈕顏色 */
  color: white !important;
  display: flex !important;
  /* 使內容水平排列 */
  align-items: center !important;
  /* 垂直居中 */
  height: 3em !important;
  width: 90% !important;
  box-shadow: 2px 2px 5px #11292b !important;
}

.k-button-rk {
  border-color: rgba(0, 0, 0, 0.08) !important;
  color: #003f59 !important;
  background-color: #daecf4 !important;
  background-image: linear-gradient(#daecf4, #d2e8f2) !important;
}

.k-button-rk {
  background-clip: padding-box;
  border-radius: 2px;
  padding: 4px 8px;
  box-sizing: border-box;
  border-width: 1px;
  border-style: solid;
  line-height: 1.4285714286;
  font-family: inherit;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
  vertical-align: middle;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: pointer;
  outline: none;
  -webkit-appearance: none;
  position: relative;
}

.k-i-gear::before {
  content: "" !important;
}

.cell-modified {
  background-color: #ffe4ca;
}

:root {
  --kendo-font-size: 1.1rem !important;
}

.card .card-header {
  min-height: 1.2rem !important;
}
