#app {
    height: 100vh;
}

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

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

@-moz-document url-prefix() {
    #list_content{
        overflow-y: hidden;
    }
    table.table-bordered{
        border-collapse: separate;
        border-spacing: 0;
    }
}

.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;
}

.rounded-50{
    border-radius: 50% !important;
}

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

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

@media screen and (max-width:1025px) {
    .vertical-center-mobile {
        margin: 0;
        position: absolute;
        top: 50%;
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
    }
}

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

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

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;
    z-index: 2;
}

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: 5;
}

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: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;
}

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;
}

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;
    }
}

@media screen and (max-width: 767px) {
    #m_header_nav{
        display: none;
    }
}
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;
}
.cursor-pointer {
    cursor: pointer;
}

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

.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;
}

.m-portlet__head-tools button,
.m-portlet__head-tools a {
    border: none !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;
}

#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;
}

.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:not(html.dark-mode) .m-stack.m-stack--desktop.m-stack--ver>.m-stack__item, html:not(html.dark-mode) #scroll_mobile, html:not(html.dark-mode) #scroll_mobile .m-menu__link{
    background: #07275A;
}

html:not(html.dark-mode) #scroll_mobile .m-menu__link-text, html:not(html.dark-mode) #scroll_mobile .m-menu__link-icon{
    color: white !important;
}

html:not(html.dark-mode) #scroll_mobile .m-menu__link.m-menu__toggle,
html:not(html.dark-mode) #scroll_mobile .m-menu__link.router-link-active{
    background: #07277F !important;
}

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 */
tr.active {
    background-color: #f0f0f0;
    color: #2c2c2c;
}
/* @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: 10000;
  }
  .multi-select{
    display: table;
  }
  .multi-select-header-placeholder{
    font-size: 11px;
  }
  .multi-select .multi-select-header{
    min-height: 40px;
    flex-wrap: nowrap;
    text-align: center;
    border-radius: 0;
  }
  .multi-select .multi-select-header .multi-select-header-option{
    background: #2E48CB;
    font-size: 12px;
    color: white;
  }
  .multi-select .multi-select-options .multi-select-option .multi-select-option-text{
    font-size: 11px;
  }
  .multi-select .multi-select-option{
    padding: 0.25em !important;
  }
  .multi-select .multi-select-options .multi-select-option.multi-select-selected .multi-select-option-radio{
    background-color: #2E48CB;
  }
  .multi-select .multi-select-options .multi-select-option.multi-select-selected .multi-select-option-radio::after{
    width: 5px;
    height: 8px;
  }
  .multi-select .multi-select-options .multi-select-option.multi-select-selected .multi-select-option-text{
    color: inherit;
  }
  table.crud-table#list_bagian thead tr th.th-action{
    border-bottom-width: 1px !important;
  }
    /* Chrome, Safari, Edge, Opera */
    input.no-arrow::-webkit-outer-spin-button,
    input.no-arrow::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    /* Firefox */
    input.no-arrow[type=number] {
        appearance: textfield;
        -moz-appearance: textfield;
    }

    @-moz-document url-prefix() {
        .align-middle-ff {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 100%;
        }
        .display-ruby-ff{
            display: ruby;
        }
        body .h-max-content-ff{
            height: max-content !important;
        }
    }

    /* Etc */
    .fs-20{
        font-size: 20px !important;
    }
    .span-link{
        text-decoration: underline;
        cursor: pointer;
    }
    li.tabs-component-tab a.tabs-component-tab-a{
        user-select: none;
    }
    li.tabs-component-tab.is-active a.tabs-component-tab-a.is-active{
        pointer-events: none;
        cursor: default;
    }
    html:not(.dark-mode) li:has(a.m-menu__item--active){
        background: #072720 !important;
    }
    html:not(html.dark-mode) #scroll_mobile li a.m-menu__link.router-link-active.m-menu__item--active{
        background: none !important;
    }
    /* Input Time */
    .timepicker {
        border: 1px solid rgb(163, 175, 251);
        text-align: center;
        border-radius: 4px;
        padding:2px;
        height: 32px;
        display: block;
        align-content: center;
        border-radius: 0;
    }

    .timepicker .hh, .timepicker .mm {
        width: 30px;
        outline: none;
        border: none;
        text-align: center;
    }

    html.dark-mode .timepicker .hh, html.dark-mode .timepicker .mm{
        background: inherit;
        color: white;
    }

    .timepicker.valid {
        border: solid 1px springgreen;
    }

    .timepicker.invalid {
        border: solid 1px red;
    }