.pc-container {
  top: 50px;
}
.img-fluid-logo {
  max-height: 64px;
}
.pc-container .page-header + .row {
  padding-top: 2px !important;
}
.page-block {
  padding-top: 2px !important;
}
ul.breadcrumb {
  padding-left: 22px !important;
  /*margin-left: 22px !important;*/
}
.page-header-title .nav-files {
  padding: 0px;
}
.pc-container .pc-content {
  padding-left: 15px !important;
  padding-right: 15px !important;
  padding-top: 2px !important;
}
.pc-header .header-wrapper {
  padding: 0 15px !important;
}
[data-pc-theme_contrast="true"] {
  --bs-body-bg: #f5f5f5;
  --pc-sidebar-background: #ffffff;
}
.page-header {
  padding: 0px;
}
.page-header-title .row {
  padding: 0px 10px 0px 10px;
  margin-bottom: 0px;
}
.page-header-title .row .my-1 {
  padding: 0px 0px 0px 0px;
}
.btn {
  --bs-btn-border-radius: 6px;
}
.btn {
  --bs-btn-padding-y: 0.25rem !important;
  --bs-btn-padding-x: 0.5rem !important;
  --bs-btn-font-size: 15px !important;
}
.btn i,
.introjs-tooltip .introjs-button i {
  font-size: 13px;
}
.btn-mini {
  --bs-btn-padding-y: 0.25rem;
  --bs-btn-padding-x: 0.5rem;
  --bs-btn-border-radius: 6px;
}
.btn-mini {
  font-size: 11px;
}
.btn-mini i {
  font-size: 11px !important;
}
.avtar.avtar-xxs {
  width: 26px;
  height: 26px;
  font-size: 10px !important;
  border-radius: 8px;
  margin: 0px 5px;
  z-index: 9999 !important;
}
.page-header-title h2 {
  font-size: 1.41rem !important;
  margin-top: 0;
  margin-bottom: 0;
  line-height: 1.1;
  --bs-text-opacity: 1;
  color: rgba(var(--bs-primary-rgb), var(--bs-text-opacity)) !important;
}
.page-header-title h5 {
  font-size: 1.15rem !important;
  margin-bottom: 5px;
  line-height: 1.1;
}
[data-pc-direction="ltr"] .my-1 {
  margin-top: 0.25rem !important;
  margin-bottom: 0rem !important;
}
[data-pc-layout="compact"] .img-fluid-bsf:not(.pc-compact-submenu-active) {
  max-width: 100px !important;
}
[data-pc-layout="compact"] .pc-sidebar:not(.pc-compact-submenu-active) .m-header {
  padding: 16px 0px;
}
.img-fluid-bsf {
  max-width: 270px !important;
  height: auto;
}
.img-fluid-bsf-logo {
  max-height: 80px !important;
}
.pc-header .pc-h-item {
  min-height: 40px !important;
}
.pc-header {
  min-height: 40px !important;
}
.pc-sidebar .m-header {
  padding: 3px 3px;
}
/* เมนูซ้าย */
.pc-sidebar .card.pc-user-card {
  margin: 0 5px 15px;
}
.pc-sidebar .card.pc-user-card .card-body {
  padding: 8px;
}
.pc-sidebar .pc-caption {
  padding: 20px 15px 8px !important;
}
.pc-sidebar .pc-navbar > .pc-item {
  margin: 0 0px;
}
.pc-sidebar .pc-link {
  padding: 10px 10px;
  font-size: 13px;
}

/* Table */
.table {
  margin-bottom: 3px !important;
}
.table th {
  text-align: left;
  vertical-align: top !important;
  white-space: normal !important;
  background: #f8f9fa!important;
}
.table td {
  vertical-align: top !important;
  white-space: normal !important;
  font-size: 13px;
}
.table-border-style {
  padding: 0px 0px !important;
}
.table-border-style .table.table-xs th a {
  color: #262626;
}
.table.table-xs td {
  padding: 0.3rem 0.7rem;
}
.datatable-table thead th,
.table thead th {
  text-transform: none !important;
  padding-top: 12px !important;
  padding-bottom: 10px !important;
}
.table td.tools_area {
  white-space: nowrap !important;
}
.card-footer {
  padding: 2px 10px 0px 10px !important;
}
.card-footer .row {
  padding: 10px !important;
}

/* form */
.form-control {
  min-height: calc(1.5em + 0.75rem + 2px);
  font-size: 0.8rem;
  padding: 0.375rem 0.7rem;
}
.col-form-label {
  padding-top: 4px;
}
.form-label {
  margin-bottom: 5px;
  display: block;
}
.wf-search-style {
  padding: 12px !important;
}
.wf-form-style {
  padding: 22px 12px !important;
}
.task-card .task-list:before {
  background: #ffffff !important;
}
.table-card .card-body,
.table-body.card-body {
  padding-bottom: 0;
}
.table tfoot {
  font-weight: bold;
}
.auth-main .auth-wrapper.v1 .auth-form {
  width: fit-content !important;
}
.auth-main {
  background-color: #07060b;
}
.nowrap_break {
  white-space: nowrap !important;
}
.wf-space-i-c {
  margin-bottom: 0.2rem !important;
}
.wf-space-i {
  margin-bottom: 1.35rem !important;
}
.form-group {
  margin-bottom: 1.35rem !important;
}
.autonumber {
  padding-right: 1rem;
  text-align: right;
}
input.hidden {
  width: 0.01px !important;
  height: 0.1px !important;
  opacity: 0;
}
img.max-prev {
  max-width: 300px;
  max-height: 120px;
}
@media (min-width: 992px) {
  .modal-bsf {
    --bs-modal-width: 96%;
  }
}
.badge.bg-light-input {
  background: #ffffff;
  color: #131920;
  font-size: 0.8rem;
  padding: 0.5rem 0.7rem;
  background-clip: padding-box;
  border: 1px solid #bec8d0;
  border-radius: 8px;
  text-align: left !important;
  vertical-align: middle !important;
  width: 100%;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  z-index: 99 !important;
}
.badge.bg-light-input.date {
  border-right: 30px solid #eee;
}
.badge.bg-light-input.file {
  background-image: conic-gradient(#fff 0deg, #fff 180deg, #eee 180deg, #eee 270deg);
  background-size: 250px 80px;
  background-repeat: no-repeat;
}
#slider12b .slider-track-low {
  background: #3ec9d6;
}
.mail-table tr {
  border-top: 0px !important;
  border-right: 0px !important;
  border-left: 0px solid #f2c580 !important;
  border-bottom: 0px solid #f3f5f7 !important;
  border-radius: 0 !important;
  margin: 0px 0 !important;
}
.move-td i {
  cursor: move;
  margin-right: 10px !important;
  margin-left: 0px !important;
}
.list-group-item.active {
  background-color: #b3d9d9;
}
.form-search i {
  top: 6px;
}
#list-tab .list-group-item {
  justify-content: space-between;
  display: flex;
  align-items: center;
  padding: 4px;
  border-top-width: 0;
  border-left-width: 0;
  border-right-width: 0;
}
#list-tab .wf_header {
  padding-top: 20px;
  padding-left: 14px;
  border-top-width: 0;
  border-left-width: 0;
  border-right-width: 0;
}
select[readonly].select2 + .select2-container {
  pointer-events: none;
  touch-action: none;

  .select2-selection {
    background: #eee;
    box-shadow: none;
  }

  /*.select2-selection__arrow,*/
  .select2-selection__clear {
    display: none;
  }
}
.course-wizard .nav-item .nav-link .course-wizard-num {
  margin-bottom: 5px !important;
}
.course-wizard {
  margin-bottom: 5px !important;
}
.content-wrapper {
  position: relative;
  top: 74px;
  margin-left: 280px;
  min-height: calc(100vh - 135px);
}
@media (min-width: 1025px) {
  .pc-sidebar ~ .pc-footer,
  .pc-sidebar ~ .content-wrapper {
    transition: margin-left 0.2s ease;
  }
}
@media (min-width: 1025px) {
  .pc-sidebar.pc-sidebar-hide ~ .pc-footer,
  .pc-sidebar.pc-sidebar-hide ~ .content-wrapper {
    margin-left: 0px;
  }
}
.content-wrapper .container-fluid {
  padding-left: 15px !important;
  padding-right: 15px !important;
  padding-top: 2px !important;
}
.datepicker tbody tr > .disabled {
  color: #888 !important;
  background-color: #f8f9fa !important;
  cursor: not-allowed !important;
}
.table tr td .row {
  margin-right: 0px !important;
}
select.form-control[readonly],
.form-control[readonly],
[readonly].datatable-input,
[readonly].custom-select,
[readonly].dataTable-selector,
[readonly].dataTable-input {
  opacity: 0.9 !important;
  background-color: #f3f5f7 !important;
}
.badge {
  white-space: normal !important;
  vertical-align: top !important;
  line-height: 1.4 !important;
  padding: 0.2em 0.5em !important;
}
.modal-dialog {
  overflow-y: initial !important;
}
.modal-body {
  max-height: calc(100vh - 150px);
  overflow-y: auto;
}
.side-box {
  position: absolute;
  right: 0;
  top: 0;
  height: 50px;
  width: 60px;
  color: #fff;
  font-size: 20px;
  border-radius: 0px 0px 0px 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.new-orders i {
  color: #fff;
  padding: 20px;
  border-radius: 50%;
  font-size: 20px;
  height: 60px;
  width: 60px;
  text-align: center;
  line-height: 20px;
  display: inline-flex;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  color: #ffffff;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
  color: #edf2ff;
  background-color: var(--bs-btn-hover-bg);
}
.select2-container--default .select2-selection--multiple .select2-selection__choice {
  background-color: var(--bs-primary);
  border: 0px solid var(--bs-primary);
  color: #ffffff;
  font-size: 13px;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  border-right: 1px solid var(--bs-primary);
}
.select2-container--default.select2-container--focus .select2-selection--multiple {
  border-radius: 8px;
  background-color: #f8f9fa;
  border: 1px solid #333;
}
.select2-container--default .select2-selection--multiple {
  border: 1px solid #bec8d0 !important;
  border-radius: 8px;
  background-color: #ffffff;
}

.label-success {
  background-color: #2ca87f;
  display: inline;
  padding: 2px 7px;
  font-size: 75%;
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  text-align: center;
  /* white-space: nowrap; */
  vertical-align: baseline;
  border-radius: 0.25em;
  margin-right: 10px;
}

.label-danger {
  background-color: #dc2626;
  display: inline;
  padding: 2px 7px;
  font-size: 75%;
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  text-align: center;
  /* white-space: nowrap; */
  vertical-align: baseline;
  border-radius: 0.25em;
  margin-right: 10px;
}
