﻿body {
    background-color: #DBBEAB;
}

@import url("navbar.css");

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

#toast-container {
    top: 70px !important;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn-warning-confirm-action {
    background-color: #ADD6AD; /* Original color */
    color: black;
    transition: background-color 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

    .btn-warning-confirm-action:hover {
        background-color: #92C892; /* Slightly darker shade */
    }



.btn-danger {
    background-color: #dc3545; /* Default Bootstrap danger color */
    border-color: #dc3545;
}

    .btn-danger:hover {
        background-color: #a71d2a !important; /* Darker red on hover */
        border-color: #a71d2a !important;
    }

.btn-danger-confirm-action {
    background-color: #EB953F; /* Original color */
    color: black;
    transition: background-color 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

    .btn-danger-confirm-action:hover {
        background-color: #D77F35; /* Slightly darker shade */
    }

.btn-info-history {
    background-color: #85C1E9; /* Original color */
    color: black;
    border: none;
    transition: background-color 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

    .btn-info-history:hover {
        background-color: #5DADE2; /* Slightly darker shade on hover*/
        color: black;
    }

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.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;
    line-height: 60px; /* Vertically center the text there */
}

.table {
    margin-top: 10px;
}

.btn {
    margin-right: 5px;
    font-weight: 700;
    border-radius: 0;
    border: 2px solid black;
    text-transform: uppercase;
}

.form-group {
    margin-top: 20px;
}

.btn-success {
    color: white;
    background-color: #B7775A;
}

    .btn-success:hover {
        color: white;
        background-color: #C7775A;
        border-color: #C7775A;
        box-shadow: 0 0 0 0.25rem #C7775A24;
    }

    .btn-check:focus + .btn-success, .btn-success:focus {
        color: white;
        background-color: #C7775A;
        border-color: #C7775A;
        box-shadow: 0 0 0 0.25rem #C7775A77;
    }

    .btn-check:checked + .btn-success, .btn-check:active + .btn-success, .btn-success:active, .btn-success.active, .show > .btn-success.dropdown-toggle {
        color: white;
        background-color: #C7775A;
        border-color: #C7775A;
    }

        .btn-check:checked + .btn-success:focus, .btn-check:active + .btn-success:focus, .btn-success:active:focus, .btn-success.active:focus, .show > .btn-success.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.25rem #C7775A77;
        }

    .btn-success:disabled, .btn-success.disabled {
        color: white;
        background-color: #B7775A;
        border-color: #B7775A;
    }

.card {
    background: transparent;
    margin-bottom: 20px;
}

.card-title {
    font-weight: 400;
}

.text-warning {
    color: #25395E !important;
}

.btn-warning {
    color: white;
    background-color: #25395E;
}

    .btn-warning:hover {
        color: white;
        background-color: #25396E;
        border-color: #25396E;
        box-shadow: 0 0 0 0.25rem #25395E22;
    }

    .btn-check:focus + .btn-warning, .btn-warning:focus {
        color: white;
        background-color: #25396E;
        border-color: #25396E;
        box-shadow: 0 0 0 0.25rem #25395E77;
    }

    .btn-check:checked + .btn-warning, .btn-check:active + .btn-warning, .btn-warning:active, .btn-warning.active, .show > .btn-warning.dropdown-toggle {
        color: white;
        background-color: #25396E;
        border-color: #25396E;
    }

        .btn-check:checked + .btn-warning:focus, .btn-check:active + .btn-warning:focus, .btn-warning:active:focus, .btn-warning.active:focus, .show > .btn-warning.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.25rem #25395E77;
        }

    .btn-warning:disabled, .btn-warning.disabled {
        color: #fff;
        background-color: #25395E;
        border-color: #25395E;
    }

tr {
    border-color: #33333333;
}


.dropdown-menu {
    background-color: #DBBAAA;
}

.dropdown-item:hover {
    background-color: #DBBAAA;
}

.dropdown-toggle {
    color: black;
}

.navbar-light .navbar-nav .nav-link {
    color: black;
}

.navbar .nav-link {
    font-weight: 500;
    text-transform: uppercase;
}

.zmz-disabled {
    opacity: 0.5;
}

.rejected-invoice {
    opacity: 0.5;
}

.weekday-checkbox {
    display: block;
    position: relative;
    cursor: pointer;
    width: 1.5rem;
    height: 1.5rem;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin: 0.25rem;
}

.weekday-checkbox-label {
    position: absolute;
    text-transform: uppercase;
    top: 0;
    left: 0;
    width: 1.5rem;
    height: 1.5rem;
    line-height: 1.5rem;
    text-align: center;
    border-radius: 50%;
}

.weekday-checkbox-input {
    position: absolute;
    opacity: 0;
    height: 0;
    width: 0;
}

    .weekday-checkbox-input:checked ~ .weekday-checkbox-label {
        background: #B7775A;
        color: white;
    }

.weekday-checkbox:hover input ~ .weekday-checkbox-label {
    background: #ccc;
    color: white;
}

.fc-unthemed th, .fc-unthemed td, .fc-unthemed thead, .fc-unthemed tbody, .fc-unthemed .fc-divider, .fc-unthemed .fc-row, .fc-unthemed .fc-content, .fc-unthemed .fc-popover, .fc-unthemed .fc-list-view, .fc-unthemed .fc-list-heading td {
    border-color: #33333333 !important;
}

.fc-day-header {
    text-transform: uppercase;
}

.fc-center > h2 {
    text-transform: uppercase;
}

.fc-day-number {
    font-size: 1.25em;
}

.form-control {
    border-radius: 0;
    border: 1px solid #33333333;
    background-color: #e3ccbb;
}

    .form-control:focus {
        background-color: #e3ccbb;
        border: 1px solid #999999;
        outline: 0;
        -webkit-box-shadow: inset 0 2px 2px rgba(0,0,0,.075),0 0 8px rgba(183,119,90,.9);
        box-shadow: inset 0 2px 2px rgba(0,0,0,.075),0 0 8px rgba(183,119,90,.9);
        box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(37, 57, 94, 0.6);
    }

.form-select {
    border-radius: 0;
    border: 1px solid #33333333;
    background-color: #e3ccbb;
}

    .form-select:focus {
        background-color: #e3ccbb;
        border: 1px solid #999999;
        outline: 0;
        -webkit-box-shadow: inset 0 2px 2px rgba(0,0,0,.075),0 0 8px rgba(183,119,90,.9);
        box-shadow: inset 0 2px 2px rgba(0,0,0,.075),0 0 8px rgba(183,119,90,.9);
        box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(37, 57, 94, 0.6);
    }

.stripes {
    background: repeating-linear-gradient( 45deg, #606dbc, #606dbc 10px, #465298 10px, #465298 20px );
}

#calendar .fc-agendaWeek-view .fc-today {
    background: #e3ccbb !important;
}

#calendar .fc-agendaDay-view .fc-today {
    background: #DBBEAB !important;
}


.fc-toolbar h2 {
    font-weight: 400;
    line-height: 1.2;
}

.fc-day-header {
    font-weight: 600;
}

.table .text-right {
    text-align: right
}

.table .text-left {
    text-align: left
}

.table .text-center {
    text-align: center
}

.modal-content {
    /*background-color: #DBBEAB;*/
    background-color: #efe3da;
}

    .modal-content .form-control {
        background-color: #e3ccbb;
    }

.modal-title {
    font-weight: 400;
}

.modal-header {
    border-bottom: 1px solid gray;
}


.modal-footer {
    border-top: 1px solid gray;
}

.control-label {
    margin-left: 12px;
    font-weight: 500;
}

.control-text {
    margin-left: 12px;
}

.page-link {
    margin-left: 4px;
    margin-right: 4px;
    background-color: #25396E !important;
    border: 2px solid black;
    border-radius: 0 !important;
    color: white;
    outline: 0;
    text-decoration: none;
}

    .page-link:hover {
        background-color: #25396E !important;
        border: 2px solid black;
        border-radius: 0 !important;
        color: white;
        outline: 0;
        text-decoration: none;
    }


.page-item.disabled .page-link {
    background-color: #25396Eee !important;
    border: 2px solid black;
    border-radius: 0 !important;
    color: #ffffff99;
    outline: 0;
    text-decoration: none;
    cursor: not-allowed !important;
}

.page-item a {
    text-decoration: none;
    font-weight: 500;
}

.page-item.disabled a {
    background-color: #25396E66 !important;
    text-decoration: none;
    font-weight: 500;
    cursor: not-allowed !important;
}

.page-item.active .page-link {
    background-color: #B7775A !important;
    border: 2px solid black;
    border-radius: 0 !important;
    color: white;
    outline: 0;
    text-decoration: none;
}

.multicheckbox, .checkbox-group {
    margin-top: 6px;
    margin-bottom: 6px;
    font-weight: 600;
}

.checkbox-group {
    font-weight: 400;
}

    .checkbox-group label {
    }

    .checkbox-group .multicheckboxlist {
        margin-left: 16px;
    }

    .multicheckbox > label,
    .checkbox-group label {
        margin-left: 12px;
    }

label.accordion-toggle {
    cursor: pointer;
}

.dl-horizontal dt {
    white-space: normal;
}

.commentBox {
    padding: 10px;
    border-radius: 10px;
}

.starFade {
    background-image: url('/img/StarFade.gif');
    min-width: 30px;
    min-height: 30px;
    display: inline-block;
    cursor: pointer;
}

.starFadeN {
    background-image: url('/img/StarFade.gif');
    min-width: 30px;
    min-height: 30px;
    display: inline-block;
}

.starGlow {
    background-image: url('/img/starglow.gif');
    min-width: 30px;
    min-height: 30px;
    display: inline-block;
    cursor: pointer;
}

.starGlowN {
    background-image: url('/img/starglow.gif');
    min-width: 30px;
    min-height: 30px;
    display: inline-block;
}

.blueBox {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 2px solid black;
    background-color: #25395E;
}

.redBox {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 2px solid black;
    background-color: #B7775A;
}

.taskInWaitingBox {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 2px solid black;
    background-color: #CC9F8B;
}

.strippedBox {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 2px solid black;
    background: repeating-linear-gradient( 135deg, #25395E, #25395E 11px, #B7775A 1px, #B7775A 20px );
}


.popover-body {
    /*background-color: #DBBEAB;*/
    background-color: #efe3da;
}

.popover-header {
    /*background-color: #DBBEAB;*/
    background-color: #efe3da;
    border-bottom: 1px solid #050505;
}


.form-signin {
    width: 100%;
    max-width: 330px;
    padding: 15px;
    margin: 0 auto;
}

    .form-signin .checkbox {
        margin-top: 10px;
        font-weight: 400;
    }

    .form-signin .form-control {
        position: relative;
        box-sizing: border-box;
        height: auto;
        padding: 10px;
        font-size: 16px;
    }

        .form-signin .form-control:focus {
            z-index: 2;
        }

    .form-signin input[type="text"] {
        margin-bottom: -1px;
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0;
    }

    .form-signin input[type="password"] {
        margin-bottom: 0px;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }

.display-8 {
    font-size: calc(1rem + 1.5vw);
    font-weight: 400;
    line-height: 1.2;
}

.display-9 {
    font-size: 1.375rem;
    font-weight: 400;
    line-height: 1.2;
}

@media (min-width: 1200px) {
    .display-8 {
        font-size: 1.5rem;
    }

    .display-9 {
        font-size: 1.5rem;
    }
}

.nav-tabs {
    margin: 12px;
    border-bottom: 1px solid #777777;
}

    .nav-tabs .nav-link {
        margin-bottom: -1px;
        background: 0 0;
        color: black;
        border: 1px solid #777777;
        border-top-left-radius: .25rem;
        border-top-right-radius: .25rem;
    }



        .nav-tabs .nav-link:hover {
            border: 1px solid #777777;
            background-color: #e3ccbb;
        }

        .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
            font-weight: 500;
            border: 1px solid #777777;
            background-color: #e3ccbb;
        }



.btn-xs {
    height: 24px;
    padding: 0;
    font-size: 13px;
    font-weight: 500;
    padding-left: 6px;
    padding-right: 6px;
}

select[readonly] {
    pointer-events: none;
    touch-action: none;
}

.daily-td {
    /*line-height: 38px;*/
}

.readonly-input {
    padding: .375rem .75rem;
    /*border: 1px solid #33333333;*/
    line-height: 1.5;
}

.filter-dropdown {
    position: absolute;
    z-index: 1000;
    top: 37px;
}

    .filter-dropdown li {
        cursor: pointer;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.filter-clear {
    position: absolute;
    top: 9px;
    right: 2px;
    cursor: pointer;
}

.filter-clear-month {
    right: -1px;
}

.filter-clear-date {
    right: 35px;
}

.filter-dropdown-fixed-height {
    max-height: 200px;
    overflow-y: auto;
}

@media (max-width: 767px) {
    .filter-clear-date {
        right: 31px;
        top: 7px;
    }
}

@media (min-width: 1400px) {
    .filter-clear-date {
        right: 40px;
        top: 9px;
    }
}

input:placeholder-shown + .filter-clear {
    display: none;
}

.multiselect.dropdown-toggle {
    background-color: #e3ccbb;
    border-radius: 0;
    border: 1px solid #33333333;
    outline: 0;
    box-shadow: none;
}

    .multiselect.dropdown-toggle:focus {
        background-color: #e3ccbb;
        border: 1px solid #999999;
        outline: 0;
        box-shadow: inset 0 2px 2px rgb(0 0 0 / 8%), 0 0 8px rgb(183 119 90 / 90%);
    }

#dateFilter {
    max-width: 150px;
}

.task-table td {
    padding-left: 7px !important;
    padding-right: 7px !important;
}

th div, th div span {
    position: relative;
}

.report-table {
    background-color: #efe3da
}

    .report-table th {
        font-weight: 500;
        padding: 1px;
    }

#myTab .nav-link.active {
    font-weight: 700;
}

#spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.multiselect-container {
    overflow-y: auto;
    max-height: 50vh;
}

.multiselect-container .multiselect-option.active:not(.multiselect-active-item-fallback),
.multiselect-container .multiselect-group.active:not(.multiselect-active-item-fallback),
.multiselect-container .multiselect-all.active:not(.multiselect-active-item-fallback),
.multiselect-container .multiselect-option:not(.multiselect-active-item-fallback):active,
.multiselect-container .multiselect-group:not(.multiselect-active-item-fallback):active,
.multiselect-container .multiselect-all:not(.multiselect-active-item-fallback):active {
    background-color: #DBBAAA !important;
}

.overuren-input-cell {
    position: relative;
    overflow: visible;
    max-width: 70px;
}

.overuren-error {
    width: 220px;
}

.btn-assignment {
    width: 100px;
    height: 30px;
    line-height: 28px;
}

.btn-task {
    height: 30px;
    line-height: 28px;
}

.fc-state-default {
    background-color: #B7775A !important;
}

.fc-state-down, .fc-state-active {
    background-color: #25395E !important;
    color: white !important;
}

.plot {
    min-width: 450px;
    page-break-inside: avoid;
}

.text-input-spinner {
    position: absolute;
    right: 5px;
    top: 12px;
    display: none;
}

.table-filter-fix {
    padding-bottom: 300px;
    margin-bottom: -300px;
}

.table-filter-fix-height {
    height: 420px !important;
}

@media print {
    hr, button, .btn, .printerHidden {
        display: none;
    }

    html, body {
        height: auto;
        font-size: 8pt;
    }

    html {
        min-width: 210mm;
    }

    body {
        width: 180mm;
        margin: 10mm 15mm 10mm 15mm;
        background: white;
    }

    thead, tr, label, strong {
        break-inside: avoid-page !important;
    }

    .container {
        max-width: 180mm !important;
        width: 180mm !important;
    }

    .pb-3 {
        padding-bottom: 0 !important;
    }

    .printerExpand {
        width: 100% !important;
        margin: 0 !important;
    }

    #reportForm, .table-responsive {
        width: 100% !important;
        margin: 0 !important;
        overflow : visible !important;
    }

    .plot {
        min-width: 0 !important;
        max-width: 350px;
    }

    .day-plot {
        padding: 0;
    }

/*    @page {
        margin: 0;
        size: A4 portrait;
    }
*/
}

.btn-xs-img {
    padding-left: 3px;
    padding-right: 3px;
}

.ptb6 {
    padding-top: 6px !important;
    padding-bottom: 6px !important;
}

input[type="radio"]:disabled {
    color: black;
    transform: scale(1.25);
    border-color: black !important;
    -webkit-appearance: none;
    display: inline-block;
    width: 12px;
    height: 12px;
    padding: 0px;
    background-clip: content-box;
    border: 1px solid #bbbbbb;
    background-color: white;
    border-radius: 50%;
}

    input[type="radio"]:disabled:checked {
        background-color: black;
    }

.btn-xxs {
    width: 19px;
    height: 19px;
}

.ui-icon-btn {
    margin-left: -4px;
    margin-top: -28px;
}

#zvsFilter, #hospitalFilter, #nurseFilter, #civilRecordsFilter {
    position: relative;
}

.clickable-row {
    cursor: pointer;
    vertical-align: middle
}

label.input-group-text {
    background-color: transparent;
    border: 1px solid #33333333;
    background-color: #e3ccbb;
}

.no-select {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.rrn-style {
    font-size: 24px;
    font-weight: 400;
}

.generate-overlay {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.generate-spinner {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 10px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #ffffff;
    border-radius: 50%;
    width: 64px;
    height: 64px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.generate-text {
    margin-top: 20px;
    color: #ffffff;
    font-size: 32px;
}

a.disabled {
    pointer-events: none;
    cursor: default;
}

/* MULTISELECT DROPDOWN */

.dropdown-filter {
    position: relative;
    width: auto;
}

.dropdown-list {
    border: 1px solid #826F62;
    max-height: 200px;
    overflow-y: auto;
    display: none;
    position: absolute;
    background: #DBBEAB;
    width: 100%;
    z-index: 1000;
    padding: 10px;
}

    .dropdown-list label {
        display: block;
        padding: 5px;
        cursor: pointer;
    }

        .dropdown-list label:hover {
            background-color: #f0f0f0;
        }

.selected-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 10px;
}

.selected-label {
    background-color: #e0e0e0;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

    .selected-label .remove-label {
        cursor: pointer;
        color: #ff0000;
        font-weight: bold;
    }

.selected-label-assigned {
    background-color: #e0e0e0;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

    .selected-label-assigned .remove-label-assigned {
        cursor: pointer;
        color: #ff0000;
        font-weight: bold;
    }

.no-results {
    color: red;
    padding: 10px;
    text-align: center;
    font-style: italic;
}

.counter {
    background-color: #e0e0e0;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 14px;
}

.selected {
    background-color: #e0e0e0;
}

/* MULTISELECT DROPDOWN */

.text-muted {
    color: #6c757d !important;
}

.status-circle {
    display: inline-block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin: 0 auto;
}

.status-green {
    background-color: green;
}

.status-yellow {
    background-color: gold;
}

.status-red {
    background-color: red;
}

.status {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 25px;
    height: 25px;
    margin: 0 auto;
}

.status-icon {
    opacity: 0.7;
    font-size: 16px;
    margin: 0;
}

.multiselect-container {
    max-height: 250px;
    overflow-y: auto;
}

    .multiselect-container .blocked-hospital {
        background-color: #ffebee !important;
        color: #c62828 !important;
        opacity: 0.6;
        display: flex;
        align-items: center;
        gap: 0.4rem;
    }

    .multiselect-container .blocked-hospital:after {
        content: "⛔";
    }

    .multiselect-container .blocked-hospital:hover {
        background-color: #ffcdd2 !important;
    }

.lightGreen {
    background-color: #d6e0ff;
}

.truncate-remarks {
    max-width: 200px; 
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.select2-container--default .select2-results__options {
    min-height: 16rem !important;
    overflow-y: auto !important;
}

.readonly-background {
    background-color: #DBBEAB !important;
}

.head-nurse-row td {
    font-weight: bold;
    color: #25396E;
}

.permanently-inactive-row td {
    color: #d9534f !important;
    font-weight: bold;
}

.head-nurse-row.permanently-inactive-row td {
    color: #d9534f !important;
}

.unified-btn-width {
    width: 10rem!important;
}