html,
body {
  height: 100%;
  font-family: "Sarabun";
  font-size: 13px;
  font-weight: normal;
  letter-spacing: 0.1px;
  color: #252525;
}

* {
  padding: 0;
  margin: 0;
}

h2 {
  font-size: 26px;
}

h4 {
  font-size: 13px;
}

a {
  font-weight: 500;
  color: #2e58c4;
}
a:hover {
  color: #567ee3;
  text-decoration: none;
}

label {
  margin-bottom: 0;
}

.button {
  display: block;
  width: 150px;
  padding: 5px;
  border-radius: 25px;
  text-align: center;
  font-size: 14px;
  cursor: pointer;
  transition: 0.3s;
}
.button.button-primary {
  background-color: #567ee3;
  color: #fff;
}
.button:hover.button-primary {
  background-color: #1749c9;
}
.button:active.button-primary {
  background-color: #101861;
}

.button-right {
  margin-left: auto;
}

.button-right-flex {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
}

.inline-block-wrapper {
  display: inline-block;
}

.ui-view-container {
  background-color: #f6f6f6;
  color: #252525;
  min-height: 100vh;
}
.ui-view-container.menu-hide .navbar .menu-icon {
  transform: scaleX(-1);
}
.ui-view-container.menu-hide .sidebar-outer {
  left: -100px;
  overflow: hidden;
}
.ui-view-container.menu-hide .main-content {
  padding-left: 0;
}

.logo {
  font-family: "MoonHouse";
  font-size: 27px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.25rem;
}

.badge {
  font-weight: 500;
  width: auto;
  padding: 5px 15px;
  background-color: #ccc;
  font-size: 11px;
  color: #252525;
  border-radius: 20px;
  height: 28px;
  line-height: 14px;
}
.badge.small {
  font-size: 10px;
  padding: 2px 10px;
  line-height: normal;
  height: auto;
}
.badge.green {
  background-color: #40b365;
  color: #fff;
}
.badge.red {
  background-color: #ec9397;
  color: #fff;
}
.badge.orange {
  background-color: #f4be39;
  color: #fff;
}
.badge.blue {
  background-color: #2e58c4;
  color: #fff;
}
.badge.blue-outlined {
  background-color: #fff;
  border: 1px solid #2e58c4;
  color: #2e58c4;
}

.badge-outlined {
  background-color: transparent;
  border: 1px solid #848da2;
  color: #848da2;
}
.badge-outlined.red {
  background-color: transparent;
  border: 1px solid #ec9397;
  color: #ec9397;
}

.spliter {
  display: inline-block;
  padding-left: 5px;
  padding-right: 5px;
  color: #848da2;
  font-style: normal;
}

.text-center {
  text-align: center !important;
}

.text-right {
  text-align: right !important;
}

.position-relative {
  position: relative !important;
}

.display-block {
  display: block !important;
}

.inline-block {
  display: inline-block !important;
}

.display-flex {
  display: flex !important;
}

.items-center {
  align-items: center !important;
}

.items-start {
  align-items: flex-start !important;
}

.items-end {
  align-items: flex-end !important;
}

.justify-space-between {
  justify-content: space-between !important;
}

.justify-content-center {
  justify-content: center !important;
}

.flex-none {
  flex: none;
}

.flex-auto {
  flex: 1 1 auto;
}

.gap-0 {
  gap: 0 !important;
}

.gap-7 {
  gap: 7px;
}

.gap-10 {
  gap: 10px;
}

.gap-15 {
  gap: 15px;
}

.strike-through {
  text-decoration: line-through;
}

.text-ellipsis {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.p-0 {
  padding: 0 !important;
}

.px-0 {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.py-0 {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.py-7 {
  padding-top: 7px !important;
  padding-bottom: 7px !important;
}

.pt-0 {
  padding-top: 0 !important;
}

.pt-7 {
  padding-top: 7px !important;
}

.pt-10 {
  padding-top: 10px !important;
}

.pt-15 {
  padding-top: 15px !important;
}

.pr-0 {
  padding-right: 0 !important;
}

.pb-0 {
  padding-bottom: 0 !important;
}

.pl-0 {
  padding-left: 0 !important;
}

.pl-7 {
  padding-left: 7px !important;
}

.pl-15 {
  padding-left: 15px !important;
}

.pr-0 {
  padding-right: 0 !important;
}

.pr-7 {
  padding-right: 7px !important;
}

.pr-15 {
  padding-right: 15px !important;
}

.pb-7 {
  padding-bottom: 7px !important;
}

.pb-15 {
  padding-bottom: 15px !important;
}

.pb-45 {
  padding-bottom: 45px !important;
}

.ml-0 {
  margin-left: 0 !important;
}

.ml-7 {
  margin-left: 7px !important;
}

.ml-auto {
  margin-left: auto !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-7 {
  margin-bottom: 7px !important;
}

.mb-15 {
  margin-bottom: 15px !important;
}

.opacity-0 {
  opacity: 0 !important;
}

.opacity-1 {
  opacity: 1 !important;
}

.transition-opacity {
  transition: opacity 0.3s;
}

.background-transparent {
  background-color: transparent !important;
}

.font-16 {
  font-size: 16px !important;
}

.font-18 {
  font-size: 18px !important;
}

.font-22 {
  font-size: 22px !important;
}

.font-weight-500 {
  font-weight: 500 !important;
}

.font-weight-600 {
  font-weight: 600 !important;
}

.font-weight-700 {
  font-weight: 700 !important;
}

.uppercase {
  text-transform: uppercase !important;
}

.require-field {
  position: relative;
  display: inline-block;
}
.require-field::after {
  content: "*";
  position: absolute;
  top: -3px;
  right: -12px;
  font-size: 20px;
  font-weight: 900;
  color: #ec9397;
}

.require-field-table-header {
  font-size: 20px;
  font-weight: 900;
  color: #ec9397;
}

.secondary-text {
  font-size: 10px;
  color: #848da2;
}

.dx-texteditor.has-validation-error {
  box-shadow: unset;
  border: 0.5px solid red;
}

.dx-texteditor-input {
  min-height: 20px;
}

.dx-button-in-list {
  height: 24px;
}
.dx-button-in-list .dx-button-content {
  padding: 2px 16px;
}
.dx-button-in-list .dx-button-content .dx-button-text {
  text-transform: uppercase;
  font-size: 11px;
}
.dx-button-in-list:not(:last-child) {
  margin-right: 5px;
}
.dx-button-in-list.dx-button-mode-outlined.dx-button-default {
  background-color: #fff;
}

.dx-button-in-list-sm {
  height: 20px;
}
.dx-button-in-list-sm.dx-button-has-text .dx-button-content {
  padding: 0 5px;
}
.dx-button-in-list-sm.dx-button-has-text .dx-button-content .dx-button-text {
  text-transform: uppercase;
  font-size: 9px;
}
.dx-button-in-list-sm:not(:last-child) {
  margin-right: 5px;
}

.dx-column-indicators {
  float: right;
}

.dx-datagrid-headers .dx-datagrid-table .dx-row > td:not(.column-align-canter),
.dx-treelist-headers .dx-treelist-table .dx-row > td:not(.column-align-canter) {
  text-align: left !important;
}

.dx-freespace-row {
  height: 0 !important;
}

.dx-fileuploader-input-wrapper:before {
  padding-top: 0.7em;
}

.dx-datagrid-headers.dx-header-multi-row .dx-row.dx-header-row > td,
.dx-treelist-headers.dx-header-multi-row .dx-row.dx-header-row > td {
  vertical-align: top;
}

.dx-switch-off,
.dx-switch-on {
  font-size: 13px;
  font-weight: 400;
}

.dx-datagrid-header-panel,
.dx-treelist-header-panel {
  display: none;
}

.dx-datagrid-rowsview .dx-data-row .dx-cell-modified .dx-highlight-outline::after {
  border-color: transparent;
}

.dx-datagrid .dx-row.dx-data-row > td,
.dx-treelist .dx-row.dx-data-row > td,
.dx-datagrid-rowsview .dx-data-row:not(.dx-edit-row) .dx-cell-modified {
  background-color: rgba(236, 236, 236, 0.4);
}
.dx-datagrid .dx-row.dx-data-row > td.allowed-editing,
.dx-treelist .dx-row.dx-data-row > td.allowed-editing,
.dx-datagrid-rowsview .dx-data-row:not(.dx-edit-row) .dx-cell-modified.allowed-editing {
  background-color: #fff;
}

.dx-datagrid-headers .dx-datagrid-table .dx-row > td.allowed-editing.required .dx-datagrid-text-content span {
  display: flex;
  align-items: flex-end;
  gap: 2px;
}
.dx-datagrid-headers .dx-datagrid-table .dx-row > td.allowed-editing.required .dx-datagrid-text-content span::after {
  content: "*";
  font-size: 20px;
  font-weight: 900;
  color: #ec9397;
}

.dx-datagrid .dx-datagrid-content .dx-datagrid-table .dx-row > td.has-validation-error {
  border-bottom: 1px solid red;
}

.dx-datagrid .dx-datagrid-content .dx-datagrid-table .dx-row > td {
  vertical-align: top;
}

.dx-datagrid .dx-datagrid-rowsview .dx-data-row .dx-command-drag {
  text-overflow: unset;
}

.dx-row > td.cell-has-border-left,
.dx-row > tr > td.cell-has-border-left {
  border-left: 1px solid #e0e0e0;
}

.data-grid-valign-middle .dx-datagrid .dx-datagrid-content .dx-datagrid-table .dx-row > td {
  vertical-align: middle;
}
.data-grid-valign-middle .dx-datagrid .dx-datagrid-group-opened,
.data-grid-valign-middle .dx-datagrid .dx-datagrid-group-closed {
  margin-top: 0;
}

.dx-buttongroup .dx-button-mode-outlined {
  border: 1px solid rgba(0, 0, 0, 0.24);
}
.dx-buttongroup .dx-button-mode-outlined .dx-icon {
  color: #848da2;
}
.dx-buttongroup .dx-button-mode-outlined.dx-item-selected.dx-button-normal {
  background-color: #ececec !important;
}
.dx-buttongroup .dx-button-mode-outlined.dx-item-selected .dx-icon {
  color: #2e58c4 !important;
}

.dx-show-clear-button .dx-icon-clear {
  background-color: #ec9397;
  color: #fff;
}

.dx-datagrid-group-opened,
.dx-datagrid-group-closed {
  margin-top: 7px;
}

.dx-datagrid-rowsview .dx-row.dx-group-row:not(.dx-row-focused) {
  color: rgba(0, 0, 0, 0.87);
  background-color: rgba(236, 236, 236, 0.4);
}

.dx-datagrid-drag-icon {
  position: relative;
  top: 7px;
}

.dx-datagrid .dx-datagrid-content .dx-datagrid-table .dx-row > td.dx-command-expand {
  min-width: 30px;
}

.tree-list-v-align-top.dx-treelist .dx-treelist-content .dx-treelist-table .dx-row > td {
  vertical-align: top;
}

.link-button-in-list.dx-button,
.icon-button-in-list.dx-button {
  height: 23px;
  min-width: 0px;
}
.link-button-in-list.dx-state-disabled,
.icon-button-in-list.dx-state-disabled {
  opacity: 0.3;
}
.link-button-in-list .dx-button-content,
.icon-button-in-list .dx-button-content {
  padding: 2px 5px;
}
.link-button-in-list .dx-button-content .dx-button-text,
.icon-button-in-list .dx-button-content .dx-button-text {
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
}
.link-button-in-list.dx-state-hover, .link-button-in-list.dx-state-active, .link-button-in-list.dx-state-focus,
.icon-button-in-list.dx-state-hover,
.icon-button-in-list.dx-state-active,
.icon-button-in-list.dx-state-focus {
  background-color: transparent !important;
  opacity: 0.5;
}

.link-button-in-list.dx-button-has-icon.dx-button-has-text .dx-button-content {
  padding: 0 6px;
}
.link-button-in-list.dx-button-has-icon.dx-button-has-text .dx-button-content .dx-icon {
  font-size: 17px;
}
.link-button-in-list .dx-button-content {
  padding: 0;
}
.link-button-in-list .dx-button-text {
  text-decoration: underline;
}

.link-button-in-list.bold .dx-button-content .dx-button-text {
  font-weight: 700;
}

.icon-button-in-list .dx-button-content .dx-icon {
  font-size: 17px !important;
}
.icon-button-in-list .dx-button-content .dx-icon.fa-exclamation-triangle {
  font-size: 15px !important;
}
.icon-button-in-list.icon-context-menu .dx-button-content .dx-icon {
  font-size: 12px !important;
}

.link-button-in-list.dx-button-mode-text.dx-button-default.dx-state-focused, .link-button-in-list.dx-button-mode-text.dx-button-default.dx-state-hover {
  background-color: transparent;
}

.link-button.dx-button-has-text .dx-button-content {
  padding: 0 6px;
  font-weight: 600;
}
.link-button .dx-button-text {
  text-decoration: underline;
}

.a-link-button {
  text-decoration: underline;
  font-size: 12px;
  font-weight: 600;
}
.a-link-button.a-link-button-has-icon {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 3px;
}
.a-link-button.a-link-button-has-icon span {
  text-decoration: underline;
}

.a-icon-button {
  font-size: 12px;
}

.icon-button-small .dx-button-content .dx-icon {
  font-size: 12px !important;
}

.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 9;
  transition: 0.3s;
  border-bottom: 1px solid lightgrey;
}
.navbar .logo {
  display: inline-block;
  width: 95px;
  line-height: 2;
  text-align: center;
  height: 61px;
  background-color: #e1e1e1;
  border-bottom: 1px solid lightgrey;
  box-shadow: 2px 0px 4px 0px #cfcfcf;
}
.navbar .logo img {
  width: 40px;
}
.navbar .inner-wrapper {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  height: 60px;
  background-color: #f6f6f6;
}
.navbar .inner-wrapper .menu-icon {
  display: inline-block;
  position: relative;
  font-size: 18px;
  margin-left: 15px;
  color: #848da2;
  cursor: pointer;
}
.navbar .inner-wrapper .menu-icon .line {
  width: 100%;
  height: 2px;
  position: absolute;
  background-color: #a6a6a6;
  transform: rotate(0deg);
  transition: 0.15s ease-in-out;
  transform: translate3d(0, 0, 0);
  outline: 1px solid transparent;
}
.navbar .inner-wrapper .menu-icon .line:nth-child(1) {
  top: 0;
}
.navbar .inner-wrapper .menu-icon .line:nth-child(2),
.navbar .inner-wrapper .menu-icon .line:nth-child(3) {
  top: 4px;
}
.navbar .inner-wrapper .menu-icon .line:nth-child(4) {
  top: 8px;
}
.navbar .inner-wrapper .menu-icon.open {
  backface-visibility: hidden;
}
.navbar .inner-wrapper .menu-icon.open .line:nth-child(1),
.navbar .inner-wrapper .menu-icon.open .line:nth-child(4) {
  top: 4px;
  width: 0%;
  left: 50%;
}
.navbar .inner-wrapper .menu-icon.open .line:nth-child(2) {
  transform: rotate(-45deg);
}
.navbar .inner-wrapper .menu-icon.open .line:nth-child(3) {
  transform: rotate(45deg);
}
.navbar .inner-wrapper .breadcrumb {
  padding-left: 10px;
  font-size: 12px;
  font-style: italic;
  font-weight: 500;
  color: #848da2;
}
.navbar .inner-wrapper .breadcrumb .previous-page {
  color: #848da2;
}
.navbar .inner-wrapper .breadcrumb .current-page {
  color: #567ee3;
}
.navbar .inner-wrapper .right {
  margin-left: auto;
  padding-right: 21px;
}
.navbar .inner-wrapper .right a {
  display: inline-block;
  width: 30px;
  text-align: center;
  color: #848da2;
  font-size: 18px;
  transition: 0.3s;
}
.navbar .inner-wrapper .right a:hover {
  color: #567ee3;
  text-decoration: none;
}
.navbar .inner-wrapper .right a.opened {
  color: #567ee3;
}

.top-menu-popover .menu-item {
  transition: 0.3s;
}
.top-menu-popover .menu-item a {
  display: block;
  padding: 15px 25px;
  color: #252525;
}
.top-menu-popover .menu-item:hover {
  background-color: #c3d1f6 !important;
}
.top-menu-popover .dx-popup-content {
  padding: 0;
}
.top-menu-popover .dx-popup-title.dx-toolbar {
  padding-left: 25px;
}
.top-menu-popover .dx-popover-arrow:after {
  background-color: #f6f6f6;
}

.customize-title {
  padding: 15px 8px 15px 25px;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid #e0e0e0;
  background-color: #f6f6f6;
}
.customize-title .count-new-item {
  display: inline-block;
  margin-left: 25px;
  padding: 1px 15px 2px;
  border-radius: 25px;
  font-size: 11px;
  font-weight: 600;
  background-color: #fbdee2;
  color: #ec9397;
}

.info-popover .inner-wrapper {
  padding: 15px;
}
.info-popover .inner-wrapper a {
  color: #000;
  font-weight: 600;
}

.sub-header {
  font-size: 22px;
  font-weight: 500;
}

.sidebar-outer {
  position: fixed;
  top: 61px;
  left: 0;
  z-index: 999;
  width: 95px;
  height: 100%;
  padding-bottom: 46px;
  background-color: #ececec;
  box-shadow: 2px 0px 4px 0px #cfcfcf;
  transition: 0.3s;
  overflow: visible;
}
.sidebar-outer .menu-wrapper {
  height: 100%;
  padding-top: 60px;
}
.sidebar-outer .menu-wrapper .card {
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}
.sidebar-outer .menu-wrapper .card a {
  display: inline-block;
  width: 100%;
  padding: 10px 0 0;
  font-size: 11px;
  font-weight: 500;
  line-height: 2.5;
  letter-spacing: 0.5px;
  outline: none;
  color: #848da2;
  cursor: pointer;
}
.sidebar-outer .menu-wrapper .card a.menu-item-link {
  padding-left: 0 !important;
  text-align: center;
}
.sidebar-outer .menu-wrapper .card .menu-item-link {
  transition: 0.3s;
}
.sidebar-outer .menu-wrapper .card .menu-item-link i {
  display: block;
  padding: 0 12px;
  font-size: 24px;
}
.sidebar-outer .menu-wrapper .card .menu-item-link b {
  position: absolute;
  margin: 0;
  right: 8px;
  top: 28px;
  transition: transform 0.2s linear;
}
.sidebar-outer .menu-wrapper .card .menu-item-link img {
  width: 30px;
}
.sidebar-outer .menu-wrapper .card .menu-item-link .active-icon {
  display: none;
  color: #2e58c4;
}
.sidebar-outer .menu-wrapper .card .menu-item-link .inactive-icon {
  display: inline-block;
}
.sidebar-outer .menu-wrapper .card .menu-item-link .icon-250x200 {
  width: 35px !important;
}
.sidebar-outer .menu-wrapper .card .menu-item-link .menu-title {
  display: block;
}
.sidebar-outer .menu-wrapper .card .menu-item-link.active-link {
  position: relative;
}
.sidebar-outer .menu-wrapper .card .menu-item-link.active-link::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 5px;
  background-color: #2e58c4;
}
.sidebar-outer .menu-wrapper .card .menu-item-link.collapsed b {
  transform: rotate(-180deg);
}
.sidebar-outer .menu-wrapper .card .menu-item-link:hover {
  background-color: none;
}
.sidebar-outer .menu-wrapper .card .menu-item-link:hover i {
  color: #567ee3;
}
.sidebar-outer .menu-wrapper .card .menu-item-link:hover::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 5px;
  background-color: #567ee3;
}
.sidebar-outer .menu-wrapper .card .menu-item-link.active-link .active-icon, .sidebar-outer .menu-wrapper .card .menu-item-link:hover .active-icon {
  display: inline-block;
}
.sidebar-outer .menu-wrapper .card .menu-item-link.active-link .inactive-icon, .sidebar-outer .menu-wrapper .card .menu-item-link:hover .inactive-icon {
  display: none;
}
.sidebar-outer .menu-wrapper .card .menu-item-link.sum-unit-price {
  padding-top: 6px;
}
.sidebar-outer .menu-wrapper .card .menu-item-link.sum-unit-price i {
  position: relative;
  top: 6px;
}
.sidebar-outer .menu-wrapper .card .menu-item-link.standard-price .active-icon {
  color: #40b365;
}
.sidebar-outer .menu-wrapper .card .has-sub-menu {
  display: none;
  position: absolute;
  right: 3px;
  top: 50%;
  color: #848da2;
  transform: translateY(-50%);
}
.sidebar-outer .menu-wrapper .card:hover .has-sub-menu {
  display: block;
}
.sidebar-outer .menu-wrapper .more-menu {
  position: relative;
  margin-top: 10px;
  border-top: 1px solid lightgrey;
}
.sidebar-outer .menu-wrapper .more-menu > a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 5px 0;
  outline: none;
  color: #848da2;
  cursor: pointer;
}
.sidebar-outer .menu-wrapper .more-menu > a i {
  position: relative;
  top: 2px;
}
.sidebar-outer .menu-wrapper .more-menu.active-link {
  position: relative;
}
.sidebar-outer .menu-wrapper .more-menu.active-link::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 5px;
  background-color: #2e58c4;
}
.sidebar-outer .menu-wrapper .more-menu.active-link > a, .sidebar-outer .menu-wrapper .more-menu:hover > a {
  color: #567ee3;
}
.sidebar-outer .menu-wrapper .more-menu .menu-wrapper {
  display: none;
  position: absolute;
  padding-top: 0;
  width: 95px;
  height: auto;
  bottom: 0;
  left: 98px;
  background-color: #ececec;
}
.sidebar-outer .menu-wrapper .more-menu .menu-wrapper.show {
  display: block;
}
.sidebar-outer .sub-menu-wrapper {
  display: none;
  flex-direction: column;
  height: auto;
  position: absolute;
  left: 98px;
  bottom: 0;
  background-color: #ececec;
  box-shadow: 2px 0px 4px 0px #cfcfcf;
}
.sidebar-outer .sub-menu-wrapper a {
  padding: 0 !important;
  padding-left: 15px !important;
  padding-right: 15px !important;
  font-size: 14px !important;
  white-space: nowrap;
}
.sidebar-outer .sub-menu-wrapper a.active {
  background-color: #2e58c4;
  color: #fff;
}
.sidebar-outer .sub-menu-wrapper a:hover {
  background-color: #567ee3;
  color: #fff;
}
.sidebar-outer .sub-menu-wrapper.show {
  display: flex;
}

.main-content {
  width: 100%;
  padding: 60px 0 0 0;
  padding-left: 95px;
  -webkit-box-flex: 1;
  height: auto;
  overflow: hidden;
  transition: 0.3s;
}
.main-content .content-wrapper {
  padding: 15px;
  height: auto;
}
.main-content .content-wrapper > .inner-wrapper {
  position: relative;
  background-color: #fff;
  border-radius: 25px;
  min-height: 300px;
  padding: 15px;
  height: auto;
}
.main-content .top {
  display: flex;
  position: relative;
  flex-wrap: nowrap;
  padding-bottom: 15px;
}
.main-content .top .page-title {
  flex: 0 0 30%;
  max-width: 30%;
}
.main-content .top .page-title > span {
  font-size: 22px;
  font-weight: 500;
}
.main-content .top .page-title .sub-page-title {
  display: block;
  font-size: 12px;
  font-style: italic;
  color: #848da2;
}
.main-content .top .page-title .sub-page-title > span {
  margin-right: 15px;
}
.main-content .top .page-title.full {
  flex: 1 1 auto;
  max-width: unset;
}
.main-content.full-page {
  height: auto;
  overflow: visible;
}
.main-content.full-page .tab-content {
  height: auto;
}
.main-content.scroll-in-tab .content-wrapper > .inner-wrapper {
  background-color: transparent;
  padding: 0;
}
.main-content.scroll-in-tab .content-wrapper > .inner-wrapper .top {
  background-color: #fff;
  padding: 15px 15px 0 15px;
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
}
.main-content.scroll-in-tab .sub-menu-tab {
  background-color: #fff;
  height: 40px;
  margin-left: 0;
  margin-right: 0;
}

.loader {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 8px;
  background: rgb(0, 212, 255);
  background: linear-gradient(90deg, rgba(0, 212, 255, 0.4710477941) 0%, rgb(44, 91, 139) 50%, rgba(0, 212, 255, 0.4738489146) 100%);
  z-index: 9999;
}

.action-menu-group {
  background-color: #e8e8e8;
  border: 1px solid lightgray;
  text-align: center;
  padding: 5px 0;
  color: #000;
  opacity: 1;
  font-weight: 700;
  margin-left: -7px;
  margin-right: -7px;
}

.action-menu-item {
  cursor: pointer;
}
.action-menu-item i {
  margin-right: 7px;
}
.action-menu-item .empty {
  min-width: 12px;
  display: inline-block;
}

.action-menu {
  position: relative;
  top: -3px;
}
.action-menu.dx-state-disabled {
  opacity: 1;
}
.action-menu.dx-state-disabled * {
  opacity: 0.9 !important;
}

.dx-dropdownbutton .dx-button-mode-outlined {
  color: rgba(0, 0, 0, 0.87);
  border: 1px solid #ddd;
}
.dx-dropdownbutton .dx-icon-spindown::before {
  color: rgba(0, 0, 0, 0.54);
}
.dx-dropdownbutton .dx-button-content {
  padding: 3px 8px 4px;
}
.dx-dropdownbutton .dx-button-text {
  font-size: 13px;
}

.dx-dropdownbutton-content .dx-state-disabled {
  color: #c0c0c0;
  opacity: 1;
}

.dx-selectbox .dx-button-mode-outlined {
  border: none;
}

.display-field.horizontal .item {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  padding: 0 25px 15px 0;
}
.display-field.horizontal .item .inner-wrapper {
  width: auto;
  font-size: 12px;
  font-weight: 500;
  color: #7d7d7d;
}
.display-field.horizontal .item .inner-wrapper .data {
  display: block;
  width: 100%;
  font-size: 13px;
  font-weight: 700;
  color: #2e58c4;
}

.popup-confirm .button-wrapper {
  width: 100%;
  text-align: center;
  padding: 15px 15px 0 15px;
}

.common-popup .custom-popup-title-wrapper {
  padding: 0 8px 0 16px;
  margin: -15px -15px 10px -15px;
  border-bottom: 1px solid #e0e0e0;
}
.common-popup .custom-popup-title-wrapper .inner-wrapper {
  position: relative;
  height: 56px;
  overflow: visible;
}
.common-popup .custom-popup-title-wrapper .inner-wrapper .popup-title {
  display: table-cell;
  vertical-align: middle;
  height: 56px;
  font-size: 16px;
  font-weight: 500;
}
.common-popup .custom-popup-title-wrapper .right {
  position: absolute;
  right: 7px;
  top: 0;
  bottom: 0;
  padding-top: 15px;
}
.common-popup .custom-popup-title-wrapper .inner-wrapper-flex {
  display: flex;
  align-items: center;
  height: 56px;
}
.common-popup .custom-popup-title-wrapper .inner-wrapper-flex .popup-title {
  flex: 1 1 auto;
  position: relative;
  vertical-align: middle;
  height: 56px;
  font-size: 16px;
  font-weight: 500;
  line-height: 56px;
}
.common-popup .custom-popup-title-wrapper .inner-wrapper-flex .right {
  position: relative;
  margin-left: auto;
  top: unset;
  bottom: unset;
  padding-top: 0;
}
.common-popup .popup-content-wrapper {
  height: 100%;
}
.common-popup .button-wrapper {
  position: absolute;
  bottom: 15px;
  left: 0;
  right: 0;
  width: 100%;
  text-align: center;
  padding: 15px 15px 0 15px;
}
.common-popup .button-wrapper .inner-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.custom-popup-title-template {
  height: 56px;
  overflow: visible;
  font-size: 16px;
  font-weight: 500;
  line-height: 54px;
}

.drop-file {
  display: flex;
}
.drop-file.hide {
  opacity: 0;
  height: 0;
  padding: 0;
  overflow: hidden;
  transform: all 0.3s;
}
.drop-file .drop-area {
  position: relative;
  border-radius: 5px;
  border: 2px dashed #848da2;
  width: 100%;
  height: 100px;
}
.drop-file .drop-area .inner-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  transform: translate(-50%, -50%);
  padding: 15px 30px;
  text-align: center;
  font-weight: 500;
  color: #848da2;
}
.drop-file .drop-area .inner-wrapper .icon {
  font-size: 30px;
  color: #848da2;
}
.drop-file .drop-area .inner-wrapper h2 {
  margin-bottom: 0;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  color: #848da2;
}
.drop-file .drop-area .inner-wrapper .file-info {
  position: absolute;
  width: 100%;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  color: #848da2;
}
.drop-file .drop-area .inner-wrapper .spliter {
  position: relative;
  width: 70%;
  margin: 0 auto;
  padding: 10px 0;
  font-size: 10px;
  color: #848da2;
}
.drop-file .drop-area .inner-wrapper .spliter::before, .drop-file .drop-area .inner-wrapper .spliter::after {
  content: "";
  display: block;
  position: absolute;
  height: 1px;
  width: calc(50% - 10px);
  background-color: #848da2;
}
.drop-file .drop-area .inner-wrapper .spliter::before {
  left: 0;
  top: 50%;
}
.drop-file .drop-area .inner-wrapper .spliter::after {
  right: 0;
  top: 50%;
}
.drop-file .drop-area .remark {
  position: absolute;
  width: 100%;
  bottom: 50px;
  text-align: center;
  font-size: 10px;
  line-height: 2;
  color: #848da2;
}
.drop-file .drop-area .remark p {
  line-height: 1;
}
.drop-file.dragover .drop-area {
  border-color: #567ee3;
  background-color: rgba(86, 126, 227, 0.1);
}
.drop-file.dragover .drop-area .inner-wrapper .icon {
  color: #567ee3;
}
.drop-file.dragover .drop-area .inner-wrapper h2 {
  color: #567ee3;
}
.drop-file .uploaded-file-list {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 0;
}
.drop-file .uploaded-file-list .item {
  position: relative;
  padding: 15px;
  border-bottom: 1px solid #ececec;
}
.drop-file .uploaded-file-list .item:first-child {
  border-top: 1px solid #ececec;
}
.drop-file .uploaded-file-list .item .delete-file {
  position: absolute;
  right: 15px;
  color: #ec9397;
}
.drop-file .hidden-input-file {
  visibility: hidden;
  height: 0;
  overflow: hidden;
}
.drop-file.small .drop-area {
  flex: 0 0 50%;
  max-width: 50%;
  height: 250px;
}
.drop-file.small .drop-area .inner-wrapper {
  line-height: 1;
}
.drop-file.small .drop-area h3 {
  padding-top: 10px;
}
.drop-file.small .drop-area h4 {
  text-transform: uppercase;
  font-weight: 600;
  padding-top: 15px;
}
.drop-file.small .drop-area .remark {
  bottom: 20px;
}
.drop-file.x-small {
  flex-wrap: wrap;
}
.drop-file.x-small .drop-area {
  flex: 0 0 100%;
  max-width: 100%;
  height: 150px;
}
.drop-file.x-small .drop-area .inner-wrapper {
  line-height: 5px;
  top: 0;
  transform: translateX(-50%);
}
.drop-file.x-small .drop-area h3 {
  padding-top: 10px;
}
.drop-file.x-small .drop-area h4 {
  text-transform: uppercase;
  font-weight: 600;
  padding-top: 15px;
}
.drop-file.x-small .drop-area .remark {
  bottom: 0;
}
.drop-file.x-small .uploaded-file-list {
  flex: 0 0 100%;
  max-width: 100%;
}

.loading-for-api {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.5);
  z-index: 99999;
}
.loading-for-api .loading-text {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  margin: 0;
  color: #848da2;
}
.loading-for-api .loading-text img {
  width: 30px;
  height: auto;
}
.loading-for-api .loading-text .loading-spinner {
  display: block;
  position: relative;
  height: 30px;
  width: 30px;
  margin: 0 0 0 5px;
  border: 5px solid transparent;
  border-top-color: #2e58c4;
  border-bottom-color: #2e58c4;
  border-radius: 50%;
  animation: loading-spinner 1s linear infinite;
}
.loading-for-api .loading-text .loading-spinner:after {
  content: "";
  position: absolute;
  top: 5px;
  right: 5px;
  bottom: 5px;
  left: 5px;
  border: 5px solid transparent;
  border-radius: 50%;
  background: rgba(46, 88, 196, 0.5);
}
@keyframes loading-spinner {
  0% {
    transform: rotate(0deg);
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(180deg);
    transform: rotate(180deg);
  }
  100% {
    transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

#toastContainer .dx-overlay-content {
  background-color: #fff;
  border-radius: 5px;
  border: 1px solid;
}
#toastContainer.success .dx-overlay-content {
  border-color: #40b365;
  color: #40b365;
}
#toastContainer.warning .dx-overlay-content {
  border-color: #f4be39;
  color: #f4be39;
}
#toastContainer.error .dx-overlay-content {
  border-color: #ec9397;
  color: #ec9397;
}
#toastContainer .message-icon {
  margin-right: 5px;
}
#toastContainer .message-type-text {
  font-weight: 700;
  padding-right: 5px;
}

.open-filter-mobile {
  display: none;
  float: right;
  position: relative;
  top: 10px;
  color: #848da2;
}
.open-filter-mobile.has-filter {
  color: #2e58c4;
}

.common-filter {
  display: inline-flex;
  margin-left: auto;
  height: 27px;
}
.common-filter > span {
  position: relative;
  top: 0;
  font-weight: 500;
  line-height: 2;
  padding-right: 5px;
}
.common-filter .project-segment,
.common-filter .project-type {
  position: relative;
}
.common-filter .project-segment {
  padding: 0 15px;
}
.common-filter .project-type {
  padding-right: 15px;
}
.common-filter .filter-item {
  cursor: pointer;
  padding-left: 2px;
  padding-right: 2px;
  transition: 0.3s;
}
.common-filter .filter-item:hover .inner-wrapper {
  border-color: #567ee3;
  color: #567ee3;
}
.common-filter .filter-item.has-filter .inner-wrapper {
  background-color: #fff;
  border-color: #2e58c4;
  color: #2e58c4;
}
.common-filter .spliter {
  padding-left: 5px;
}
.common-filter .close-filter-mobile {
  display: none;
}

.full-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999;
  padding: 20px;
  background-color: #ffffff;
}

.header-align-center {
  display: block;
  text-align: center;
}

.header-thai-container .dx-column-indicators {
  margin-top: 3px;
}

.header-thai {
  position: relative;
  line-height: 22px;
}

.group-row-no-item .dx-datagrid-group-opened,
.group-row-no-item .dx-datagrid-group-closed {
  display: none;
}

/*============= Notification =============*/
[data-notify=container].alert {
  width: -moz-max-content;
  width: max-content;
  min-width: 350px;
  max-width: 500px;
}
[data-notify=container].alert .message-type-text {
  font-weight: 700;
}
[data-notify=container].alert .message-type-text i {
  margin-right: 5px;
}

[data-notify=container].alert-pastel-warning {
  background-color: #fff1cd;
  border: 1px solid #f4be39;
  color: #f4be39;
  border-radius: 0px;
  box-shadow: 0px 0px 5px rgba(51, 51, 51, 0.3);
  padding: 15px;
  font-size: 15px;
}

[data-notify=container].alert-pastel-info {
  background-color: #e9f6ed;
  border: 1px solid #40b365;
  color: #40b365;
  border-radius: 4px;
  box-shadow: 0px 0px 5px rgba(51, 51, 51, 0.3);
  padding: 15px;
  font-size: 15px;
}

[data-notify=container].alert-pastel-danger {
  background-color: #fff6f6;
  border: 1px solid #ec9397;
  color: #ec9397;
  border-radius: 4px;
  box-shadow: 0px 0px 5px rgba(51, 51, 51, 0.3);
  padding: 15px;
  font-size: 15px;
}

[data-notify=container][class*=alert-pastel-] > [data-notify=title] {
  color: #252525;
  display: block;
  font-weight: 700;
  margin-bottom: 5px;
}

[data-notify=container][class*=alert-pastel-] > [data-notify=message] {
  font-weight: 400;
}

[data-notify=container][class*=alert-pastel-] > [data-notify=message] > ul {
  padding-left: 30px;
}

[data-notify=container][class*=alert-pastel-].alert-group > [data-notify=message] > ul > li {
  font-weight: 700;
  padding-bottom: 10px;
}
[data-notify=container][class*=alert-pastel-].alert-group > [data-notify=message] > ul > li > ul {
  list-style-type: none;
}
[data-notify=container][class*=alert-pastel-].alert-group > [data-notify=message] > ul > li > ul > li {
  font-weight: 500;
  font-size: 13px;
}
[data-notify=container][class*=alert-pastel-].alert-group > [data-notify=message] > ul > li > ul > li::before {
  content: "-";
  margin-right: 5px;
  font-weight: 500;
}

[data-notify=container][class*=alert-pastel-] > [data-notify=dismiss] {
  color: #252525;
  position: absolute;
  right: 7px;
  background-color: transparent;
  border: none;
  font-weight: 700;
}

.chart text {
  letter-spacing: normal;
}

.app-version {
  width: 100%;
  position: fixed;
  bottom: 15px;
  text-align: center;
  font-weight: 500;
  color: #848da2;
}

.treelist-toolbar .toggle-button,
.treelist-toolbar-flex .toggle-button,
.table-toolbar-flex .toggle-button {
  display: inline-block;
  width: auto;
}
.treelist-toolbar .toggle-button a,
.treelist-toolbar-flex .toggle-button a,
.table-toolbar-flex .toggle-button a {
  text-decoration: underline;
  text-transform: lowercase;
  font-size: 12px;
  font-weight: 600;
}
.treelist-toolbar .toggle-button a.disabled,
.treelist-toolbar-flex .toggle-button a.disabled,
.table-toolbar-flex .toggle-button a.disabled {
  cursor: not-allowed;
  opacity: 0.5;
  text-decoration: none;
  font-style: italic;
}
.treelist-toolbar .toggle-button .spliter,
.treelist-toolbar-flex .toggle-button .spliter,
.table-toolbar-flex .toggle-button .spliter {
  padding-left: 5px;
  padding-right: 5px;
}

.treelist-toolbar {
  position: relative;
  display: block;
  height: 35px;
  width: 100%;
}

.treelist-toolbar-flex,
.table-toolbar-flex {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 35px;
  padding-bottom: 15px;
}

.datatable-export-wrapper {
  height: 0;
  overflow: hidden;
}

.custom-table .header-row td {
  background-color: #ececec;
  border-bottom: 1px solid #e0e0e0;
  padding: 12px 10px;
  line-height: 16px;
  font-weight: 600;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.54);
}
.custom-table .data-row td {
  padding: 7px 10px;
  font-size: 12px;
  line-height: 16px;
  background-color: rgba(236, 236, 236, 0.4);
}

.collapsible-panel {
  border: 1px solid #ececec;
  border-radius: 5px;
  margin-bottom: 10px;
}
.collapsible-panel .title {
  background-color: #2e58c4;
  height: 30px;
  padding: 5px 10px;
  position: relative;
  color: #ffffff;
}
.collapsible-panel .title h4 {
  text-transform: uppercase;
  line-height: 19px;
}
.collapsible-panel .title .toggle-button {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  font-size: 15px;
  width: 25px;
  height: 25px;
  text-align: center;
  line-height: 29px;
  cursor: pointer;
}
.collapsible-panel .content {
  height: auto;
  transition: 1s;
}
.collapsible-panel.collapsed .toggle-button i {
  transform: rotate(180deg);
}
.collapsible-panel.collapsed .content {
  height: 0;
  overflow: hidden;
}

.panel-info .row-flex {
  display: flex;
}
.panel-info .row-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 10px;
}
.panel-info .row-container .info {
  padding-bottom: 15px;
}
.panel-info .info,
.panel-info .remark {
  font-size: 15px;
  font-weight: 600;
  padding-bottom: 7px;
  padding-left: 20px;
  color: #848da2;
}
.panel-info .info .label,
.panel-info .remark .label {
  font-size: 12px;
  font-weight: 400;
}
.panel-info.popup-info {
  padding-bottom: 15px;
}
.panel-info.popup-info .data {
  display: block;
  font-size: 16px;
  color: #2e58c4;
}
.panel-info .data {
  display: block;
  font-size: 16px;
  color: #2e58c4;
}

.inline-control {
  display: flex;
}
.inline-control .code {
  padding-right: 10px;
}

.form-group {
  padding-bottom: 10px;
}

.warning-icon {
  color: #ec9397;
}

.text-green {
  color: #40b365 !important;
}

.text-red {
  color: #ec9397 !important;
}
.text-red i {
  color: #ec9397 !important;
}

.text-blue {
  color: #2e58c4 !important;
}

.text-gray {
  color: #848da2 !important;
}

.text-yellow {
  color: #f4be39 !important;
}

.custom-alert .dx-popup-content {
  padding: 25px;
  border-radius: 5px;
  text-align: center;
  overflow: hidden;
}
.custom-alert h2 {
  color: #575757;
  font-size: 18px;
  text-align: center;
  font-weight: 400;
  text-transform: none;
  position: relative;
  margin: 20px 0;
  padding: 0;
  line-height: 40px;
  display: block;
}
.custom-alert .sa-icon {
  width: 60px;
  height: 60px;
  border: 4px solid gray;
  border-radius: 40px;
  border-radius: 50%;
  margin: 10px auto 10px;
  padding: 0;
  position: relative;
  box-sizing: content-box;
}
.custom-alert .sa-icon.sa-warning {
  border-color: #e0e0e0;
}
.custom-alert .sa-icon .sa-body {
  position: absolute;
  width: 5px;
  height: 30px;
  left: 50%;
  top: 10px;
  border-radius: 2px;
  margin-left: -2px;
  background-color: #e0e0e0;
}
.custom-alert .sa-icon .sa-dot {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-left: -3px;
  left: 50%;
  bottom: 10px;
  background-color: #e0e0e0;
}
.custom-alert .button-wrapper > .dx-button {
  margin-left: 5px;
  margin-right: 5px;
}

.filter-period-error-message {
  margin-top: 10px;
}

.border-top {
  border-top: 1px solid #ececec;
}

.status-container {
  display: flex;
  align-items: center;
  gap: 5px;
}

.icon-completed {
  color: #40b365;
}

.spliter-selectbox-item {
  position: relative;
}
.spliter-selectbox-item::before {
  content: "";
  position: absolute;
  display: block;
  left: -7px;
  right: -7px;
  top: -7px;
  height: 1px;
  background-color: #ececec;
}

.is-latest-version span {
  color: #40b365 !important;
}
.is-latest-version span i {
  margin-right: 10px;
}

::-webkit-scrollbar {
  width: 5px;
  height: 8px;
}

::-webkit-scrollbar-button {
  width: 0px;
  height: 0px;
}

::-webkit-scrollbar-thumb {
  background: #848da2;
  border: 0px none #ffffff;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #cccccc;
}
::-webkit-scrollbar-thumb:active {
  background: #888888;
}

::-webkit-scrollbar-track {
  background: #ececec;
  border: 0px none #ffffff;
  border-radius: 0px;
}
::-webkit-scrollbar-track:hover {
  background: #ececec;
}
::-webkit-scrollbar-track:active {
  background: #ececec;
}

::-webkit-scrollbar-corner {
  background: transparent;
}/*# sourceMappingURL=theme.css.map */