/* here you can put your own css to customize and override the theme */

.title-unit {
    background: black;
    color: yellow;
    font-weight: bold;
    font-family: "Century Gothic,CenturyGothic,AppleGothic,sans-serif";
    letter-spacing: 2px;

}

.title-web {
    background: #fdfddf;
    color: #0a428a;
    font-weight: bold;
    padding: 0px 10px 0px 10px;
}

.title-web small {
    color: #0a428a;
    font-weight: bold;
}

.title-white {
    color: white !important;
    font-weight: bold;
}

.control-labelh {
    margin-top: 4px;
    left: 4px !important;
}

.form-horizontal .control-labelh,
.form-horizontal .radio,
.form-horizontal .checkbox,
.form-horizontal .radio-inline,
.form-horizontal .checkbox-inline {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 15px;
}

.vertical-align-center2 {
    /* display: table-cell; */
    vertical-align: middle;
}

/* .form-bordered .control-labelh {
    padding-top: 16px;
} */

.block {
    display: block;
}

.hidden {
    display: none;
}

.checkbox-wrapper {
    padding: 0.4rem;
    border: 1px solid black;
    border-radius: .5rem;
    cursor: pointer;
}

.selected {
    background-color: rgb(29 78 216);
    color: white;
}

/* Premium modern active menu indicator instead of the old overlapping clunky arrow */
.page-sidebar-menu>li.active>a .selected {
    background-image: none !important;
    /* Remove old overlapping arrow image */
    background-color: #ffffff !important;
    /* Crisp white vertical indicator bar */
    width: 4px !important;
    height: 100% !important;
    position: absolute !important;
    left: 0 !important;
    /* Positioned elegantly on the LEFT edge of the active item */
    right: auto !important;
    top: 0 !important;
    display: block !important;
}


/* Keep legacy fixed footer from overlapping the main layout. */
@media (min-width: 992px) {
    body,
    .page-container,
    .page-content-wrapper,
    .page-content {
        background-color: #fff !important;
    }

    .page-container {
        padding-bottom: 56px !important;
    }

    .page-content {
        min-height: calc(100vh + 16px) !important;
        box-shadow: 0 6px 14px rgba(71, 73, 95, 0.025) !important;
    }

    .page-sidebar {
        position: fixed !important;
        top: 66px;
        bottom: 40px;
        width: 225px;
        margin-right: 0 !important;
        z-index: 900;
    }

    .page-sidebar.navbar-collapse {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding-top: 48px !important;
        padding-bottom: 48px !important;
    }

    .page-sidebar.navbar-collapse::-webkit-scrollbar {
        width: 0;
        height: 0;
    }

    /* Sidebar diciutkan: flyout pilih-modul harus bisa keluar dari sidebar,
       jangan terpotong overflow scroll di atas */
    .page-sidebar-closed .page-sidebar.navbar-collapse {
        overflow: visible !important;
    }

    /* Flyout submenu yang panjang dibatasi tinggi layar & bisa discroll sendiri */
    .page-sidebar-closed .page-sidebar-menu > li:hover > .sub-menu {
        max-height: calc(100vh - 170px);
        overflow-y: auto;
    }

    .page-sidebar .sidebar-toggler {
        margin-top: 0 !important;
    }

    .page-sidebar .page-sidebar-menu {
        padding-bottom: 56px !important;
    }

    .page-footer-fixed {
        padding-bottom: 0 !important;
    }
}
/* ===== Filter Riwayat CPPT: warna berbeda tiap tombol ===== */
/* Khusus cabang RMB (body[data-cabang="RMB"]) tidak kena style ini, tetap pakai btn-default/btn-info lama */
body:not([data-cabang="RMB"]) .filter_semua,
body:not([data-cabang="RMB"]) .filter_saya,
body:not([data-cabang="RMB"]) .filter_dokter,
body:not([data-cabang="RMB"]) .filter_dokter_spesialis,
body:not([data-cabang="RMB"]) .filter_dokter_umum,
body:not([data-cabang="RMB"]) .filter_perawat {
    border-width: 1px !important;
    border-style: solid !important;
    color: #fff !important;
    font-weight: 600;
    transition: background-color .15s ease-in-out, color .15s ease-in-out;
}

body:not([data-cabang="RMB"]) .filter_semua {
    background-color: #2b8fd6 !important;
    border-color: #2b8fd6 !important;
}

body:not([data-cabang="RMB"]) .filter_saya {
    background-color: #26a69a !important;
    border-color: #26a69a !important;
}

body:not([data-cabang="RMB"]) .filter_dokter,
body:not([data-cabang="RMB"]) .filter_dokter_spesialis {
    background-color: #8e5bd1 !important;
    border-color: #8e5bd1 !important;
}

body:not([data-cabang="RMB"]) .filter_dokter_umum {
    background-color: #5c6bc0 !important;
    border-color: #5c6bc0 !important;
}

body:not([data-cabang="RMB"]) .filter_perawat {
    background-color: #e08e0b !important;
    border-color: #e08e0b !important;
}

body:not([data-cabang="RMB"]) .filter_semua:hover,
body:not([data-cabang="RMB"]) .filter_saya:hover,
body:not([data-cabang="RMB"]) .filter_dokter:hover,
body:not([data-cabang="RMB"]) .filter_dokter_spesialis:hover,
body:not([data-cabang="RMB"]) .filter_dokter_umum:hover,
body:not([data-cabang="RMB"]) .filter_perawat:hover {
    opacity: .85;
}

/* State aktif (ditandai .filter-active / .btn-info oleh script filter): putih */
body:not([data-cabang="RMB"]) .filter_semua.filter-active,
body:not([data-cabang="RMB"]) .filter_semua.btn-info,
body:not([data-cabang="RMB"]) .filter_saya.filter-active,
body:not([data-cabang="RMB"]) .filter_saya.btn-info,
body:not([data-cabang="RMB"]) .filter_dokter.filter-active,
body:not([data-cabang="RMB"]) .filter_dokter.btn-info,
body:not([data-cabang="RMB"]) .filter_dokter_spesialis.filter-active,
body:not([data-cabang="RMB"]) .filter_dokter_spesialis.btn-info,
body:not([data-cabang="RMB"]) .filter_dokter_umum.filter-active,
body:not([data-cabang="RMB"]) .filter_dokter_umum.btn-info,
body:not([data-cabang="RMB"]) .filter_perawat.filter-active,
body:not([data-cabang="RMB"]) .filter_perawat.btn-info {
    background-color: #fff !important;
}

body:not([data-cabang="RMB"]) .filter_semua.filter-active,
body:not([data-cabang="RMB"]) .filter_semua.btn-info {
    color: #2b8fd6 !important;
    border-color: #2b8fd6 !important;
}

body:not([data-cabang="RMB"]) .filter_saya.filter-active,
body:not([data-cabang="RMB"]) .filter_saya.btn-info {
    color: #26a69a !important;
    border-color: #26a69a !important;
}

body:not([data-cabang="RMB"]) .filter_dokter.filter-active,
body:not([data-cabang="RMB"]) .filter_dokter.btn-info,
body:not([data-cabang="RMB"]) .filter_dokter_spesialis.filter-active,
body:not([data-cabang="RMB"]) .filter_dokter_spesialis.btn-info {
    color: #8e5bd1 !important;
    border-color: #8e5bd1 !important;
}

body:not([data-cabang="RMB"]) .filter_dokter_umum.filter-active,
body:not([data-cabang="RMB"]) .filter_dokter_umum.btn-info {
    color: #5c6bc0 !important;
    border-color: #5c6bc0 !important;
}

body:not([data-cabang="RMB"]) .filter_perawat.filter-active,
body:not([data-cabang="RMB"]) .filter_perawat.btn-info {
    color: #e08e0b !important;
    border-color: #e08e0b !important;
}
