#app {
    height: 100vh;
}

.border-black .vs__dropdown-toggle{
    border-color: black !important;
    border-radius: 0 !important;
}

html button.btn.bg-primary:has(span.button-icon){
    background-color: #36a3f7 !important;
}

button:hover .button-icon {
    animation: bounceBack 0.6s ease;
}
@keyframes bounceBack {
    0% {
        transform: rotate(0deg) scale(1);
    }
    30% {
        transform: rotate(15deg) scale(1.1);
    }
    100% {
        transform: rotate(0deg) scale(1);
    }
}

/* button.btn:has(span.button-icon) span{
    color: white !important;
} */

html label.form-control.form-total,
html input.form-total{
    font-size: 20px !important;
    padding-top: 5px !important;
    font-weight: 600 !important;
    color:#7078ff !important;
    background: #f4f5f8;
    margin-bottom: 0 !important;
}

html:not(.dark-mode) .hover-menu:hover, 
html:not(.dark-mode) .hover-menu .m-menu__item:hover,
html div.form-control.disabled{
    background: #f4f5f8 !important;
}

html input.form-total:not(input.form-total[disabled]){
    background: #fff;
}

div.col-mw{
    max-width: max-content;
    padding: 0 .75em !important;
}

textarea:focus{
    border: none !important;
    outline: 1px solid black;
}

#laporan_content label.col-form-label{
    text-wrap: nowrap;
}

#laporan_content div.col-3.align-content-center .m-checkbox>span{
    height: 16px !important;
    width: 16px !important;
}

label:not(
    .form-control label, 
    .floating-border-form-group-label,
    .m-radio,
    .label-total,
    .col-form-label,
    .form-check-label,
    .m-checkbox,
    .col-1-custom label,
    .label-more,
    .laporan-pd-content label,
    .laporan-pk-content label,
    .laporan-pl-content label,
    .laporan-sp-content label,
    .laporan-sb-content label,
    header label.checkbox-label
), 
#list_content thead tr td input.form-control, 
#show_content input.form-control, 
#show_content div.form-control, 
#show_content div.input-group-append button, 
#show_content form.m-form button.btn.btn-primary, 
#show_content div.input-group-append div,
#laporan_content input.form-control,
#laporan_content select.form-control,
#laporan_content div.form-control,
#laporan_content .input-group-append button.btn,
.laporan-pj-content input.form-control,
.laporan-pj-content select.form-control,
.laporan-pd-content input.form-control,
.laporan-pd-content select.form-control,
.laporan-pd-content .input-group-append button.btn,
.laporan-pk-content input.form-control,
.laporan-pk-content select.form-control,
.laporan-pk-content .input-group-append button.btn,
.laporan-pl-content input.form-control,
.laporan-pl-content select.form-control,
.laporan-pl-content .input-group-append button.btn,
.laporan-sp-content input.form-control,
.laporan-sp-content select.form-control,
.laporan-sp-content .input-group-append button.btn,
.laporan-sb-content input.form-control,
.laporan-sb-content select.form-control,
.laporan-sb-content .input-group-append button.btn,
#list_content select,
#show_content select{
    min-height: 35px;
    max-height: 35px !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    border-radius: 0 !important;
    align-content: center;
}

#laporan_content button.btn,
.form-select{
    border-radius: 0 !important;
}

#laporan_content button.btn:focus,
#show_content button.btn:focus{
    border: none !important;
    box-shadow: -1px 2px 8px 1px rgba(82,3,139,0.75) !important;
    -webkit-box-shadow: -1px 2px 8px 1px rgba(82,3,139,0.75) !important;
    -moz-box-shadow: -1px 2px 8px 1px rgba(82,3,139,0.75) !important;
}


#list_content thead tr td div.selected{
    height: 35px !important;
}  

#list_content thead tr td button{
    height: 35px !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    align-content: center;
}

#laporan_content .m-checkbox{
    padding-left: 1em;
}

#laporan_content .m-checkbox>input{
    position: relative !important;
}

span.form-total{
    max-height: 35px;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    align-content: center;
}

#list_content .table-responsive table tbody tr td:not(td:last-child){
    padding: 5px !important;
}

.table-bordered thead th, .table-bordered thead td{
    border-bottom-width: 1px !important;
}

html.bolder-text p, 
html.bolder-text h1,
html.bolder-text h2,
html.bolder-text h3,
html.bolder-text h4,
html.bolder-text h5,
html.bolder-text label,
html.bolder-text span,
html.bolder-text input,
html.bolder-text button,
html.bolder-text select,
html.bolder-text div,
html.bolder-text table{
    font-weight: bold !important;
}

html:not(.dark-mode) label.form-control,
html:not(.dark-mode) div.form-control,
html:not(.dark-mode) .m-radio span,
html:not(.dark-mode) .m-radio.m-radio--success>input:checked ~ span{
    border: 1px solid black;
}

html:not(.dark-mode) .m-radio.m-radio--success>span:after{
    border: solid black !important;
    background: black !important;
}

html .select-pilihan{
    min-height: 35px;
    max-height: 35px;
}

html:not(.dark-mode) input:not(.vs__search),
html:not(.dark-mode) select,
html:not(.dark-mode) textarea,
html:not(.dark-mode) .input-group-text,
html .select-pilihan,
html:not(.dark-mode) label.form-control:not(label.form-total),
html:not(.dark-mode) span.form-control{
    border-color: black !important;
    color: black;
}

html:not(.dark-mode) .border-bottom-light{
    border-bottom: 1px solid #dee2e6 !important;
}

input[type='number']{
    -moz-appearance: textfield;
    appearance: textfield;
}

html:not(.dark-mode) #m_header_nav span:not(.m-card-user__details span, span.m-dropdown__arrow.m-dropdown__arrow--right.m-dropdown__arrow--adjust, span.m-menu__arrow), 
html:not(.dark-mode) #m_header_nav li span:not(.m-card-user__details span, span.m-dropdown__arrow.m-dropdown__arrow--right.m-dropdown__arrow--adjust, span.m-menu__arrow), 
html:not(.dark-mode) #m_header_nav li select, 
html:not(.dark-mode) #m_header_nav i.m-menu__link-icon, 
html:not(.dark-mode) #m_header_nav span kbd, 
html:not(.dark-mode) #list_content table,
html:not(.dark-mode) #list_content table tr.active,
html:not(.dark-mode) #list_content label:not(label.m-checkbox),
html:not(.dark-mode) #list_content select, 
html:not(.dark-mode) #list_content span:not(.m-badge, button.btn-primary span, .bg-primary span, .bg-info span), 
html:not(.dark-mode) #list_content input, 
html:not(.dark-mode) #show_content label:not(label.m-checkbox, label.form-total),
html:not(.dark-mode) #show_content select,
html #show_content textarea,
html:not(.dark-mode) #show_content table,
html:not(.dark-mode) .input-group-text,
html .select-pilihan .vs__selected-options .vs__selected,
html:not(.dark-mode) #show_content input:not(input.form-total){
    color: black !important;
}

html.dark-mode #show_content .m-portlet__head-tools:not(.m-portlet__head-tools.action-buttons) a.active{
    background: transparent !important;
}

table.table-bordered{
    border-collapse: separate;
    border-spacing: 0;
}
/* @media screen and (min-width: 1024px){ */
    table.table-auto th, table.table-auto td:not(.td-pre-wrap){
        width: 1px;
        white-space: nowrap;
    }
    .td-pre-wrap{
        white-space: pre-wrap;
    }
    table.table-auto.crud-table{
        min-width: auto;
    }
/* } */
@-moz-document url-prefix() {
    #list_content{
        overflow-y: hidden;
    }
}

.sticky-top {
    position: sticky !important;
    top: 0;
    z-index: 998 !important;
}

.z-index-0 {
    z-index: 0 !important;
}

.sticky-left {
    position: sticky !important;
    left: 0;
}

.sticky-right {
    position: sticky !important;
    right: 0;
}

.sticky-top-header {
    position: sticky !important;
    top: 70px;
    z-index: 99;
}

.sticky-bottom {
    position: sticky;
    bottom: 0;
}

/* Custom Swal CSS */
html .swal2-container {
    z-index: 10600000;
}

@media screen and (min-width:1026px) {
    .vertical-center {
        margin: 0;
        position: absolute;
        top: 50%;
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
    }
    .center-action-button-show{
        position: absolute;
        left: 50%;
        transform: translate(-50%, -50%);
        top: 50%;
    }
}

@media screen and (max-width:1025px) {
    .vertical-center-mobile {
        margin: 0;
        position: absolute;
        top: 50%;
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
    }
}
input:focus, 
button:focus, 
textarea:focus, 
select:focus{
    border: 2px solid #ccc !important;
}
html.dark-mode .active_tab, html.dark-mode #show_content .m-portlet__head-tools:not(.m-portlet__head-tools.action-buttons) a.active_tab {
    background-color: rgb(17, 134, 169) !important;
    color: #f4f5f8;
}
.m-portlet__head-tools .btn-action{
    height: 40px;
}
.active_detil {
    background-color: rgb(147, 203, 219);
}
html:not(.dark-mode) #show_content .active_tab, html:not(.dark-mode) #show_content .active_detil{
    background: #ececec !important;
}

html #list_content select:disabled{
    opacity: 0.25 !important;
}

.active_detil input, .active_detil label, .active_detil select, 
html #show_content input:disabled, 
html #show_content select:disabled,
html #show_content textarea:disabled,
html.dark-mode #show_content input:disabled, 
html.dark-mode #show_content select:disabled,
html.dark-mode #show_content textarea:disabled,
html.dark-mode #laporan_content input.form-control, 
html.dark-mode #laporan_content select.form-control,
html.dark-mode #laporan_content textarea.form-control,
html #laporan_content input:disabled, 
html #laporan_content select:disabled,
html #laporan_content textarea:disabled,
html.dark-mode #laporan_content input:disabled, 
html.dark-mode #laporan_content select:disabled,
html.dark-mode #laporan_content textarea:disabled
{
    color: black;
}

html #show_content input:disabled, 
html #show_content select:disabled,
html #show_content textarea:disabled,
html #show_content .form-control.disabled,
html #show_content label.form-control,
html.dark-mode #show_content input:disabled, 
html.dark-mode #show_content select:disabled,
html.dark-mode #show_content textarea:disabled,
html.dark-mode #show_content .form-control.disabled,
html.dark-mode #show_content .form-control[disabled],
html.dark-mode #show_content label.form-control[disabled],
html.dark-mode #show_content label.form-control{
    background: #d7d7d769 !important;
}

html.dark-mode #show_content input:disabled, 
html.dark-mode #show_content select:disabled,
html.dark-mode #show_content textarea:disabled,
html.dark-mode #show_content .form-control.disabled,
html.dark-mode #show_content div.form-control.disabled label,
html.dark-mode #show_content .form-control[disabled],
html.dark-mode #show_content label.form-control[disabled],
html.dark-mode #show_content label.form-control{
    color: white !important;
}

#laporan_content i.fas.fa-calendar{
    color: black;
    background: white !important;
    max-height: 39px;
}

i.icon-center, html.dark-mode #show_content i.icon-center{
    position: absolute;
    color: black !important;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

html:not(.dark-mode) label:not(.bg-primary label, .bg-info label, label.form-total), 
html:not(.dark-mode) #show_content button:not(button.btn-primary, button.color-white, button[class*='btn-outline-']) i{
    color: #000000 !important;
}
html:not(.dark-mode) tr.bg-info label,
html:not(.dark-mode) tr.bg-primary label{
    color: white !important;
}

.active_bayar {
    background-color: rgb(147, 203, 219);
    color: #f4f5f8;
}

html #show_content label.form-control[disabled]{
    color: black !important;
}

html .vs__search,
html .vs__selected{
    margin-top: 0 !important;
    height: 100% !important;
}

html .vs__dropdown-toggle{
    height: 35px;
}

html .vs__actions{
    padding-top: 0 !important;
}

html .vs__actions svg{
    fill: black !important;
}

.color-white {
    color: white !important;
}

table.crud-table {
    min-width: 200%;
}

table th.th{
    background: #5867dd !important;
    color: white;
}

html.dark-mode table th.th{
    background: #2e489f;
}

table.crud-table:not(#m_table_show_fifo_1) thead tr th:last-child {
    width: 5%;
}

table.crud-table:not(#m_table_show_fifo_1) tbody tr td:last-child {
    display: inline-flex;
}

table.crud-table:not(#m_table_show_fifo_1) tbody tr td.not-inline {
    display: table-cell;
}

table.crud-table tbody tr td.not-inline div {
    display: inline-flex;
}

div.crud-table-div {
    height: 70vh;
}

table.crud-table thead {
    position: sticky;
    top: 0;
    z-index: 1;
}

table.crud-table:not(#m_table_show_fifo_1) thead tr th:last-child {
    width: 5%;
    padding: 0;
    text-align: center;
    position: sticky;
    top: 0;
    right: 0;
    background-color: #949ff5;
    border: none;
    z-index: 1;
}

html:not(.dark-mode) table.crud-table tbody tr td:last-child {
    width: 5%;
    padding: 0;
    text-align: center;
    position: sticky;
    right: 0;
    z-index: 0;
    background-color: white;
}

table.crud-table thead tr th:last-child div:not(div.mobile-mask) {
    border-left: 1px solid white;
    border-bottom: 0.5px solid white;
    border-top: 0.5px solid white;
    line-height: 40px;
}

table.crud-table thead tr:first-child th:nth-last-child(2) {
    border-right: none;
}

table.crud-table thead tr th.th-action {
    border-top: 1px solid white;
    border-bottom: 2px solid white;
}

table.crud-table tbody tr:hover td:last-child {
    background-color: #f7f8fa;
}

.page-item.active .page-link{
    max-height: 40px !important;
}

.page-item-prev .page-link, .page-item-next .page-link{
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

li.page-item-prev a.page-link::before {
    font-family: FontAwesome, 'Font Awesome 5 Free' !important;
    content: "\f053";
    font-size: 11px;
}

li.page-item-next a.page-link::before {
    font-family: FontAwesome, 'Font Awesome 5 Free' !important;
    content: "\f054";
    font-size: 11px;
}

li.page-item-prev a.page-link,
li.page-item-next a.page-link {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* .confirm-buttons>button,
.confirm-buttons>button:hover {
    background: #949ff5;
    border: none;
} */

.overflow-x-auto {
    overflow-x: auto;
}

button,
a.page-link,
a.nav-link,
.input-group .input-group-append a {
    cursor: pointer;
    user-select: none;
}

.vertical-center-right {
    right: 1em;
}

@media screen and (min-width: 767px) {
    .two-line-label {
        padding-top: 0.425em !important;
        padding-bottom: 0 !important;
    }
}

.cursor-pointer {
    cursor: pointer;
}

table .sticky-top {
    z-index: 1;
}

.bg-inherit{
    background: inherit !important;
}

.bg-smooth-blue {
    background-color: #ecccfc;
}

button.btn.color-info:hover:not(:disabled) {
    color: #36a3f7 !important;
}

.color-primary {
    color: #384ad7 !important;
}

div.m-portlet .m-portlet__head {
    min-height: 4em;
    height: 4em;
}

.btn.btn-outline-primary:hover,
.btn.btn-outline-danger:hover {
    color: white;
}

html i.color-white{
    color: white !important;
}


.highcharts-container,
.highcharts-root {
    width: 100% !important;
}

.highcharts-credits {
    display: none;
}

#list_content .m-portlet__head {
    border-bottom: 0;
}

#list_content .m-portlet__head-tools button h6 i {
    font-size: 15px;
}

#list_content .table-responsive {
    padding: .25rem;
}

#list_content .paginate-row,
#list_content .paginate-table {
    color: white;
}

#list_content .page-item.active .page-link {
    margin-left: -2px;
    max-height: 100%;
}

#non_transactional_list {
    height: calc(100vh - 70px);
}

#non_transactional_list .search-row {
    margin-bottom: 0 !important;
}

#non_transactional_list .search-row div:first-child {
    padding-right: 0;
}

#non_transactional_list .search-row div:last-child {
    padding-left: 0;
}

#non_transactional_list .search-row div:last-child div {
    margin: .5rem;
    margin-right: 0;
    margin-bottom: .5rem;
}

#non_transactional_list .table-wrapper {
    background: #5867dd;
    border-radius: 10px;
}

#non_transactional_list .table-responsive {
    background: white;
    border-radius: 5px;
    height: calc(100% - 100px);
}

#non_transactional_list table div:has(select[name='tabeldata_length']) {
    align-content: center;
}

#non_transactional_list select[name='tabeldata_length'] {
    max-height: calc(100% - .5em);
    padding: .5rem;
}

#show_content .dropdown-content{
    padding: .5rem !important;
    z-index: 1000;
}
#show_content .dropdown-content .m-demo-icon__preview{
    min-width: 35px;
}

#show_content .dropdown-content .m-demo-icon__preview:has(i.flaticon-doc){
    position: relative;
    left: -2.5px;
}

.no-before::before {
    content: none !important;
}

/* dataTable Class CSS */
html table.dataTable {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

kbd{
    padding: 0 !important;
    font-size: 12px !important;
    background: transparent !important;
}

html:not(html.dark-mode) kbd {
    background: rgb(244, 245, 248);
    color: rgb(103, 108, 123);
}

/* Just for Experiments (Dark Mode Only) */
html .m-aside-menu .m-menu__nav>.m-menu__item>.m-menu__link {
    padding: 9px 18px;
}

html .m-aside-menu .m-menu__nav>.m-menu__item>.m-menu__submenu .m-menu__subnav>.m-menu__item>.m-menu__link {
    padding: 0 15px;
    padding-left: 18px;
}
noscript strong {
    font-family: Poppins;
    -ms-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

button:disabled{
    cursor: not-allowed;
}

.input-group-append{
    margin-left: 0 !important;
}
/* Focus Shortkey Active */
div.table-responsive:not(div.m-invoice__table) tbody tr.active, 
div.table-responsive:not(div.m-invoice__table) tbody tr.active td, 
div.table-responsive:not(div.m-invoice__table) tbody tr:hover td {
    background-color: #f0f0f0 !important;
    color: #2c2c2c;
}
div.h-100{
    height: 100% !important;
}
/* @media (min-width: 1025px) {
    html.dark-mode body:not(.m-aside-left--minimize) #m_aside_left{
        min-width: 270px;
    }
    html.dark-mode body:not(.m-aside-left--minimize) .m-aside-left--fixed .m-body{
        padding-left: 270px;
    }
    html.dark-mode body:not(.m-aside-left--minimize) .m-wrapper{
        padding-left: 15px;
    }
    html.dark-mode .m-aside-menu .m-menu__nav>.m-menu__item>.m-menu__link{
        padding: 10px 20px;
    }
    html.dark-mode body:not(.m-aside-left--minimize) .m-stack.m-stack--desktop.m-stack--ver>.m-stack__item.m-brand.m-brand--skin-dark{
        width: 270px;
        padding-right: 0;
    }
    } */
/* End of Experimental CSS Line */
/* Form Floating */
  .form-floating {
    position: relative;
  }
  .form-floating > .form-control,
  .form-floating > .form-select {
    height: calc(3.5rem + 2px);
    line-height: 1.25;
  }
  .form-floating > label {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    padding: 1rem 0.75rem;
    pointer-events: none;
    border: 1px solid transparent;
    transform-origin: 0 0;
    transition: opacity 0.1s ease-in-out, transform 0.1s ease-in-out;
  }
  @media (prefers-reduced-motion: reduce) {
    .form-floating > label {
      transition: none;
    }
  }
  .form-floating > .form-control {
    padding: 1rem 0.75rem;
  }
  .form-floating > .form-control::-moz-placeholder {
    color: transparent;
  }
  .form-floating > .form-control::placeholder {
    color: transparent;
  }
  .form-floating > .form-control:not(:-moz-placeholder-shown) {
    padding-top: 1.625rem;
    padding-bottom: 0.625rem;
  }
  .form-floating > .form-control:focus,
  .form-floating > .form-control:not(:placeholder-shown) {
    /* padding-top: 1.625rem; */
    padding-bottom: 0.625rem;
  }
  .form-floating > .form-control:-webkit-autofill {
    padding-top: 1.625rem;
    padding-bottom: 0.625rem;
  }
  .form-floating > .form-select {
    padding-top: 1.625rem;
    padding-bottom: 0.625rem;
  }
  .form-floating > .form-control:not(:-moz-placeholder-shown) ~ label {
    opacity: 0.65;
    transform: scale(0.85) translateY(-1.75rem) translateX(0.15rem);
  }
  .form-floating > .form-control:focus ~ label,
  .form-floating > .form-control:not(:placeholder-shown) ~ label,
  .form-floating > .form-select ~ label {
    opacity: 0.65;
    transform: scale(0.85) translateY(-1.75rem) translateX(0.15rem);
  }
  .form-floating > .form-control:focus ~ label,
  .form-floating > .form-control:not(:placeholder-shown) ~ label{
    background-color: transparent;
    opacity: 1;
    height: max-content;
    margin-bottom: 0;
    padding: 0;
    top: 0;
  }
  .form-floating > .form-control:-webkit-autofill ~ label {
    opacity: 0.65;
    transform: scale(0.85) translateY(-1.75rem) translateX(0.15rem);
  }
  /* Modal */
  div.modal-backdrop{
    z-index: 999999;
  }
  /* Highcharts */
  .highcharts-root{
    font-family: 'Poppins' !important;
  }
  .highcharts-title, .highcharts-axis-labels.highcharts-xaxis-labels text{
    font-weight: 500;
  }
    /* Popup */
    .induk-popup{
        position: relative;
    }
    @keyframes fadeIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }
    .popup{
        position: absolute;
        top:-48px;
        left:36%;
        background-color: white;
        border-radius: 10px; 
        border: none;
        color: black;
        padding: 3px;
        display: none;
        animation: fadeIn 0.5s ease-in-out;
    }
    .induk-popup:hover > .popup{
        display: block !important;
    }
    /* Min Width CSS Rules */
    .mw-100px{
        min-width: 100px;
    }
    .mw-125px{
        min-width: 125px;
    }
    .mw-150px{
        min-width: 150px;
    }
    .mw-200px{
        min-width: 200px;
    }
    .mw-250px{
        min-width: 250px;
    }
    .mw-350px{
        min-width: 350px;
    }
    .mw-400px{
        min-width: 400px;
    }
    /* Table Fit Width Column CSS */
    .table-responsive table.table tr th, .table-responsive table.table tr td{
        white-space: nowrap;
    }
    html:not(.dark-mode) .input-group-append button {
        border-top: 1px solid black !important;
        border-right: 1px solid black !important;
        border-bottom: 1px solid black !important;
        border-left: none;
    }
/* Analytics Dashboard */
html #dashboard_page .m-subheader{
    padding-top: .5rem !important;
}

html #dashboard_page .m-content{
    padding-top: .25rem !important;
    padding-bottom: .25rem !important;
}

html #dashboard_page .m-content .row{
    margin-bottom: 0 !important;
}

html #dashboard_page .m-content .row .col-md-12{
    padding: 0 !important;
}

html #dashboard_page .card.shadow-sm{
    height: calc(100vh - 122px);
    min-height: 520px;
}

html #list_content th button{
    height: 25px;
    padding: 0 !important;
}

html:not(.dark-mode) .btn-transparent{
    color: black;
}

html:not(.dark-mode) #modal_content div.search-list a{
    color: black;
}

html:not(.dark-mode) #show_content .modal-content button:not(button.btn-primary, button.color-white, button[class*='btn-outline-']) i{
    color: white !important;
}