.nav-sidebar .nav-link .right {
  position: absolute !important;
  right: 0px !important;
  margin: 0 !important;
}

.tooltip {
  pointer-events: none;
}

.btn-extra-small {
  padding: 0.1rem 0.5rem;
  /*  font-size: 0.7rem;
  line-height: 1;
  border-radius: 0.2rem; */
}

.custom-badge-large {
  font-size: 1.25rem !important;
  padding: 0.5em 1em !important;
}

.btn-social-icon {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 32px;
  line-height: 32px;
  font-size: 1.5em;
  text-align: center;
  border-right: 1px solid rgba(0, 0, 0, 0.2);
}

/* Potong tinggi navbar agar tidak terlalu besar */
.main-header.navbar {
  min-height: auto;
  height: auto !important;
}

.btn-custom-extra-small {
  padding: 0.05rem 0.1rem;
  font-size: 0.2rem;
}

.btn-custom-extra-small.nav-icon {
  font-size: 0.2rem !important;
}

.table-border > tbody > tr > td,
.table-border > tbody > tr > th,
.table-border > tfoot > tr > td,
.table-border > tfoot > tr > th,
.table-border > thead > tr > td,
.table-border > thead > tr > th,
table.table-border {
  border: 1px solid #ccc;
}

/* tr#btnDetailMesin td {
  padding-left: 30px;
  padding-right: 0px;
} */

tr#btnDetailMesin td:last-child {
  padding-left: 0px;
  padding-right: 0px;
}

/* #tblKain td {
  padding-left: 10px;
  padding-right: 10px;
} */

.full-page {
  background: #ecf0f5 !important;
  padding-top: 20px;
}

.login {
  max-width: 300px;
  width: 100%;
  text-align: center;

  position: absolute;
  left: 50%;
  top: 45%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.notfound {
  max-width: 520px;
  width: 100%;
  text-align: center;

  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.notfound .notfound-404 {
  height: 180px;
  margin-top: -20px;
}

.notfound .notfound-404 h1 {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 180px;
  font-weight: 500;
  margin: 0px;
  color: #232323;
}

.notfound .notfound-404 h1 > span {
  display: inline-block;
  width: 150px;
  height: 150px;
  background-size: cover;
  -webkit-transform: scale(1.4);
  -ms-transform: scale(1.4);
  transform: scale(1.4);
  z-index: -1;
}

.notfound h2 {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 27px;
  font-weight: 700;
  text-transform: uppercase;
  color: #232323;
}

.notfound p {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 19px;
  color: #787878;
  font-weight: 300;
}

@media only screen and (max-width: 767px) {
  .notfound {
    max-width: 250px;
    width: 100%;
  }
  .notfound .notfound-404 {
    height: 110px;
  }
  .notfound .notfound-404 h1 {
    font-size: 110px;
  }
  .notfound .notfound-404 h1 > span {
    width: 80px;
    height: 80px;
  }
}

.btn-row {
  padding-bottom: 10px;
}

.morris-hover.morris-default-style {
  background: #ffffff;
}

.fc-today {
  background: #f9f9f9 !important;
}

.fc-today .fc-day-number {
  color: #000000;
  font-weight: 700;
}

tfoot input {
  width: 100%;
  padding: 3px;
  box-sizing: border-box;
}

.fc-scroller {
  height: auto !important;
  overflow-y: hidden !important;
}

.modal-body {
  max-height: calc(100vh - 210px);
  overflow-y: auto;
}

/* .modal-fullscreen .modal-dialog {
  max-width: 100%;
  margin: 0;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
} */

.modal-fullscreen {
  overflow: hidden !important; /* cegah scroll di modal */
}

.modal-fullscreen .modal-dialog {
  max-width: 100%;
  width: 100%;
  height: 100vh;
  margin: 0; /* hapus margin bawaan bootstrap */
}

.modal-fullscreen .modal-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.modal-fullscreen .modal-header,
.modal-fullscreen .modal-footer {
  flex-shrink: 0;
}

.modal-fullscreen .modal-body {
  flex: 1;
  overflow-y: auto; /* hanya body yang scroll */
}

/* Extra small devices (less than 768px) */
@media (max-width: 767px) {
  .navbar-nav > .calendar-menu > .dropdown-menu {
    width: 420px;
  }

  .navbar-nav > .notifications-menu > .dropdown-menu {
    width: 260px;
  }

  .modal-fullscreen-xs-down {
    padding: 0 !important;
  }
  .modal-fullscreen-xs-down .modal-dialog {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
  }
  .modal-fullscreen-xs-down .modal-content {
    height: auto;
    min-height: 100%;
    border: 0 none;
    border-radius: 0;
  }
  .modal-fullscreen-xs-down .modal-body {
    min-height: calc(100vh - 133px);
    max-height: calc(100vh - 133px);
    overflow-y: auto;
  }
}

/* Small devices (less than 992px) */
@media (max-width: 991px) {
  .navbar-nav > .calendar-menu > .dropdown-menu {
    width: 420px;
  }

  .navbar-nav > .notifications-menu > .dropdown-menu {
    width: 260px;
  }

  .modal-fullscreen-sm-down {
    padding: 0 !important;
  }
  .modal-fullscreen-sm-down .modal-dialog {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
  }
  .modal-fullscreen-sm-down .modal-content {
    height: auto;
    min-height: 100%;
    border: 0 none;
    border-radius: 0;
  }
  .modal-fullscreen-sm-down .modal-body {
    min-height: calc(100vh - 133px);
    max-height: calc(100vh - 133px);
    overflow-y: auto;
  }
}

/* Medium devices (less than 1200px) */
@media (max-width: 1199px) {
  .navbar-nav > .calendar-menu > .dropdown-menu {
    width: 420px;
  }

  .navbar-nav > .notifications-menu > .dropdown-menu {
    width: 260px;
  }

  .modal-fullscreen-md-down {
    padding: 0 !important;
  }
  .modal-fullscreen-md-down .modal-dialog {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
  }
  .modal-fullscreen-md-down .modal-content {
    height: auto;
    min-height: 100%;
    border: 0 none;
    border-radius: 0;
  }
  .modal-fullscreen-md-down .modal-body {
    min-height: calc(100vh - 133px);
    max-height: calc(100vh - 133px);
    overflow-y: auto;
  }
}

/* Medium devices (less than 1200px) */
@media (min-width: 1199px) {
  .navbar-nav > .calendar-menu > .dropdown-menu {
    width: 420px;
  }

  .navbar-nav > .notifications-menu > .dropdown-menu {
    width: 400px;
  }
}

.modal-fullscreen {
  padding: 0 !important;
}
.modal-fullscreen .modal-dialog {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}
.modal-fullscreen .modal-content {
  height: auto;
  min-height: 100%;
  border: 0 none;
  border-radius: 0;
}
.modal-fullscreen .modal-body {
  min-height: calc(100vh - 133px);
  max-height: calc(100vh - 133px);
  overflow-y: auto;
}

.hero-widget {
  text-align: center;
}
.hero-widget .icon {
  display: block;
  font-size: 25px;
  line-height: 25px;
  margin-top: 10px;
  text-align: center;
}
.hero-number {
  display: block;
  height: 30px;
  font-size: 30px;
  line-height: 30px;
  margin-top: 10px;
}

.center-block {
  float: none !important;
}

table.dataTable tbody td {
  vertical-align: middle;
}

.nopadding {
  padding: 0 !important;
  margin: 0 !important;
}

.has-error .select2-selection {
  border-color: #dd4b39 !important;
  box-shadow: none !important;
  -webkit-transition: border-color ease-in-out 0.15s,
    box-shadow ease-in-out 0.15s;
  -o-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  -webkit-transition: border-color ease-in-out 0.15s,
    -webkit-box-shadow ease-in-out 0.15s;
  transition: border-color ease-in-out 0.15s,
    -webkit-box-shadow ease-in-out 0.15s;
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s,
    -webkit-box-shadow ease-in-out 0.15s;
}

.DTFC_LeftBodyLiner {
  overflow-x: hidden;
}
.DTFC_RightBodyLiner {
  overflow-x: hidden;
}

.daterangepicker .ranges li.active {
  background-color: #3c8dbc;
}

.daterangepicker td.active,
.daterangepicker td.active:hover {
  background-color: #3c8dbc;
}

#dtpWaktu,
#dtpTanggal,
#dtpWaktuoff,
#dtpWaktudatang,
#dtpWaktudikerjakan,
#dtpWaktuon,
#dtpWaktucek,
#dtpSeribaru,
#dtpWaktumulai,
#dtpBerlaku,
#dtpTanggalpotong,
#dtpUbahtanggal,
.white-readonly {
  background-color: #fff !important;
}

.input-xsmall {
  height: 35px;
  font-size: 18px;
}

.input-small {
  height: 55px;
  font-size: 28px;
}

.input-medium {
  height: 55px;
  font-size: 38px;
}

.input-kode {
  height: 100px;
  font-size: 70px;
}

.input-big {
  height: 185px;
  font-size: 80px;
}

.input-separator {
  padding: 0px;
  border: none;
  width: 0px;
}

.input-by-keyboard:focus {
  background-color: #ebf4f8 !important;
}

.swal2-popup {
  font-size: 1.5rem !important;
}

.hero-number {
  display: block;
  height: 30px;
  font-size: 30px;
  line-height: 30px;
  margin-top: 10px;
}

.btn-with-margin {
  margin-left: 10px;
  margin-right: 10px;
}

.no-padding-all {
  padding-right: 0px !important;
  padding-left: 0px !important;
}

.no-padding-left {
  padding-left: 0px !important;
}

.no-padding-right {
  padding-right: 0px !important;
  border-right: 0px !important;
}

.keterangan-kain {
  display: block;
  height: 30px;
  font-size: 30px;
  line-height: 30px;
  text-align: center;
}

.for-accounting,
.for-akunting {
  color: #d81b60;
}

.btn.for-accounting,
.btn.for-akunting {
  color: #ffffff;
}

.slctBtn option {
  background: #ffffff;
  color: #000000;
}

.slctBtn {
  border-radius: 3px;
}

.slctDefault option {
  background: #ffffff;
  color: #000000;
}

.slctDefault {
  border-radius: 3px;
}

#slctSeri option,
#slctSeriawal option,
#slctSeriakhir option,
#slctSeribulanan option {
  background: #ffffff;
  color: #000000;
}

#slctSeri,
#slctSeriawal,
#slctSeriakhir,
#slctSeribulanan {
  border-radius: 3px;
}

#slctStatus option {
  background: #ffffff;
  color: #000000;
}

#slctStatus {
  border-radius: 3px;
}

.col-centered {
  float: none;
  margin: 0 auto;
}

.right-margin {
  margin-right: 3px !important;
}

.left-margin {
  margin-left: 3px !important;
}

.form-maxview {
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
}

table.dataTable.table-condensed > tbody > tr > td {
  padding-top: 1px;
  padding-bottom: 1px;
}

table.dataTable > thead > tr > td,
table.dataTable > thead > tr > th {
  border-bottom: 1px;
}

.table-striped > tbody > tr:nth-child(odd) > td,
.table-striped > tbody > tr:nth-child(odd) > th {
  background-color: #dedede;
}

.table-striped > tbody > tr:hover > td,
.table-striped > tbody > tr:hover > th {
  background-color: #ccc;
  border-color: #ccc;
}

.sidebar-menu > li.header {
  color: #aaa !important;
}

.fc-week-number,
.fc-day-header {
  background-color: #eee;
}

td.fc-week-number > span {
  font-weight: bold;
}

.swal2-input {
  text-align: center;
}

.blink {
  animation: blink-animation 1s steps(4, start) infinite;
  -webkit-animation: blink-animation 1s steps(4, start) infinite;
}
@keyframes blink-animation {
  to {
    visibility: hidden;
  }
}
@-webkit-keyframes blink-animation {
  to {
    visibility: hidden;
  }
}

body {
  padding-bottom: 35px;
}

.main-footer {
  bottom: 0;
  left: 0;
  position: fixed;
  right: 0;
  z-index: 999;
}

.btn-social-icon {
  margin-bottom: 35px;
}

.container {
  position: absolute;
  top: 20px;
  left: 20px;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
  border-radius: 5px;
}

.container:hover input ~ .checkmark {
  background-color: #fff;
}

.container input:checked ~ .checkmark {
  background-color: #3c8dbc;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.container input:checked ~ .checkmark:after {
  display: block;
}

.container .checkmark:after {
  left: 8px;
  top: 2px;
  width: 10px;
  height: 15px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.site-footer {
  width: 700px;
  margin: 0% -350px;
  position: fixed;
  left: 50%;
  bottom: 1%;
}

.btnMesin.active,
.btnMesin.active:hover {
  background-color: #dd4b39 !important;
  border-color: #d73925 !important;
  color: #ffffff !important;
  font-weight: bold;
}

.btnMesin.active input {
  color: #000000 !important;
}

.btnMesin.active .txtKodeMesin {
  text-decoration: line-through;
}

.btnSPK .property-card .property-header,
.btnSPK .property-card .property-header:hover {
  background-color: #d9534f;
}

.btnSPK.active .property-card .property-header,
.btnSPK.active .property-card .property-header:hover {
  background-color: #5cb85c !important;
}

.input-xs {
  height: 20px;
  padding: 0px;
  font-size: 14px;
  font-weight: bold;
  line-height: 1;
  border-radius: 1px;
}

.hide-cbx input {
  position: absolute;
  opacity: 0;
  height: 0;
  width: 0;
}

.hide-cbx {
  cursor: pointer;
}

img {
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  user-select: none;
}

.scroll-left {
  overflow: hidden;
  position: relative;
}
.scroll-left p {
  position: absolute;
  width: 100%;
  height: 100%;
  margin-top: -11px;
  text-align: left;
  white-space: nowrap;
  /* Starting position */
  -moz-transform: translateX(100%);
  -webkit-transform: translateX(100%);
  transform: translateX(100%);
  /* Apply animation to this element */
  -moz-animation: scroll-left 30s linear infinite;
  -webkit-animation: scroll-left 30s linear infinite;
  animation: scroll-left 30s linear infinite;
}
/* Move it (define the animation) */
@-moz-keyframes scroll-left {
  0% {
    -moz-transform: translateX(100%);
  }
  100% {
    -moz-transform: translateX(-100%);
  }
}
@-webkit-keyframes scroll-left {
  0% {
    -webkit-transform: translateX(100%);
  }
  100% {
    -webkit-transform: translateX(-100%);
  }
}
@keyframes scroll-left {
  0% {
    -moz-transform: translateX(100%); /* Browser bug fix */
    -webkit-transform: translateX(100%); /* Browser bug fix */
    transform: translateX(100%);
  }
  100% {
    -moz-transform: translateX(-100%); /* Browser bug fix */
    -webkit-transform: translateX(-100%); /* Browser bug fix */
    transform: translateX(-100%);
  }
}

* {
  box-sizing: border-box;
}

.img-magnifier-container {
  position: relative;
}

.img-magnifier-glass {
  position: absolute;
  border: 3px solid #000;
  border-radius: 50%;
  cursor: none;
  /*Set the size of the magnifier glass:*/
  width: 100px;
  height: 100px;
}

.img-zoom-container {
  position: relative;
}

.img-zoom-lens {
  position: absolute;
  border: 1px solid #d4d4d4;
  /*set the size of the lens:*/
  width: 40px;
  height: 40px;
}

.img-zoom-result {
  border: 1px solid #d4d4d4;
  /*set the size of the result div:*/
  width: 300px;
  height: 300px;
}

.container-zoom {
  width: 500px;

  position: relative;
}

.foto {
  width: 100%;
  height: auto;
}

.lens {
  width: 100px;
  height: 100px;
  position: absolute;
  top: 0;
  left: 0;

  background-color: rgba(255, 255, 255, 0.6);
}

.result {
  position: absolute;
  left: calc(100% + 50px);
  top: 30px;
  width: 300px;
  height: 300px;
  background-repeat: no-repeat;
}

.logged-in {
  font-size: 1.2em;
  color: orange;
  position: absolute;
  right: 0;
  top: 0;
}

.logged-out {
  font-size: 1.2em;
  color: red;
  position: absolute;
  right: 0;
  top: 0;
}

.draggable {
  background-color: white;
  min-width: 150px;
  min-height: 150px;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: fixed;
  padding: 15px;
  top: 10px;
  right: 25px;
  cursor: grab;
  z-index: 1000;
}

#bellNotif {
  animation-name: bell-ring !important;
  animation-duration: 2s !important;
  animation-iteration-count: infinite !important;
}

@keyframes bell-ring {
  5%,
  15% {
    transform: rotate(25deg);
  }

  10%,
  20% {
    transform: rotate(-25deg);
  }

  25% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

@keyframes wipeLeft {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.list_reqorder .btn {
  display: none;
}

.list_reqorder:hover .btn {
  display: block;
  /*  animation: wipeLeft 0.3s ease-out; */
  animation-name: wipeLeft;
  animation-duration: 0.3s;
  animation-timing-function: ease-out;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

#tblspk_beam {
  font-weight: bold;
}

#tblspk_beam td {
  border: 1px solid black;
}

#tblspk_beam td.row_data {
  vertical-align: middle;
}

#tblspk_beam td.label_spk {
  background-color: #acb8cb;
}

/* Custom class btn-light */
.btn-light {
  color: #000; /* Warna teks */
  background-color: #f8f9fa; /* Warna latar belakang */
  border: 1px solid rgb(0, 0, 0, 0.5); /* Border hitam transparan */
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; /* Efek transisi */
}

/* Efek hover */
.btn-light:hover {
  color: #000;
  background-color: #d3d6db;
  border: 1px solid rgb(0, 0, 0, 0.5); /* Tetap border hitam transparan */
}

/* Efek focus */
.btn-light:focus {
  color: #000;
  background-color: #d3d6db;
  border: 1px solid rgb(0, 0, 0, 0.5); /* Tetap border hitam transparan */
  box-shadow: 0 0 0 0.25rem rgba(216, 217, 219, 0.5);
  outline: none; /* Menghilangkan outline bawaan browser */
}

/* Efek active */
.btn-light:active,
.btn-light.active {
  color: #000;
  background-color: #c2c6cc;
  border: 1px solid rgb(0, 0, 0, 0.5); /* Tetap border hitam transparan */
}

#buttonStack {
  position: absolute;
  bottom: 60px;
  right: 20px;
  display: flex;
  flex-direction: column-reverse;
  gap: 10px;
}

#btnPrint .badge {
  position: absolute;
  top: 0px;
  right: 0px;
  padding: 3px 3px;
  min-width: 15px;
  min-height: 15px;
  border-radius: 50%;
  background: red;
  color: white;
}

#printNotif.active {
  animation-name: bell-ring !important;
  animation-duration: 2s !important;
  animation-iteration-count: infinite !important;
}

.invoice {
  padding-left: 15px;
  padding-right: 15px;
}

#boxPanduan {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 1060; /* sedikit di bawah modal backdrop (1050–1060 bagus) */
  background: #fff;
  border-radius: 0.5rem;
  width: 350px;
}

.dropdown-submenu {
  position: relative;
}
.dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -1px;
}
