﻿:root {
    --dark: #212529;
    --yellow: #FFC800;
    --blue: #0375B4;
    --green: #007849;
    --blue-dark: rgb(2, 80, 121);
    --light-yellow: rgba(255, 203, 117, 0.1);
}

.rounded-top-left {
    border-top-left-radius: 0.40rem;
}

.rounded-top-right {
    border-top-right-radius: 0.40rem;
}

.bg-light {
    background-color: #f8f9fa !important;
}

.rounded-bottom-left {
    border-bottom-left-radius: 0.40rem;
}

.rounded-bottom-right {
    border-bottom-right-radius: 0.40rem;
}

.mh-1 {
    min-height: 1rem;
}

.mh-2 {
    min-height: 2rem;
}

.mh-3 {
    min-height: 3rem;
}

.mh-4 {
    min-height: 4rem;
}

.investigation-category-name {
    font-size: 1.5rem;
}

.item-component-container {
    page-break-inside: avoid;
}

.text-dark {
    color: var(--blue-dark) !important;
}

.vh-50-scrollable {
    max-height: 50vh;
    overflow-y: auto;
    overflow-x: hidden;
}

.w-parent {
    width: calc(100% - 1.5rem);
}

.vh-100-scrollable {
    max-height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
}

.vh-75-scrollable {
    max-height: 75vh;
    overflow-y: auto;
    overflow-x: hidden;
}

.d-print-block .condensed .table > :not(caption) > * > * {
    padding-top: 0;
    padding-bottom: 0;
}

.d-print-block {
    background-color: white !important;
}

.invert {
    filter: invert(1);
}

.tab-heading {
    font-size: 1.5rem;
    font-weight: 500;
}

.hoc-background {
    background-image: url('../images/hospital-on-cloud.jpg');
    width: 100%;
    height: 100%;
    object-fit: cover
}

.min-vh-30 {
    min-height: 30vh;
}

.tab-pane {
    padding: 1em;
    background-color: var(--light-yellow);
    border: 1px var(--blue) solid;
    border-top: none;
}

    .tab-pane .form-control, .tab-pane .form-select {
        background-color: white;
    }

table {
    page-break-inside: auto;
}

tr {
    page-break-inside: avoid;
    page-break-after: auto;
}

thead {
    display: table-header-group;
}

ul.dropdown-menu li.selected .dropdown-item {
    background-color: var(--blue);
    color: white;
}

.patient-services-list {
    max-height: 100vh;
    overflow: auto;
}

.date-time-control {
    width: 15em;
}

.quantity-control {
    width: 3em;
}

.investigation-header, .investigation-component-header {
    font-size: 1.2em;
    font-weight: bold;
}

ul.investigation-range {
    list-style-type: none;
    padding-inline-start: 0;
}

.letter-head-small-subheading {
    font-size: 10px;
}

ul.item-component-reference {
    list-style-type: none;
    margin: auto;
    padding-inline-start: 0;
}

ul.consultation-multi-choice {
    list-style-type: none;
    margin: auto;
    padding-inline-start: 0;
}

    ul.consultation-multi-choice li.choice {
        float: left;
        background-color: var(--blue);
        color: white;
        border-radius: 30px;
        padding: 6px 15px;
        margin: 5px 5px 5px 0px;
    }

        ul.consultation-multi-choice li.choice button.choice-remove {
            color: unset;
            border: none;
            background: unset;
        }




.accordion-button:not(.collapsed), .accordion-button {
    color: var(--blue-dark);
    background-color: rgba(255, 203, 117, 0.3);
    box-shadow: inset 0 -1px 0 rgb(0 0 0 / 13%);
}

.software-credit {
    font-size: 11px;
}

.rotate-90 {
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
}

.text-bold {
    font-weight: bold;
}

.investigation-container {
    /*    max-height: 60vh;
    overflow-y: auto;*/
}

.border-bottom {
    border-bottom: 1px solid black !important;
}

.border-top {
    border-top: 1px solid black !important;
}

.nav-tabs {
    border-bottom: 1px solid var(--blue);
}

    .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
        background-color: var(--blue);
        color: white !important;
        border-color: var(--blue) var(--blue) var(--blue);
    }

    .nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover {
        border-color: var(--blue) var(--blue) var(--blue);
        isolation: isolate;
    }

.display-4 {
    font-weight: 700;
}

.cursor-pointer {
    cursor: pointer;
}

.btn-icon {
    padding: 0;
}

.chart-container-wide {
    position: relative;
    width: 100vw;
    height: 500px;
}

.underline {
    border-bottom: 1px solid black !important;
    padding-left: 5px;
    padding-right: 5px;
}


.small-font {
    font-size: 10px;
}

.print-container {
    font-family: Montserrat;
    color: black !important;
}

hr {
    margin: 0.25rem 0;
    color: black;
    border: 0;
}

.print-logo {
    position: absolute;
    left: 1rem;
    top: -0.5rem;
}

@media print {
    body {
        font-family: Montserrat;
        color: black;
    }

    .table td {
        padding-top: 2px;
        padding-bottom: 2px;
    }

    footer {
        font-size: 10px;
    }

    table > tbody > tr > th, table > tbody > tr > td {
        color: black;
        padding-top: 0;
        padding-bottom: 0;
    }

    .table-bordered td, .table-bordered th {
        border: 1px solid black !important;
    }

    .page-break {
        page-break-before: always;
        font-size: 10px;
        padding-top: 5mm;
    }

    .print-border {
        padding: 20px;
        border: 4px solid black;
    }

    hr {
        border-top: 1px solid black;
    }
}

.card-body {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.card-admission-existing-item .card-body a.btn {
    text-decoration: none;
    padding: 0 !important;
    width: 100%;
    margin-bottom: 0.7em;
}

.clickable {
    cursor: pointer;
}

.card-admission-existing-item.card:hover {
    background-color: var(--blue);
}

    .card-admission-existing-item.card:hover .card-body a.btn {
        color: white !important;
    }

.card-body.clickable {
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.no-border {
    border: none;
}

body {
    padding-top: 70px;
    font-family: Montserrat;
    font-size: 14px;
    color: var(--blue-dark);
}

.mce-content-body {
    font-family: Montserrat;
    color: var(--blue-dark);
}


.card-body .material-icons {
    font-size: 50px !important;
    line-height: 1;
}

.material-icons {
    font-size: 18px !important;
    line-height: 0.5;
}

.card-room-info, .bg-light-yellow {
    background-color: rgba(255, 203, 117, 0.3);
}

.bg-red {
    background-color: rgba(255, 0, 0, 0.2);
}

.card-days {
    position: absolute;
    right: 0;
    bottom: -2rem;
    font-weight: 800;
    font-size: 100px;
    color: rgba(0, 0, 255, 0.1);
}

.bg-green {
    background-color: rgba(0, 255, 0, 0.2);
}

.bg-blue {
    background-color: var(--blue);
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255,255,255,.75);
}

    .navbar-dark .navbar-nav .nav-link:focus, .navbar-dark .navbar-nav .nav-link:hover {
        color: rgba(255,255,255, 1);
    }

.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

.dl-horizontal dt {
    white-space: normal;
}

.nowrap {
    white-space: nowrap;
}

/* Set width on the form input elements since they're 100% wide by default */


.navbar .navbar-brand {
    font-weight: 700;
}

.btn {
    border-radius: 4px;
    font-size: 14px;
}

.btn-dark {
    color: #fff;
    background-color: var(--blue);
    border-color: var(--blue);
}

    .btn-check:active + .btn-dark, .btn-check:checked + .btn-dark, .btn-dark.active, .btn-dark:active, .show > .btn-dark.dropdown-toggle, .btn-dark:hover, .btn-outline-dark:hover {
        color: #fff;
        background-color: var(--blue-dark);
        border-color: var(--blue-dark);
    }

.btn-outline-dark {
    color: var(--blue);
    border-color: var(--blue);
}


.text-danger.field-validation-error, .text-danger.validation-summary-errors {
    font-size: 0.85rem;
}

.footer {
    padding-top: .5rem;
    padding-bottom: .5rem;
}

.form-control.input-validation-error, .form-select.input-validation-error {
    background-color: rgba(255, 0, 0, 0.05);
    border-color: red;
}

.form-control, .form-select {
    color: var(--blue-dark);
    /*background-color: rgba(2, 80, 121, 0.04);*/
    background-color: white;
    border: 1px solid rgba(2, 80, 121, 0.5);
    border-radius: .25rem;
    font-size: 14px;
}


.dropdown-menu {
    font-size: 1em;
    max-height: 80vh;
    overflow-y: auto;
    overflow-x: hidden;
}

.column-clickable {
    text-decoration: none;
    color: unset;
}

    .column-clickable:hover {
        color: unset;
    }

.page-link {
    color: var(--dark);
    background-color: #fff;
    border: 1px solid var(--blue);
}

    .page-link:hover {
        background-color: var(--blue);
        color: #fff;
        border-color: var(--blue);
    }

    .page-link:focus {
        color: var(--dark);
        background-color: #fff;
        outline: 0;
        box-shadow: 0 0 0 0.25rem rgb(0 0 0 / 25%);
    }

.page-item.active .page-link {
    color: #ffffff;
    background-color: var(--blue);
    border-color: var(--blue);
}

.page-item:last-child .page-link {
    border-radius: 0;
}

.page-item:first-child .page-link {
    border-radius: 0;
}



.form-check-input:checked {
    background-color: var(--dark);
    border-color: var(--dark);
}

.form-check-input:focus {
    border-color: #000000;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgb(0 0 0 / 25%);
}

th {
    /*padding: 1rem 0.5rem !important;*/
    background-color: var(--blue) !important;
    color: #fff;
    font-weight: 400;
    border-color: var(--blue);
    font-weight: 600;
}

.table {
    color: var(--blue-dark);
    vertical-align: top;
    border-color: var(--blue);
}

.d-print-none .table-bordered td,
.d-print-none .table-bordered tr {
    border-color: var(--blue);
    border-width: 0.5px;
    padding-bottom: 5px;
    padding-top: 5px;
}

.d-print-none .table-bordered td {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.table-hover > tbody > tr:hover {
    background-color: rgba(2,80,121, 0.002);
    color: var(--blue);
}

.dropdown-item.active, .dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: var(--blue);
}

.w-item-name {
    width: 30%;
}

.w-item-quantity {
    width: 10rem;
}

.w-item-price {
    width: 16rem;
}

.form-control-lg {
    width: 100% !important;
}

.barcode {
    font-family: 'Libre Barcode 39 Text', cursive;
    font-size: 3em;
}

.page-break {
    page-break-before: always;
}

@print {
    @page :footer {
        display: none
    }

    @page :header {
        display: none
    }
}

@media print {
    @page {
        margin-top: 0;
        margin-bottom: 0;
        margin-left: 0;
        margin-right: 0;
    }

    body {
        font-size: 12px;
        font-family: Montserrat;
        color: black !important;
        padding-top: 10px;
        padding-bottom: 10px;
        padding-left: 10px;
        padding-right: 10px;
    }

    th {
        background-color: white !important;
        color: black !important;
    }

    hr {
        height: 1px;
        background-color: black !important;
        opacity: 1;
    }

    .table-bordered td, .table-bordered tr, .table-bordered th {
        border-color: black !important;
        border-width: 0.1px !important;
    }

    .modal-backdrop {
        display: none;
    }
}

.w-medium, .input-options, .input-text, select.item, input.description, select.option-value {
    min-width: 300px;
}

.w-small, .input-number, input.rate, input.quantity, input.amount, select.billing-type, input.batch-no, input.tax, input.additional-value {
    min-width: 120px;
}

.horizontal-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

    .horizontal-list li {
        border-radius: 2rem !important;
        padding: 10px;
        margin: 5px;
    }

        .horizontal-list li a {
            text-decoration: none;
        }

@media (max-width: 991px) {
    .navbar-collapse {
        max-height: 80vh;
        overflow-y: auto;
        overflow-x: hidden;
    }
}



.calendar-container {
    display: grid;
    grid-template-columns: repeat(7, 1fr); /* 7 columns for days */
    gap: 10px;
}

.day-column {
    border: 1px solid #ccc;
}

.time-slot {
    height: 40px; /* Adjust as needed */
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center; /* Vertically center content */
}

.time-label {
    font-size: 12px;
    color: #666;
    margin-left: 5px;
}

.vital-entry {
    background-color: var(--blue) !important;
    color: white; /*#f0f0f0;*/ /* Example styling */
    padding: 5px 15px;
    margin-left: 10px;
    border-radius: 1rem;
}
