.checkbox-badge {
  display: inline-block;
  background: #3F3F3F;
  color: #fff !important;
  border-radius: 30px;
  padding: 5px 10px;
  font-family: "Noto Sans Thai", sans-serif;
  margin-bottom: 5px;
  font-size: .9em;
}

.pointer {
  cursor: pointer;
}

.not-allowed {
  cursor: not-allowed;
}

.pad-document-small {
  padding: 20px 25px !important;
}

input[type="search"] {
  border-radius: 5px !important;
  font-family: "Noto Sans Thai", sans-serif;
  font-size: 1em;
  background-image: url(../../../html/images/search-header.png);
  background-repeat: no-repeat;
  background-position: left 15px center;
  padding-left: 42px !important;
}

input[type="search"].select-time {
  border-radius: 5px !important;
  font-family: "Noto Sans Thai", sans-serif;
  font-size: 1em;
  background-repeat: no-repeat;
  background-position: left 15px center;
}

.sidebarnav .sidebarnav-list>li {
  padding: 15px 25px 15px 25px !important;
}

.sidebarnav .sidebarnav-list>li h2 {
  margin-bottom: unset !important;
}

.select2-results__group {
  background-color: #B7DACB;
  /* เปลี่ยนสีพื้นหลังของกลุ่ม */
  color: #0E9B79;
  /* เปลี่ยนสีข้อความ */
  font-weight: bold;
  /* ทำให้ข้อความตัวหนา */
}

.select2-results__option--highlighted {
  background-color: #C4F1D7 !important;
  /* สีพื้นหลังเมื่อไฮไลต์ */
  color: #61B261 !important;
  /* สีข้อความเมื่อไฮไลต์ */
}

.dropdow-profile .box-dropdown-profile li label {
  flex-basis: 60px !important;
}


/* กำหนด style ภาษา */
input[type="text"].lang-th,
.lang-en {
  border-radius: 5px !important;
  font-size: 1em;
  background-size: 25px 25px;
  background-repeat: no-repeat;
  background-position: left 15px center;
  padding-left: 45px !important;
}

input[type="text"].lang-th {
  background-image: url(../../../html/asset/images/flag/th.svg);
}

input[type="text"].lang-en {
  background-image: url(../../../html/asset/images/flag/en.svg);
}

.container-fluid {
  max-width: none !important;
}

.status-issue.orange-red {
  background: #FDEBF2!important;
  border-color: #D82929!important;
  color: #D82929!important;
}

.document-2-col .d2col-title ul li.danger span {
  background: #FDEBF2;
  border-color: #D82929;
  color: #D82929
}

.document-2-col .d2col-title ul li.danger span i {
  margin-right: 3px
}

.status-issue.grey {
  background: #E4E4E4;
  color: #8B8B8B;
  border: 1px solid #BEBEBE;
}

/* .sidebarnav .sidebarnav-list .submenu li a i {
  font-size: 1px !important;
} */
.custom-control {
  position: relative;
  display: block;
  min-height: 1.5rem;
  padding-left: 1.5rem;
}
.form-check-custom-dev {
  padding-left: 1.5em!important;
}
.form-check-custom .form-check-label {
  margin-bottom: 5px !important;
}
.document-2-col .d2col-title ul li::before{
  top: 40% !important;
}
.document-2-col .d2col-title ul li::after{
  top: 40% !important;
}
.document-2-col .d2col-title ul li.waiting::before{
  border: 1px solid #EDB955;
}
.document-2-col .d2col-title ul li.waiting::after {
  color: #E2A01F;
}
.document-2-col .d2col-title ul::before {
  border: none!important;
}
.document-2-col .d2col-title ul::after {
  content: ""!important;
}

.sidebarnav .sidebarnav-list li.active{
  background: #B7DACB!important;
  color: #0E9B79!important;
}

.sidebarnav .sidebarnav-list .submenu li a.active{
  background: #B7DACB!important;
  color: #0E9B79!important;
}
.status-issue {
  width: 160px!important;
}
.flex-page .flex-page-num .form-control {
  width: 80px;
}

.form-document .form-group .label-doc{
  flex-basis: 200px!important;
}
.align-items-baseline {
  align-items: baseline;
}
.filter-radio:first-child {
  padding-left: 0px;
}

.form-filter label {
  color: #0e0f10;
  margin-bottom: 10px;
  font-size: 15px !important;
  font-family: "Noto Sans Thai",sans-serif;
  font-weight: 400;
}
.form-filter span {
  font-size: unset !important;
  color: unset !important;
  margin: unset !important;
}
.noti-filter {
  width: 100% !important;
  max-width: 1020px !important;
  margin: 0 auto !important;
}

.form-control .fileinput-filename {
  margin-top: -5px!important;
}

.bootstrap-tagsinput {
  width: 100%;
}
.bootstrap-tagsinput {
  background-color: #F8F8F8!important;
  border: 0!important;
  box-shadow: none!important;
  display: inline-block!important;
  padding: .15rem .75rem!important;
  color: #212529!important;
  vertical-align: middle!important;
  border-radius: .25rem!important;
  max-width: 100%!important;
  line-height: 32px!important;
  cursor: text!important;
  font-weight: 400!important;
  height: 40px!important;
}

.tag.badge{
  padding: .6em .55em .75em !important;
}

a.tags{
  background: #E4E4E4;
  border-radius: 3px;
  border: 1px solid #BEBEBE;
  font-weight: 500;
  color: #8B8B8B;
  padding: 1px 5px;
  font-size: 14px;
  display: block;
}
a.refer-tags{
  background: #DBF3E5;
  color: #61B261;
  border: 1px solid #7ECB98;
  border-radius: 3px;
  font-weight: 500;
  padding: 1px 5px;
  font-size: 14px;
  margin: 3px;
}

.bootstrap-tagsinput .tag {
  font-size: 14px!important;
}

#swal-custom-cancel {
  position: absolute;
  top: 0px;
  right: 3px;
  color: #3F3F3F;
  cursor: pointer;
  font-size: 30px;
}

.time-line-red{
  min-height: 36px !important;
  border-radius: 4px !important;
  background: #FDEBF2 !important;
  color: #D82929 !important;
  border: 1px solid #D82929 !important;
  align-content: center;
}

.time-line-green{
  min-height: 36px !important;
  border-radius: 4px !important;
  background: #DBF3E5;
  color: #61B261;
  border: 1px solid #7ECB98;
  align-content: center;
}

.time-line-orange{
  min-height: 36px !important;
  border-radius: 4px !important;
  background: #FDEAC6;
  color: #E2A01F;
  border: 1px solid #EDB955;
  align-content: center;
}

.time-line-grey{
  min-height: 36px !important;
  border-radius: 4px !important;
  background: #E4E4E4;
  color: #8B8B8B;
  border: 1px solid #BEBEBE;
  align-content: center;
}
.swal-table-custom.table-custom tbody tr td{
  padding-top: 0px!important;
  padding-bottom: 7px!important;
}

.swal-table-custom.table-custom tbody {
  border-radius: unset!important;
}

[v-cloak] {
  display: none;
}

.btn-detail-danger{
    background-color: #bb2d3b!important;
    border-color: #b02a37!important;
}

.btn-detail-danger:disabled{
    background-color: #D6A1A1!important;
    cursor: not-allowed; /* เปลี่ยนเป็น cursor ที่บ่งบอกว่าไม่สามารถใช้งานได้ */
    opacity: 0.5;  /* ลดความเข้ม */
}

.btn-detail:disabled{
    background-color: #B1D6C2!important;
    cursor: not-allowed; /* เปลี่ยนเป็น cursor ที่บ่งบอกว่าไม่สามารถใช้งานได้ */
    opacity: 0.9;  /* ลดความเข้ม */
}

.btn-dark:disabled{
    background-color: #A4B1A6!important;
    cursor: not-allowed; /* เปลี่ยนเป็น cursor ที่บ่งบอกว่าไม่สามารถใช้งานได้ */
    opacity: 0.9;  /* ลดความเข้ม */
}
.form-control:disabled, .form-control[readonly] {
  background-color: #e9ecef!important;
  opacity: 1;
}
.drop-message ul{
  height: auto!important;
}