/* here you can put your own css to customize and override the theme */

html,
body {
  font-family: Kanit;
  font-size: 16px;
}

.custom-modal .modal-dialog {
  width: 1024px; /* หรือ % ก็ได้ เช่น width: 70%; */
  max-width: none; /* ปิดการจำกัดขนาดของ Bootstrap */
}

.wms-table {
  font-size: 16px;
  font-family: Kanit;
}

.wms-button-o {
  width: 50px;
  font-size: 16px;
  font-family: Kanit;
}
.wms-button {
  font-size: 13px;
  width: 100px;
}

.wms-button .table {
  width: 80px;
  font-size: 16px;
  font-family: Kanit;
}

.wms-button .left {
  padding-left: 2px;
  font-size: 16px;
  font-family: Kanit;
}

.wms-topic {
  padding-top: 10px;
  font-size: 14px;
  font-family: Kanit;
}

.wms-text-decoration {
  text-decoration: line-through;
  text-decoration-color: grey;
  font-style: italic;
  font-family: Kanit;
}

.wms-description {
  color: #808080;
  font-size: 15px;
  font-family: Kanit;
}

.wms-title {
  font-weight: 400;
  font-size: 16px;
  font-family: Kanit;
}

.wms-font-normal {
  font-size: 14px;
  font-family: Kanit;
}

.wms-row {
  padding-bottom: 3px;
}

.wms-column-head {
  background-color: none;
  font-size: small;
  font-family: Kanit;
}

.wms-column-right {
  text-align: right;
  padding-right: 5px;
}

.wms-column-center {
  text-align: center;
}

.wms-column-number {
  text-align: right;
  margin-right: 10px;
}

.wms-warning {
  color: #ff0000;
}

/* MODAL STYLES
-------------------------------*/
modal {
  /* modals are hidden by default */
  display: none;
}

.modal {
  /* modal container fixed across whole screen */
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  /* z-index must be higher than .modal-background */
  z-index: 1000;
  /* enables scrolling for tall modals */
  overflow: auto;
}

.modal-body {
  padding: 10px;
  background: #fff;
  /* margin exposes part of the modal background */
  margin: 10px;
}

.modal-background {
  /* modal background fixed across whole screen */
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  /* semi-transparent black  */
  background-color: #000;
  opacity: 0.75;
  /* z-index must be below .modal and above everything else  */
  z-index: 900;
}

body.modal-open {
  /* body overflow is hidden to hide main scrollbar when modal window is open */
  overflow: hidden;
}

a:link {
  font-family: Kanit;
  font-size: 14px;
  /* 'Roboto', 'RobotoFallback', 'Helvetica', 'Arial', sans-serif;*/
  color: #0999d5;
  text-decoration: none;
}

a:hover {
  font-family: Kanit;
  font-size: 14px;
  color: #ff6a00;
  text-decoration: none;
}

.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;

  /* Position the tooltip */
  position: absolute;
  z-index: 1;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}

#gridContainer {
  font-family: Kanit;
}

.new-opacity {
  background: hsl(273, 100%, 85%);
  border-radius: 5px;
  padding: 2px 5px 2px 5px;
  color: hsl(281, 100%, 50%);
}
.approved-opacity {
  background: hsl(64, 100%, 85%);
  border-radius: 5px;
  padding: 2px 5px 2px 5px;
  color: hsl(27, 95%, 48%);
}
.inprogress-opacity {
  background: hsl(230, 100%, 85%);
  border-radius: 5px;
  padding: 2px 5px 2px 5px;
  color: hsl(256, 100%, 50%);
}
.completed-opacity {
  background: hsl(120, 73%, 90%);
  border-radius: 5px;
  padding: 2px 5px 2px 5px;
  color: rgba(50, 170, 51, 50);
}
.finish-opacity {
  background: hsl(120, 73%, 80%);
  border-radius: 5px;
  padding: 2px 5px 2px 5px;
  color: rgba(5, 180, 51, 50);
}
.error-opacity {
  background: hsl(0, 73%, 80%);
  border-radius: 5px;
  padding: 2px 5px 2px 5px;
  color: hsl(0, 100%, 50%);
}

.notification {
  background-color: #555;
  color: white;
  text-decoration: none;
  padding: 15px 26px;
  position: relative;
  display: inline-block;
  border-radius: 2px;
}

.badge {
  position: absolute;
  top: -10px;
  right: -10px;
  padding: 10px 15px;
  border-radius: 50%;
  background: red;
  color: white;
}

.fixed {
  position: fixed;
}

.left-0 {
  left: 0;
}

.right-0 {
  right: 0;
}

.bottom-0 {
  bottom: 0;
}

.top-0 {
  top: 0;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-row {
  flex-direction: row;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}

.items-end {
  align-items: flex-end;
}

.justify-center {
  justify-content: center;
}

.justify-end {
  justify-content: flex-end;
}

.gap-1 {
  gap: 0.25rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-5 {
  gap: 1.25rem;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-3 {
  margin-top: 0.75rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-5 {
  margin-top: 1.25rem;
}

.p-0 {
  padding: 0 !important;
}

.p-1 {
  padding: 0.25rem;
}

.p-2 {
  padding: 0.5rem;
}

.p-3 {
  padding: 0.75rem;
}

.p-4 {
  padding: 1rem;
}

.p-5 {
  padding: 1.25rem;
}

.pr-1 {
  padding-right: 0.25rem !important;
}

.pr-2 {
  padding-right: 0.5rem !important;
}

.pr-3 {
  padding-right: 0.75rem !important;
}

.pr-4 {
  padding-right: 1rem !important;
}

.pr-5 {
  padding-right: 1.25rem !important;
}

.pl-1 {
  padding-left: 0.25rem !important;
}

.pl-2 {
  padding-left: 0.5rem !important;
}

.pl-3 {
  padding-left: 0.75rem !important;
}

.pl-4 {
  padding-left: 1rem !important;
}

.pl-5 {
  padding-left: 1.25rem !important;
}

.px-1 {
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}

.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-5 {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-5 {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.text-xs {
  font-size: 0.75rem;
  line-height: calc(1 / 0.75);
}

.text-sm {
  font-size: 0.875rem;
  line-height: calc(1.25 / 0.875);
}

.text-base {
  font-size: 1rem;
  line-height: calc(1.5 / 1);
}

.text-lg {
  font-size: 1.125rem;
  line-height: calc(1.75 / 1.125);
}

.text-xl {
  font-size: 1.25rem;
  line-height: calc(1.75 / 1.25);
}

.text-2xl {
  font-size: 1.5rem;
  line-height: calc(2 / 1.5);
}

.text-3xl {
  font-size: 1.875rem;
  line-height: calc(2.25 / 1.875);
}

.text-4xl {
  font-size: 2.25rem;
  line-height: calc(2.5 / 2.25);
}

.text-5xl {
  font-size: 3rem;
  line-height: 1;
}

.text-6xl {
  font-size: 3.75rem;
  line-height: 1;
}

.text-7xl {
  font-size: 4.5rem;
  line-height: 1;
}

.text-8xl {
  font-size: 6rem;
  line-height: 1;
}

.text-9xl {
  font-size: 8rem;
  line-height: 1;
}

.font-thin {
  font-weight: 100;
}

.font-extralight {
  font-weight: 200;
}

.font-light {
  font-weight: 300;
}

.font-normal {
  font-weight: 400;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

.font-extrabold {
  font-weight: 800;
}

.font-black {
  font-weight: 900;
}

.text-lightseagreen {
  color: lightseagreen !important;
}

.bg-white {
  background-color: white !important;
}

.bg-red {
  background-color: red !important;
}

.bg-yellow {
  background-color: yellow !important;
}

.bg-green {
  background-color: green !important;
}

.bg-blue {
  background-color: blue !important;
}

.z-100 {
  z-index: 100 !important;
}
