﻿/* from site-custom.css */
body {
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
    /*padding-top: 100px;*/ /*15*/
}

.modal-topmost {
    z-index: 9999 !important; /* Standard Bootstrap modal z-index is 1040 */
}

/* Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) {
    /*.body-content {
    padding-top: 165px; 
}*/

}


/* Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) {
    /*.body-content {
    padding-top: 150px;
    }*/
}

/*// Large devices (desktops, 992px and up)*/
@media (min-width: 992px) {
    /*.body-content {
        padding-top: 100px;
    }*/
}


/* style for disabled modules */

.disabled-module {
    position: relative;
    display: block;
    height: auto;
    padding: 0;
    /*background: linear-gradient(to top left, rgba(255,0,0,0) 0%, rgba(255,0,0,0) calc(50% - 0.8px), rgba(255,0,0,1) 50%, rgba(255,0,0,0) calc(50% + 0.8px), rgba(255,0,0,0) 100%), linear-gradient(to top right, rgba(255,0,0,0) 0%, rgba(255,0,0,0) calc(50% - 0.8px), rgba(255,0,0,1) 50%, rgba(255,0,0,0) calc(50% + 0.8px), rgba(255,0,0,0) 100%);*/
}

.disabled-module-inner {
    position: absolute;
    top: 0;
    left: 0;
    padding: 0;
    height: 40px;
    width: 70px;
}

.disabled-module-svg {
    display: block;
    margin: auto;
}


/* datatables pagination responsive styles*/
@media screen and (max-width: 991px) {
    li.paginate_button.first, li.paginate_button.previous, li.paginate_button.next, li.paginate_button.last {
        display: inline;
    }

    li.paginate_button {
        display: none;
    }
}

div.badgeNotificationArea {
    /*background: #000;*/
    pointer-events: none; /* disabled mouse interaction */
    width: 100%;
    height: 100%;
    z-index: 2100;
    top: 0;
    left: 0;
    position: fixed;
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    line-height: 100%;
}

/*div.badgeNotificationArea {
        background: #F00;
        width: 100%;
        height: 100%;
        z-index: 2100;
        top: 0;
        left: 0;
        position: fixed;
        display: table-cell;
        text-align: center;
        vertical-align: middle;
        line-height: 100%;
    }*/

div.workingOverlay {
    background-color: rgba(255, 255, 255, 0.5);
    width: 100%;
    height: 100%;
    z-index: 2001;
    top: 0;
    left: 0;
    position: fixed;
    padding-top: 20%;
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    line-height: 100%;
}

[data-bs-theme="dark"] div.workingOverlay {
    background-color: rgba(50, 50, 50, 0.5);
}

div.workingOverlay > div.spinner-border {
    z-index: 2002;
}

[data-bs-theme="dark"] div.workingOverlay > div.spinner-border {
    color: #ddd;
    z-index: 2002;
}

div.workingOverlayClear {
    background: transparent;
    width: 100%;
    height: 100%;
    z-index: 2000;
    top: 0;
    left: 0;
    position: fixed;
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    line-height: 100%;
}

/* jquery confirm styles */
.jconfirm .jconfirm-box.jconfirm-animation-spin {
    transform: rotate(400deg) scale(0);
}
/*  existing below */
.scroll-body {
    max-height: calc(100vh - 200px); /* Adjust as needed */
    overflow-y: auto !important; /* or scroll !important */
}

/* The element will stick when its top edge is 0px from the viewport's top */
/*
.sticky-element {
    position: sticky;
    top: 0;
}
*/

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}
.href-plain-text {
    color: inherit;
    text-decoration: inherit;
}
/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
/* cww removed forced max width 1/9/2020 */
/*
input,
select,
textarea {
    max-width: 380px; 
}
*/

/* datatables arrow for extra fields */
/*[data-bs-theme="dark"] table.dataTable td.dtr-control:before {
    border-left-color: #000 !important;
    border-top-color: transparent !important;
    border-bottom-color: transparent !important;
    border-right-color: transparent !important;
}

[data-bs-theme="dark"] table.dataTable tr.dt-hasChild td.dtr-control:before {
    border-top-color: #000 !important;
    border-left-color: transparent !important;
    border-bottom-color: transparent !important;
    border-right-color: transparent !important;
}*/

/* Set width on the checkbox multiselect input button since they're 100% wide by default. Keep it same as above */
button .multiselect {
    max-width: 380px; /*280*/
}
/* mouse pointer change on hover */
.mousePointer:hover { /* Changes cursor to hand when hovering */
    cursor: pointer;
}
/* styles for form controls */
.dt-row-hover {
    background-color: #fff !important;
}
/* checkbox dark */
[data-bs-theme="dark"] .form-check-input {
    border-color: #5C636A !important;
}
.form-check-input {
    border-color: #000 !important;
}

/* Styles for validation helpers
-----------------------------------------------------------*/
/*.field-validation-error {
    color: #ff0000;
}*/

.field-validation-valid {
    display: none;
}
/*
.input-validation-error {
    border: 1px solid #ff0000;
    background-color: #ffeeee;
}*/
/* bootstrap modal header theme colors */
/* Light mode styles */

.modal-header {
    background-color: #F8F8F8; /* Or a specific light color */
    color: #272B2F; /* Text color for light mode */
}


/* HIGHT CONTRAST THEMES */
[data-bs-theme="hc-light"] div.nav-item > button.nav-link, [data-bs-theme="hc-light"] div.nav-item > .menu-item {
    font-size: 1.25rem !important; /* Increase font size */
}
[data-bs-theme="hc-light"] .btn-sm {
    font-size: 1rem !important; /* Increase font size */
    height: 44px !important;
    padding-top: 8px !important;
}

/* HIGHT CONTRAST LIGHT */

/*font-size: 1.25rem !important;*/


/* HIGHT CONTRAST DARK */












/* Dark mode styles (applied when data-bs-theme="dark" is active on a parent element like <html>) */
[data-bs-theme="dark"] .modal-header {
    background-color: #272B2F; /* Or a specific dark color */
    color: #F8F8F8; /* Text color for dark mode */
}

/* modal blue light and dark theme */
[data-bs-theme="dark"] .bdgModalBlue {
    background-color: #092535 !important;
}
.bdgModalBlue {
    background-color:powderblue !important;
}
/* dark theme accordion */
[data-bs-theme="dark"] .accordion-button {
    background-color: #272B2F !important;
}

/* validation dark theme */
/*[data-bs-theme="dark"] .input-validation-error {
    border: 1px solid #ff0000;
    background-color: #212529 !important;*/ /*  #343A40  */
/*}*/

/* header link testing */
/*.link-primary {
    color: red !important;
}*/

/*[data-bs-theme="dark"] .link-primary {
color: #6EA8FE !important;
}*/

/* multiselect light */
button.multiselect {
    border: 1px solid #dee2e6 !important;
}
button.multiselect-option, ul.multiselect-container label {
    background-color: #ffffff !important;
    color: #000 !important;
}
/* multiselect dark */
[data-bs-theme="dark"] button.multiselect-option {
    border: 1px solid #495057 !important;
}
[data-bs-theme="dark"] button.multiselect-option, [data-bs-theme="dark"] ul.multiselect-container label {
    background-color: #212529 !important;
    color: #dee2e6 !important;
}

/* dark theme tempus dominus date time picker */
[data-bs-theme="dark"] .tempus-dominus-widget {
    background-color: #272B2F !important;
}

[data-bs-theme="dark"] .tempus-dominus-widget .dow {
    color: #999 !important;
}

[data-bs-theme="dark"] .tempus-dominus-widget .day.old,
[data-bs-theme="dark"] .tempus-dominus-widget .day.new {
    color: #666 !important;
}
[data-bs-theme="dark"] .tempus-dominus-widget .toolbar div:hover {
    color: #212529 !important;
}

[data-bs-theme="dark"] .tempus-dominus-widget .date-container-days div:not(.no-highlight):hover,
[data-bs-theme="dark"] .tempus-dominus-widget .date-container-decades div:not(.no-highlight):hover,
[data-bs-theme="dark"] .tempus-dominus-widget .date-container-months div:not(.no-highlight):hover,
[data-bs-theme="dark"] .tempus-dominus-widget .date-container-years div:not(.no-highlight):hover,
[data-bs-theme="dark"] .tempus-dominus-widget .time-container-clock div:not(.no-highlight):hover,
[data-bs-theme="dark"] .tempus-dominus-widget .time-container-hour div:not(.no-highlight):hover,
[data-bs-theme="dark"] .tempus-dominus-widget .time-container-minute div:not(.no-highlight):hover,
[data-bs-theme="dark"] .tempus-dominus-widget .time-container-second div:not(.no-highlight):hover {
    color: #212529 !important;
}



/* dark mode jquery confirm */
.jconfirm.jconfirm-dark .jconfirm-bg {
    background-color: #5c5c5c;
}

.jconfirm.jconfirm-dark .jconfirm-box {
    border: 1px solid #000;
    background-color: #212529;
}
/*
    .jconfirm.jconfirm-dark .jconfirm-box.loading {
    }

        .jconfirm.jconfirm-dark .jconfirm-box.loading:before {
        }

        .jconfirm.jconfirm-dark .jconfirm-box.loading:after {
        }

    .jconfirm.jconfirm-dark .jconfirm-box .jconfirm-closeIcon {
    }

    .jconfirm.jconfirm-dark .jconfirm-box .jconfirm-title-c {
    }

    .jconfirm.jconfirm-dark .jconfirm-box .jconfirm-content-pane {
    }

    .jconfirm.jconfirm-dark .jconfirm-box .jconfirm-content {
    }

    .jconfirm.jconfirm-dark .jconfirm-box .jconfirm-buttons {
    }

        .jconfirm.jconfirm-dark .jconfirm-box .jconfirm-buttons button {
        }*/

/*
.validation-summary-errors {
    font-weight: bold;
    color: #ff0000;
}*/

.validation-summary-valid {
    display: none;
}

.validation-summary-errors ul {
    list-style: none;
    padding-left: 0;
}

/* btn-default not available in BS4*/
.btn-default {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}

    .btn-default:focus {
        color: #333;
        background-color: #e6e6e6;
        border-color: #8c8c8c;
    }

    .btn-default:hover {
        color: #333;
        background-color: #e6e6e6;
        border-color: #adadad;
    }

    .btn-default:active {
        color: #333;
        background-color: #e6e6e6;
        border-color: #adadad;
    }


/* Word definition style
------------------------------------------------------------ */
.bdg-define-word {
    text-decoration-line: underline;
    text-decoration-style: dashed;
    text-decoration-color: gray;

}

.reportViewerFrame {
    position: relative;
    height: 100%;
    width: 100%;
}

#reportViewer {
    height: 100%;
    width: 100%;
}

#ReportSectionContent {
    height: 800px;
}
.OverlaySectionContentReport {
    height: 800px;
}

/*creates a gray background -- used with textarea/large text labels with border*/
.border[readonly] {
    background-color: #e9ecef;
    opacity: 1;
}

.selectedTableRow {
    background-color: #e7f1ff !important;
}

/*Accordian background color when collapsed*/
.accordion-button.collapsed {
    background: #f8f9fa;
}

/* Used to show td text in red if tr has this class (Alerts in Caseload)*/
/* https://stackoverflow.com/questions/77550349/unable-to-apply-text-color-to-table-row-with-bootstrap */
tr.text-danger td,
tr.text-danger th {
    color: inherit;
}

.sticky-element {
    position: sticky;
    top: 0; /* The element will stick when its top edge is 0px from the viewport's top */
    /* Other styling properties */
}

/* Use this class to set the color of ReadOnly textbox - bg-body-secondary*/
/*.bdg-readonly-bg {
    background-color: rgba(233, 236, 239, 1) !important;*/
    /*   #e9ecef;*/
/*}*/
