/*
* demo.css
* File include item demo only specific css only
******************************************************************************/

.light-style .menu .app-brand.demo {
  height: 64px;
}

.dark-style .menu .app-brand.demo {
  height: 64px;
}

.app-brand-logo.demo svg {
  width: 38px;
  height: 20px;
}

.app-brand-text.demo {
  font-size: 1.25rem;
}

/* ! For .layout-navbar-fixed added fix padding top tpo .layout-page */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 64px !important;
}

/* Navbar page z-index issue solution */
.content-wrapper .navbar {
  z-index: auto;
}

/*
* Content
******************************************************************************/

.demo-blocks > * {
  display: block !important;
}

.demo-inline-spacing > * {
  margin: 1rem 0.375rem 0 0 !important;
}

/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
.demo-vertical-spacing > * {
  margin-top: 1.25rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-lg > * {
  margin-top: 1.875rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-lg.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-xl > * {
  margin-top: 5rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-xl.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.rtl-only {
  display: none !important;
  text-align: left !important;
  direction: ltr !important;
}

[dir='rtl'] .rtl-only {
  display: block !important;
}

/* Dropdown buttons going out of small screens */
@media (max-width: 576px) {
  #dropdown-variation-demo .btn-group .text-truncate {
    width: 300px;
    position: relative;
  }
  #dropdown-variation-demo .btn-group .text-truncate::after {
    position: absolute;
    top: 45%;
    right: 0.65rem;
  }
}
/*
* Layout demo
******************************************************************************/

.layout-demo-wrapper {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-top: 1.25rem;
}
.layout-demo-placeholder img {
  width: 900px;
}
.layout-demo-info {
  text-align: center;
  margin-top: 1.25rem;
}


/* CUSTOME HERE */
.border-bottom-dashed{
  border-bottom: 0.5px dashed #e7e7e7;
}
.right-inline-button{
  text-align: right;
  padding-bottom: 10px;
}
.center-inline-button{
  margin-top: 15px;
}
.btn-xs{
  padding-top: 5px;
  padding-bottom: 5px;
}
.form-control-sm{
  min-height: 2.8em !important;
  padding: 2px 15px !important;
}
.table-light th{
  background-color: rgba(0,0,0,0) !important;
}
.table>tbody{
  font-size: .87rem !important;
}
.modal-description{
  font-size: 13px;
}
#loginWarnings{
  font-size: 0.68rem;
  text-align: center;
  margin-top: 20px;
}
.pr-2{
  padding-right: 10px;
}
.search-form .select2-container--default .select2-selection--single{
  height: 2.290rem !important;
  font-size: 0.8rem !important;
  margin-top: -1px;
}
.search-form .select2-container--default .select2-selection--single .select2-selection__rendered{
  line-height: calc(2.278125rem) !important;
}
.light-style .select2-container--default .select2-results__option{
  font-size: 0.9rem !important;
}
p.desc-widget{
  line-height: 1.2 !important;
}
.subtitle{
  font-size: 1.0rem !important;
}
.date-text{
  font-size: 0.8rem !important;
}
.modal-body img{
  max-width: 100% !important;
}
.floating-logo{
  position: absolute !important;
  top: 15px;
  left: 15px;
}
.nav-tabs .nav-link, .nav-pills .nav-link{
  text-transform: capitalize;
  font-size:14px;
}
.separator-form{
  font-size: 1.1rem !important;
}
#top_panel_candidates{
  backdrop-filter: blur(10px);
  padding: 10px 10px;
  box-shadow: 0 1px 2px 0 rgba(0,0,0,.2);
}
#bottom_panel_candidates{
  backdrop-filter: blur(10px);
  padding: 10px 10px;
  padding-right: 20px;
  box-shadow: 0 1px 2px 0 rgba(0,0,0,.2);
}
.card-title{
  line-height: 30px;
}
.card-listitem{
  height: 85vh;
  display: flex;
  justify-content: center; /* Mengatur konten di tengah secara horizontal */
  align-items: center; /* Mengatur konten di tengah secara vertikal */
}
.card-title{
  line-height: 30px;
}
.card-title-barang{
  line-height: 22px !important;
  margin-bottom: 5px !important;
}
.top-right-btn {
  top: 4px;
  right: 4px;
}

.was-validated .form-control:invalid, .form-control.is-invalid{
  border-width: 1px;
  border-color: rgb(170, 0, 0);
}
.was-validated .form-control:valid, .form-control.is-valid{
  border-width: 1px;
}

/* SKELETON */
.card-is-loading{
  width: 100% !important;
}
.card-is-loading .text-heading{
    background: #eee;
    background: linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%);
    border-radius: 5px;
    background-size: 200% 100%;
    animation: 1.5s shine linear infinite;
    width: 70% !important;
    height: 13px !important;
    margin-bottom: 6px !important;
}
.card-is-loading .text-table{
    background: #eee;
    background: linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%);
    border-radius: 5px;
    background-size: 200% 100%;
    animation: 1.5s shine linear infinite;
    width: 100% !important;
    height: 13px !important;
    margin-bottom: 6px !important;
}
.card-is-loading .text-muted{
    background: #eee;
    background: linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%);
    border-radius: 5px;
    background-size: 200% 100%;
    animation: 1.5s shine linear infinite;
    width: 100% !important;
    height: 10px !important;
    margin-bottom: 2px !important;
}
.card-is-loading .avatar-initial{
    background: #eee;
    background: linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%);
    border-radius: 5px;
    background-size: 200% 100%;
    animation: 1.5s shine linear infinite;
    width: 100% !important;
    margin-bottom: 2px !important;
}
.card-is-loading .display-6{
    background: #eee;
    background: linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%);
    border-radius: 5px;
    background-size: 200% 100%;
    animation: 1.5s shine linear infinite;
    width: 20% !important;
    height: 20px !important;
    margin-bottom: 2px !important;
}
@keyframes shine {
  to {
    background-position-x: -200%;
  }
}

/* SKELETON */

.overlay-img{
  margin-bottom: -50px;
  height: 180px;
  overflow: hidden; 
}
.overlay-img img{
  height: 100%; 
  object-fit: cover;    
}