﻿﻿ /* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */
a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 12px;
    line-height: 0.75;
}

@media (min-width: 768px) {
    html {
        font-size: 12px;
    }
}



.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    /* Set the fixed height of the footer here */
    height: 60px;
    line-height: 60px; /* Vertically center the text there */
}


table {
    width: 100%;
}

td {
    /*height: 30px;*/
    padding: 0px 0px 0px 0px;
    margin: 0px;
    height: 0px;
}

th {
    /*height: 30px;*/
    padding: 0px 0px 0px 0px;
    margin: 0px;
    height: 0px;
}

button {
    padding: 5px 5px;
    margin: 1px 5px;
}


#mydatatables tbody tr td {
    height: 5px !important;
}

/* ------------------- image */
.object-fit_fill {
    object-fit: fill
}

.object-fit_contain {
    object-fit: contain
}

.object-fit_cover {
    object-fit: cover
}

.object-fit_none {
    object-fit: none
}

.object-fit_scale-down {
    object-fit: scale-down
}

img {
    height: 120px;
    background-color: #444;
}

    img[class] {
        width: 100%;
    }

.original-image {
    margin-bottom: 50px;
}

.circle {
    width: 120px !important;
    height: 120px !important;
    border-radius: 20%;
}

.circleOnTable {
    width: 75px !important;
    height: 75px !important;
    border-radius: 50%;
}

.image {
    float: left;
    width: 40%;
    margin: 0 30px 20px 0;
    /* &:nth-child(2n)
    {
    clear: left;
}
&:nth-child(2n+1) {
    margin-right: 0;*/
}



/* BTN LINK*/

/*.btn-link {
    margin-top: 0;
    margin-bottom: 0;
    border-color:aqua;
        border-bottom-style:dashed*/
/* define values in pixels / Percentage or em. whatever suits        your requirements */
/*}*/


/* hr*/
hr.new1 {
    border-top: 1px solid red;
}

/* Dashed red border */
hr.new2 {
    border-top: 1px dashed red;
}

/* Dotted red border */
hr.new3 {
    border-top: 1px dotted red;
}

/* Thick red border */
hr.new4 {
    border: 1px solid red;
}

/* Thick red border */
hr.ln1red {
    border: 1px solid red;
}

hr.ln1orange {
    border: 1px solid orange;
}

hr.ln1green {
    border: 0.5px solid green;
}

/* Thick red border */
hr.ln2red {
    border: 2px solid red;
}

hr.ln2orange {
    border: 2px solid orange;
}

hr.ln2green {
    border: 2px solid green;
}

/* Large rounded green border */
hr.new5 {
    border: 2px solid green;
    border-radius: 5px;
}


/* H2*/
h2.red-text {
    color: red;
}

h2.orange-text {
    color: orange;
}

h2.green-text {
    color: green;
}


/* H3*/
h3.red-text {
    color: red;
}

h3.orange-text {
    color: orange;
}

h3.green-text {
    color: green;
}



.btnpointer {
    cursor: pointer;
}


/* Sign */

.modal-body {
    max-height: 75vh; /* Maksimum tinggi 75% dari viewport */
    overflow-y: auto; /* Aktifkan scroll vertikal jika kontennya lebih panjang */
}

.modal-wide {
    max-width: 90%; /* Atau persentase lainnya sesuai kebutuhan */
}

.label-danger {
    color: red;
}

.label-warning {
    color: yellow;
}

.label-success {
    color: darkgreen;
}

.label-info {
    color: blue;
}

/* General scrollable div styles */
.scrollable-div {
    overflow-y: auto; /* Enables vertical scrolling */
    overflow-x: auto; /* Enables horizontal scrolling if needed */
    max-height: 400px; /* Adjust this height based on your requirements */
    max-width: 100%; /* Optional: Adjust width as needed */
    border: 1px solid #e5e5e5; /* Optional: Adds border around the scrollable area */
    padding: 10px; /* Optional: Adds padding inside the div */
    box-sizing: border-box; /* Ensures padding is included in the width/height calculation */
}

    /* Optional: Sticky header for content inside the scrollable div */
    .scrollable-div .sticky-header {
        position: sticky;
        top: 0;
        background-color: white; /* Ensures the sticky header stays visible */
        z-index: 1;
        padding: 5px 0; /* Optional: Adjusts padding for the sticky header */
        border-bottom: 1px solid #e5e5e5; /* Adds a border below the sticky header */
    }


.user-select-all {
    user-select: all;
}

/* Mencegah seleksi teks di header */
table.dataTable {
    table-layout: auto; /* Mengizinkan penyesuaian ukuran kolom */
}

    table.dataTable th {
        user-select: none;
    }



.font-xl {
    font-size: 24px; /* Besar font untuk nama pasien */
    font-weight: normal; /* Tambahkan ketebalan teks jika diperlukan */
    font-family: 'Cambria', serif; /* Jenis font Cambria */
}

.font-xl-bold {
    font-size: 24px; /* Besar font untuk nama pasien */
    font-weight: bold !important; /* Paksa ketebalan teks */
    font-family: 'Cambria', serif; /* Jenis font Cambria */
}

.font-md {
    font-size: 20px; /* Besar font untuk nomor rekam medis */
    font-weight: normal; /* Ketebalan teks default */
    font-family: 'Cambria', serif; /* Jenis font Cambria */
}

.font-md-bold {
    font-size: 20px; /* Besar font untuk nomor rekam medis */
    font-weight: bold !important; /* Paksa ketebalan teks */
    font-family: 'Cambria', serif; /* Jenis font Cambria */
}

.font-sm {
    font-size: 14px; /* Gunakan untuk teks kecil */
    font-weight: normal; /* Ketebalan teks default */
    font-family: 'Cambria', serif; /* Jenis font Cambria */
}

.font-sm-bold {
    font-size: 14px; /* Gunakan untuk teks kecil */
    font-weight: bold !important; /* Paksa ketebalan teks */
    font-family: 'Cambria', serif; /* Jenis font Cambria */
}

.font-xs {
    font-size: 12px !important; /* Gunakan untuk teks kecil */
    font-weight: normal; /* Ketebalan teks default */
    font-family: 'Cambria', serif; /* Jenis font Cambria */
}

.font-xs-bold {
    font-size: 12px; /* Gunakan untuk teks kecil */
    font-weight: bold !important; /* Paksa ketebalan teks */
    font-family: 'Cambria', serif; /* Jenis font Cambria */
}

.btn.font-xl {
    font-size: 24px !important; /* Override aturan Bootstrap dengan !important */
    font-family: 'Cambria', serif;
}

.btn.font-md {
    font-size: 20px !important; /* Override aturan Bootstrap dengan !important */
    font-family: 'Cambria', serif;
}

.btn.font-sm {
    font-size: 16px !important; /* Override aturan Bootstrap dengan !important */
    font-family: 'Cambria', serif;
}


.scrollable-card {
    max-height: 80vh; /* Restrict the height */
    overflow-y: auto; /* Enable vertical scrolling */
    overflow-x: hidden; /* Hide horizontal scroll if content overflows */
    padding: 10px; /* Add some padding */
    box-sizing: border-box; /* Padding is included within height/width */
}

/* Make table scrollable (only when it overflows) */
.scrollable-table {
    display: block; /* Force the table to act like a block element */
    width: 100%; /* Ensure the table width fits its container */
    overflow-y: auto; /* Allow vertical scrolling if needed */
    overflow-x: auto; /* Allow horizontal scrolling if the table overflows */
    max-height: 70vh; /* Adjust height of the table container */
    border-collapse: collapse; /* Make table look compact */
}

    /* Scrollbar styles (optional, for modern browsers) */
    .scrollable-card::-webkit-scrollbar,
    .scrollable-table::-webkit-scrollbar {
        width: 8px;
    }

    .scrollable-card::-webkit-scrollbar-thumb,
    .scrollable-table::-webkit-scrollbar-thumb {
        background: #aaa; /* Customize scrollbar thumb color */
        border-radius: 4px;
    }

    .scrollable-card::-webkit-scrollbar-track,
    .scrollable-table::-webkit-scrollbar-track {
        background: #f0f0f0; /* Customize scrollbar track color */
    }


.timeline {
    list-style-type: none;
    padding-left: 0;
    position: relative;
    font-family: 'Cambria', serif;
}

    .timeline:before {
        content: "";
        position: absolute;
        left: 50%;
        top: 0;
        height: 100%;
        border-left: 2px solid #00aaff;
        width: 0;
        z-index: 0;
    }

    .timeline > li {
        position: relative;
        margin-bottom: 30px;
        padding-left: 25%;
    }

        .timeline > li:nth-child(odd) {
            padding-left: 0;
            padding-right: 25%;
        }

        .timeline > li > .timeline-content {
            background-color: #fff;
            padding: 20px;
            border-radius: 6px;
            box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
            position: relative;
            z-index: 1;
        }

            .timeline > li > .timeline-content .date {
                font-size: 12px;
                color: #777;
                margin-bottom: 10px;
            }

            .timeline > li > .timeline-content .title {
                font-size: 16px;
                font-weight: bold;
            }

            .timeline > li > .timeline-content .description {
                font-size: 14px;
                color: #555;
            }

            .timeline > li > .timeline-content button {
                margin-top: 10px;
            }

.timeline-content .description {
    margin-bottom: 10px; /* Memberi jarak antar elemen */
}

    .timeline-content .description div {
        display: block; /* Mengubah setiap pasangan label dan isi menjadi blok */
        margin-bottom: 8px; /* Menambah jarak antar elemen */
    }

    .timeline-content .description span.label {
        font-weight: bold; /* Menonjolkan label */
        display: inline-block; /* Agar label tetap dalam satu baris */
        margin-bottom: 4px; /* Jarak kecil dengan konten */
        text-align: left; /* Pastikan label rata kiri */
    }

    .timeline-content .description span.value {
        display: block; /* Konten ditampilkan di bawah label */
        text-align: left; /* Rata kiri untuk isi */
        white-space: pre-wrap; /* Mempertahankan format seperti baris baru dan spasi */
    }


.diagnosa-item, .prosedur-item {
    margin-bottom: 1px;
}

.badge-primary {
    background-color: #007bff;
    color: white;
    font-size: 1rem;
}

.badge-secondary {
    background-color: #6c757d;
    color: white;
    font-size: 1rem;
}


.poli-box {
    width: 200px;
    height: 120px;
    background-color: #f9f9f9;
    border: 2px solid #ccc;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

    .poli-box:hover {
        background-color: #e0e0e0;
    }