/* Minification failed. Returning unminified contents.
(10,2): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(11,2): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(12,2): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(13,2): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(14,2): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(42,9): run-time error CSS1030: Expected identifier, found ':'
(42,10): run-time error CSS1031: Expected selector, found 'not('
(42,10): run-time error CSS1025: Expected comma or open brace, found 'not('
(61,13): run-time error CSS1030: Expected identifier, found ':'
(61,14): run-time error CSS1031: Expected selector, found 'not('
(61,14): run-time error CSS1025: Expected comma or open brace, found 'not('
(77,13): run-time error CSS1030: Expected identifier, found '['
(77,18): run-time error CSS1031: Expected selector, found '='
(77,18): run-time error CSS1025: Expected comma or open brace, found '='
(99,13): run-time error CSS1030: Expected identifier, found '['
(99,18): run-time error CSS1031: Expected selector, found '='
(99,18): run-time error CSS1025: Expected comma or open brace, found '='
(107,13): run-time error CSS1030: Expected identifier, found ':'
(107,14): run-time error CSS1031: Expected selector, found 'not('
(107,14): run-time error CSS1025: Expected comma or open brace, found 'not('
(113,39): run-time error CSS1030: Expected identifier, found ':'
(113,40): run-time error CSS1031: Expected selector, found 'not('
(113,40): run-time error CSS1025: Expected comma or open brace, found 'not('
(123,25): run-time error CSS1039: Token not allowed after unary operator: '-bs-secondary-bg'
(131,25): run-time error CSS1039: Token not allowed after unary operator: '-bs-secondary-bg'
(159,49): run-time error CSS1030: Expected identifier, found '.'
(159,66): run-time error CSS1031: Expected selector, found ')'
(159,66): run-time error CSS1025: Expected comma or open brace, found ')'
(165,30): run-time error CSS1030: Expected identifier, found '.'
(165,66): run-time error CSS1031: Expected selector, found ')'
(165,66): run-time error CSS1025: Expected comma or open brace, found ')'
(176,2): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(187,58): run-time error CSS1063: Expected calculation unit, found 'var('
(187,58): run-time error CSS1064: Expected calculation product, found 'var('
(187,58): run-time error CSS1019: Unexpected token, found 'var('
(187,58): run-time error CSS1042: Expected function, found 'var('
(187,63): run-time error CSS1039: Token not allowed after unary operator: '-bs-gutter-x'
(187,76): run-time error CSS1062: Expected semicolon or closing curly-brace, found ')'
(188,59): run-time error CSS1063: Expected calculation unit, found 'var('
(188,59): run-time error CSS1064: Expected calculation product, found 'var('
(188,59): run-time error CSS1019: Unexpected token, found 'var('
(188,59): run-time error CSS1042: Expected function, found 'var('
(188,64): run-time error CSS1039: Token not allowed after unary operator: '-bs-gutter-x'
(188,77): run-time error CSS1062: Expected semicolon or closing curly-brace, found ')'
(189,59): run-time error CSS1063: Expected calculation unit, found 'var('
(189,59): run-time error CSS1064: Expected calculation product, found 'var('
(189,59): run-time error CSS1019: Unexpected token, found 'var('
(189,59): run-time error CSS1042: Expected function, found 'var('
(189,64): run-time error CSS1039: Token not allowed after unary operator: '-bs-gutter-x'
(189,77): run-time error CSS1062: Expected semicolon or closing curly-brace, found ')'
(190,59): run-time error CSS1063: Expected calculation unit, found 'var('
(190,59): run-time error CSS1064: Expected calculation product, found 'var('
(190,59): run-time error CSS1019: Unexpected token, found 'var('
(190,59): run-time error CSS1042: Expected function, found 'var('
(190,64): run-time error CSS1039: Token not allowed after unary operator: '-bs-gutter-x'
(190,77): run-time error CSS1062: Expected semicolon or closing curly-brace, found ')'
(191,59): run-time error CSS1063: Expected calculation unit, found 'var('
(191,59): run-time error CSS1064: Expected calculation product, found 'var('
(191,59): run-time error CSS1019: Unexpected token, found 'var('
(191,59): run-time error CSS1042: Expected function, found 'var('
(191,64): run-time error CSS1039: Token not allowed after unary operator: '-bs-gutter-x'
(191,77): run-time error CSS1062: Expected semicolon or closing curly-brace, found ')'
(192,59): run-time error CSS1063: Expected calculation unit, found 'var('
(192,59): run-time error CSS1064: Expected calculation product, found 'var('
(192,59): run-time error CSS1019: Unexpected token, found 'var('
(192,59): run-time error CSS1042: Expected function, found 'var('
(192,64): run-time error CSS1039: Token not allowed after unary operator: '-bs-gutter-x'
(192,77): run-time error CSS1062: Expected semicolon or closing curly-brace, found ')'
(193,59): run-time error CSS1063: Expected calculation unit, found 'var('
(193,59): run-time error CSS1064: Expected calculation product, found 'var('
(193,59): run-time error CSS1019: Unexpected token, found 'var('
(193,59): run-time error CSS1042: Expected function, found 'var('
(193,64): run-time error CSS1039: Token not allowed after unary operator: '-bs-gutter-x'
(193,77): run-time error CSS1062: Expected semicolon or closing curly-brace, found ')'
(194,59): run-time error CSS1063: Expected calculation unit, found 'var('
(194,59): run-time error CSS1064: Expected calculation product, found 'var('
(194,59): run-time error CSS1019: Unexpected token, found 'var('
(194,59): run-time error CSS1042: Expected function, found 'var('
(194,64): run-time error CSS1039: Token not allowed after unary operator: '-bs-gutter-x'
(194,77): run-time error CSS1062: Expected semicolon or closing curly-brace, found ')'
(195,59): run-time error CSS1063: Expected calculation unit, found 'var('
(195,59): run-time error CSS1064: Expected calculation product, found 'var('
(195,59): run-time error CSS1019: Unexpected token, found 'var('
(195,59): run-time error CSS1042: Expected function, found 'var('
(195,64): run-time error CSS1039: Token not allowed after unary operator: '-bs-gutter-x'
(195,77): run-time error CSS1062: Expected semicolon or closing curly-brace, found ')'
(196,60): run-time error CSS1063: Expected calculation unit, found 'var('
(196,60): run-time error CSS1064: Expected calculation product, found 'var('
(196,60): run-time error CSS1019: Unexpected token, found 'var('
(196,60): run-time error CSS1042: Expected function, found 'var('
(196,65): run-time error CSS1039: Token not allowed after unary operator: '-bs-gutter-x'
(196,78): run-time error CSS1062: Expected semicolon or closing curly-brace, found ')'
(197,60): run-time error CSS1063: Expected calculation unit, found 'var('
(197,60): run-time error CSS1064: Expected calculation product, found 'var('
(197,60): run-time error CSS1019: Unexpected token, found 'var('
(197,60): run-time error CSS1042: Expected function, found 'var('
(197,65): run-time error CSS1039: Token not allowed after unary operator: '-bs-gutter-x'
(197,78): run-time error CSS1062: Expected semicolon or closing curly-brace, found ')'
(198,60): run-time error CSS1063: Expected calculation unit, found 'var('
(198,60): run-time error CSS1064: Expected calculation product, found 'var('
(198,60): run-time error CSS1019: Unexpected token, found 'var('
(198,60): run-time error CSS1042: Expected function, found 'var('
(198,65): run-time error CSS1039: Token not allowed after unary operator: '-bs-gutter-x'
(198,78): run-time error CSS1062: Expected semicolon or closing curly-brace, found ')'
(203,100): run-time error CSS1030: Expected identifier, found '.'
(203,113): run-time error CSS1031: Expected selector, found ')'
(203,113): run-time error CSS1025: Expected comma or open brace, found ')'
(217,24): run-time error CSS1030: Expected identifier, found '.'
(217,64): run-time error CSS1031: Expected selector, found ')'
(217,64): run-time error CSS1025: Expected comma or open brace, found ')'
(245,25): run-time error CSS1039: Token not allowed after unary operator: '-bs-secondary-bg'
(251,25): run-time error CSS1039: Token not allowed after unary operator: '-bs-primary'
(297,20): run-time error CSS1030: Expected identifier, found '>'
(297,34): run-time error CSS1031: Expected selector, found ')'
(297,34): run-time error CSS1025: Expected comma or open brace, found ')'
(328,27): run-time error CSS1063: Expected calculation unit, found 'var('
(328,27): run-time error CSS1064: Expected calculation product, found 'var('
(328,27): run-time error CSS1019: Unexpected token, found 'var('
(328,27): run-time error CSS1042: Expected function, found 'var('
(328,32): run-time error CSS1039: Token not allowed after unary operator: '-bs-gutter-x'
(328,53): run-time error CSS1062: Expected semicolon or closing curly-brace, found ')'
(340,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(398,2): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(399,2): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(400,2): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(401,2): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(406,2): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(407,2): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(408,2): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(409,2): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(410,2): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(414,2): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(415,2): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(416,2): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(417,2): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(418,2): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(422,2): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(423,2): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(424,2): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(425,2): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(426,2): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(516,21): run-time error CSS1039: Token not allowed after unary operator: '-bs-form-invalid-border-color'
(521,14): run-time error CSS1039: Token not allowed after unary operator: '-bs-form-invalid-color'
(526,2): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(527,2): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(528,2): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(529,2): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(590,2): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(591,2): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(592,2): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(593,2): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(659,36): run-time error CSS1030: Expected identifier, found '*'
(659,38): run-time error CSS1031: Expected selector, found ')'
(659,38): run-time error CSS1025: Expected comma or open brace, found ')'
 */
/*
 * Bootstrap 2 classes the views still rely on that Bootstrap 5 dropped
 * without a direct replacement. Loaded right after Bootstrap 5.
 */

/* BS2 Cerulean typography (UAT): 14px Helvetica Neue body text on 20px
   lines in #555, and bold Telex headings in #317eac. Cerulean 5 uses 16px
   system-ui text on 24px lines and lighter, brighter headings. */
:root {
	--bs-body-font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	--bs-body-font-size: 14px;
	--bs-body-line-height: 20px;
	--bs-body-color: #555;
	--bs-heading-color: #317eac;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
	margin: 10px 0;
	font-family: "Telex", sans-serif;
	font-weight: bold;
	line-height: 20px;
}

h1, h2, h3, .h1, .h2, .h3 { line-height: 40px; }
h1, .h1 { font-size: 38.5px; }
h2, .h2 { font-size: 31.5px; }
h3, .h3 { font-size: 24.5px; }
h4, .h4 { font-size: 17.5px; }
h5, .h5 { font-size: 14px; }
h6, .h6 { font-size: 11.9px; }

p {
	margin: 0 0 10px;
}

/* BS2 links were underlined only on hover (not buttons or menu items) */
a {
	text-decoration: none;
}

a:where(:not(.btn, .nav-link, .dropdown-item, .navbar-brand, .dt-paging-button)):is(:hover, :focus) {
	text-decoration: underline;
}

/* BS2 lists: no padding, indented 25px by margin. Plain lists only, so the
   BS5 nav, dropdown and pagination lists keep their own spacing. */
ul:not([class]), ol:not([class]) {
	padding: 0;
	margin: 0 0 10px 25px;
}

/* BS2 left 20px under every form */
form {
	margin: 0 0 20px;
}

/* BS2 put every label on its own line above its field, at 14px even
   inside larger jQuery UI text. :where() keeps this at element
   specificity so any class on a label wins. */
label:where(:not(.form-check-label):not(.btn)) {
	display: block;
	margin-bottom: 5px;
	font-size: 14px;
	line-height: 20px;
}

/* .hide is toggled from script with .show()/.hide()/removeClass("hide"),
   so it must not be !important like .d-none. */
.hide {
	display: none;
}

/* BS2 styled every field; BS5 only styles .form-control/.form-select.
   EditorFor()/TextBoxFor() output has no class, so give bare fields the BS5 look.
   :where() keeps this at zero specificity so any plugin or site.css rule wins. */
:where(input[type="text"], input[type="password"], input[type="email"], input[type="number"],
	input[type="tel"], input[type="date"], input[type="datetime-local"], input[type="search"],
	input[type="url"], input[type="datetime"], input[type="month"], input[type="time"],
	input[type="week"], input[type="ssn"], input:not([type]), select, textarea):where(:not(.form-control):not(.form-select)),
.uneditable-input,
.uneditable-textarea {
	display: inline-block;
	width: 220px;
	padding: 4px 6px;
	margin-bottom: 10px;
	font-size: 14px;
	line-height: 20px;
	color: var(--bs-body-color);
	background-color: var(--bs-body-bg);
	border: var(--bs-border-width) solid #ccc;
	border-radius: 4px;
	vertical-align: middle;
	transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

/* BS2 left 10px under every field. Element specificity so it outranks
   BS5's reboot (input, select, textarea { margin: 0 }). */
input:where([type="text"], [type="password"], [type="email"], [type="number"], [type="tel"],
	[type="date"], [type="datetime-local"], [type="search"], [type="url"], [type="datetime"], [type="month"], [type="time"],
	[type="week"], [type="ssn"], :not([type])):where(:not(.form-control)),
select:where(:not(.form-select)),
textarea:where(:not(.form-control)) {
	margin-bottom: 10px;
}

:where(input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]), select, textarea):where(:not(.form-control):not(.form-select)):focus {
	border-color: #86b7fe;
	outline: 0;
	box-shadow: 0 0 0 .25rem rgba(var(--bs-primary-rgb), .25);
}

:where(input, select, textarea):where(:not(.form-control):not(.form-select)):where(:disabled, [readonly]) {
	background-color: var(--bs-secondary-bg);
}

/* Read-only value shown in an input-shaped box (App_Code/Bootstrap.cshtml) */
.uneditable-input {
	min-height: 30px;
	overflow: hidden;
	white-space: nowrap;
	cursor: not-allowed;
	background-color: var(--bs-secondary-bg);
}

.uneditable-textarea {
	width: auto;
	height: auto;
	white-space: normal;
	cursor: not-allowed;
	background-color: var(--bs-secondary-bg);
}

/* Fixed field widths (BS2 sizes, border-box) */
.input-mini { width: 74px; }
.input-small { width: 104px; }
.input-medium { width: 164px; }
.input-large { width: 224px; }
.input-xlarge { width: 284px; }
.input-xxlarge { width: 544px; }

/* BS2 .spanN on a field set a fixed width; keep those widths on the fields */
.input-span1 { width: 60px; }
.input-span2 { width: 140px; }
.input-span3 { width: 220px; }
.input-span4 { width: 300px; }
.input-span5 { width: 380px; }
.input-span6 { width: 460px; }
.input-span7 { width: 540px; }
.input-span8 { width: 620px; }
.input-span9 { width: 700px; }
.input-span10 { width: 780px; }
.input-span11 { width: 860px; }
.input-span12 { width: 940px; }

/* BS2 let a field run past a narrow column (Address 1, dropdowns in span2
   columns), so the page keeps that; pop-ups keep their fields inside the
   dialog */
.ui-dialog-content :is(input, select, textarea, .uneditable-input) {
	max-width: 100%;
}

/* Header rows styled by jQuery UI. BS5 paints every table cell with the
   body background, which hides the jQuery UI row colour. */
.table > :not(caption) > :is(.ui-state-default, .ui-widget-header) > * {
	background-color: transparent;
	color: inherit;
}

/* Forms loaded into jQuery UI dialogs were laid out with BS2's fixed-width
   spans (80N - 20 px). As BS5 columns they become percentages of the narrow
   dialog and squeeze the fields, so give them the span widths back. .row > *
   keeps max-width: 100%, so a wide column still fits the dialog. BS2's 20px
   gutter keeps side-by-side spans fitting as they used to. */
.ui-dialog-content .row {
	--bs-gutter-x: 20px;
}

/* jQuery UI sizes widget text at 1.1em; on BS5's 16px base that is 17.6px
   and labels wrap inside the old span widths. BS2's base was 14px. */
.ui-dialog .ui-dialog-content {
	font-size: .875rem;
}
.ui-dialog-content .row > [class*="col-md-"] {
	flex: 0 0 auto;
}
.ui-dialog-content .row > .col-md-1 { width: calc(60px + var(--bs-gutter-x)); }
.ui-dialog-content .row > .col-md-2 { width: calc(140px + var(--bs-gutter-x)); }
.ui-dialog-content .row > .col-md-3 { width: calc(220px + var(--bs-gutter-x)); }
.ui-dialog-content .row > .col-md-4 { width: calc(300px + var(--bs-gutter-x)); }
.ui-dialog-content .row > .col-md-5 { width: calc(380px + var(--bs-gutter-x)); }
.ui-dialog-content .row > .col-md-6 { width: calc(460px + var(--bs-gutter-x)); }
.ui-dialog-content .row > .col-md-7 { width: calc(540px + var(--bs-gutter-x)); }
.ui-dialog-content .row > .col-md-8 { width: calc(620px + var(--bs-gutter-x)); }
.ui-dialog-content .row > .col-md-9 { width: calc(700px + var(--bs-gutter-x)); }
.ui-dialog-content .row > .col-md-10 { width: calc(780px + var(--bs-gutter-x)); }
.ui-dialog-content .row > .col-md-11 { width: calc(860px + var(--bs-gutter-x)); }
.ui-dialog-content .row > .col-md-12 { width: calc(940px + var(--bs-gutter-x)); }

/* A grid alone in its row uses a fixed-width dialog's full width. Auto-width
   dialogs size to their content, and grids sharing a row with other columns
   (Print Batch of Medicine Bottle Labels), keep their span width. */
.ui-dialog:not([style*="width: auto"]) .ui-dialog-content .row > [class*="col-md-"]:only-child:has(.dt-container) {
	width: 100%;
}

/* Grid header rows (titles and column filters): site.css paints
   table-bordered header rows blue, but BS5 paints each cell white and
   outranks site.css's white header text. */
.table-bordered > thead > tr > * {
	background-color: transparent;
	color: #fff;
}

/* Selected DataTables rows are coloured on the <tr> (site.css); without this
   the cells keep the white BS5 background under the row's white text. */
.table > tbody > tr:is(.DTTT_selected, .row_selected, .selected) > * {
	background-color: transparent;
	color: inherit;
}

/* BS2 .nav-list: the Action Menu sidebars and the report lists */
.nav-list {
	padding-left: 15px;
	padding-right: 15px;
	margin-bottom: 0;
	list-style: none;
	font-size: .875rem;
}

.nav-list > li > a,
.nav-list .nav-header {
	display: block;
	margin-left: -15px;
	margin-right: -15px;
	padding: 3px 15px;
}

.nav-list > li > a {
	text-decoration: none;
}

.nav-list > li > a:hover,
.nav-list > li > a:focus {
	background-color: var(--bs-secondary-bg);
}

.nav-list > .active > a,
.nav-list > li > a.active {
	color: #fff;
	background-color: var(--bs-primary);
}

.nav-list .nav-header {
	font-size: 11px;
	font-weight: bold;
	line-height: 20px;
	color: #999;
	text-transform: uppercase;
}

.nav-list li + .nav-header {
	margin-top: 9px;
}

.nav-list .divider {
	box-sizing: content-box;
	height: 1px;
	margin: 9px 1px;
	overflow: hidden;
	background-color: #e5e5e5;
	border-bottom: 1px solid #fff;
}

/* BS2 .add-on box holding the "New" button beside an editable dropdown. The
   flex row stretches it to the dropdown's height; the button shrinks to fit
   like the old btn-mini. */
.list-add-on {
	display: flex;
	align-items: center;
	padding: 0 4px;
	margin-left: -1px;
	background-color: #eee;
	border: 1px solid #ccc;
	border-radius: 0 4px 4px 0;
}

.list-add-on > .btn {
	padding: 0 6px;
	font-size: 10.5px;
	line-height: 19px;
	border-radius: 3px;
}

/* The flex row that replaced BS2 .input-append: BS2's inline box ran about
   10px below the dropdown, then left a 10px margin */
.d-inline-flex:has(> .list-add-on) {
	padding-bottom: 10px;
	margin-bottom: 10px;
	vertical-align: middle;
}

/* BS5's reboot pins fieldsets to their column (min-width: 0); BS2 let them
   grow to fit what they hold, so a fieldset round a span12 grid beside the
   Action Menu was the grid's full 940px */
fieldset {
	min-width: min-content;
}

/* BS5 floats legends and relies on the next element to clear the float;
   when hidden inputs follow, a nested fieldset is squeezed beside it
   (Eligibility). BS2 did not float them. */
legend {
	float: none;
	margin-bottom: 20px;
	font-size: 21px;
	line-height: 40px;
	color: #333;
	border-bottom: 1px solid #e5e5e5;
}

/* BS2 pages were a fixed 940px wide; BS5's container grows to 1140px and
   1320px on wide screens and stretches every page. Keep 940px of content
   (plus BS5's gutter padding) on desktops; narrower screens keep BS5's
   smaller widths. */
@media (min-width: 992px) {
	.container {
		max-width: calc(940px + var(--bs-gutter-x, 1.5rem));
	}
}

/* BS2 spans were fixed widths (spanN = 80N - 20px plus a 20px gutter) at
   every nesting level, so a span4 inside a span8 was still 300px and two
   fitted per row. BS5 columns are a share of their parent, which squeezes
   three into the same space. Give desktops the span widths back. A span
   wider than its parent ran past it (span12 grids beside the Action Menu),
   so only pop-ups keep their columns inside. */
@media (min-width: 992px) {
	.row {
		--bs-gutter-x: 20px;
	}

	.row > [class*="col-md-"] {
		flex: 0 0 auto;
		max-width: none;
	}

	.ui-dialog-content .row > [class*="col-md-"] {
		max-width: 100%;
	}

	.row > .col-md-1 { width: 80px; }
	.row > .col-md-2 { width: 160px; }
	.row > .col-md-3 { width: 240px; }
	.row > .col-md-4 { width: 320px; }
	.row > .col-md-5 { width: 400px; }
	.row > .col-md-6 { width: 480px; }
	.row > .col-md-7 { width: 560px; }
	.row > .col-md-8 { width: 640px; }
	.row > .col-md-9 { width: 720px; }
	.row > .col-md-10 { width: 800px; }
	.row > .col-md-11 { width: 880px; }
	.row > .col-md-12 { width: 960px; }

	.row > .offset-md-1 { margin-left: 80px; }
	.row > .offset-md-2 { margin-left: 160px; }
	.row > .offset-md-3 { margin-left: 240px; }
	.row > .offset-md-4 { margin-left: 320px; }

	/* BS2 "row span8" (Detailed Profile tabs): a 620px block 20px in */
	.row.col-md-8 {
		display: block;
		width: 620px;
		padding: 0;
		margin-left: 20px;
		margin-right: 0;
	}

	.row.col-md-8 > * {
		padding-left: 0;
		padding-right: 0;
	}

	.row.col-md-8 > .ui-tabs {
		padding: .2em;
	}

	/* Inside another row the row's -10px margin already takes half the step */
	.row > .row.col-md-8 {
		margin-left: 10px;
	}
}

/* BS2's default button: 14px text, 4px 12px padding, about 30px tall.
   BS5's is 16px with 6px 12px padding, about 38px. Large and small
   buttons keep their own sizes. */
.btn:not(.btn-lg):not(.btn-sm):not(.btn-mini) {
	--bs-btn-padding-y: 4px;
	--bs-btn-padding-x: 12px;
	--bs-btn-font-size: .875rem;
	--bs-btn-line-height: 20px;
}

/* BS2 .btn-small became .btn-sm and .btn-large .btn-lg; .btn-mini is kept */
.btn-sm {
	--bs-btn-padding-y: 2px;
	--bs-btn-padding-x: 10px;
	--bs-btn-font-size: 11.9px;
	--bs-btn-line-height: 20px;
	--bs-btn-border-radius: 3px;
}

.btn-mini {
	--bs-btn-padding-y: 0;
	--bs-btn-padding-x: 6px;
	--bs-btn-font-size: 10.5px;
	--bs-btn-line-height: 20px;
	--bs-btn-border-radius: 3px;
}

.btn-lg {
	--bs-btn-padding-y: 11px;
	--bs-btn-padding-x: 19px;
	--bs-btn-font-size: 17.5px;
	--bs-btn-line-height: 20px;
	--bs-btn-border-radius: 6px;
}

/* BS2 .well: grey inset box (sign-in pages) */
.well {
	min-height: 20px;
	padding: 19px;
	margin-bottom: 20px;
	background-color: #f5f5f5;
	border: 1px solid #e3e3e3;
	border-radius: 4px;
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
}

.well-small {
	padding: 9px;
	border-radius: 3px;
}

/* Action Menu sidebars: BS2 .nav-list kept 15px side padding in a well and
   dropped the well's bottom margin */
.nav-list.well {
	padding-left: 15px;
	padding-right: 15px;
	margin-bottom: 0;
}

/* BS2 .form-actions: grey button bar under a form */
.form-actions {
	padding: 19px 20px 20px;
	margin: 20px 0;
	background-color: #f5f5f5;
	border-top: 1px solid #e5e5e5;
}

/* BS2 form rows: a .control-label block over the .controls, 10px apart */
.control-group {
	margin-bottom: 10px;
}

/* BS2 .form-horizontal: labels right-aligned in a 160px column beside the
   fields, and a grey action bar lined up with the fields */
.form-horizontal legend {
	font-size: 21px;
	line-height: 40px;
}

.form-horizontal .control-group::after {
	content: "";
	display: table;
	clear: both;
}

.form-horizontal .control-label {
	float: left;
	width: 160px;
	padding-top: 5px;
	font-size: .875rem;
	text-align: right;
}

.form-horizontal .controls {
	margin-left: 180px;
}

.form-horizontal .form-actions {
	padding: 19px 20px 20px 180px;
	margin: 20px 0;
	background-color: #f5f5f5;
	border-top: 1px solid #e5e5e5;
}

@media (max-width: 767.98px) {
	.form-horizontal .control-label {
		float: none;
		width: auto;
		text-align: left;
	}

	.form-horizontal .controls {
		margin-left: 0;
	}

	.form-horizontal .form-actions {
		padding-left: 20px;
	}
}

/* jquery.validate / unobtrusive validation */
.input-validation-error {
	border-color: var(--bs-form-invalid-border-color) !important;
}

.field-validation-error,
.validation-summary-errors {
	color: var(--bs-form-invalid-color);
}

/* Pines Notify emits a bare .alert for notices/warnings, which BS2 drew yellow */
.ui-pnotify .alert:not(.alert-success):not(.alert-info):not(.alert-danger):not(.alert-error) {
	--bs-alert-color: var(--bs-warning-text-emphasis);
	--bs-alert-bg: var(--bs-warning-bg-subtle);
	--bs-alert-border-color: var(--bs-warning-border-subtle);
	--bs-alert-link-color: var(--bs-warning-text-emphasis);
}

/* BS2 .close floated right in its alert; BS5 only places .btn-close there in
   an .alert-dismissible, which the converted alerts are not */
.alert:not(.alert-dismissible) > .btn-close {
	float: right;
	margin-left: .5rem;
}

/* Chosen and Select2 size their boxes for BS2's content-box (heights,
   padded tags, the remove X's click area); BS5's border-box shrank them */
.chzn-container,
.chzn-container *,
.select2-container,
.select2-container *,
.select2-drop,
.select2-drop * {
	box-sizing: content-box;
}

/* Pines Notify titles (icon + "Success"/"Error") are headings; Cerulean 5
   colours headings blue, BS2 let them take the alert's colour */
.ui-pnotify .ui-pnotify-title {
	color: inherit;
}

/* Pines Notify "Redisplay All / Last" history menu: Pines gives it BS2's
   .well and its buttons a bare .btn, both transparent in BS5 */
.ui-pnotify-history-container.well {
	width: 90px;
	padding: 0 4px 4px;
	text-align: center;
	background-color: #f5f5f5;
	border: 1px solid #ccc;
	border-top: 0;
	border-radius: 0 0 4px 4px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
}

.ui-pnotify-history-container .btn {
	margin-top: 4px;
	padding: 1px 6px;
	font-size: .8125rem;
	color: #333;
	background-color: #fff;
	border-color: #ccc;
}

.ui-pnotify-history-container .btn:hover {
	background-color: #e6e6e6;
	border-color: #adadad;
}

/* New-notices pill on the header Notices button (BS2 default grey badge) */
.badge-alert {
	background-color: #999;
}

/* site.js showFlash() and Pines Notify still emit alert-error */
.alert-error {
	--bs-alert-color: var(--bs-danger-text-emphasis);
	--bs-alert-bg: var(--bs-danger-bg-subtle);
	--bs-alert-border-color: var(--bs-danger-border-subtle);
	--bs-alert-link-color: var(--bs-danger-text-emphasis);
}

/* Grid column filters are width: 100% (columnFilter plugin). BS2 sized
   fields content-box, so the box ran on into the header cell's right
   padding; BS5's border-box made every filter 14px narrower. */
.filter-row .text_filter {
	box-sizing: content-box;
}

/* Field validation messages were BS2 .help-inline: an inline block at the
   body text size, 5px past the field. When the field fills its column the
   empty message drops to its own 20px line, which is how UAT spaces those
   form rows. */
[data-valmsg-for].form-text {
	display: inline-block;
	padding-left: 5px;
	margin-top: 0;
	font-size: inherit;
	vertical-align: middle;
}

/* BS2 .lead: names in the headers and the smaller section titles */
.lead {
	margin-bottom: 20px;
	font-size: 21px;
	font-weight: 200;
	line-height: 30px;
}

/* BS2 ul.inline items: 5px either side instead of BS5's 8px on the right */
.list-inline-item {
	padding: 0 5px;
}

.list-inline-item:not(:last-child) {
	margin-right: 0;
}

/* BS2 .form-inline: buttons, fields and labels on one line, middle-aligned */
.form-inline :is(input, select, textarea, label) {
	display: inline-block;
	margin-bottom: 0;
	vertical-align: middle;
}

/* BS2 .nav-stacked report lists: links stop at the list's right edge */
.nav-list.nav-stacked > li > a {
	margin-right: 0;
}

/* Bootstrap 2 .btn-block (removed in Bootstrap 5): full-width stacked buttons */
.btn-block{display:block;width:100%;padding-left:0;padding-right:0}
.btn-block + .btn-block{margin-top:5px}

/* Bootstrap 2 containers had no padding; a container nested in a column
   keeps its rows the full Bootstrap 2 width (e.g. Medication Receipt) */
[class*="col-md-"] > .container{padding-left:0;padding-right:0}

/* Active Messages grid: one-line headers and cells, as on UAT */
.active-messages :is(th,td){white-space:nowrap}

/* BS2 spans were floats, so an empty span (e.g. the Action Menu column on
   pages without one) was 1px tall. BS5 rows stretch every column to the
   row height, and an empty column then sat over content running into it
   and swallowed clicks (Start Request / Message Center on Eligibility). */
.row > [class*="col-md-"]:not(:has(*)){align-self:flex-start}

/* Add/Edit Center address rows: the Lookup button sits under the Postal Code field
   instead of running off the end of the City, County, State, Postal Code row */
.zip-lookup{display:inline-flex;flex-direction:column;align-items:flex-start;vertical-align:top}

