[data-bs-theme="dark"] table thead th {
  background-color: #15263a !important;
}

[data-bs-theme="dark"] table tbody tr > .dtfc-fixed-left,
[data-bs-theme="dark"] table.dataTable tbody tr > .dtfc-fixed-right {
  background-color: #15263a !important;
}

[data-bs-theme="light"] table tbody tr > .dtfc-fixed-left,
[data-bs-theme="light"] table.dataTable tbody tr > .dtfc-fixed-right {
  background-color: white !important;
}

[data-bs-theme="dark"] .select2-container--bootstrap-5 .select2-selection {
  background-color: #111c2d !important;
}

[data-bs-theme="dark"] .select2-container--bootstrap-5 .select2-selection {
  background-color: #111c2d !important;
  border-color: rgba(189, 200, 240, 0.2);
}

.auth-login-shape-box::before {
  content: "";
  position: absolute;
  left: -80px;
  bottom: -80px;
  width: 200px;
  height: 200px;
  border-radius: 100%;
  background-color: #fb977d;
}

.auth-login-shape-box::after {
  content: "";
  position: absolute;
  top: -70px;
  right: -70px;
  width: 200px;
  height: 215px;
  background-image: url(../background/bglogin_top.png);
  background-repeat: no-repeat;
  background-size: contain;
}

/*================Pic Upload Start====================*/
.upload_picture-container {
  position: relative;
  cursor: pointer;
  text-align: center;
}

.upload_picture {
  width: 150px;
  height: 150px;
  background-color: #999999;
  border: 4px solid #cccccc;
  color: #ffffff;
  margin: 0px auto;
  border-radius: 10%;
  overflow: hidden;
  transition: all 0.2s;
  -webkit-transition: all 0.2s;
}

.upload_picture.picture_profile {
  border-radius: 50%;
}

.upload_picture:hover {
  border-color: #2ca8ff;
}

.upload_picture input[type="file"] {
  cursor: pointer;
  display: block;
  height: 100%;
  left: 0;
  opacity: 0 !important;
  position: absolute;
  top: 0;
  width: 100%;
}

.upload_picture-src {
  width: 100%;
  height: 100%;
}
/*================Pic Upload Start====================*/

.btn_frm {
  font-size: 16px;
}

.dark-logo,
.light-logo {
  width: 35px;
  height: 35px;
}

/* SWEET ALERT */
.swal2-show {
  width: 400px !important;
}

.swal2-title,
.swal2-html-container,
.swal2-actions {
  font-size: 14px !important;
}

.swal2-icon {
  font-size: 14px;
}

.login-logo {
  width: 100%;
  border-radius: 10px;
  max-width: 180px;
  /* margin: auto; */
  /* display: block; */
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

/* .table .btn-group * {
  font-size: 100%;
  font-size: 8px;
} */

.last-coltb {
  right: 0px !important;
}

/* .dataTables_scrollHeadInner,
.dataTables_scrollHeadInner {
  width: 100% !important;
} */

.divtable {
  /* overflow-x: auto !important; */
  overflow-x: auto;
  --webkit-overflow-scrolling: touch;
  padding-right: 0px;
  padding-left: 0px;
}

table {
  font-size: 0.8rem !important;
  margin-bottom: 5px !important;
  width: 100% !important;
}

table tbody th,
table tbody td {
  padding: 3px 5px !important;
}

.table-menu-datatable {
  margin-bottom: 10px;
}

.col-hide {
  display: none !important;
}

/* .dataTables_scroll {
  overflow: auto;
} */

table th,
table td {
  white-space: nowrap;
}

table .highlight,
table .highlight:nth-of-type(odd),
table .highlight td {
  background-color: #adb5bd !important;
}

/* 
div.dataTables_wrapper {
  margin: 0 auto;
} */

table tbody td {
  vertical-align: middle;
}

.dataTables_scrollHeadInner {
  min-width: -webkit-fill-available;
}

.dataTables_paginate,
.dataTables_length,
.dataTables_info {
  font-size: 12px;
}

.dataTables_wrapper .dataTables_filter input {
  width: 200px;
}

/*
div.dt-buttons {
  width: max-content !important;
   background-color: white; 
}
*/

.dataTables_filter label {
  /* font-size: 10px !important; */
  font-size: 14px;
}

div.dt-buttons {
  column-gap: 3px !important;
  padding-top: 0;
  padding-bottom: 0;
}

div.dt-buttons button {
  /* padding-top: 0.4em !important;
  padding-bottom: 0.4em !important; */
  line-height: normal !important;
}

.dt-buttons button[title="DateFilter"] {
  background-color: white;
}

div.dt-buttons span.dt-button-spacer.empty {
  margin: 0 !important;
}

.dt-button-down-arrow {
  display: none;
}

.dataTables_filter {
  margin-bottom: 0.5em;
}

div.dt-buttons span.dt-button-spacer.empty input {
  width: 110px;
  min-width: 110px;
  max-width: 300px;
  transition: width 0.25s;
  /* font-size: 14px; */
  padding: 6px 10px;
}

.dataTables_wrapper {
  margin-bottom: 20px;
}

#baction * {
  font-size: 11px;
  max-width: fit-content;
}
/* 
.dtfh-floatingparent {
  width: 100% !important;
} */

.onlyread {
  background-color: var(--bs-secondary-bg) !important;
  opacity: 1 !important;
}

thead,
th {
  text-align-last: center;
  /* background-color: --bg-primary-subtle; */
}

.spanerror {
  width: 100%;
  margin-top: 0.25rem;
  font-size: 0.875em;
  color: var(--bs-form-invalid-color);
}

/* .form-control:read-only {
  background-color: var(--bs-secondary-bg) !important;
  opacity: 1;
} */

.modal-header {
  background-color: var(--bs-light-primary) !important;
}

.sidebar-nav
  ul
  .sidebar-item
  .first-level
  .sidebar-item
  > .sidebar-link
  .sidebar-subicon {
  flex-shrink: 0;
  margin-left: 17px;
  margin-right: 10px;
}

.row_selected,
.row_selected td {
  background-color: #1e9eb2 !important;
  color: white;
}

@media only screen and (max-width: 680px) {
  div.dt-buttons span.dt-button-spacer.empty {
    margin-top: 0.5rem !important;
  }
}

@media only screen and (max-width: 380px) {
  table * {
    font-size: 0.7rem;
  }

  div.dt-buttons {
    width: auto !important;
  }

  #baction * {
    font-size: 90% !important;
  }

  h5 {
    font-size: 97%;
  }

  .text-menu-group1,
  .text-menu-group2 {
    font-size: 87% !important;
  }

  .form-check-label {
    font-size: 85%;
  }

  a,
  button {
    font-size: 92% !important;
  }

  a {
    height: fit-content;
  }

  p {
    font-size: 98%;
  }

  .form-control {
    font-size: 96%;
  }

  .body-wrapper .container-fluid {
    padding: 0px;
  }

  /*.left-sidebar * {*/
  /*    font-size: 98%;*/
  /*}*/

  /*.simplebar-mask * {*/
  /*  font-size: 0% !important;*/
  /*}*/

  /*PROFILE*/
  .popup-profile {
    flex-direction: column;
  }

  .popup-profile,
  .text-akun {
    margin-top: 10px;
    margin-left: 0 !important;
    text-align: center;
  }
}
