/** override architect supaya support adminlte lama **/
.btn-default {
  color: #212529;
  background-color: #eee;
  border-color: #eee;
}
.btn-default{
  border-color: #dcdcdc;
}
.form-group {
  margin-bottom: 15px !important;
}

.card {
  margin-bottom: 15px;
}
table.table.table-bordered.dataTable {
  border-top: solid 1px #eeeeee;
  border-bottom: solid 1px #eeeeee;
  border-left: solid 1px #eeeeee;
}

.hidden {
  display: none;
}
.rounded-full {
  border-radius: 9999px;
}
input::-ms-reveal,
input::-ms-clear {
  display: none;
}

/** Override datatables grid **/
.dataTables_wrapper>.row {
  margin-right: 0;
  margin-left: 0;
}

.dataTables_wrapper>.row>[class^="col-"],
.dataTables_wrapper>.row>[class*=" col-"] {
  padding-right: 0;
  padding-left: 0;
}

.select2 {
  width: 100% !important
}

.rav-logo {
  width: 80px;
}

label.form-label, label.form-check-label {
  text-transform: capitalize;
}

@media only screen and (max-width: 767px) {
  .sidebar-button {
  display: none;
  }
}

.mm-active {
  text-wrap: wrap;
}

.vertical-nav-menu ul > li > a {
  color: #6c757d;
  height: 2rem;
  line-height: 2rem;
  padding: 0 .5rem 0 .5rem;
}

.app-sidebar .app-sidebar__inner {
  padding: 2px 1rem 1.5rem 1.5rem;
}

.vertical-nav-menu ul:before {
  content: '';
  height: 100%;
  opacity: 1;
  width: 3px;
  background: #e0f3ff;
  position: absolute;
  left: 14px;
  border-radius: 15px;
}

.custom-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-repeat: no-repeat;
  background-position: right 0.1rem center;
  background-size: 16px 12px;
}
.dataTables_length {
  margin-top: 0.65rem;
  margin-bottom: 0.65rem;
}
.dataTables_filter {
  margin-top: 0.65rem;
  margin-bottom: 0.65rem;
}
.form-control-sm {
  min-height: calc(1.5em + (0.5rem + 2px));
  padding: 0.25rem 0.5rem;
  padding-right: 1.2rem;
  font-size: 0.968rem;
  border-radius: 0.2rem;
}
.field-invalid {
  border-color: #dc3545;
  padding-right: calc(1.5em + .75rem);
  background-repeat: no-repeat;
  background-position: right calc(.375em + .1875rem) center;
  background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}
.invalid-message {
  width: 100%;
  margin-top: .25rem;
  font-size: .875em;
  color: #dc3545;
}
.form-date {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-calendar-event' viewBox='0 0 16 16'%3E%3Cpath d='M11 6.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5z'/%3E%3Cpath d='M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5M1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
}

.ui-dialog .ui-dialog-titlebar-close {
  position: absolute;
  right: .3em;
  top: 50%;
  width: 20px;
  margin: -10px 0 0 0;
  padding: 1px;
  height: 20px;
  color: #fff;
  border: none;
  background-color: var(--bs-danger);
  background-image: url("data:image/svg+xml,%3Csvg fill='white' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3C!--!Font Awesome Free 6.6.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--%3E%3Cpath d='M376.6 84.5c11.3-13.6 9.5-33.8-4.1-45.1s-33.8-9.5-45.1 4.1L192 206 56.6 43.5C45.3 29.9 25.1 28.1 11.5 39.4S-3.9 70.9 7.4 84.5L150.3 256 7.4 427.5c-11.3 13.6-9.5 33.8 4.1 45.1s33.8 9.5 45.1-4.1L192 306 327.4 468.5c11.3 13.6 31.5 15.4 45.1 4.1s15.4-31.5 4.1-45.1L233.7 256 376.6 84.5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 16px 12px;
  background-position: center;
}
.select2-container--bootstrap-5 .select2-selection {
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
}
.duoicon-primary-layer{
  color: #3f6ad8;
}
.duoicon-secondary-layer {
  color: #3f6ad8;
}
.icon-color-danger .duoicon-primary-layer{
  color: var(--bs-danger);
}
.icon-color-danger .duoicon-secondary-layer {
  color: var(--bs-danger);
}
.duoicon-sidebar {
  text-align: center;
  position: absolute;
  left: 5px;
  top: 50%;
  margin-top: -10px;
}
.flip-horizontal {
  transform: scaleX(-1);
}
table.dataTable td.reorder {
  text-align: left;
  cursor: default;
}
.wrapper-button-actions {
  display: flex;
  flex-wrap: wrap;
  margin-right: 10px;
  align-items: end;
  justify-content: end;
}

@media only screen and (min-width: 1440px) {
  .wrapper-button-actions {
  margin-right: 0;
  }
}

.number {
  text-align: right;
}

input[type=number] {
  text-align: right;
  -webkit-appearance: textfield;
  -moz-appearance: textfield;
  appearance: textfield;
}

/* Capitalized text button action (mostly Batal/Simpan)  */
.btn-primary {
  text-transform: capitalize !important;
}
.btn-danger {
  text-transform: capitalize !important;
}

.btn-default {
  text-transform: capitalize !important;
}

.btn-default:hover {
  background-color: #5c636a;
  border-color: #565e64;
  color: var(--bs-light);
}

.btn-default:active {
  background-color: #5c636a;
  border-color: #565e64;
  color: var(--bs-light);
}

.btn-outline-primary:hover {
  background-color: #e0f3ff;
  color: var(--bs-primary);
}

.btn-outline-active {
  border-color: var(--bs-body);
}

.btn-outline-active:hover {
  background-color: #e0f3ff;
  color: var(--bs-primary)
}

.btn-hover-active:hover {
  background-color: #e0f3ff;
  color: var(--bs-primary)
}

.btn-active {
  color: #3f6ad8;
  background: #e0f3ff;
  border: 1px solid #3f6ad8;
}

.bg-active {
  color: #3f6ad8;
  background: #e0f3ff;
}

.list-group-item.active {
  z-index: 2;
  color: var(--bs-body);
  background-color: #e0f3ff;
  border-color: #e0f3ff;
}

.list-group-item.active span {
  z-index: 2;
  color: #3f6ad8;
  background-color: #e0f3ff;
  border-color: #e0f3ff;
}

.scrollarea {
  flex-grow: 1;
  overflow-y: auto;
  max-height: 100%; /* Allow it to take up remaining space */
  min-height: 0; /* Prevent overflow from affecting layout */
}

.radio-custom {
  opacity: 0;
  position: absolute;   
}

.table-fixed {
  table-layout: fixed;
}

.card-title {
  margin-bottom: 0;
}

/* date checkbox  */
.calendar__input {
  display: none;
}
.calendar__input:checked + .calendar__label {
  border-color: #3f6ad8;
}
.calendar__label {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
  text-align: center;
  border: 2px solid lightGrey;
  cursor: pointer;
  border-radius: 4px;
}
.calendar__label__date {
  padding: 0.4rem;
  font-size: 14px;
}

 /* custome toggle switch */
/* for sm */
.custom-switch.custom-switch-sm .custom-control-label {
  padding-left: 1rem;
  padding-bottom: 1rem;
}

.custom-switch.custom-switch-sm .custom-control-label::before {
  height: 1rem;
  width: calc(1rem + 0.75rem);
  border-radius: 2rem;
}

.custom-switch.custom-switch-sm .custom-control-label::after {
  width: calc(1rem - 4px);
  height: calc(1rem - 4px);
  border-radius: calc(1rem - (1rem / 2));
}

.custom-switch.custom-switch-sm .custom-control-input:checked ~ .custom-control-label::after {
  transform: translateX(calc(1rem - 0.25rem));
}

/* for md */

.custom-switch.custom-switch-md .custom-control-label {
  padding-left: 2rem;
  padding-bottom: 1.5rem;
}

.custom-switch.custom-switch-md .custom-control-label::before {
  height: 1.5rem;
  width: calc(2rem + 0.75rem);
  border-radius: 3rem;
}

.custom-switch.custom-switch-md .custom-control-label::after {
  width: calc(1.5rem - 4px);
  height: calc(1.5rem - 4px);
  border-radius: calc(2rem - (1.5rem / 2));
}

.custom-switch.custom-switch-md .custom-control-input:checked ~ .custom-control-label::after {
  transform: translateX(calc(1.5rem - 0.25rem));
}

/* for lg */

.custom-switch.custom-switch-lg .custom-control-label {
  padding-left: 3rem;
  padding-bottom: 2rem;
}

.custom-switch.custom-switch-lg .custom-control-label::before {
  height: 2rem;
  width: calc(3rem + 0.75rem);
  border-radius: 4rem;
}

.custom-switch.custom-switch-lg .custom-control-label::after {
  width: calc(2rem - 4px);
  height: calc(2rem - 4px);
  border-radius: calc(3rem - (2rem / 2));
}

.custom-switch.custom-switch-lg .custom-control-input:checked ~ .custom-control-label::after {
  transform: translateX(calc(2rem - 0.25rem));
}

/* for xl */

.custom-switch.custom-switch-xl .custom-control-label {
  padding-left: 4rem;
  padding-bottom: 2.5rem;
}

.custom-switch.custom-switch-xl .custom-control-label::before {
  height: 2.5rem;
  width: calc(4rem + 0.75rem);
  border-radius: 5rem;
}

.custom-switch.custom-switch-xl .custom-control-label::after {
  width: calc(2.5rem - 4px);
  height: calc(2.5rem - 4px);
  border-radius: calc(4rem - (2.5rem / 2));
}

.custom-switch.custom-switch-xl .custom-control-input:checked ~ .custom-control-label::after {
  transform: translateX(calc(2.5rem - 0.25rem));
}

/* custom dropdown */
.custom-dropdown {
  position: relative;
}
.custom-dropdown-toggle-active {
  background-color: #fff;
  width: max-content;
  padding: 0.5rem;
  border: 1px solid #dee2e6 !important;
  border-radius: 6px 6px 0px 0px;
  border-bottom: 1px solid #fff !important;
  z-index: 20;
}
.custom-dropdown-menu {
  min-width: max-content;
  width: 120%;
  position: absolute;
  top: 18px;
  left: 0;
  background-color: #fff;
  border: 1px solid #dee2e6 !important;
  border-radius: 0px 6px 6px 6px;
  margin-top: 10px;
  z-index: 10;
}

.custom-dropdown-toggle-active, .custom-dropdown-menu {
  box-shadow: 0 0.46875rem 2.1875rem rgba(4, 9, 20, 0.03), 0 0.9375rem 1.40625rem rgba(4, 9, 20, 0.03), 0 0.25rem 0.53125rem rgba(4, 9, 20, 0.05), 0 0.125rem 0.1875rem rgba(4, 9, 20, 0.03)
}

/* Pace Flash theme style */
.pace {
  -webkit-pointer-events: none;
  pointer-events: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.pace-inactive {
  display: none;
}

.pace .pace-progress {
  background: #3f6ad8;
  position: fixed;
  z-index: 2000;
  top: 0;
  right: 100%;
  width: 100%;
  height: 2px;
}

.pace .pace-progress-inner {
  display: block;
  position: absolute;
  right: 0px;
  width: 100px;
  height: 100%;
  box-shadow: 0 0 10px #3f6ad8, 0 0 5px #3f6ad8;
  opacity: 1.0;
  -webkit-transform: rotate(3deg) translate(0px, -4px);
  -moz-transform: rotate(3deg) translate(0px, -4px);
  -ms-transform: rotate(3deg) translate(0px, -4px);
  -o-transform: rotate(3deg) translate(0px, -4px);
  transform: rotate(3deg) translate(0px, -4px);
}

/* .pace .pace-activity {
  display: block;
  position: fixed;
  z-index: 2000;
  top: 22px;
  right: 30%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  border: solid 2px transparent;
  border-top-color: #3f6ad8;
  border-left-color: #3f6ad8;
  border-radius: 10px;
  -webkit-animation: pace-spinner 400ms linear infinite;
  -moz-animation: pace-spinner 400ms linear infinite;
  -ms-animation: pace-spinner 400ms linear infinite;
  -o-animation: pace-spinner 400ms linear infinite;
  animation: pace-spinner 400ms linear infinite;
}

@-webkit-keyframes pace-spinner {
  0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}
@-moz-keyframes pace-spinner {
  0% { -moz-transform: rotate(0deg); transform: rotate(0deg); }
  100% { -moz-transform: rotate(360deg); transform: rotate(360deg); }
}
@-o-keyframes pace-spinner {
  0% { -o-transform: rotate(0deg); transform: rotate(0deg); }
  100% { -o-transform: rotate(360deg); transform: rotate(360deg); }
}
@-ms-keyframes pace-spinner {
  0% { -ms-transform: rotate(0deg); transform: rotate(0deg); }
  100% { -ms-transform: rotate(360deg); transform: rotate(360deg); }
}
@keyframes pace-spinner {
  0% { transform: rotate(0deg); transform: rotate(0deg); }
  100% { transform: rotate(360deg); transform: rotate(360deg); }
} */

.visible-print {
  display: none;
}

/* Custom Slim Scrollbar */
::-webkit-scrollbar {
  width: 7px !important;
  height: 7px !important;
}

::-webkit-scrollbar-track {
  background: rgba(233, 233, 233, 0.85);
}

::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: rgba(157, 157, 157, 0.85);
  box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.5);
}

.timeline {
  position: relative;
  margin: 0 0 30px 0;
  padding: 0;
  list-style: none
}

.timeline:before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #ddd;
  left: 31px;
  margin: 0;
  border-radius: 2px
}

.timeline>li {
  position: relative;
  margin-right: 10px;
  margin-bottom: 15px
}

.timeline>li:before,.timeline>li:after {
  content: " ";
  display: table
}

.timeline>li:after {
  clear: both
}

.timeline>li>.timeline-item {
  -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.1);
  box-shadow: 0 1px 1px rgba(0,0,0,0.1);
  border-radius: 3px;
  margin-top: 0;
  background: #fff;
  color: #444;
  margin-left: 60px;
  margin-right: 15px;
  padding: 0;
  position: relative
}

.timeline>li>.timeline-item>.time {
  color: #999;
  float: right;
  padding: 10px;
  font-size: 12px
}

.timeline>li>.timeline-item>.timeline-header {
  margin: 0;
  color: #555;
  border-bottom: 1px solid #f4f4f4;
  padding: 10px;
  font-size: 16px;
  line-height: 1.1
}

.timeline>li>.timeline-item>.timeline-header>a {
  font-weight: 600
}

.timeline>li>.timeline-item>.timeline-body,.timeline>li>.timeline-item>.timeline-footer {
  padding: 10px
}

.timeline>li>.fa,.timeline>li>.glyphicon,.timeline>li>.ion {
  width: 30px;
  height: 30px;
  font-size: 15px;
  line-height: 30px;
  position: absolute;
  color: #666;
  background: #d2d6de;
  border-radius: 50%;
  text-align: center;
  left: 18px;
  top: 0
}

.timeline>.time-label>span {
  font-weight: 600;
  padding: 5px;
  display: inline-block;
  background-color: #fff;
  border-radius: 4px
}

.timeline-inverse>li>.timeline-item {
  background: #f0f0f0;
  border: 1px solid #ddd;
  -webkit-box-shadow: none;
  box-shadow: none
}

.timeline-inverse>li>.timeline-item>.timeline-header {
  border-bottom-color: #ddd
}