.ui-widget-overlay 
{
    position: fixed !important;
}


.spanYearQuarter {
    width: 90px; /* adjust to taste */
}



/* [Bootstrap 2 legacy] btn-link override (optional) */
/* .btn-link, .btn-link:active, .btn-link[disabled] { background-color: transparent; box-shadow: none; }
.btn-link { color: #0088cc; cursor: pointer; border-color: transparent; border-radius: 0; }
.btn-link:hover, .btn-link:focus { color: #005580; text-decoration: underline; background-color: transparent; }
.btn-link[disabled]:hover, .btn-link[disabled]:focus { color: #333333; text-decoration: none; } */

.gridCont
{
    width: 965px;
}

body {
    padding-top: 0; /* set to ~70px only on _LogOnLayout if using navbar-fixed-top */
    padding-bottom: 40px;
    background: #8E8A84 url(/Images/ghs/core/bg.jpg) left 40px repeat-x;
}

/* App content full-width with small inset */
.appContainer {
    max-width: none; /* remove fixed width */
    margin: 0; /* no centering margins */
    padding-left: 10px; /* inset from page edges */
    padding-right: 10px;
}

.popover
{
    /*font-size: 8px; */
    width: auto;
    font-size: 8px;
}

/** ------------------------------
    UTILITY CLASSES
    ------------------------------ */

.lessLower
{
    margin-bottom: -20px;
}

tr.assessedRow td, 
tr.assessedRow td.dt-ordering-1
{
    background-color: #0074CC;
    color: #FFF;
}

#showHideBatch
{
}

.padding-top-2
{
    padding-top: 2px; /*border: 1px solid gray;*/
}

.psuedoHeader
{
    border: 1px solid gray;
    background-color: gray;
}

.invisible
{
    visibility: hidden;
}

.hide
{
    display: none;
}

.show
{
    display: block;
}

.smallText
{
    font-size: 11px;
    margin-bottom: -5px;
    margin-top: -10px;
}

.seperator
{
    height: 2em;
}


.right
{
    text-align: right;
}

.left
{
    text-align: left;
}

.offerDiv
{
}

.selectAll
{
    width: auto;
    background-color: white;
    padding: .5em;
}

.padLeft
{
    padding-left: 2em;
}

div.ui-datepicker
{
    font-size: 20px;
    line-height: 1.3;
}


.phoneText
{
    font-size: x-small;
    font-weight: lighter;
}

.commentLabel
{
    margin-top: 2px;
    margin-bottom: 2px;
}

.categoryLabel
{
    margin-top: 0px;
    margin-bottom: 0px;
}

.eventLabel
{
    margin-bottom: 6px;
}

.event > a
{
    background-color: pink !important;
    background-image: none !important;
}

#events.calendar-focused {
    outline: 2px solid #005fcc;
    outline-offset: 2px;
}

#events:focus {
    outline: 2px solid #005fcc;
    outline-offset: 2px;
}

/* Event info panel below calendar */
.events-info-panel {
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px 12px;
    margin-top: 8px;
    min-height: 50px;
    font-size: 13px;
}

    .events-info-panel strong {
        color: #333;
        font-size: 14px;
    }

    .events-info-panel .event-details {
        color: #006CB5;
        font-weight: 500;
    }

    .events-info-panel .no-event {
        color: #888;
        font-style: italic;
    }

.rowError
{
    border: 2px solid red;
    color: red;
}

.checkErrors
{
    font-size: 10px;
}

.upperMargin
{
    margin-top: 3.2em;
}

.upperMarginSmall
{
    margin-top: 10px;
}

.errors
{
    font-weight: bold;
    color: red;
    margin-bottom: .5em;
}

.center
{
    text-align: center;
}

.lessUpper
{
    margin-top: -15px;
}

div.dt-processing   /* Datatables 2.3 */
{
    margin-top: 75px;
}

div.psuedoLink
{
    cursor: pointer;
    color: #00568A;
}

.allocationInfo
{
    font-weight: bold;
    margin-bottom: 2px;
    background-color: White;
    padding: 2px;
}

.navbar-custom
{
    background-color: #f5f5f5;
    color: #f5f5f5;
    border-radius: 0;
}

.reportViewerLeft
{
    margin-left: -30px;
    padding-right: 0px;
}

.stateEditBlock
{
    border: 1px solid grey;
}

.rightMargin
{
    margin-right: 4em;
}

.adjButtons
{
    padding-left: 1.5em;
}

.formLeft
{
    margin-left: -45px;
}

.buttonLeft
{
    margin-left: -20px;
}

.jCodeBar
{
    margin-top: -30px;
    margin-bottom: -10px;
    border-radius: 4px;
    padding-bottom: -20px;
}

.paddingh3
{
    padding-bottom: .25em;
    padding-top: .25em;
}

.upperPaddingButton
{
    padding-top: 1.4em;
}

.upperPadding
{
    padding-top: 1.5em;
}

.upperPaddingSmall
{
    padding-top: .5em;
}

.upperPaddingMedium
{
    padding-top: .75em;
}

.lowerMargin
{
    margin-bottom: 1em;
}

.screenReaderContent
{
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.noPadding
{
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.lessPadding
{
    padding-bottom: 0px;
}

.lesserPadding
{
    padding-bottom: 0px;
    margin-bottom: -20px;
}

input[type='checkbox']
{
    margin-right: .5em;
}

.bold
{
    font-weight: bold;
}

.journal
{
    width: 99%;
}

.dispute_modal
{
    width: 53%;
}

.header
{
    white-space: nowrap;
}

.error
{
    color: red;
    padding-left: 10px;
    display: none;
}

.right
{
    text-align: right;
}


.unauthorized
{
    text-align: center;
}

.unauthorized h2
{
    color: red;
}

.manerror
{
    color: red;
    padding-left: 10px;
    display: none;
}

.typeerror
{
    color: red;
    padding-left: 10px;
    display: none;
}

/* Update made by FDP per copilot.  Need to reconcile with any TH changes. */
/* Updated for Bootstrap 3.4.1 - .uneditable-input is now .form-control-static */
textarea, 
input, 
.uneditable-input,      /* Bootstrap 2.x class - deprecated */
.form-control-static,   /* Bootstrap 3.x replacement */
select
{
    padding: 2px 3px;
    font-size: 12px;
}

select
{
    height: 24px;
}

.sudoLabel
{
    font-weight: bold;
    color: #444;
    font-size: 11px;
}

.chkBorders
{
    padding-top: 1em;
    padding-left: 1em;
    padding-bottom: .1em;
    width: 20%;
    border-radius: 4px;
    background-color: #CFDBE2;
}

.chkBordersWizard
{
    padding-top: 1em;
    padding-left: 1em;
    padding-bottom: .1em;
    margin-left: -24px;
    margin-top: -10px;
    margin-bottom: 10px;
    width: 100%;
    border-radius: 4px;
    background-color: #CFDBE2;
}

.chkBordersCheckEntry
{
    padding-top: 1em;
    padding-left: 1em;
    padding-bottom: .1em;
    margin-left: -24px;
    margin-top: -10px;
    margin-bottom: 10px;
    width: 100%;
    border-radius: 4px;
    background-color: #CFDBE2;
}

.adjChkBorders
{
    padding-top: 1em;
    padding-left: 1em;
    padding-bottom: .1em;
    width: 50%;
    border-radius: 4px;
    background-color: #CFDBE2;
}

/* If the style is still needed, rename class in markup (e.g., .adjQuantities) */
.adjQuantities {
    float: left; /* consider replacing with B3 grid instead */
    width: auto;
    background-color: #E3E9ED;
    margin-left: 0;
    padding: 2px;
}

/** ------------------------------
    NAVBAR
    ------------------------------ */

/* [Keep or scope] Dropdown rounding (safer if scoped to nav) */
.navbar-nav .dropdown-menu {
    margin-top: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

/* [Scoped hover styling for navbar dropdown items] */
.navbar-nav .dropdown-menu li > a:hover,
.navbar-nav .dropdown-menu .active > a,
.navbar-nav .dropdown-menu .active > a:hover {
    background-color: #006CB5;
    color: #fff;
}

/* [Bootstrap 2 legacy] .tab-content { display: block; } */
/* Bootstrap 3 manages tabs; removing forced display prevents layout quirks */
/* .tab-content { display: block; } */


/* [Bootstrap 3-safe] Ensure correct link height for navbar items */
.navbar-nav > li > a {
    padding-top: 8px;     /* was 15px */
    padding-bottom: 8px;  /* was 15px */
    line-height: 20px;
}

/* Optional: color for navbar-default theme */
.navbar-default .navbar-nav > li > a { color: #333; }
.navbar-default .navbar-nav > li > a:hover { color: #000; }

/* Optional: dark theme keeps white links from legacy overrides safe */
.navbar-inverse .navbar-nav > li > a { color: #fff; }
.navbar-inverse .navbar-nav > li > a:hover { color: #fff; opacity: 0.85; }

/* Optional: shrink navbar overall vertical padding */
.navbar {
    min-height: 40px;     /* default ~50px; reduce a bit */
}
.navbar .navbar-toggle {
    margin-top: 6px;
    margin-bottom: 6px;
}
.navbar .navbar-brand {
    padding-top: 10px;
    padding-bottom: 10px;
    height: 40px;         /* match navbar min-height if brand is used */
}

/** ------------------------------
    APP CONTAINER
    ------------------------------ */
.app
{
    background: transparent url(/Images/ghs/app/app-bg.jpg) left top no-repeat;
}
.appContainer
{
    background: transparent url(/Images/ghs/core/content-bg.png) left top;
    -moz-border-radius-bottomleft: 4px;
    -webkit-border-bottom-left-radius: 4px;
    -moz-border-radius-bottomright: 4px;
    -webkit-border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    margin-bottom: 4em;
}

/* Compact the generic top row (if AppState row doesn't use appstate-bar) */
.appContainer > .row:first-child {
    margin: 4px 0;        /* was 10px 0 inline; override smaller */
}

/** ------------------------------
    APP NAV
    ------------------------------ */

.navbar-inner-custom
{
    padding: 4px 0px 4px 0px;
    background: #E3E9ED;
}

.reportName
{
    font-weight: bold;
    padding: 8px 0px 0px 7px;
    color: #555;
}

.dropdown-menu li > a:hover, .dropdown-menu .active > a, .dropdown-menu .active > a:hover
{
    background-color: #006CB5;
}

/** ------------------------------
    BREADCRUMB
    ------------------------------ */
.breadcrumb
{
    border: 0;
    padding: 0;
    margin-bottom: 4px;
    background-color: transparent;
    background-image: none;
}

/** ------------------------------
    CONTENT
    ------------------------------ */
label.checkedlist
{
    color: #444;
    margin-top: -20px;
    padding: 3px;
    font-size: 12px;
    margin-left: 30px;
}

.content
{
    background-color: #FFF;
    min-height: 400px;
    padding: 5px 10px 15px 10px;
}
.content h2
{
    color: #555;
}

/** Add New Links inside the H2 content title   **/
.content h2 a
{
    color: #0088cc;
    cursor: pointer;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 13px;
    font-weight: normal;
    padding-left: 10px;
}
/** Add New Links inside the H4 content title **/
.content h4 a
{
    color: #0088cc;
    cursor: pointer;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 13px;
    font-weight: normal;
    padding-left: 10px;
}



.loginContent
{
    background: transparent url(/Images/ghs/app/formulary-entry-bg.png) top left no-repeat;
    text-align: center;
    padding-top: 16em;
}
.alert
{
    margin-bottom: 1em;
}
.pageTitle
{
    margin: 0 0 .5em 0;
    padding-left: 30px;
    background-position: left center;
    background-repeat: no-repeat;
}
.loginContent .pageTitle
{
    display: none;
}

/** ------------------------------
    PAGE TITLE ICONS
    ------------------------------ */
.adminTitle, .invoiceTitle
{
    background-image: url(/Images/iconic/gray_dark/list_24x21.png);
}
.invoiceTitle
{
    background-image: url(/Images/iconic/gray_dark/list_nested_24x21.png);
}
.userTitle
{
    background-position: 6px center;
    background-image: url(/Images/iconic/gray_dark/user_18x24.png);
}
.stateTitle
{
    background-position: 9px center;
    background-image: url(/Images/iconic/gray_dark/map_pin_fill_15x24.png);
}
.applicationTitle
{
    background-image: url(/Images/iconic/gray_dark/at_24x24.png);
}

/** ------------------------------
    HELP PAGE
    ------------------------------ */
.aboutApp {
    background: transparent url(/Images/ghs/app/app-icon.png) top left no-repeat;
    min-height: 400px;
    padding-left: 320px;
    overflow: auto;
}
.aboutApp h3
{
    font-size: 3em;
    color: #006CB5;
}
.version
{
    color: #555;
    font-size: .85em;
    margin-top: .5em;
}
.icon-workflow
{
    background: transparent url(/Images/ghs/core/workflow.png) left top no-repeat;
}
.meta
{
    margin: 0;
}
.meta li
{
    list-style: none;
}
.meta i
{
    vertical-align: middle;
    margin-right: 3px;
}

/** ------------------------------
    FOOTER
    ------------------------------ */
.footer
{
    font-size: .9em;
    color: #CCC;
    background: #444 url("/Images/ghs/core/grid-left.png") left top repeat-y;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    overflow: hidden;
    padding: 12px;
    text-align: right;
    min-height: 50px;
}

/** ------------------------------
    FORMS
    ------------------------------ */
.loginForm
{
    text-align: center;
    margin: 0 0 6em 0;
    background-color: #333 !important;
    display: inline-block; /*IE7*/
    zoom: 1;
    display: inline;
}
.loginForm input
{
    font-size: 18px;
    height: 28px !important;
    line-height: 28px !important;
}
.loginForm .btn
{
    font-size: 18px;
    line-height: 25px !important;
    vertical-align: top;
}
.loginPanelActions
{
    text-align: left;
    margin-top: .5em;
    color: #555;
}
.loginPanelActions a:hover
{
    color: #FFF;
}


select
{
    width: auto;
}
.well
{
    background-color: #E3E9ED;
    overflow: hidden;
}
.report-well
{
    padding: 6px 0;
}
.loginContent .well
{
    background-color: transparent;
    background-image: none;
    border: 0;
    box-shadow: none;
}

/* [Bootstrap 2 legacy] Inline control group patterns */
/* .inlineControlGroup, .inlineControlGroup .controls, .formOr, .inlineFormActions { display: inline-block; }
.inlineControlGroup { margin-bottom: 0; }
.inlineControlGroup .control-label, .formOr { vertical-align: top; line-height: 28px; }
.formOr { margin: 0 .5em 0 -5px; font-style: oblique; background-color: #AFBBC5; color: #FFF; border-radius: 4px; padding: 0 1em; }
.inlineFormActions, .inlineFormActions button { vertical-align: top; } */

label
{
    margin-top: -15px;
    font-weight: bold;
    color: #444;
    margin-bottom: -7px;
    font-size: 11px;
}

h4
{
    margin-bottom: .5em;
}

.help-block
{
    font-size: 13px;
}
.noPadding .form-actions
{
    margin-bottom: 0;
}
.well .form-actions
{
    background-color: #CFDBE2;
    border-top: 0;
    margin-left: -19px;
    margin-right: -19px;
    margin-bottom: 0;
}

.adjsFormActions
{
    margin-top: -12px;
    padding: 6px 0px 1px 15px;
    margin-bottom: 8px;
    border-radius: 4px;
}

.form-well
{
    padding: 15px;               /* match Bootstrap default or your design */
    margin-bottom: 20px;         /* space between sections */
}
.form-well form
{
    margin-bottom: 0;
}
.form-info-panel
{
    background-color: #E9F0F5;
    border-radius: 4px;
    padding: 12px;
    border: 1px solid #CFDBE2;
    margin-bottom: 1em;
}

.form-info-footer-panel
{
    background-color: #E9F0F5;
    border-radius: 4px;
    padding: 4px 8px 4px 8px;
    border: 1px solid #CFDBE2;
    margin: 4px 0;
}

.h4Footer
{
    text-align: left;
    margin-bottom: 0;
}

.form-group
{
    margin-bottom: 15px;
}

.has-error .control-label
{
    color: #a94442;
}

.has-error .form-control
{
    border-color: #a94442;
}

/* Global: make wells show a full, more visible border */
.well,
.well.well-sm {
    border: 1px solid #7f8c99; /* darker, visible border */
    border-radius: 4px; /* subtle rounding */
    box-shadow: 0 1px 0 rgba(0,0,0,.10), 0 2px 4px rgba(0,0,0,.10);
    background-color: #E3E9ED; /* keep existing background */
    margin-left: 12px;
    margin-right: 12px;
}

/* Utility: horizontally align non-well rows with wells */
.align-with-wells {
    margin-left: 12px;
    margin-right: 12px;
    padding-left: 0;             /* or your grid gutter alignment */
    padding-right: 0;
}

/* Utility: small vertical padding inside action columns */
.actions-pad {
    padding-top: 8px;
    padding-bottom: 8px;
}

/* Tighter spacing between action buttons when on the same row */
.form-actions .action-row {
    display: flex;
    flex-wrap: wrap;      /* stack on small screens */
    gap: 8px;             /* small space between buttons */
}
.form-actions .action-row > .btn {
    width: auto;          /* keep intrinsic width */
}

/* Utility: horizontally align non-well rows with wells */
.align-with-wells {
  margin-left: 12px;
  margin-right: 12px;
}

/* Align action rows with the inner content edge of wells */
.form-actions.align-with-wells {
    padding-left: 20px; /* matches typical well inner padding */
}

/* Prevent help text from overlapping form controls under Bootstrap 3 */
.form-group .help-block.smallText,
.form-group .smallText {
    display: block;
    margin-top: 6px;    /* space below the dropdown */
    margin-bottom: 0;   /* compact */
    font-size: 11px;    /* keep your size */
}

/* Extra bottom spacing for wells that hold action buttons */
.well-actions {
    padding-bottom: 12px; /* adjust as needed */
}

/* If buttons wrap on XS, keep vertical spacing tidy */
.well-actions .btn {
    margin-bottom: 8px;
}

/* Avoid “double inset” on nested wells */
.well .well,
.form-well .well {
    margin-left: 0;
    margin-right: 0;
}

/** ------------------------------
    DATA GRID

    ------------------------------ */

tr.committedRow
{
    background-color: #F78181;
}

tr.savedRow
{
    background-color: #BCF5A9;
}

.savedCaption
{
    background-color: #BCF5A9;
    text-align: center;
    padding-top: .25em;
    padding-bottom: .25em;
}

.committedCaption
{
    background-color: #F78181;
    text-align: center;
    padding-top: .25em;
    padding-bottom: .25em;
}

.stagedCaption
{
    background-color: #FFCC66;
    text-align: center;
    padding-top: .25em;
    padding-bottom: .25em;
}


/* Custom search bar */
.colSearch
{
    background-color: #cccccc;
    border-radius: 4px;
    padding-top: 4px;
    padding-left: 1em;
}

/* Addition to search bar styles that removes the bottom round corners. For use in the case where a search bar should sit seamlessly above a table without a margin. */
.colSearch-round-top
{
    border-top-left-radius: 4px;
    -webkit-border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    -webkit-border-top-right-radius: 4px;
    border-bottom-left-radius: 0;
    -webkit-border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    -webkit-border-bottom-right-radius: 0;
}

/* Addition to dataTables_wrapper that removes the top round corners. To be used in conjunction with "colSearch-round-top" to make the search bar and table feel more integrated together */
.dt-container-round-bottom .ui-corner-tl
{
    border-top-left-radius: 0;
    -webkit-border-top-left-radius: 0;
}
.dt-container-round-bottom .ui-corner-tr
{
    border-top-right-radius: 0;
    -webkit-border-top-right-radius: 0;
}

.dt-container
{
    margin-bottom: 1em;
}

    .dt-container .ui-corner-tl
    {
        border-top-left-radius: 0;
        -webkit-border-top-left-radius: 0;
    }

    .dt-container .ui-corner-tr
    {
        border-top-right-radius: 0;
        -webkit-border-top-right-radius: 0;
    }

.dt-scroll
{
    border-bottom-left-radius: 4px;
    -webkit-border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    -webkit-border-bottom-right-radius: 4px;
}

.columnSearch
{
    padding-left: 1em;
    width: 12em;
}

.dataGrid
{
    width: 100%;
    font-size: 11px;
    font-weight: bold;
}
.dataGridSorted
{
    width: 100%;
    font-size: 11px;
    font-weight: bold;
}

.dataGrid a.cellaction
{
    color: #000000;
}
.dataGridSorted a.cellaction
{
    color: #000000;
}
.dataGrid a.cellaction:hover
{
    color: #000000;
    text-decoration: underline;
}
.dataGridSorted a.cellaction:hover
{
    color: #000000;
    text-decoration: underline;
}

/*.dataGrid a{
	color: #FFFFFF;
}*/

.dataGrid a
{
    color: #08C;
}
.dataGridSorted a
{
    color: #08C;
}

.dataGrid a:hover
{
    color: #87CEFA;
    text-decoration: none;
    cursor: pointer;
}
.dataGridSorted a:hover
{
    color: #87CEFA;
    text-decoration: none;
    cursor: pointer;
}

.dataGrid tr:nth-child(odd) {
    background-color: #E3E9ED;
}
.dataGridSorted tr:nth-child(odd)
{
    background-color: #E3E9ED;
}

.manage-categories-category input {
    width: 250px !important;
}

tr:nth-child(odd) td.dt-ordering-1
{
    background-color: #CFDBE2;
}

tr:nth-child(even) td.dt-ordering-1
{
    background-color: #E3E9ED;
}

tr.selectedRow td, 
tr.selectedRow td.dt-ordering-1
{
    background-color: #0074CC;
    color: #FFF;
}

tr.stagedRow td, 
tr.stagedRow td.dt-ordering-1
{
    background-color: #FFCC66;
    color: #FFF;
}

tr.selectedRow td.sorting_1 [class^="icon-"], tr.selectedRow td.sorting_1 [class*=" icon-"]
/* Icon styling - TODO: needs Bootstrap 3 update (make sure image file exists or use new image file */
tr.selectedRow td.dt-ordering-1 [class^="icon-"],
tr.selectedRow td.dt-ordering-1 [class*=" icon-"],
tr.selectedRow td.dt-ordering-1 [class^="glyphicon-"],
tr.selectedRow td.dt-ordering-1 [class*=" glyphicon-"] {
    background-image: none; /* was url("bootstrap/img/glyphicons-halflings-white.png"); */
}

tr.selectedRow td a
{
    color: #FFF;
}

.dt-search label
{
    margin-top: .25em;
}

.dt-container select,
.dt-container input
{
    width: auto;
    display: inline-block;
    zoom: 1;
    display: inline;
    margin-bottom: 0;
}

.dt-container label
{
    margin-bottom: 0;
}

table.dataGrid
{
    width: 100%;
    border-left: 1px solid #BBB;
    border-right: 1px solid #BBB;
    border-top: 1px solid #BBB;
    border-bottom: 1px solid #BBB;
}
table.dataGridSorted
{
    width: 100%;
    border-left: 1px solid #BBB;
    border-right: 1px solid #BBB;
    border-top: 1px solid #BBB;
    border-bottom: 1px solid #BBB;
}

table.dataGrid th, table.dataGrid td
{
    text-align: center !important; /*white-space: nowrap;*/
    border-left: 1px solid #BBB;
    border-right: 1px solid #BBB;
}
table.dataGridSorted th, table.dataGridSorted td
{
    text-align: center !important; /*white-space: nowrap;*/
    border-left: 1px solid #BBB;
    border-right: 1px solid #BBB;
}

table.dataGrid thead th
{
    background-color: lightgray;
}
table.dataGridSorted thead th
{
    /*background-color: #0088cc;*/
}

.dataGrid th.drugBorderRight
{
    border-right: 3px solid black;
}
.dataGridSorted th.drugBorderRight
{
    border-right: 3px solid black;
}

.dataGrid th.drugBorderLeft
{
    border-left: 3px solid black;
}
.dataGridSorted th.drugBorderLeft
{
    border-left: 3px solid black;
}


/*
    For State offer review headers
*/
.drugColor
{
    padding-top: .5em;
    padding-bottom: .5em;
    background-color: #94DBFF;
    text-align: center;
    font-weight: bold;
}

.contractColor
{
    padding-top: .5em;
    padding-bottom: .5em;
    background-color: #2595BA;
    text-align: center;
    font-weight: bold;
}

.formulaColor
{
    padding-top: .5em;
    padding-bottom: .5em;
    background-color: #5C85AD;
    text-align: center;
    font-weight: bold;
}

.selectColor
{
    padding-top: .5em;
    padding-bottom: .5em;
    background-color: #7D9DDE;
    text-align: center;
    font-weight: bold;
}

.offersColor
{
    padding-top: .5em;
    padding-bottom: .5em;
    background-color: #D6EAFF;
    text-align: center;
    font-weight: bold;
}

.commentsColor
{
    padding-top: .5em;
    padding-bottom: .5em;
    background-color: #A6C8D4;
    text-align: center;
    font-weight: bold;
}

.acceptedColor
{
    padding-top: .5em;
    padding-bottom: .5em;
    background-color: #EEFFFF;
    text-align: center;
    font-weight: bold;
}

.btn-exclusions
{
    /*  background: #FF9900;   */ /*background: #CCCCFF;*/
    border-color: #990000;
    border-width: 2px;
}

.edit-override
{
    border-color: #990000;
    border-width: 2px;
}


.ui-widget-header
{
}

.legend
{
    border: 1px solid grey;
    padding-top: .25em;
    padding-bottom: .25em;
}

table.dataGrid tr:hover
{
    background-color: #EEE8AA !important;
}
table.dataGridSorted tr:hover
{
    background-color: #EEE8AA !important;
}

/* TODO: Consider removing these DataTable_sort_wrapper/dt_orderable classes and using default databables 2.x behavior */
table.dataGrid thead th.dt-orderable /* DataTables 2.x uses classes on th, not wrapper divs */
{
    position: relative;
    padding-right: 12px;
    padding-left: 0px;
    font-weight: bold;
}


    table.dataGrid thead th.dt-orderable span.dt-column-order   /* DataTables 2.x sorting indicator */
    {
        position: absolute !important;
        top: 50% !important;
        margin-top: -8px !important;
        right: 0 !important;
    }

table.dataGridSorted thead th.dt-orderable
{
    position: relative;
    padding-right: 12px;
    padding-left: 0px;
    font-weight: bold;
}


    table.dataGridSorted thead th.dt-orderable span.dt-column-order
    {
        position: absolute !important;
        top: 50% !important;
        margin-top: -8px !important;
        right: 0 !important;
    }

table.dataGrid td
{
    padding: 2px 2px 2px 2px;
    border-right: 1px solid #BBB;
}
table.dataGridSorted td
{
    padding: 2px 2px 2px 2px;
    border-right: 1px solid #BBB;
}

table.dataGrid td input[type="checkbox"]
{
    margin: 3px 0;
}
table.dataGridSorted td input[type="checkbox"]
{
    margin: 3px 0;
}

table.dataGrid tr:nth-child(odd).gradeA
{
    background-color: #ddffdd;
}
table.dataGridSorted tr:nth-child(odd).gradeA
{
    background-color: #ddffdd;
}

table.dataGrid tr:nth-child(even).gradeA
{
    background-color: #eeffee;
}
table.dataGridSorted tr:nth-child(even).gradeA {
    background-color: #eeffee;
}

table.dataGrid .btn
{
    padding: 0 .5em;
    text-transform: capitalize;
}
table.dataGridSorted .btn
{
    padding: 0 .5em;
    text-transform: capitalize;
}
.gridActions
{
    margin: 0;
}
.gridActions li
{
    line-height: 18px;
    list-style: none;
    display: inline-block;
    zoom: 1;
    display: inline;
}
.gridActions li a
{
    text-align: center;
    display: inline-block;
    zoom: 1;
    display: inline;
    width: 18px;
    height: 18px;
    border-radius: 9px;
    -moz-border-radius: 9px;
    -webkit-border-radius: 9px;
    background-color: #444;
}
.gridActions li a:hover
{
    background-color: #666;
}
.gridActions li span
{
    display: none;
}
.gridActions li a.view, .gridActions li a.edit
{
    background-color: #0073DC;
}
.gridActions li a.approve
{
    background-color: #008000;
}
.gridActions li a.decline, .gridActions li a.delete
{
    background-color: #800000;
}
.icon-ok span
{
    display: none;
}

.grid-actions
{
    white-space: nowrap;
}

/** ------------------------------
 Please Wait spinner
 ------------------------------ */
#pleaseWait
{
    text-align: center;
    vertical-align: middle;
    height: 100%;
    width: 100%;
    background-image: url('/Images/ghs/app/icons/spinner2.gif');
    background-position: center center;
    background-repeat: no-repeat;
}


#pleaseWait img
{
    vertical-align: middle;
}

.iebug
{
    position: relative;
}

/**
 * UI-DATEPICKER-DIV
 */
.ui-datepicker-div
{
    display: none;
}

/**
 * TABLETOOLS - TODO: Remove this deprecated extension styles once Buttons extension is fully adopted  (see next section)
 */
.TableTools
{
    border-radius: 4px;
    -webkit-border-radius: 4px;
    margin-top: 3px;
}

/**
 * DATATABLES BUTTONS EXTENSION (replaces deprecated TableTools)
 */
.dt-buttons
{
    border-radius: 4px;
    -webkit-border-radius: 4px;
    margin-top: 3px;
}



/*
 * Namespace: DTS (DataTables Scroller)
 */

div.dtscroller tbody th,
div.dtscroller tbody td
{
    white-space: nowrap;
}

div.dtscroller tbody tr:nth-child(even)
{
    background-color: white;
}

div.dtscroller div.dtscroller-loading
{
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 20px;
    margin-top: -20px;
    margin-left: -100px;
    z-index: 1;
    border: 1px solid #999;
    padding: 20px 0;
    text-align: center;
    background-color: white;
    background-color: rgba(255, 255, 255, 0.5);
}

div.dtscroller div.dt-scroll-head
{
    background-color: white;
}

div.dtscroller div.dt-scroll-body
{
    z-index: 2;
}

div.dtscroller div.dt-scroll
{
    /*background: url('../images/loading-background.png') repeat 0 0;*/
}

/*
 * Screenreader only text
 */

.hidden
{
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}


.emailPreview
{
    background: white;
}

.accordian-header
{
    background-color: #0088cc;
    -moz-border-radius-bottomleft: 4px;
    -moz-border-radius-bottomright: 4px;
    -moz-border-radius-topleft: 4px;
    -moz-border-radius-topright: 4px;
    -webkit-border-bottom-left-radius: 4px;
    -webkit-border-bottom-right-radius: 4px;
    -webkit-border-top-left-radius: 4px;
    -webkit-border-top-right-radius: 4px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.accordian-header a:link
{
    color: White;
    text-decoration: none;
}

.accordian-headerOrig a:link
{
}

.navbar-custom
{
    background-color: #f5f5f5;
    color: #f5f5f5;
    border-radius: 0;
}

.navbar {
    position: relative;
    z-index: 1000;
    overflow: visible;
}

.dropdown-menu {
    z-index: 1000;
}

/* AppState utility bar: white text on dark background */
.appstate-bar {
    color: #fff;
    margin: 0;            /* remove extra vertical space */
    padding: 4px 0;       /* smaller height */
}
.appstate-bar .navbar-text {
    color: #fff;
    margin: 0 8px 0 0;    /* tighter text margin */
    line-height: 20px;    /* reduce line height */
}
.appstate-bar .appstate-link {
    color: #fff;
    padding: 0;           /* remove button padding */
    line-height: 20px;    /* align with text */
}
.appstate-bar .appstate-link:hover,
.appstate-bar .appstate-link:focus {
    color: #e6e6e6; /* slight contrast on hover */
    text-decoration: underline;
}
/* Keep AppState items together on the right */
.appstate-right {
    display: flex;
    justify-content: flex-end; /* push to the far right */
    align-items: center;
    gap: 15px; /* small space between text and link */
}

.appstate-text {
    display: inline-block;
}

.appstate-link {
    padding: 0;
    line-height: 20px;
}

/* Align action buttons with form controls in filter rows */
.align-button {
    margin-top: 0px; /* matches typical label+control spacing in Bootstrap 3 */
}

hr {
    border: 0;
    border-top: 1px solid #bbb; /* darker */
    margin: 10px 0; /* tighter spacing */
}

hr.compact {
    border-top: 2px solid #888; /* thicker/darker */
    margin: 8px 0;
}

/* Align checkbox form-group with adjacent inputs in Bootstrap 3 */
.form-group .checkbox {
    margin: 0; /* no extra left shift */
    padding: 0;
}

.form-group .checkbox label {
    display: inline-flex; /* align box + text on baseline */
    align-items: center;
    padding-left: 0; /* Bootstrap adds ~20px left padding; remove */
    margin: 0; /* neutralize global label negative margins */
    font-weight: bold; /* ensure bold like other labels */
    font-size: 11px; /* match your global label size */
    color: #444; /* match label color */
}

.form-group .checkbox input[type="checkbox"] {
    position: static; /* bootstrap sets absolute; keep normal flow */
    margin: 0 8px 0 0; /* space between box and text */
}

.terms-text {
    font-size: 14px; /* or 18px */
    line-height: 1.6;
}

.wrap-text {
    white-space: normal;
    word-break: break-word;
}

/* Rotate any glyphicon 45 degrees */
.glyphicon-rotate-45 {
    display: inline-block;      /* allow transform on inline icons */
    transform: rotate(45deg);
    transform-origin: 50% 50%;  /* center pivot (optional) */
}

/* Other options if needed */
.glyphicon-rotate-90  { display: inline-block; transform: rotate(90deg); }
.glyphicon-rotate-135 { display: inline-block; transform: rotate(135deg); }
.glyphicon-rotate-180 { display: inline-block; transform: rotate(180deg); }

/* Force Glyphicons to load from a known absolute path */
@font-face {
    font-family: "Glyphicons Halflings";
    src: url("/Content/fonts/glyphicons-halflings-regular.eot");
    src: url("/Content/fonts/glyphicons-halflings-regular.eot?#iefix") format("embedded-opentype"),
         url("/Content/fonts/glyphicons-halflings-regular.woff2") format("woff2"),
         url("/Content/fonts/glyphicons-halflings-regular.woff") format("woff"),
         url("/Content/fonts/glyphicons-halflings-regular.ttf") format("truetype"),
         url("/Content/fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular") format("svg");
    font-weight: normal;
    font-style: normal;
}
/* Ensure .glyphicon uses the correct font (defensive) */
.glyphicon {
    font-family: "Glyphicons Halflings" !important;
    font-style: normal;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Paginator alignment fixes */
.paginator-wrap {
    display: flex;
    align-items: center;       /* vertically center all children */
    gap: 8px;                  /* small spacing between items */
    flex-wrap: wrap;           /* wrap on small screens */
}

.paginator {
    display: inline-block;     /* ensure transformable baseline */
    vertical-align: middle;    /* align next to text */
    height: 24px;              /* match your select height override */
    line-height: 24px;         /* align text in the control */
    padding: 2px 6px;          /* compact padding */
}

/* Align the nav buttons list with the line */
.paginator-wrap .tableNav {
    display: inline-flex;
    align-items: center;
    margin: 0 0 0 10px;        /* space before buttons */
    padding: 0;
}
.paginator-wrap .tableNav li {
    list-style: none;
    margin: 0 4px;
}
.paginator-wrap .tableNav a,
.paginator-wrap .tableNav span {
    display: inline-block;
    line-height: 24px;         /* match select height for perfect alignment */
}

/* Paginator/nav icons: prevent offset/shadow or sprite overlay */
.tableNav .glyphicon {
    top: 0;                 /* Bootstrap sets top:1px; remove to avoid ghosting/offset */
    text-shadow: none;      /* no shadow so it doesn’t look doubled */
    background-image: none; /* defensive: no legacy sprite overlay */
}

/* If any global rule applied a background-image to glyphicons, neutralize it */
[class^="glyphicon-"],
[class*=" glyphicon-"] {
    background-image: none;
}

.reorderTable tbody tr {
    cursor: move;
    user-select: none;
}

.userTypeLabel {
    font-size: 11px;
    font-weight: bold;
    margin-bottom: 6px;
}

.allTypesLabel label {
    font-weight: normal !important;
}


/* Scoped accessible color override */
.panel-accessible a {
    color: #004E75; /* WCAG AA compliant */
    /*    text-decoration: underline;*/
}

html, body {
    overflow-x: hidden;
}
.well .well-reflow {
    overflow: auto;
}

/* fixing header overlap */
.ui-datepicker {
    z-index: 9999 !important; /* higher than header */
}

.input-group .form-control:first-child {
    width: auto;
}