/* MASTER FONT CONTROLLER - one stop shop
   To switch fonts, change --site-font-family, --site-font-size, --font-offset, and --site-letter-spacing.
   Nunito:     --site-font-size 12pt, --font-offset  0pt
   Note: --mslc-darkblue-legacy (#38939b) is the corporate style guide color */

:root {
    --site-font-family: 'Inter', sans-serif;
    --site-font-size: 12pt;
    --font-offset: +0.5pt;
    --site-letter-spacing: -0.01em;
    --mslc-green: #74c141;
    --mslc-orange: #f8971d;
    --mslc-darkblue: #26707b;
    --mslc-lightblue: #9cc5ca;
    --mslc-darkblue-legacy: #38939b;
    --white: #fff;
}

.navigation, .headerLabel, .standardTextBox, .standardLabel, .dropDownList, .warningLabel, .loggedInLabel, .button,
.datagrid, td, .grid-pager, .facChnMgrLabel, .buttonUpload, .hyperlink, .faqLink, a:link, a:visited, #savingOverlay, #footer, input, select, textarea,
#provSearchOverlay, #provSearchOverlay *, #provDDLTooltip {
    font-family: var(--site-font-family);
    font-size:   var(--site-font-size);
    letter-spacing: var(--site-letter-spacing);
}

/* Begin - vertical menu */
div {
    width: 1000px;
    float: left;
}

section {
    width: 1250px;
}

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
/* End - vertical menu */

body {
    background-color: white;
    /*zoom: 110%;*/
}

    body::after {
        background: url(../Images/Mountains.png);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center top;
        content: "";
        opacity: 0.2;
        position: fixed;
        top: 0;
        bottom: 0;
        right: 0;
        left: 0;
        z-index: -1;
    }

#page-wrap {
    width: 1360px;
    margin: auto;
}

#mainContent {
    padding-top: 75px;
    position: relative;
    width: 1000px;
    padding-bottom: 15px;
}

#mainContentBringUpBottom {
    padding-top: 75px;
    position: relative;
    width: 1000px;
    padding-bottom: -75px;
    margin-bottom: -75px;
}

#cssmenu {
    top: 10px;
    position: relative;
}

.isDisabled {
    pointer-events: none;
}

    .isDisabled input, .isDisabled select, .isDisabled textarea, .isDisabled button {
        opacity: 0.8;
        cursor: default;
    }

.loggedInLabel {
    color: var(--mslc-darkblue);
    font-size: calc(10pt + var(--font-offset));
    font-style: italic;
    background: var(--mslc-lightblue);
    border-radius: 5px;
    padding: 5px 9px;
    white-space: nowrap;
    margin-top: -20px;
}

.standardLabel, a:link {
    color: var(--mslc-darkblue);    
    padding-right: 5px;
    line-height: 22px;    
}

    .standardLabel.smallText {
        font-size: calc(9pt + var(--font-offset));
    }

    .standardLabel.pwScreensHeaderLabel {
        color: var(--white);
        font-weight: bold;
        font-size: 18px;
    }

.pwScreensHeader {
    padding: 10px;
    background-color: var(--mslc-green);
    color: var(--white);
    text-align: center;
    border-radius: 10px;
    width: 980px;
}

.standardTextBox:enabled {
    background-color: var(--mslc-green);
    color: white;
    width: 125px;
    margin-bottom: 10px;
    text-align: center;
    border: 1px solid var(--mslc-darkblue);
    height: 22px;
}

.standardRadioList {
    font-family: inherit;
    color: var(--mslc-darkblue);
}

    .standardRadioList input[type="radio"] {
        accent-color: var(--mslc-green);
    }

    .standardRadioList label {
        margin-left: 3px;
        margin-right: 6px;
    }

input[type="date"]:not(.has-value):not(:focus) {
    color: transparent !important;
}

input[type="date"].has-value,
input[type="date"]:focus {
    color: white !important;
}

/* Make date picker calendar icon white on green backgrounds */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

.standardTextBox:disabled {
    margin-bottom: 10px;
    height: 22px;
    width: 115px;
}

textarea {
    background-color: var(--mslc-green);
    color: white;
    height: 100px;
    width: 290px;
    text-align: left;
    border-radius: 10px;
}

    textarea:disabled {
        opacity: .9;
    }

.standardTextBox.widthClStat { width: 145px; }
.standardTextBox.wider { width: 350px; }
.standardTextBox.auditorNameWidth { width: 200px; }
.standardTextBox.widthClStat,
.standardTextBox.wider,
.standardTextBox.auditorNameWidth {
    text-align: left;
}

.standardTextBox.bedsTextBox {
    width: 50px;
    margin-right: 20px;
}

.standardTextBox.leftAlign {
    text-align: left;
}

.standardTextBox.bigUn {
    width: 825px;
    height: 150px;
    margin-top: -15px;
    margin-bottom: -10px;
    text-align: left;
    vertical-align: top;
    word-wrap: initial
}

a:link {
    font-size: calc(10pt + var(--font-offset));
    color: var(--mslc-darkblue);
    text-decoration: underline;
    margin-right: -3px;
    margin-left: -3px;
}

.standardLabel.th {
    color: var(--mslc-orange);
    text-decoration: underline;
    /*font-weight: bold;*/
}

.standardLabel.th2 {
    color: var(--mslc-orange);
    /*font-weight: bold;*/
    font-size: calc(13pt + var(--font-offset));
}

.standardLabel.CRECertScreenLabel {
    margin-left: -60px;
}

.standardLabel.underlineLabel {
    text-decoration: underline;
}

a:visited {
    color: var(--mslc-darkblue);
    text-decoration: none;
}

a:hover {
    color: var(--mslc-orange);
    text-decoration: none;
}

.faqLink:link,
.faqLink:visited {
    color: var(--mslc-darkblue);
}

.headerLabel
{
    color: var(--mslc-orange);
    font-size: calc(18pt + var(--font-offset));
    top: 140px;
    position: absolute;
    text-align: center;
    line-height: 50px;
}

.dropDownList {
    height: 22px;
    margin-bottom: 10px;
}

    .dropDownList.Larger {
        width: 575px;
        overflow: hidden;
        margin-right: 72px;
        margin-bottom: 20px;
    }

        .dropDownList option, .dropDownList.Larger option, .dropDownList.Provider option {
            height: auto;
            width: 200px;
        }

input, select {
    box-sizing: content-box;
    padding: 3px 3px;
    border-radius: 12px;
    background-color: var(--mslc-green);
    color: white;
    border: 1px solid var(--mslc-darkblue);
    height: auto;
    width: auto;
}

    input:disabled, select:disabled {
        opacity: .9;
    }

    input:focus, select:focus, textarea:focus {
        outline: none !important;
        border: 2px solid var(--mslc-orange) !important;
        box-shadow: 0 0 5px var(--mslc-orange) !important;
    }

.inputCheckbox50w {
    width: 50px;
    display: inline-block;
    position: relative;
}

.leftCol {
    width: 50%;
    float: left;
    text-align: right;
    margin-top: 5px;
}

.rightCol {
    width: 48%;
    margin-left: 10px;
    float: left;
}

.warningLabel {
    color: var(--mslc-orange);
    font-weight: bold;
    font-style: italic;
}

.centerItems {
    text-align: center;
    margin-bottom: 25px;
}

.button.width100 {
    width: 100px;
}

.button {
    color: white;
    font-size: calc(11pt + var(--font-offset));
    background: var(--mslc-orange);
    border-radius: 10px;
    border: 2px solid var(--mslc-lightblue);
    width: auto;
    margin-top: 20px;
    padding: 7px 10px;
}

    .button:disabled,
    .button:disabled:hover {
        font-style: italic;
        background: var(--mslc-lightblue);
        border: 2px solid #D3D3D3;
        color: white;
        cursor: not-allowed;
        pointer-events: none; /* blocks click, hover, and any JS handlers */
        transition: none;
    }

    .button.noTopMargin {
        margin-top: 0px !important;
    }

    .button:hover {
        background-color: var(--mslc-darkblue) !important;
    }

    .button.rightAlign {
        float: right;
    }

    .button.wrapLong {
        margin-top: 0;
        width: 235px;
        padding: -10px;
        line-height: 20px;
        white-space: normal;
        word-wrap: break-word;
        height: 60px;
    }

    .button.dashboard, .button.dashboard:disabled {
        margin-top: 0;
        height: 22px;
        width: 75px;
        text-align: center;
        vertical-align: middle;
        line-height: 20px;
    }

#footer {
    border-top: var(--mslc-green) 2px solid;
    width: 1000px;
    margin-top: 135px;
    padding-top: 10px;
    color: var(--mslc-darkblue);
    font-size: calc(9pt + var(--font-offset));
}

    #footer > div {
        float: left;
        width: 333px;
    }

#footerLeft {
    text-align: left;
}

#footerMiddle {
    text-align: center;
}

#footerMiddle2 {
    color: red;
    text-align: right;
}

#footerRight {
    text-align: right;
}

    #footerMiddle a:link, #footerRight a:link {
        font-size: calc(9pt + var(--font-offset));
    }

singleCheckBox label {
    display: block;
}

.singleCheckBox input[type=checkbox] {
    display: none;
}

    .singleCheckBox input[type=checkbox] + label:before {
        content: "";
        display: inline-block;
        width: 1em;
        height: 1em;
        border: 0.0625em solid var(--mslc-lightblue);
        border-radius: 0.25em;
        background: var(--mslc-green);
        vertical-align: middle;
        margin-right: 6px;
    }

    .singleCheckBox input[type=checkbox]:checked + label:after {
        content: "\2714";
        font-weight: bold;
        color: var(--white);
        position: relative;
        left: -1.25em;
        top: 0;
        line-height: 1em;
    }

.singleCheckBox.dimming label {
    pointer-events: none;
    cursor: default;
    opacity: .6;
}

.singleCheckBox.dimming input[type=checkbox] + label:before {
    background: #dfe8df;
}

.singleCheckBox.dimming input[type=checkbox]:checked + label:after {
    color: #cfd9cf;
}

.singleCheckBox.inTable label {
    display: block;
}

.singleCheckBox.inTable input[type=checkbox] {
    display: none;
}

    .singleCheckBox.inTable input[type=checkbox] + label {
        margin-bottom: 3px;
    }

    .singleCheckBox.inTable input[type=checkbox]:checked + label::before {
        content: "\2714";
        color: white;
        height: 1em;
        line-height: 1.1em;
        width: 1em;
        font-weight: bold;
        margin-right: 6px;
        margin-left: -20px;
    }

th {
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
    font-weight: normal;
    color: white;
}

table.centerTable {
    margin-left: auto;
    margin-right: auto;
    table-layout: fixed;
    width: 100%;
    margin-bottom: 0;
}

tr {
    height: 30px;
}

table.centerTable tr {
    vertical-align: text-top;
}

table td.wideColumn, table th.wideColumn {
    width: 360px;
}

td.centerTable.centerLabel {
    text-align: center;
}

.dropDownList.CRECertScreenDropdownlist {
    width: 170px;
}

.dropDownList.yearDropDownList {
    width: 70px;
}

.dropDownList.REDDropdownlist {
    width: 375px;
}

.reportListBox {
    height: 410px;
    width: 350px !important;
}

    .reportListBox option {
        line-height: 1.35em;
        min-height: 1.35em;
        padding-top: 2px;
        padding-bottom: 2px;
    }

    .reportListBox option:hover {
        background-color: var(--mslc-orange);
        color: var(--white);
        width: 350px !important;
    }

    .reportListBox option:checked {
        background-color: var(--mslc-darkblue);
        color: var(--white);
        width: 350px !important;
        font-weight: bold;
    }

.checklistTableContainer {
    width: 1000px;
}

.checklistTableLeft {
    float: left;
    width: 485px;
}

.checklistTableRight {
    float: right;
    width: 485px;
}

    .checklistTableLeft td,
    .checklistTableRight td {
        text-align: left;
        padding-bottom: 10px;
        vertical-align: top;
    }

    .checklistTableLeft input[type="date"],
    .checklistTableRight input[type="date"],
    .checklistTableLeft select,
    .checklistTableRight select {
        height: 22px;
        vertical-align: top;
        margin: 0;
    }

.tableContainer {
    width: 1000px;
}

.tableLeft {
    float: left;
    width: 515px;
}

    .tableLeft td {
        text-align: left;
        padding-right: 10px;
        width: 290px;
    }

.tableRight {
    float: right;
    width: 485px;
}

    .tableRight td {
        text-align: left;
        padding-right: 10px;
        width: 260px;
    }

        .tableRight td label {
            text-align: left;
            padding-bottom: 10px;
            padding-right: 10px;
        }

.dashboardTable {
    width: 1000px;
    border-spacing: 1px;
    table-layout: fixed;
}

    .dashboardTable tr {
        height: 5px;
    }

    .dashboardTable td {
        border: 1px solid var(--mslc-lightblue);
        border-collapse: collapse;
        -ms-word-wrap: break-word;
        word-wrap: break-word;
    }

    .dashboardTable .td.centerAlign {
        text-align: center;
    }

    .dashboardTable td input[type="text"] {
        margin: 0 auto;
        width: 97%;
    }

    .dashboardTable td.bdrls {
        border: none;
    }

.checkBoxLabel {
    margin-top: -20px;
    margin-left: 100px;
}

.facChnMgrLabel {
    color: var(--mslc-orange);
    font-size: calc(16pt + var(--font-offset));
    font-weight: bold;
    margin-left: 130px;
    display: block;
    width: 150px;
    height: 0;
    text-align: right;
}

.hr {
    background: var(--mslc-green);
    border: 0;
    height: 5px
}

.file-upload {
    position: relative;
    display: inline-block;
    margin-left: 10px;
    padding: 3px 5px 1px;
    top: -1px;
    -ms-touch-action: manipulation;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    .file-upload input.upload {
        position: absolute;
        top: 10px;
        left: 10px;
        opacity: 0;
        margin: -20px;
        padding: 10px;
        width: 85px;
        height: 33px;
    }

.uploadFile {
    width: auto;
    text-align: left;
    height: 22px;
}

.buttonUpload {
    z-index: 10;
    color: white;
    background: var(--mslc-orange);
    border-radius: 10px;
    border: 1px solid var(--mslc-lightblue);
    height: 28px;
    width: 75px;
    line-height: 26px;
}

    .buttonUpload:hover {
        background-color: var(--mslc-darkblue);
    }

    .buttonUpload.sameHeightAsBrowse {
        width: auto;
        height: 25px;
    }

::-webkit-input-placeholder {
    color: white;
}

:-moz-placeholder {
    color: white;
}

::-moz-placeholder {
    color: white;
}

:-ms-input-placeholder {
    color: white;
}

.emptyDataText {
    text-align: center;
}

.retrieveSubmissionsGridView_FileNameColumn {
    text-align: left;
    width: 395px;
    white-space: normal;
    word-break: break-all;
    word-wrap: break-word;
    padding-left: 10px;
}

.retrieveSubmissionsGridView_FileSizeColumn {
    width: 95px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.retrieveSubmissionsGridView_DateUploadedColumn, .retrieveSubmissionsGridView_LastDownloadedColumn {
    width: 100px;
    white-space: normal;
    word-break: break-all;
    word-wrap: break-word;
}

.retrieveSubmissionsGridView_DownloadOptionsColumn {
    width: 200px;
    white-space: nowrap;
}

.contentNoProvControl {
    margin-top: 0;
}

.contentWithProvControl {
    margin-top: 75px;
}

.ModalPopupBack {
    background-color: #666;
}

.ModalPopupFront {
    background-color: var(--white);
    border: outset 2px #000;
    padding-left: 2px;
    padding-right: 2px;
    padding-top: 4px;
    padding-bottom: 4px;
    line-height: 18px;
}

.hyperlink {
    color: #5bb75b;
    text-decoration: none;
    font-size: 12px;
}

/*-------------------------------*/
/* Below here for left-side menu*/
.navigation {
    margin: 0 0 0 -40px;
    padding: 0;
    border: 0;
    width: 110%;
    background: var(--mslc-green);
    border-radius: 10px;
}

    .navigation ul,
    .navigation li {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .navigation ul {
        position: relative;
        z-index: 500;
    }

    .navigation li {
        position: relative;
    }

    .navigation a {
        display: block;
        position: relative;
        padding: 1em 1.3em;
        color: var(--white);
        text-decoration: none;
        font-size: calc(11pt + var(--font-offset));
        border-radius: 10px;
        white-space: normal;
    }

    .navigation li:hover {
        z-index: 510;
    }

    .navigation ul ul {
        visibility: hidden;
        position: absolute;
        top: 6px;
        left: 100%;
        z-index: 520;
        width: 14em;
        background: var(--mslc-darkblue);
        border-radius: 10px;
    }

    .navigation ul li:hover > ul {
        visibility: visible;
    }

    .navigation ul ul ul {
        top: 6px;
        width: 17em;
        background: var(--mslc-lightblue);
    }

        .navigation ul ul ul a {
            color: var(--mslc-darkblue) !important;
        }

        .navigation ul ul ul li:hover > a {
            background: var(--mslc-darkblue) !important;
            color: var(--white) !important;
        }

    .navigation ul ul li + li {
        margin-top: -13px;
    }

    .navigation ul li:hover > a,
    .navigation ul li a:hover {
        background: var(--mslc-darkblue);
    }

    .navigation ul ul li:hover > a {
        background: var(--mslc-lightblue);
    }

    .navigation ul li.has-sub > a:after {
        content: "";
        position: absolute;
        right: 1em;
        top: 50%;
        transform: translateY(-50%);
        width: 0;
        height: 0;
        border-left: 8px solid var(--white);
        border-top: 5px solid transparent;
        border-bottom: 5px solid transparent;
    }

    .navigation a.extra-menu-pad {
        padding-right: 2.5em;
    }

    .navigation ul ul {
        box-shadow: 0 6px 18px rgba(0,0,0,.45);       
    }

#saveToast, #saveBoo {
    display: none;
    position: fixed;
    top: 145px;
    right: 335px;
    width: auto;
    color: white;
    padding: 12px 20px;
    border-radius: 5px;
    font-family: var(--site-font-family);
    font-size: 14px;
    box-shadow: rgba(0, 0, 0, 0.4) 3px 3px;
    transition: opacity 0.5s ease-in-out;
}
#saveToast { background-color: orange; }
#saveBoo { background-color: red; }

/* Fullscreen dimmer */
#savingOverlay.overlay {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.40);
    z-index: 9999;
    display: flex;
    color: var(--mslc-orange);
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: none; /*opacity 0.1s ease, visibility 0s linear 0s;*/
}

    /* when shown */
    #savingOverlay.overlay.is-visible {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transition: none; /*opacity 0.1s ease, visibility 0s linear 0s;*/
    }

#savingOverlay .overlay-card {
    background: #DEEDED;
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0), 0 2px 6px rgba(0,0,0,0);
    min-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-family: inherit;
    color: var(--mslc-orange);
    font-weight: bold;
    font-size: 20px;
    transform: translateY(-6px) scale(0.96);
    opacity: 0;
    transition: none; /*transform 0.35s ease, opacity 0.35s ease, box-shadow 0.35s ease;*/
    width: 33%;
    max-width: 600px;
    min-width: 300px;
    margin: 0 auto;
}

#savingOverlay.overlay.is-visible .overlay-card {
    transform: translateY(0) scale(1);
    opacity: 1;
    box-shadow: 0 8px 20px rgba(0,0,0,0.30), 0 2px 6px rgba(0,0,0,0.20);
}

/* Honey badger (native size + rounded) */
#savingOverlay .saving-badger {
    display: block;
    margin: 0 auto 12px;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.rc-selected {
    outline: 2px solid var(--mslc-orange);
    outline-offset: 2px;
}

/* Begin: New editable grid! */

.datagrid {
    width: 100%;
    background: var(--mslc-darkblue);
    color: var(--white);
    border: none;
    margin-left: auto;
    margin-right: auto;
    line-height: 30px;
    overflow-x: auto;
    table-layout: fixed;
}

.rounded_corners {
    border-radius: 20px;
    overflow: hidden;
}

    .rounded_corners td, .rounded_corners th {
        text-align: center;
    }

    .rounded_corners table table td {
        border-style: hidden;
    }

table {
    border-radius: 20px;
}

.datagrid td, .datagrid th {
    border: 1px solid var(--white);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-left: 8px;
    padding-right: 8px
}

.headerStyle {
    text-align: center;
    background-color: var(--mslc-green);
    color: var(--white);
    border: 1px solid var(--white);
    font-weight: bold;
    white-space: nowrap;
}

    .headerStyle th,
    .datagrid thead th {
        padding-top: 10px;
        padding-bottom: 35px;
        padding-left: 6px;
        padding-right: 12px;
        line-height: .8;
    }

    .headerStyle .grid-filter-overlay .standardTextBox {
        width: 100%;
        min-width: 0
    }

    .headerStyle th:first-child {
        border-top-left-radius: 20px;
    }

    .headerStyle th:last-child {
        border-top-right-radius: 20px;
    }

.rowStyle {
    line-height: 28px;
    white-space: nowrap;
    overflow: hidden;
    background: var(--mslc-darkblue);
    color: var(--white);
    border: 1px solid var(--white);
}

    .rowStyle td {
        padding: 4px 8px;
        border-top: 1px solid var(--white);
    }

.datagrid a,
#gridview a:link {
    color: var(--white);
    text-decoration: underline;
    margin: 10px;
    font-weight: normal;
}

    .datagrid a:hover,
    #gridview a:hover {
        color: var(--mslc-orange);
        text-decoration: none;
    }

/* ----- Footer (Add row) ----- */
.footerStyle {
    background: var(--mslc-darkblue);
    padding: 10px 12px;
    border: 1px solid var(--white);
}

    .footerStyle input[type="text"],
    .footerStyle input[type="date"],
    .footerStyle .standardTextBox {
        background: var(--mslc-green);
        color: var(--white) !important;
        border-radius: 12px;
        border: 1px solid var(--mslc-darkblue);
        padding: 6px 8px;
        width: 100%;
        box-sizing: border-box;
        min-width: 0;
        margin: 0;
    }

    .footerStyle a {
        margin: 0 3px;
    }

/* Centered/right columns helpers if you use them in BoundColumns */
.centerBoundColumn {
    text-align: center;
}

.rightBoundColumn {
    text-align: right;
}

.rowStyle:hover td, .footerStyle:hover td {
    background: var(--mslc-darkblue-legacy) !important;
    transition: background 0.2s ease-in-out;
}

/* Make header stick on long lists (optional) */
@supports(position:sticky) {
    .datagrid thead th {
        position: sticky;
        top: 0;
    }
}

    .datagrid th, .datagrid td {
        overflow: hidden
    }

.resizable th {
    position: relative
}

.resize-handle {
    position: absolute;
    right: 0;
    top: 0;
    width: 8px;
    height: 100%;
    cursor: col-resize;
    user-select: none
}

.draggable-headers th {
    cursor: move
}

.sortable-headers th {
    cursor: pointer;
    position: relative;
    white-space: nowrap
}

.sort-arrows {
    display: inline-flex;
    gap: 4px;
    margin-left: 6px;
    font-size: .8em
}

    .sort-arrows .up, .sort-arrows .down {
        opacity: .35
    }

    .sort-arrows .active {
        opacity: 1
    }

.headerStyle {
    position: relative
}

    .headerStyle th {
        padding-bottom: 34px
    }

.grid-filter-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    text-align: center;
    pointer-events: none;
    z-index: 1
}

    .grid-filter-overlay .standardTextBox {
        width: 40%;
        min-width: 080px;
        max-width: 300px;
        height: 20px;
        pointer-events: auto !important;
        font-size: 0.85em
    }

.grid-pager {
    color: var(--mslc-darkblue);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    margin-bottom: 20px;
    font-size: 0.9em;
}

    .grid-pager button {
        background: var(--mslc-lightblue);
        border: 1px solid #ccc;
        color: var(--white);
        border-radius: 50%;
        width: 28px;
        height: 28px;
        cursor: pointer;
        font-weight: bold;
        transition: all 0.2s ease-in-out;
    }

        .grid-pager button.active {
            background: var(--mslc-orange);
            border-color: var(--mslc-orange);
            color: var(--white);
        }

        .grid-pager button:hover:not(:disabled) {
            background: var(--mslc-darkblue);
            border-color: var(--mslc-darkblue);
            color: var(--white);
        }

        .grid-pager button:disabled {
            background: var(--white);
            border: 1px solid #ccc;
            border-radius: 50%;
            width: 28px;
            height: 28px;
            color: #aaa;
            cursor: not-allowed;
            opacity: 0.5;
        }

.grid-pager-left {
    justify-content: flex-start !important;
}

.hscroll {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
}

    .hscroll.top {
        height: 16px;
        margin-bottom: 6px;
    }

#scrollSpacer {
    height: 1px;
}

.datagrid.auto-layout {
    table-layout: auto;
    width: max-content;
    white-space: nowrap;
}

    .datagrid.auto-layout th,
    .datagrid.auto-layout td {
        white-space: nowrap;
    }

.datagrid td input[type="text"],
.datagrid td input[type="date"],
.datagrid td select,
.datagrid td textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-width: 0;
}

.datagrid .standardTextBox {
    width: 100% !important;
}

.datagrid a.action-edit, .datagrid a.action-delete {
    display: inline-block;
    margin-left: 5px !important;
    margin-right: 5px !important;
}

.datagrid a.action-update {
    display: inline-block;
    margin-left: -3px !important;
    margin-right: -5px !important;
}

.datagrid a.action-cancel {
    display: inline-block;
    margin-left: -10px !important;
    margin-right: -10px !important;
}

/* Make inputs and dropdowns in the grid more compact */
.datagrid input[type="text"],
.datagrid input[type="date"],
.datagrid select,
.datagrid .gridDropDown {
    padding: 4px 6px;
    margin: 0;
    height: auto;
}

/* Force all datagrid rows to same height */
.datagrid tr.rowStyle,
.datagrid tr.footerStyle {
    height: 36px !important;
}

.datagrid tr.rowStyle td,
.datagrid tr.footerStyle td {
    padding: 4px 8px !important;
    line-height: 1.4 !important;
    vertical-align: middle !important;
}

/* Force consistent font size on ALL datagrid links */
.datagrid a,
.datagrid a:link,
.datagrid a:visited,
.datagrid tr.rowStyle a,
.datagrid tr.rowStyle a:link,
.datagrid tr.footerStyle a,
.datagrid tr.footerStyle a:link {
    font-size: calc(10pt + var(--font-offset)) !important;
    margin: 0 5px !important;
    display: inline-block !important;
}

/* Ensure Add and Cancel have space between them */
.datagrid tr.footerStyle td a {
    margin: 0 6px !important;
}

/* Make inputs same height as text rows */
.datagrid tr.footerStyle input[type="text"],
.datagrid tr.footerStyle input[type="date"],
.datagrid tr.footerStyle select,
.datagrid tr.rowStyle input[type="text"],
.datagrid tr.rowStyle input[type="date"],
.datagrid tr.rowStyle select,
.datagrid .gridDropDown {
    height: 30px !important;
    padding: 0px 6px !important;
    font-size: calc(12pt + var(--font-offset)) !important;
    box-sizing: border-box !important;
    border-radius: 12px !important;
    background-color: var(--mslc-green) !important;
    color: var(--white) !important;
    border: 1px solid var(--mslc-darkblue) !important;
}

.datagrid select option {
    font-size: calc(12pt + var(--font-offset)) !important;
}

.datagrid a.disabled,
.datagrid a.action-update.disabled,
.datagrid a.action-edit.disabled,
.datagrid a.action-delete.disabled,
.datagrid a.action-cancel.disabled {
    color: #bdbbbb !important;
    text-decoration: none !important;
    cursor: not-allowed !important;
}

/* Date inputs in grid: ensure white text when has value or focused */
.datagrid tr.rowStyle input[type="date"].has-value,
.datagrid tr.rowStyle input[type="date"]:focus,
.datagrid tr.footerStyle input[type="date"].has-value,
.datagrid tr.footerStyle input[type="date"]:focus {
    color: var(--white) !important;
}

/* Grid focus ring — nuclear specificity to override ALL grid border rules */
.datagrid tr.footerStyle input[type="text"]:focus,
.datagrid tr.footerStyle input[type="date"]:focus,
.datagrid tr.footerStyle select:focus,
.datagrid tr.footerStyle textarea:focus,
.datagrid tr.rowStyle input[type="text"]:focus,
.datagrid tr.rowStyle input[type="date"]:focus,
.datagrid tr.rowStyle select:focus,
.datagrid tr.rowStyle textarea:focus {
    outline: 2px solid var(--mslc-orange) !important;
    outline-offset: -1px !important;
    border: 1px solid var(--mslc-orange) !important;
    box-shadow: none !important;
}

/* End: New editable grid! */


/* ===================================================================
   VINTAGE GRID STYLES
   Frozen production-era styling for these read-only download grids:
     - RetrieveProviderSubmissions.aspx
     - RetrieveProviderSubmissionsP4P.aspx
     - DownloadCorrespondence.aspx
   These classes are intentionally duplicated from the original
   SiteCSS.css so the screens above keep their production look
   while the rest of the site uses the new editable-grid classes.
   =================================================================== */

.datagridVintage {
    background: var(--mslc-darkblue);
    color: var(--white);
    border: none;
    line-height: 30px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    table-layout: auto;
}

    .datagridVintage th,
    .datagridVintage td {
        font-family: var(--site-font-family);
        font-size: var(--site-font-size);
        overflow: visible;
        text-overflow: clip;
    }

    .datagridVintage th {
        text-align: center;
        padding-top: 10px;
        padding-bottom: 10px;
        font-weight: normal;
        color: var(--white);
    }

.rounded_corners_vintage {
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
}

    .rounded_corners_vintage td, .rounded_corners_vintage th {
        text-align: center;
    }

    .rounded_corners_vintage table table td {
        border-style: none;
    }

#gridviewVintage a:link {
    color: var(--white);
    text-decoration: underline;
    margin-right: -3px;
    margin-left: -3px;
    font-weight: normal;
}

#gridviewVintage a:hover {
    color: var(--mslc-orange);
    text-decoration: none;
}

.headerStyleVintage {
    text-align: center;
    background-color: var(--mslc-green);
    padding-top: -20px;
    border: var(--white) solid 1px;
    border-radius: 20px;
}

    .headerStyleVintage th {
        padding-bottom: 10px;
        padding-top: 10px;
        padding-left: 6px;
        padding-right: 6px;
        line-height: 30px;
        position: static;
    }

    .headerStyleVintage th:first-child {
        border-top-left-radius: 20px;
    }

    .headerStyleVintage th:last-child {
        border-top-right-radius: 20px;
    }

.RowStyleVintage {
    height: 60px;
    line-height: 25px;
    white-space: nowrap;
    overflow: hidden;
}

.pagerStyleVintage a {
    border-radius: 50%;
    background-color: var(--mslc-green);
    padding: 5px 10px 5px 10px;
    color: var(--white);
}

.pagerStyleVintage a:hover {
    box-shadow: 1px 1px 1px var(--white);
}

.pagerStyleVintage span {
    background-color: var(--mslc-orange);
    color: var(--white);
    border-radius: 50%;
    padding: 5px 10px 5px 10px;
    font-weight: bold;
}

/* End: Vintage grid styles */

/* Provider Search + DDL Tooltip - BKL 2026.03.04 */
#provSearchIcon {
    cursor: pointer;
    font-size: calc(16pt + var(--font-offset));
    vertical-align: middle;
    margin-left: -65px;
    float: none;
    width: auto;
    display: inline;
    transition: transform 0.15s;
}

#provSearchIcon:hover {
    transform: scale(1.2);
}

#provSearchOverlay div,
#provSearchOverlay input,
#provSearchOverlay label,
#provSearchOverlay span {
    width: auto !important;
    float: none !important;
}

#provSearchCard > div {
    width: 100% !important;
    box-sizing: border-box !important;
}

#provSearchOverlay {
    display: none;
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.45);
    z-index: 10000;
    align-items: flex-start;
    justify-content: center;
    padding-top: 12vh;
}

#provSearchCard {
    background: #DEEDED;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    min-width: 500px !important;
    max-width: 90vw !important;
    max-height: 70vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    float: none;
}

#provSearchHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    background: var(--mslc-green);
    color: white;
    font-size: calc(14pt + var(--font-offset));
    font-weight: bold;
    width: auto !important;
    float: none;
    flex-shrink: 0;
    box-sizing: border-box;
}

#provSearchHeader button {
    background: none;
    border: none;
    color: white;
    font-size: calc(22pt + var(--font-offset));
    cursor: pointer;
    line-height: 1;
    width: auto;
    padding: 0 4px;
}

#provSearchHeader button:hover {
    color: var(--mslc-orange);
}

#provSearchInputRow {
    padding: 12px 16px 0;
    float: none;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

#provSearchInput {
    padding: 10px 14px !important;
    border: 2px solid var(--mslc-lightblue) !important;
    border-radius: 10px !important;
    font-size: calc(12pt + var(--font-offset)) !important;
    background: white !important;
    color: var(--mslc-darkblue) !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
}

#provSearchHistLabel {
    display: block;
    margin-top: 6px;
    margin-bottom: 4px;
    font-size: calc(10pt + var(--font-offset));
    color: var(--mslc-darkblue);
    cursor: pointer;
    text-align: right;
    float: none;
}

#provSearchHist {
    vertical-align: middle;
    margin-right: 3px;
    cursor: pointer;
}

.provSearchHistorical .provSearchName,
.provSearchHistorical .provSearchNum {
    font-size: calc(9pt + var(--font-offset)) !important;
}

#provSearchInput:focus {
    border-color: var(--mslc-orange) !important;
    box-shadow: 0 0 5px var(--mslc-orange) !important;
    outline: none !important;
}

#provSearchInput::placeholder {
    color: var(--mslc-lightblue);
    font-size: calc(10pt + var(--font-offset)) !important;
}

#provSearchResults {
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 45vh;
    padding: 0 4px 8px 8px;
    width: auto !important;
    max-width: 100% !important;
    float: none;
}

.provSearchItem {
    padding: 10px 14px;
    cursor: pointer;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: background 0.1s;
    width: auto;
    float: none;
}

.provSearchItemInfo {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    width: auto;
    float: none;
}

.provSearchDates {
    font-size: calc(9pt + var(--font-offset)) !important;
    color: var(--mslc-darkblue);
}

.provSearchItem:hover .provSearchDates,
.provSearchItem.provSearchActive .provSearchDates {
    color: white;
}

.provSearchItem:hover,
.provSearchItem.provSearchActive {
    background: var(--mslc-lightblue);
    color: white;
}

.provSearchName {
    color: var(--mslc-darkblue);
    font-weight: bold;
    font-size: calc(11pt + var(--font-offset)) !important;
}

.provSearchItem:hover .provSearchName,
.provSearchItem.provSearchActive .provSearchName {
    color: white;
}

.provSearchNum {
    color: var(--mslc-darkblue);
    font-size: calc(10pt + var(--font-offset)) !important;
}

.provSearchItem:hover .provSearchNum,
.provSearchItem.provSearchActive .provSearchNum {
    color: white;
}

.provSearchInactive {
    background: var(--mslc-orange);
    color: white;
    font-size: calc(8pt + var(--font-offset));
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: bold;
    flex-shrink: 0;
    margin-right: 5px;
}

.provSearchHistorical .provSearchInactive {
    opacity: 0.7;
}

.provSearchEmpty {
    text-align: center;
    color: var(--mslc-lightblue);
    padding: 20px;
    font-style: italic;
    width: auto;
    float: none;
}

#provSearchNav {
    padding: 12px 16px 16px;
    width: auto;
    float: none;
}

#provSearchNavHeader {
    color: var(--mslc-darkblue);
    font-weight: bold;
    font-size: calc(12pt + var(--font-offset));
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--mslc-lightblue);
    width: auto;
    float: none;
}

.provNavLink {
    display: block !important;
    padding: 10px 14px;
    color: var(--mslc-darkblue) !important;
    font-size: calc(11pt + var(--font-offset)) !important;
    text-decoration: none !important;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.1s;
    width: auto;
    float: none;
    margin: 0 !important;
}

.provNavLink:hover,
.provNavLink.provSearchActive {
    background: var(--mslc-lightblue);
    color: white !important;
}

.provSearchBack {
    margin-top: 8px !important;
    border-top: 1px solid var(--mslc-lightblue);
    padding-top: 12px;
    color: var(--mslc-orange) !important;
    font-size: calc(10pt + var(--font-offset)) !important;
}

/* DDL Provider Tooltip */
#provDDLTooltip {
    display: none;
    position: absolute;
    background: var(--mslc-darkblue);
    color: white;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: calc(10pt + var(--font-offset));
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 9998;
    max-width: 500px;
    line-height: 1.5;
    pointer-events: none;
    width: auto;
    float: none;
}

#provDDLTooltip strong {
    color: var(--mslc-orange);
}

#contactPopup {
    display: none;
    position: absolute;
    z-index: 9999;
    background: var(--mslc-darkblue);
    color: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    padding: 0;
    min-width: 240px;
    max-width: 380px;
    overflow-y: auto;
    font-size: calc(10pt + var(--font-offset));
    font-family: var(--site-font-family);
    width: auto;
    float: none;
    pointer-events: auto;
}

    #contactPopup .contactPopupHeader {
        font-weight: bold;
        font-size: calc(11pt + var(--font-offset));
        padding: 10px 14px 8px;
        border-bottom: 2px solid var(--mslc-lightblue);
        color: var(--mslc-orange);
        width: auto;
        float: none;
    }

    #contactPopup .contactPopupEmpty {
        padding: 10px 14px;
        font-style: italic;
        color: var(--mslc-lightblue);
        width: auto;
        float: none;
    }

    #contactPopup .contactPopupList {
        margin: 4px 0 6px 0;
        padding: 0;
        list-style: none;
        width: auto;
        float: none;
    }

    #contactPopup .contactPopupProvider {
        padding: 5px 14px;
        color: white;
        width: auto;
        float: none;
        line-height: 1.4;
    }

        #contactPopup .contactPopupProvider:hover {
            background: var(--mslc-lightblue);
        }

    /* inactive providers shown dimmed and italicized */
    #contactPopup .contactPopupInactive {
        color: var(--mslc-lightblue);
        font-style: italic;
    }

/* ============================================================
   CaseMixIndexData step wizard + toast styles
   Moved from CaseMixIndexData.aspx inline <style> block.
   Note: #dg layout override stays in the page (page-specific).
   ============================================================ */

.stepFieldset {
    border: 2px solid var(--mslc-lightblue);
    border-radius: 10px;
    padding: 10px 12px;
    margin: 0 0 12px 0;
    background: var(--white);
    max-width: 256px;
    box-sizing: border-box;
    overflow: hidden;
}

.stepLegend {
    color: var(--mslc-orange);
    font-weight: bold;
    font-size: calc(12pt + var(--font-offset));
    padding: 0 8px;
}

.stepDescription {
    margin: 0 0 8px 0;
    font-size: calc(10pt + var(--font-offset));
    color: var(--mslc-darkblue);
}

.toastMessage {
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 12px;
    font-size: calc(10pt + var(--font-offset));
    font-weight: bold;
    color: var(--white);
    max-width: 256px;
    box-sizing: border-box;
}

.toastMessage.success { background-color: var(--mslc-orange); }
.toastMessage.error   { background-color: #d9534f; }
.toastMessage.info    { background-color: #5bc0de; }
