﻿/* Author: Nathan Mitchell - natemitchell13@gmail.com
 * Description: 2024-2025 For the Maryland Department of Health.
Online Portal Application. 
 */

/* Start - Global Theme Variables 🎨 */


:root {
    --color-body: #F9F6F4; /* Creamy white background */
    --color-bg: #040707; /* slate/navy hybrid */
    --color-accent: #9D2235; /* Darker MD Red  */
    --bs-primary: #C60630; /* MD Red (retained for buttons, labels, etc.) */
    --color-card-header: #E4E4E4; /* Card Headers */
}


body {
    background-color: var(--color-body);
    font-family: "Montserrat", sans-serif;
    word-wrap: break-word;
}

.maryland-red {
    color: #C60630;
}

.required-field {
    font-size: 1.4em;
}


/* PRIMARY COLOR OVERRIDE */
/* .btn-primary {
    background-color: var(--bs-primary) !important; MD Red */
    /* border-color: var(--bs-primary) !important;
    color: white !important;
}

    .btn-primary i {
        color: white !important;
    }

    .btn-primary:hover,
    .btn-primary:focus,
    .btn-primary:active { */
        /* background-color: var(--color-accent) !important; Darker MD red */
        /* border-color: var(--color-accent) !important;
        color: white !important;
    }

        .btn-primary:hover i,
        .btn-primary:focus i,
        .btn-primary:active i {
            color: white !important;
        } */

/* Optional: Text utility */
/* .text-primary {
    color: var(--bs-primary) !important;
} */


/* ✅ Start - Global Card Header Override 🎨 */
.card-header {
    background-color: var(--color-card-header) !important;
    color: #000 !important;
}
/* ✅ End - Global Card Header Override 🎨 */



/* Apply red to Bootstrap nav links using .text-primary or .nav-link */
/* .nav-link,
.nav-link:visited {
    color: var(--bs-primary) !important;
}

    .nav-link:hover,
    .nav-link:focus {
        color: #c8122c !important;
    } */

/* General anchor tag override (if desired globally) */
a,
a:visited {
    color: var(--bs-primary);
/*    text-decoration: none;*/
}

    a:hover,
    a:focus {
        text-decoration: underline;
    }

/* Optional - Apply red color to specific links manually */
/* .link-mdred {
    color: var(--bs-primary) !important;
    text-decoration: none;
}

    .link-mdred:hover {
        text-decoration: underline;
        color: #c8122c !important;
    } */

/* Start - Default Icon Color Override 🎨 */
/* i.fa-solid,
i.fa-regular,
i.fa-light,
i.fa-thin,
i.fa-duotone,
i.fas,
i.far {
    color: var(--bs-primary);
} */
/* End - Default Icon Color Override 🎨 */



/* Fix - Default red with white text/icon */
/* .btn-primary { */
    /* color: white !important; */
    /* background-color: var(--bs-primary) !important; MD Red */
    /* border-color: var(--bs-primary) !important;
}

    .btn-primary i.tight-icon {
        color: white !important; */
    /* } */

    /* Hover = MD Gold + MD Red text + Black icon */
    /* .btn-primary:hover,
    .btn-primary:focus,
    .btn-primary:active {
        background-color: #bb2d3b !important;
        color: white !important;
    }

        .btn-primary:hover i.tight-icon,
        .btn-primary:focus i.tight-icon,
        .btn-primary:active i.tight-icon { */
            /* color: white !important; Keep icon black */
        /* } */



/* Fix - Force white icon/text in dark button */
/* .btn-dark {
    color: white !important;
}

    .btn-dark i.tight-icon {
        color: white !important;
    } */


/* Upload Button - Cloud Launch Style ☁️🚀 */
/* .btn-success {
    background: linear-gradient(to top, #ffffff 0%, #e6f2ff 100%) !important;
    border-color: #0d6efd !important;
    color: #0d6efd !important;
}

    .btn-success:hover,
    .btn-success:focus,
    .btn-success:active {
        background: linear-gradient(to top, #f0f8ff 0%, #d0e8ff 100%) !important;
        border-color: #0b5ed7 !important;
        color: #0b5ed7 !important;
    }

    .btn-success i {
        color: #0d6efd !important;
    } */






/* Override - btn-secondary: Slate-Linked to Header/Footer 🎨 */
/* .btn-secondary { */
    /* background-color: #0b5ed7 !important; Matches new header/footer */
    /* border-color: #0b5ed7 !important;
    color: white !important;
} */

/* .text-secondary {
    color: #2c3e50;
}

.btn-secondary i.tight-icon {
    color: white !important;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
    background-color: #0a53be !important;
    border-color: #0a53be !important;
}

    .btn-secondary:hover i.tight-icon,
    .btn-secondary:focus i.tight-icon,
    .btn-secondary:active i.tight-icon {
        color: white !important;
    } */


/* END COLOR OVERRIDE */



/* input[type="radio"] {
    margin-right: 7px;
} */



.logo-mdh {
    height: auto;
    width: auto;
    max-height: 60px;
    padding-bottom: 2px; /* Nudge to better align with text bottom */
}

@media (width <= 300px) {
    .logo-mdh {
        height: auto;
        width: 50px;
        /* max-height: 60px; */
        padding-bottom: 2px; /* Nudge to better align with text bottom */
    }
}


.site-header {
    min-height: 80px; /* Adjust as needed */
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.header-text {
    margin-left: 12px;
    color: white;
    flex-shrink: 1;
    min-width: 0;
    padding-bottom: 0px; /* Nudge down so baseline matches image */
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Align both text lines to bottom */
    padding-top:10px;
}

.titleTop {
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 16px;
    margin: 0;
    line-height: 16px;
    text-transform: uppercase;
}

.titleBottom {
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
    margin-top: 3px;
    margin-bottom: 0px;
    line-height: 20px;
}

/* End - Header Layout and Styling */


/* Optional: Footer spacing consistency */
.footer a {
    display: inline-block;
    margin-bottom: 4px;
    background-color: var(--color-bg); /* ✅ Correct */
}


footer.footer {
    margin-top: auto;
}

/* End - Header Layout and Styling */



/* .no-link {
    text-decoration: none; */
    /* color: var(--bs-body-color); Default text color from Bootstrap */
    /* transition: color 0.2s, text-decoration 0.2s; */
/* } */

/* .no-link:hover { */
    /* text-decoration: underline; */
    /* color: var(--bs-primary); Primary blue color from Bootstrap */
/* } */

/* .no-line {
    text-decoration: none;
    transition: color 0.2s, text-decoration 0.2s;
} */


/* .bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
} */

/* @media (min-width: 768px) {
    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
} */

/* .b-example-divider {
    width: 100%;
    height: 3rem;
    background-color: rgba(0, 0, 0, .1);
    border: solid rgba(0, 0, 0, .15);
    border-width: 1px 0;
    box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}

.b-example-vr {
    flex-shrink: 0;
    width: 1.5rem;
    height: 100vh;
} */

/* .bi {
    vertical-align: -.125em;
    fill: currentColor;
} */

/* .nav-scroller {
    position: relative;
    z-index: 2;
    height: 2.75rem;
    overflow-y: hidden;
}

    .nav-scroller .nav {
        display: flex;
        flex-wrap: nowrap;
        padding-bottom: 1rem;
        margin-top: -1px;
        overflow-x: auto;
        text-align: center;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    } */

/* .bd-mode-toggle {
    z-index: 1500;
}

    .bd-mode-toggle .dropdown-menu .active .bi {
        display: block !important;
    } */

/* .jumbotron {
    background-color: #E64545;
} */

/* .hidden {
    display: none;
} */



.profileInfo, b {
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-style: normal;
}

h3, h4, h5, .card-header, thead {
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    font-style: normal;
}




/* .custom-accordion-button { */
    /* background-color: white; Default background color */
    /* color: grey;
    box-shadow: none !important;
    height: 42px;
    top: 0px;
    left: 0px;
} */

    /* .custom-accordion-button:not(.collapsed) {
        background-color: #f8f8f8;
        color: black; /* Background color when active*/
    /* }  */

/* .accordion-button.collapsed::after {
    color: pink;
}

.custom-accordion-button::after {
    color: pink;
} */

/*Bootstrap Overrides----------------------

MD Red = rgb(200, 18, 44) #c8122c
MD Gold = rgb(253, 194, 46) #fdc22e

*/

h1, h2, .titleReg, .btn, .footer, .radio-item {
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.btn {
    padding-left: 30px;
    padding-right: 30px;
}

/* .btn-danger {
    --bs-btn-bg: #c8122c;
    --bs-btn-hover-bg: #F42B49;
}


.btn-primary:disabled,
.btn-primary.disabled {
    background-color: #E2E2E2;
    border-color: lightgrey;
    color: #B1B1B1;
     /* Optional: Adjust text color for contrast */
    /* cursor: not-allowed; Optional: Change cursor to indicate disabled state */
    /* opacity: 0.65; Optional: Add opacity for a more disabled look */
/* } */

    /* Ensure to apply hover, focus, and active states to disabled buttons */
    /* .btn-primary:disabled:hover,
    .btn-primary:disabled:focus,
    .btn-primary:disabled:active,
    .btn-primary.disabled:hover,
    .btn-primary.disabled:focus,
    .btn-primary.disabled:active {
        background-color: #E2E2E2;
        border-color: lightgrey;
        color: #B1B1B1;
        cursor: not-allowed;
        opacity: 0.65; */
    /* } */


/*Red animation Button*/
/* @keyframes fadeRed { */
    /* 0% { */
        /* background-color: #c8122c; dark red */
    /* } */

    /* 50% { */
        /* background-color: #F42B49; light red */
    /* } */

    /* 100% { */
        /* background-color: #c8122c; dark red */
    /* } */
/* } */

/* .animate-red {
    animation: fadeRed 1s infinite;
}

    .animate-red:hover {
        animation-play-state: paused; /* Pause the animation */
        /* background-color: #F42B49 !important; Change to desired color on hover */
        /* border-color: #fdc22e; */
        /* border-width: 1px; */
    /* } */
/*end Red Animation Button*/


/*Blue animation Button*/
/* @keyframes fadeBlue { */
    /* 0% { */
        /* background-color: #0b5ed7; dark  */
    /* } */

    /* 50% { */
        /* background-color: #0d6efd; light  */
    /* } */

    /* 100% { */
        /* background-color: #0b5ed7; dark  */
    /* } */
/* } */

/* .animate-blue {
    animation: fadeBlue 1s infinite;
} */

    /* .animate-blue:hover { */
        /* animation-play-state: paused; Pause the animation */
        /* background-color: #0b5ed7 !important; Change to desired color on hover */
     /*   border-color: #fdc22e;
        border-width: 1px;*/
    /* } */
/*end Blue Animation Button*/



/*For textboxes to edit but not show the borders to keep it clean looking*/
/* .no-border {
    border: none;
    padding: 0;
    padding-left:0px;

}
.no-border:hover {
        background-color: lightyellow;
    } */



/*Spaces out radio button lists*/
/* .radio-inline {
    margin-right: 20px;
} */


/*Table Hover Color*/

table-hover {border:none}

table.table-hover > tbody > tr:hover td,
table.table-hover > tbody > tr:hover th {
    background-color: lightyellow !important;
    box-shadow: 0px 0px 0px 0px;
}
/* .alt-backcolor {
    background-color: #F2F2F2 !important;
} */

table tr td {
    margin-left: 20px;
}

.table-container {
	overflow-y: auto;
	overflow-x: auto;
	max-height: 1000px;
}

@media (height < 1200px)
{
    .table-container {
        max-height: 900px;
    }
}

@media (height < 1000px)
{
    .table-container {
        max-height: 700px;
    }
}

@media (height < 800px)
{
    .table-container {
        max-height: 500px;
    }
}

@media (height < 600px)
{
    .table-container {
        max-height: 300px;
    }
}

@media (height < 400px)
{
    .table-container {
        max-height: 200px;
    }
}

/* .chatBox1 {
    background-color: #F8F8FF;
    padding: 10px;
    border-radius: 25px 25px 25px 0px;
} */

/* .Val {
    font-size: 30px;
    line-height: 0px;
    font-weight: bold;
    color: Red;
}

.ValSummary {
    margin-top: 20px;
} */


/* .sticky-bottom-div {
    position: sticky;
    bottom: 0px;
    background-color: var(--color-body);
    z-index: 10;
    margin-top: 10px;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-right: 1px; /* Compensate for overshoot */
    /* text-align: center; */
    /* border-top: 1px solid #dee2e6; */
    /* border-left: 1px solid var(--color-body); */
    /* border-right: 1px solid var(--color-body); */
    /* margin-right: -1px; Force visual bleed over right edge */
    /* width: calc(100% + 2px); */
    /* margin-right: -1px; */
    /* margin-left: -1px; */
/* } */ 




/* .icon-circle {
    display: inline-flex; /* Centers the icon inside the circle */
    /* justify-content: center; Horizontally centers the icon */
    /* align-items: center; Vertically centers the icon */
    /* background-color: green; Green background for the circle */
    /* border-radius: 50%; Makes the container a circle */
    /* width: 25px; Circle width */
    /* height: 25px; Circle height */
    /* color: white; White color for the Font Awesome icon */
    /* font-size: 18px; Adjust size of the icon */
/* }  */

/* .tool-tip::before { */
    /* font-family: "Font Awesome 6 Free"; */
    /* font-weight: 900; Required for solid icons */
    /* content: "\f059"; Unicode for the info-circle icon */
    /* font-style: normal; */
    /* color: #d9d9d9; */
    /* padding-top: 0px; */
    /* font-size: 13px; Adjust the size as needed */
    /* float: right; Pushes the icon to the right */
/* } */

/* .no-link {
    text-decoration: none;
    color: inherit;
    cursor: default;
} */


/* MESSAGE BOX STYLES HERE */

/* #messageDivSticky {
    width: 100%;
    padding: 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

    #messageDivSticky.fixed {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1050;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    } */

/* .message-container {
    display: flex;
    align-items: center;  Center vertically 
    justify-content: space-between;
    gap: 0.75rem;
    position: relative;
}

.message-icon {
    flex-shrink: 0;
    font-size: 1.2rem;
}

.message-text {
    flex: 1;
    text-align: left;
} */

/* .close-btn {
    background: none;
    border: none;
    font-size: 1.25rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
} */
/* Styles for the footer' */
/* .portal-hover {
    position: relative;
    font-weight: 700;
    font-family: "Montserrat", sans-serif;
    cursor: default;
}

.portal-version {
    font-weight: 500;
    font-family: "Montserrat", sans-serif;
}

.portal-subtext {
    display: inline-block;
    margin-left: 8px;
    opacity: 0;
    font-size: 10px;
    text-transform: uppercase;
    transition: opacity 0.4s ease;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #bcbcbc;

}

.portal-hover:hover ~ .portal-subtext {
    opacity: 1;
} */


/* Start - Overdue icon style */
/* .overdue-icon i {
    transform: scale(1.5);
    color: #ffc107; /* Bootstrap warning color */
    /* border-radius: 50%; */
    /* padding: 2px; */
    /* transition: text-shadow 0.3s ease, transform 0.3s ease, color 0.3s ease; */
/* } */

/* .overdue-icon:hover i { */
    /* transform: scale(1.65); */
/* }  */

/* Fix icon color clash only for Admin Review stat box */
/* .dashboard-card.status-adminreview:hover .overdue-icon i { */
    /* color: #dc3545; dark grey for visibility on yellow background */
/* } */
/* End - Overdue icon style */




/* tool tips */
/* .tooltip-inner { */
    /* max-width: 300px !important; Wider tooltip */
    /* white-space: normal !important; Allow wrapping */
    /* text-align: left; Better readability */
    /* font-size: 13px !important; ↓ Slightly smaller (Bootstrap default is ~14px) */
    /* padding: 10px 14px !important; ↑ Add more space around text */
/* } */


/* .tool-tip {
    position: relative;
    display: inline-block;
    width: 14px;
    height: 14px;
    cursor: pointer;
} */

    /* .tool-tip::before { */
        /* font-family: "Font Awesome 6 Free"; */
        /* font-weight: 900; */
        /* content: "\f059"; Info icon */
        /* color: #d9d9d9; */
        /* font-size: 12px; */
    /* } */

    /* Tooltip bubble */
    /* .tool-tip::after { */
        /* content: attr(data-tooltip-key); You can override this via JS later */
        /* position: absolute; */
        /* bottom: 125%; Show above the icon */
        /* left: 50%; */
        /* transform: translateX(-50%); */
        /* background-color: #333;
        color: #fff;
        padding: 5px 8px;
        border-radius: 4px;
        white-space: nowrap;
        opacity: 0;
        visibility: hidden;
        transition: 0.2s;
        font-size: 12px;
        z-index: 999;
    } */

   
    /* .tool-tip:hover::after {
        opacity: 1;
        visibility: visible;
    } */


