@import url('https://fonts.googleapis.com/css2?family=K2D:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&family=Prompt:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&family=Sarabun:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

:root {
  --bs-body-font-family: Sarabun, Nunito !important;
}
.tooltip {
  font-family: Sarabun, Nunito !important;
}
.tooltip-inner {
  max-width: 75vw;
  text-align: left;
}
.popover {
  font-family: Sarabun, Nunito !important;
}
#main #main-content {
  padding: 1rem 2rem;
}
.sidebar-wrapper {
  width: 280px;
  display: flex;
  flex-direction: column;
}
.sidebar-wrapper .sidebar-header {
  padding: 1.5rem 1.5rem 1rem;
}
.sidebar-wrapper .sidebar-header img {
  height: 3.8rem;
}
.sidebar-wrapper .sidebar-toggler.x {
  top: 0;
}
.sidebar-wrapper .sidebar-menu {
  flex-grow: 1;
}
.sidebar-wrapper .menu {
  margin-top: 0;
  padding: 0 1rem;
}
.sidebar-wrapper .menu .sidebar-title {
  margin: 1rem 0;
}
.sidebar-wrapper .menu .submenu .submenu-item a {
  padding: 0.7rem 1.75rem;
}
.sidebar-wrapper .menu .submenu.submenu-level-2 {
  padding-left: 0.75rem;
}
.sidebar-footer {
  padding: 2rem 2rem 1rem;
}
/* .btn-check:checked + .btn,
:not(.btn-check) + .btn:active,
.btn:first-child:active,
.btn.active,
.btn.show,
.btn.show:focus {
  border-color: var(--bs-btn-hover-border-color);
} */
.btn:disabled,
.btn.disabled,
fieldset:disabled .btn {
  border-color: var(--bs-btn-border-color);
}
.modal .modal-header i,
.modal .modal-header svg {
  font-size: 18px;
  height: 18px;
  width: 18px;
}
.modal .modal-header .close {
  padding: 2px 7px 5px;
  color: var(--bs-white);
}
.modal .modal-header .close:hover {
  color: var(--bs-dark);
}
/* .form-group[class*='has-feedback'].has-icon-left .form-control ~ .form-control-icon {
  top: 1.15rem;
}
.form-group[class*='has-feedback'].has-icon-left .form-control.form-control-xl ~ .form-control-icon {
  top: 1.75rem;
} */
.form-group[class*='has-feedback'].has-icon-right .is-invalid ~ .form-control-icon {
  right: 1.75rem;
}
.form-group[class*='has-feedback'].has-icon-right .is-invalid.form-control-xl ~ .form-control-icon {
  right: 2rem;
}
.has-feedback .invalid-feedback {
  display: block;
}
input[type='checkbox'] {
  appearance: none;
}
.layout-navbar {
  --navbar-height: 80px;
}
.navbar {
  padding: 1rem 1.5rem;
}
.page-heading {
  margin: 0;
}
.btn.btn-light-secondary {
  background-color: #e3e8ec;
  color: #485664;
}
.btn-light-secondary:hover {
  background-color: #d4d7dd;
}
.btn-light-secondary:active {
  background-color: #d4d7dd !important;
  border-color: transparent !important;
  color: #485664 !important;
}
.dropdown-menu {
  border: 1px solid #eee;
  min-width: 150px;
}
.dropdown-item:hover,
.dropdown-item:focus {
  background-color: #e6eaee;
}
.accordion-button {
  color: #3c55ab;
}
.accordion-button:not(.collapsed) {
  font-weight: 600;
}
.btn-group > .btn.btn-middle {
  border-radius: 0;
}
.card {
  margin-bottom: 1.6rem;
}
.card .card-header {
  padding: 1rem;
}
.table,
.dataTable-table,
.modal-content,
.form-group,
.form-control,
.form-select,
.card-body {
  color: #4f5f6f;
}
.form-control.read-only,
.form-control::placeholder,
.choices__input::placeholder {
  color: #909ca9;
}
.form-control.disabled {
  background-color: #e9ecef;
}
.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
  background-color: #e5edf9;
}
.text-muted {
  color: #909ca9 !important;
}
.badge {
  padding: 0.4em 0.5em 0.5em 0.55em;
  line-height: 0.75;
  font-size: 0.8em;
  font-weight: 500;
}
.badge-center {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 0.8125em;
}
.badge-notification {
  right: 18px;
  border-radius: 10px;
}
.avatar-md2 .avatar-content i {
  font-size: 1.25rem;
  height: 1.25rem;
  width: 1.1rem;
}
.navbar-top .notification-dropdown {
  overflow: auto;
  max-height: 60vh;
  min-width: 22rem;
  padding: 0;
  margin-top: 0;
}
.dropdown-header {
  padding-top: 1rem;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1;
  background-color: inherit;
}
.divider .divider-text {
  background-color: #e3e8ec;
}
.footer p {
  margin-top: 1rem;
}
/* .form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1em' viewBox='0 0 448 512'%3E%3Cpath d='M201.4 342.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 274.7 86.6 137.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z'/%3E%3C/svg%3E");
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1em' viewBox='0 0 448 512'%3E%3Cpath d='M246.6 470.6c-12.5 12.5-32.8 12.5-45.3 0l-160-160c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L224 402.7 361.4 265.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3l-160 160zm160-352l-160 160c-12.5 12.5-32.8 12.5-45.3 0l-160-160c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L224 210.7 361.4 73.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3z'/%3E%3C/svg%3E");
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1em' viewBox='0 0 320 512'%3E%3Cpath d='M137.4 374.6c12.5 12.5 32.8 12.5 45.3 0l128-128c9.2-9.2 11.9-22.9 6.9-34.9s-16.6-19.8-29.6-19.8L32 192c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l128 128z'/%3E%3C/svg%3E");
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-caret-down-fill' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
} */

/* @media (min-width: 576px) {
  .col-sm-4 {
    flex: 0 0 auto;
    width: 100%;
  }
  .col-sm-8 {
    flex: 0 0 auto;
    width: 100%;
  }
}
@media (min-width: 768px) {
  .col-sm-4 {
    flex: 0 0 auto;
    width: 33.33333333%;
  }
  .col-sm-8 {
    flex: 0 0 auto;
    width: 66.66666667%;
  }
} */
@media screen and (min-width: 1200px) {
  #sidebar ~ #main {
    margin-left: 280px;
  }
}

@media (max-width: 575.98px) {
  .navbar-expand .navbar-nav .notification-dropdown {
    position: fixed;
  }
  .navbar-top .notification-dropdown {
    min-width: 150px;
    top: 57px;
    left: 16px;
    max-width: calc(100% - 32px);
  }
  .dropdown-header {
    top: -1px;
  }
}
@media (max-width: 768px) {
  .layout-navbar {
    --navbar-height: 70px;
  }
  .navbar {
    padding: 0.5rem;
  }
  #main #main-content {
    padding: 0.5rem 1rem;
  }
  .layout-navbar footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
@media (max-width: 1199px) {
  .navbar {
    padding: 1rem;
  }
  #main #main-content {
    padding: 1rem 1.5rem;
  }
  .layout-navbar footer {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
