body{
    font-size: 0.8rem;
    
}

body::after{
    /*background-image: url("/assets/img/pattern.png");*/
    background-position: center; 
    background-repeat: no-repeat; 
    /*background-size: cover;*/
    background-color: #3e50a2;
    content: "";
    opacity: 0.9;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: -1; 
}

body::after{
    opacity: 1;
}

/*Sidebar */
.kms-brand-logo-only,
.kms-sidebar-brand {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 57px;
    padding: 0.55rem 0.8rem;
}

.kms-brand-logo-only {
    justify-content: center;
}

.kms-brand-logo {
    display: block;
    width: 38px;
    height: 38px;
    max-width: 38px;
    object-fit: contain;
    object-position: center;
    flex-shrink: 0;
}

.kms-brand-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin-left: 0.55rem;
    color: #ffffff;
    line-height: 1.15;
}

.kms-brand-title {
    font-weight: 400;
    letter-spacing: 0.08rem;
    font-size: 0.88rem;
}

.kms-brand-subtitle {
    margin-top: 0.15rem;
    font-size: 0.78rem;
    white-space: normal;
    overflow-wrap: anywhere;
    opacity: 0.88;
}

.sidebar-collapse .main-sidebar:hover .kms-brand-text {
    display: flex;
}

.sidebar-collapse .main-sidebar:not(:hover) .kms-brand-text {
    display: none;
}

.sidebar-collapse .main-sidebar:not(:hover) .kms-sidebar-brand {
    justify-content: center;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.kms-sidebar-user-panel .info {
    padding-left: 0.55rem;
}

.sidebar-collapse .main-sidebar:not(:hover) .kms-sidebar-user-panel .image {
    margin-left: 0.5rem;
}

.nav-sidebar>.nav-item .nav-icon.fa, .nav-sidebar>.nav-item .nav-icon.fab, .nav-sidebar>.nav-item .nav-icon.fad, .nav-sidebar>.nav-item .nav-icon.fal, .nav-sidebar>.nav-item .nav-icon.far, .nav-sidebar>.nav-item .nav-icon.fas, .nav-sidebar>.nav-item .nav-icon.ion, .nav-sidebar>.nav-item .nav-icon.svg-inline--fa {
    font-size: 0.8rem;
}

.nav-sidebar .nav-link>p>.right {
    right: 0.5rem;
    top: 0.8rem;
}

.nav-link {
    padding: 0.5rem 0.1rem;
}

.nav-sidebar .nav-header {
    font-size: .9rem;
    padding: 0.5rem 0rem;
}
.nav-sidebar>.nav-item .nav-icon {
    margin-left: 0rem;
    margin-right: -0.1rem;
}

.nav-sidebar .menu-open{
    background-color: #494e53;
    border-radius: 3px;
}

.nav-sidebar .nav-treeview>.nav-item>.nav-treeview>.nav-item>.nav-link {
    padding: 0.5rem 1.1rem;
}

/*.nav-sidebar .nav-treeview>.nav-item>.nav-treeview>.nav-item>.nav-link.active {
    background-color: #007bff;
    color: #fff;
}*/

.nav-sidebar .nav-treeview>.nav-item>.nav-link.active,
.nav-sidebar .nav-treeview>.nav-item>.nav-link.active:focus,
.nav-sidebar .nav-treeview>.nav-item>.nav-link.active:hover {
    background-color: #007bff;
    color: #fff;
}


/*.nav-treeview>.nav-item>.nav-link.active, 
.nav-treeview>.nav-item>.nav-link.active:focus, 
.nav-treeview>.nav-item>.nav-link.active:hover {
    background-color: #007bff;
    color: #fff;
}*/

.content-header h1 {
    font-size: 1.5rem;
}

.card-title {
    font-size: 1.1rem;
}

.card-header {
    padding: .4rem 1.25rem;
}

.content-header {
    padding: 15px .5rem 4px .5rem;
}

.table td, .table th {
    padding: 0.4rem;
}

.logo-login{
    display: block;
    max-width: 100%;
    height: auto;
}

.header-login{
    position: relative;
    overflow: hidden;
    background: #2a3545;
}

.header-login-inline {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    line-height: 1;
    min-height: 76px;
    padding: 0.9rem 1.35rem;
}

.logo-login-inline {
    height: auto;
    width: auto;
    display: block;
    max-width: 54px;
    max-height: 54px;
    filter: none;
}

.login-brand-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    color: #fff;
    text-align: left;
    line-height: 1.15;
}

.login-brand-title {
    display: block;
    font-size: 1.05rem;
    font-weight: 400;
    letter-spacing: 0.08em;
}

.login-brand-subtitle {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.82rem;
    font-weight: 400;
    opacity: 0.92;
    white-space: normal;
}

.mylogin-box-msg, .myregister-box-msg {
    padding: 0 0px 20px;
}

.form-control {
    font-size: 0.82rem !important;
}

.btn {
    font-size: 0.8rem !important;
}

.invalid-feedback {
    font-size: 0.82rem !important;
}

.loading-background {
    z-index: 9999999 !important;
}

.kms-topbar-context-title {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kms-role-switch-icon {
    margin-right: 0.25rem;
}

@media (max-width: 575.98px) {
    .main-header.navbar {
        min-height: 46px;
    }

    .kms-topbar-context-title {
        max-width: calc(100vw - 150px);
        font-size: 0.82rem;
        line-height: 1.15;
    }

    .kms-role-switch-button {
        width: 32px;
        height: 30px;
        padding-left: 0;
        padding-right: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .kms-role-switch-icon {
        margin-right: 0;
    }

    .kms-role-switch-label {
        display: none;
    }
}

/*.mylogin-page {
    background: #4483be !important;
}*/

.register-page {
    height: 100% !important;
    
}

.login-page {
    background: #13141300 !important;
}

.mylogin-page {
    background: transparent !important;
}

body.login-page {
    background: #13141300 !important;
}

.mylogin-page::before {
    content: none;
}

.mylogin-page::after {
    content: none;
}

.mylogin-page .login-box {
    position: relative;
    z-index: 1;
}

.mylogin-page .login-box {
    width: 390px;
    max-width: calc(100vw - 1.5rem);
}

@media (max-width: 575.98px) {
    .mylogin-page .login-box {
        width: calc(100vw - 1.5rem);
        margin-left: auto;
        margin-right: auto;
    }
}

.modal-title {
    font-size: 0.95rem;
}

.form-group-filter{
    margin: 0px !important
}

.dt-head-center{
    vertical-align: middle !important;
}

.font-nol-koma-sembilan {
    font-size: 0.9rem;
}

.nav-link-tab {
    padding: 0.5rem 0.5rem;
}

.profile-instansi-img {
    border: 3px solid #adb5bd;
    margin: 0 auto;
    padding: 3px;
    max-width: 200px;
    border-radius: 10px;
}

table.sortable > thead > tr > th:not(.sorting_disabled),
table.sortable > thead > tr > td:not(.sorting_disabled) {
  padding-right: 20px;
}
table.sortable > thead .sorting,
table.sortable > thead .sorting_asc,
table.sortable > thead .sorting_desc,
table.sortable > thead .sorting_asc_disabled,
table.sortable > thead .sorting_desc_disabled {
  cursor: pointer;
  position: relative;
}
table.sortable > thead .sorting:before, table.sortable > thead .sorting:after,
table.sortable > thead .sorting_asc:before,
table.sortable > thead .sorting_asc:after,
table.sortable > thead .sorting_desc:before,
table.sortable > thead .sorting_desc:after,
table.sortable > thead .sorting_asc_disabled:before,
table.sortable > thead .sorting_asc_disabled:after,
table.sortable > thead .sorting_desc_disabled:before,
table.sortable > thead .sorting_desc_disabled:after {
  position: absolute;
  bottom: 35%;
  margin: auto 0;
  display: block;
  opacity: 0.3;
}
table.sortable > thead .sorting:before,
table.sortable > thead .sorting_asc:before,
table.sortable > thead .sorting_desc:before,
table.sortable > thead .sorting_asc_disabled:before,
table.sortable > thead .sorting_desc_disabled:before {
    right: 1em;
    content: "↑";
}
table.sortable > thead .sorting:after,
table.sortable > thead .sorting_asc:after,
table.sortable > thead .sorting_desc:after,
table.sortable > thead .sorting_asc_disabled:after,
table.sortable > thead .sorting_desc_disabled:after {
    right: 0.5em;
    content: "↓";
}
table.sortable > thead .sorting_asc:before,
table.sortable > thead .sorting_desc:after {
  opacity: 1;
}
table.sortable > thead .sorting_asc_disabled:before,
table.sortable > thead .sorting_desc_disabled:after {
  opacity: 0;
}

.modal-open {
    overflow: visible !important; 
}

.btn-xs{
    margin-bottom: 1px !important;
}

.react-datepicker-wrapper{
    display: block !important;
    width: 100% !important;
}

.badge-font{
    font-size: 8pt
}

/* Timeline overrides */
.timeline.timeline--flush::before {
    left: 13px;
}

.timeline.timeline--flush > div {
    margin-right: 0;
}

.timeline.timeline--flush {
    margin-bottom: 0;
    padding-bottom: 0;
}

.timeline.timeline--flush > div:last-child {
    margin-bottom: 0;
}

.timeline.timeline--flush > div > .timeline-item {
    margin-left: 40px;
    margin-right: 0;
}

.timeline.timeline--flush > div > .fa,
.timeline.timeline--flush > div > .fas,
.timeline.timeline--flush > div > .far,
.timeline.timeline--flush > div > .fab,
.timeline.timeline--flush > div > .fal,
.timeline.timeline--flush > div > .fad,
.timeline.timeline--flush > div > .svg-inline--fa,
.timeline.timeline--flush > div > .ion {
    left: 0;
}
