/*
* demo.css
* File include item demo only specific css only
******************************************************************************/
.light-style .menu .app-brand.demo {
    height: 100px;
}

.dark-style .menu .app-brand.demo {
    height: 100px;
}

.app-brand-logo.demo {
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    display: -ms-flexbox;
    display: flex;
    height: 50px;
    width: auto;
}

.app-brand-logo.demo img {
    height: 50px;
    width: auto;
}

.app-brand-text.demo {
    font-size: 1.375rem;
}

.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
    padding-top: 64px !important;
}

.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
    padding-top: 78px !important;
}

.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>* {
    margin-top: 1rem !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;
}

/*
* Layout demo
******************************************************************************/
.layout-demo-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-top: 1rem;
}

.layout-demo-placeholder img {
    width: 900px;
}

.layout-demo-info {
    text-align: center;
    margin-top: 1rem;
}

/* CSS Custom */
.authentication-wrapper.authentication-basic .authentication-inner {
    max-width: 450px;
    position: relative;
}

.light-style .menu .app-brand.demo {
    height: 130px;
}

.menu-inner-shadow {
    top: calc(3.4375rem + 66px);
}

.app-brand-logo.demo {
    display: none;
}

.app-brand-long-logo.demo {
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    display: -ms-flexbox;
    display: flex;
    height: 80px;
    width: auto;
}

.app-brand-long-logo.demo img {
    height: 80px;
    width: auto;
}

.layout-menu-collapsed:not(.layout-menu-hover):not(.layout-menu-offcanvas):not(.layout-menu-fixed-offcanvas) .layout-menu .app-brand-long-logo {
    display: none;
}

.layout-menu-collapsed:not(.layout-menu-hover):not(.layout-menu-offcanvas):not(.layout-menu-fixed-offcanvas) .layout-menu .app-brand {
    width: unset;
    height: 100px;
}

.layout-menu-collapsed:not(.layout-menu-hover):not(.layout-menu-offcanvas):not(.layout-menu-fixed-offcanvas) .layout-menu .menu-inner-shadow {
    top: calc(3.4375rem + 36px);
}

.layout-menu-collapsed:not(.layout-menu-hover):not(.layout-menu-offcanvas):not(.layout-menu-fixed-offcanvas) .layout-menu .app-brand-logo {
    display: block;
}

.layout-menu-collapsed:not(.layout-menu-hover):not(.layout-menu-offcanvas):not(.layout-menu-fixed-offcanvas) .layout-menu .app-brand-logo img {
    height: 36px;
    width: auto;
}

@media (max-width: 1199.98px) {
    .layout-menu-collapsed:not(.layout-menu-hover):not(.layout-menu-offcanvas):not(.layout-menu-fixed-offcanvas) .layout-menu .app-brand-logo {
        display: none;
    }

    .layout-menu-collapsed:not(.layout-menu-hover):not(.layout-menu-offcanvas):not(.layout-menu-fixed-offcanvas) .layout-menu .app-brand-long-logo {
        display: block;
    }
}

.menu-link.waves-effect {
    display: flex;
}

.bg-menu-theme.menu-vertical .menu-item.active > .menu-link:not(.menu-toggle) {
    box-shadow: 0px 1px 4px 0px rgba(14, 81, 160, 0.38);
}

.w-0 {
    width: 0% !important;
}

.table tr.selected .dropdown-toggle {
    color: #fff;
}

.menu-link {
    line-height: 1;
}

.menu-icon {
    font-size: 1.2rem;
}

.input-group-text i {
    font-size: 1.1rem;
}

.swal2-modal.swal2-popup .swal2-title {
    margin: 0;
}

.swal2-modal.swal2-popup .swal2-actions {
    margin: 1rem 0rem 0.5rem;
}

.menu-vertical .menu-inner > .menu-item {
    margin: 0.225rem 0;
}

.menu-vertical .menu-sub .menu-item {
    margin: 0.225rem 0;
}

.select2-results__option {
    padding: 6px 12px;
}

.select2-results__option[role=option] {
    margin: 0.5rem 0.75rem;
}

.select2-results__option[role=option]:last-child {
    margin: 0.5rem 0.75rem 0.75rem;
}

.dz-preview {
    margin: 0;
}

.dropzone {
    display: flex;
    gap: 1.25rem;
    aspect-ratio: 1/1;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.dz-thumbnail {
    height: unset;
}

.dz-thumbnail > img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.dz-message {
    position: relative;
}

.dz-message:before {
    top: -4rem;
    left: 50%;
    transform: translateX(-50%);
}

@media (min-width: 1199.98px) {
    .dropzone {
        aspect-ratio: 1/1;
    }
    .light-style .dz-thumbnail {
        aspect-ratio: 2.5 / 1;
    }
}

@media (max-width: 991.98px) {
    .dropzone {
        aspect-ratio: 1/1.3;
    }
}

@media (max-width: 767.98px) {
    .dropzone {
        aspect-ratio: 1.1/1.3;
    }
}

@media (max-width: 575.98px) {
    .dropzone {
        aspect-ratio: 1/1;
    }
    .dz-thumbnail {
        height: 7rem;
    }
}

.light-style .dz-thumbnail {
    aspect-ratio: 1.2 / 1;
}

@media (min-width: 575.98px) {
    .light-style .dz-thumbnail {
        aspect-ratio: 1.2 / 1;
    }
}

table.dataTable thead .sorting::before, table.dataTable thead .sorting::after, table.dataTable thead .sorting_asc::before, table.dataTable thead .sorting_asc::after, table.dataTable thead .sorting_desc::before, table.dataTable thead .sorting_desc::after, table.dataTable thead .sorting_asc_disabled::before, table.dataTable thead .sorting_asc_disabled::after, table.dataTable thead .sorting_desc_disabled::before, table.dataTable thead .sorting_desc_disabled::after {
    line-height: 9px !important;
}

table.dataTable thead .sorting::before, table.dataTable thead .sorting_asc::before, table.dataTable thead .sorting_desc::before, table.dataTable thead .sorting_asc_disabled::before, table.dataTable thead .sorting_desc_disabled::before {
    top: 50% !important;
    transform: translateY(calc(-50% - 10px));
}

table.dataTable thead .sorting::after, table.dataTable thead .sorting_asc::after, table.dataTable thead .sorting_desc::after, table.dataTable thead .sorting_asc_disabled::after, table.dataTable thead .sorting_desc_disabled::after {
    bottom: 50% !important;
    transform: translateY(calc(-50% + 10px));
}

.unset-border table.table-bordered.dataTable tr:first-child th:first-child, .unset-border table.table-bordered.dataTable td:first-child {
    border-left-width: 1px !important;
}

.unset-border table.table-bordered.dataTable tr:first-child th:last-child, .unset-border table.table-bordered.dataTable td:last-child {
    border-right-width: 1px !important;
}

.unset-border.card-datatable [class*=col-md-] {
    padding-right: 0rem !important;
    padding-left: 0rem !important;
}

.datepicker-months thead {
    border-bottom: 1px solid #dbdade;
}

.datepicker .prev::after {
    border-width: 1.4px 0 0 1.4px;
}

html:not([dir=rtl]) .datepicker .datepicker-months .datepicker-switch, html:not([dir=rtl]) .datepicker .datepicker-years .datepicker-switch, html:not([dir=rtl]) .datepicker .datepicker-decades .datepicker-switch, html:not([dir=rtl]) .datepicker .datepicker-centuries .datepicker-switch {
    left: 0.875rem;
}

html:not([dir=rtl]) .datepicker .datepicker-months .next, html:not([dir=rtl]) .datepicker .datepicker-years .next, html:not([dir=rtl]) .datepicker .datepicker-decades .next, html:not([dir=rtl]) .datepicker .datepicker-centuries .next {
    right: 0.875rem;
}

.datepicker .next, .datepicker .prev {
    top: 0.8rem;
}

.datepicker-months table td, .datepicker-years table td, .datepicker-decades table td, .datepicker-centuries table td {
    padding: 0 0.75rem 0.75rem 0.875rem;
}

.datepicker table tr td {
    display: flex;
    width: 13rem;
    row-gap: 0.4rem;
    height: max-content;
    flex-wrap: wrap;
    justify-content: space-between;
}

.datepicker table tr th.datepicker-switch {
    position: absolute;
    height: unset;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.pickr-filter-bulan {
    cursor: pointer;
}

/* .light-style .flatpickr-calendar.open {
    z-index: 10;
} */

.dropdown-menu.show {
    z-index: 10;
}

/* .light-style .datepicker-dropdown {
    z-index: 10 !important;
} */
