/*
 * Bootstrap 5 -> Bootstrap 4 look. Loaded right after bootstrap5.min.css.
 * Part 1 restores the Bootstrap 4.5 defaults that Bootstrap 5 changed (colours, fonts, links,
 * radii, gutters, tables, forms). Part 2 is Bootstrap 4.5's own CSS, unchanged, for the
 * components Bootstrap 5 dropped and this site still uses (custom-control/switch/select,
 * form-row/form-group, thead-light, badge colours, input-group-append).
 */

/* ---------- Part 1: changed defaults ---------- */
:root {
	--bs-blue: #007bff; --bs-indigo: #6610f2; --bs-purple: #6f42c1; --bs-pink: #e83e8c; --bs-red: #dc3545;
	--bs-orange: #fd7e14; --bs-yellow: #ffc107; --bs-green: #28a745; --bs-teal: #20c997; --bs-cyan: #17a2b8;
	--bs-primary: #007bff; --bs-primary-rgb: 0, 123, 255;
	--bs-success: #28a745; --bs-success-rgb: 40, 167, 69;
	--bs-info: #17a2b8; --bs-info-rgb: 23, 162, 184;
	--bs-dark: #343a40; --bs-dark-rgb: 52, 58, 64;
	--bs-body-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
	--bs-font-sans-serif: var(--bs-body-font-family);
	--bs-body-text-align: left;
	--bs-link-color: #007bff; --bs-link-color-rgb: 0, 123, 255;
	--bs-link-hover-color: #0056b3; --bs-link-hover-color-rgb: 0, 86, 179;
	--bs-border-radius: .25rem; --bs-border-radius-sm: .2rem; --bs-border-radius-lg: .3rem;
	--bs-emphasis-color: #000;
}
:root { scroll-behavior: auto; } /* BS5 turns on smooth scrolling */
a { text-decoration: none; }
a:hover { text-decoration: underline; }

/* Grid: 30px gutters, no xxl container, row children are not forced to full width */
.row, .container, .container-fluid, .container-sm, .container-md, .container-lg, .container-xl { --bs-gutter-x: 30px; }
@media (min-width: 1400px) { .container, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl { max-width: 1140px; } }
.row > :not([class*="col"]) { flex-shrink: 1; width: auto; max-width: none; padding-left: 0; padding-right: 0; }
.col, [class*="col-"] { position: relative; }

/* Fixed (non-responsive) heading sizes */
h1, .h1 { font-size: 2.5rem; } h2, .h2 { font-size: 2rem; } h3, .h3 { font-size: 1.75rem; } h4, .h4 { font-size: 1.5rem; }

/* Tables */
.table { --bs-table-bg: transparent; --bs-table-color: #212529; --bs-table-striped-color: #212529; --bs-table-striped-bg: rgba(0, 0, 0, .05);
	--bs-table-hover-color: #212529; --bs-table-hover-bg: rgba(0, 0, 0, .075); }
.table > :not(caption) > * > * { padding: .75rem; vertical-align: top; border-bottom-width: 0; border-top-width: 1px; }
.table > thead > * > th { vertical-align: bottom; border-bottom-width: 2px; }
.table-sm > :not(caption) > * > * { padding: .3rem; }
.table { vertical-align: baseline; }
.table > thead, .table > tbody, .table > tfoot { vertical-align: middle; }

/* Forms */
.form-control { height: calc(1.5em + .75rem + 2px); color: #495057; border-color: #ced4da; -webkit-appearance: auto; -moz-appearance: auto; appearance: auto; }
[type=search].form-control { -webkit-appearance: none; appearance: none; }
/* Buttons placed directly in an .input-group (no -append wrapper) were not joined to the input in BS4 */
.input-group > .btn { position: static; z-index: auto; }
.input-group > .btn:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) { margin-left: 0; border-top-left-radius: var(--bs-btn-border-radius); border-bottom-left-radius: var(--bs-btn-border-radius); }
.form-control-sm { height: calc(1.5em + .5rem + 2px); }
.form-control-lg { height: calc(1.5em + 1rem + 2px); }
textarea.form-control { height: auto; }
.form-control:focus { color: #495057; border-color: #80bdff; box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .25); }

/* Typography and reboot */
small, .small { font-size: 80%; }
.text-muted { color: #6c757d !important; }
label { margin-bottom: .5rem; }
ol, ul { padding-left: 40px; }
hr { box-sizing: content-box; height: 0; overflow: visible; margin: 1rem 0; color: revert; border: 0; border-top: 1px solid rgba(0, 0, 0, .1); opacity: 1; }

/* Buttons (Bootstrap 4 colours) */
.btn:disabled { cursor: default; pointer-events: auto; } /* BS5 sets pointer-events: none on disabled buttons */
.btn-link { text-decoration: none; }
.btn-link:hover { text-decoration: underline; }
.btn-primary { --bs-btn-bg: #007bff; --bs-btn-border-color: #007bff; --bs-btn-hover-bg: #0069d9; --bs-btn-hover-border-color: #0062cc;
	--bs-btn-active-bg: #0062cc; --bs-btn-active-border-color: #005cbf; --bs-btn-disabled-bg: #007bff; --bs-btn-disabled-border-color: #007bff; --bs-btn-focus-shadow-rgb: 38, 143, 255; }
.btn-secondary { --bs-btn-bg: #6c757d; --bs-btn-border-color: #6c757d; --bs-btn-hover-bg: #5a6268; --bs-btn-hover-border-color: #545b62;
	--bs-btn-active-bg: #545b62; --bs-btn-active-border-color: #4e555b; --bs-btn-focus-shadow-rgb: 130, 138, 145; }
.btn-info { --bs-btn-color: #fff; --bs-btn-bg: #17a2b8; --bs-btn-border-color: #17a2b8; --bs-btn-hover-color: #fff; --bs-btn-hover-bg: #138496; --bs-btn-hover-border-color: #117a8b;
	--bs-btn-active-color: #fff; --bs-btn-active-bg: #117a8b; --bs-btn-active-border-color: #10707f; --bs-btn-disabled-color: #fff; --bs-btn-disabled-bg: #17a2b8; --bs-btn-disabled-border-color: #17a2b8; --bs-btn-focus-shadow-rgb: 58, 176, 195; }
.btn-light { --bs-btn-color: #212529; --bs-btn-hover-color: #212529; --bs-btn-hover-bg: #e2e6ea; --bs-btn-hover-border-color: #dae0e5;
	--bs-btn-active-color: #212529; --bs-btn-active-bg: #dae0e5; --bs-btn-active-border-color: #d3d9df; --bs-btn-disabled-color: #212529; --bs-btn-focus-shadow-rgb: 216, 217, 219; }
.btn-outline-primary { --bs-btn-color: #007bff; --bs-btn-border-color: #007bff; --bs-btn-hover-bg: #007bff; --bs-btn-hover-border-color: #007bff;
	--bs-btn-active-bg: #007bff; --bs-btn-active-border-color: #007bff; --bs-btn-disabled-color: #007bff; --bs-btn-disabled-border-color: #007bff; --bs-btn-focus-shadow-rgb: 0, 123, 255; }
.btn-outline-secondary { --bs-btn-focus-shadow-rgb: 108, 117, 125; }

/* Navbar */
.navbar { --bs-navbar-padding-x: 1rem; --bs-navbar-color: rgba(0, 0, 0, .5); --bs-navbar-hover-color: rgba(0, 0, 0, .7); --bs-navbar-disabled-color: rgba(0, 0, 0, .3);
	--bs-navbar-active-color: rgba(0, 0, 0, .9); --bs-navbar-brand-color: rgba(0, 0, 0, .9); --bs-navbar-brand-hover-color: rgba(0, 0, 0, .9); --bs-navbar-toggler-border-color: rgba(0, 0, 0, .1);
	--bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }

@media (max-width: 991.98px) { .navbar-expand-lg > .container, .navbar-expand-lg > .container-fluid { padding-left: 0; padding-right: 0; } }

/* Alerts, cards, nav tabs, modal */
.alert-danger { --bs-alert-color: #721c24; --bs-alert-bg: #f8d7da; --bs-alert-border-color: #f5c6cb; }
.alert-success { --bs-alert-color: #155724; --bs-alert-bg: #d4edda; --bs-alert-border-color: #c3e6cb; }
.alert-light { --bs-alert-color: #818182; --bs-alert-bg: #fefefe; --bs-alert-border-color: #fdfdfe; }
.card { --bs-card-border-color: rgba(0, 0, 0, .125); --bs-card-cap-bg: rgba(0, 0, 0, .03); --bs-card-spacer-y: 1.25rem; --bs-card-spacer-x: 1.25rem; --bs-card-cap-padding-y: .75rem; --bs-card-cap-padding-x: 1.25rem; }
.alert { --bs-alert-padding-x: 1.25rem; --bs-alert-padding-y: .75rem; }
.nav-tabs { --bs-nav-tabs-link-active-color: #495057; }
.nav-link, .navbar-toggler { transition: none; } /* BS5 animates these; BS4 did not */
.nav-tabs .nav-item { margin-bottom: -1px; }
.nav-tabs .nav-link { margin-bottom: 0; }
.modal { --bs-modal-zindex: 1050; --bs-modal-border-color: rgba(0, 0, 0, .2); }
.modal-backdrop { --bs-backdrop-zindex: 1040; }
.modal { overflow: hidden; }
.modal-open .modal { overflow-x: hidden; overflow-y: auto; }
.btn-group { border-radius: 0; }
.modal-dialog-scrollable { display: flex; height: auto; max-height: calc(100% - 1rem); }
.modal-dialog-scrollable .modal-content { max-height: calc(100vh - 1rem); overflow: hidden; }
@media (min-width: 576px) {
	.modal-dialog-scrollable { max-height: calc(100% - 3.5rem); }
	.modal-dialog-scrollable .modal-content { max-height: calc(100vh - 3.5rem); }
}
.badge { color: inherit; } /* BS4 badges had no base colour; badge-* sets it */

/* ---------- Part 2: Bootstrap 4.5.2 rules for components removed in Bootstrap 5 ---------- */
.table .thead-dark th{color:#fff;background-color:#343a40;border-color:#454d55}
.table .thead-light th{color:#495057;background-color:#e9ecef;border-color:#dee2e6}
.form-group{margin-bottom:1rem}
.form-row{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-right:-5px;margin-left:-5px}
.form-row>.col,.form-row>[class*=col-]{padding-right:5px;padding-left:5px}
.custom-select.is-valid,.was-validated .custom-select:valid{border-color:#28a745;padding-right:calc(.75em + 2.3125rem);background:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right .75rem center/8px 10px,url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e") #fff no-repeat center right 1.75rem/calc(.75em + .375rem) calc(.75em + .375rem)}
.custom-select.is-valid:focus,.was-validated .custom-select:valid:focus{border-color:#28a745;box-shadow:0 0 0 .2rem rgba(40,167,69,.25)}
.custom-control-input.is-valid~.custom-control-label,.was-validated .custom-control-input:valid~.custom-control-label{color:#28a745}
.custom-control-input.is-valid~.custom-control-label::before,.was-validated .custom-control-input:valid~.custom-control-label::before{border-color:#28a745}
.custom-control-input.is-valid:checked~.custom-control-label::before,.was-validated .custom-control-input:valid:checked~.custom-control-label::before{border-color:#34ce57;background-color:#34ce57}
.custom-control-input.is-valid:focus~.custom-control-label::before,.was-validated .custom-control-input:valid:focus~.custom-control-label::before{box-shadow:0 0 0 .2rem rgba(40,167,69,.25)}
.custom-control-input.is-valid:focus:not(:checked)~.custom-control-label::before,.was-validated .custom-control-input:valid:focus:not(:checked)~.custom-control-label::before{border-color:#28a745}
.custom-select.is-invalid,.was-validated .custom-select:invalid{border-color:#dc3545;padding-right:calc(.75em + 2.3125rem);background:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right .75rem center/8px 10px,url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e") #fff no-repeat center right 1.75rem/calc(.75em + .375rem) calc(.75em + .375rem)}
.custom-select.is-invalid:focus,.was-validated .custom-select:invalid:focus{border-color:#dc3545;box-shadow:0 0 0 .2rem rgba(220,53,69,.25)}
.custom-control-input.is-invalid~.custom-control-label,.was-validated .custom-control-input:invalid~.custom-control-label{color:#dc3545}
.custom-control-input.is-invalid~.custom-control-label::before,.was-validated .custom-control-input:invalid~.custom-control-label::before{border-color:#dc3545}
.custom-control-input.is-invalid:checked~.custom-control-label::before,.was-validated .custom-control-input:invalid:checked~.custom-control-label::before{border-color:#e4606d;background-color:#e4606d}
.custom-control-input.is-invalid:focus~.custom-control-label::before,.was-validated .custom-control-input:invalid:focus~.custom-control-label::before{box-shadow:0 0 0 .2rem rgba(220,53,69,.25)}
.custom-control-input.is-invalid:focus:not(:checked)~.custom-control-label::before,.was-validated .custom-control-input:invalid:focus:not(:checked)~.custom-control-label::before{border-color:#dc3545}
@media (min-width:576px){.form-inline .form-group{display:-ms-flexbox;display:flex;-ms-flex:0 0 auto;flex:0 0 auto;-ms-flex-flow:row wrap;flex-flow:row wrap;-ms-flex-align:center;align-items:center;margin-bottom:0}.form-inline .custom-select,.form-inline .input-group{width:auto}.form-inline .custom-control{-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.form-inline .custom-control-label{margin-bottom:0}}
.input-group>.custom-file,.input-group>.custom-select,.input-group>.form-control,.input-group>.form-control-plaintext{position:relative;-ms-flex:1 1 auto;flex:1 1 auto;width:1%;min-width:0;margin-bottom:0}
.input-group>.custom-file+.custom-file,.input-group>.custom-file+.custom-select,.input-group>.custom-file+.form-control,.input-group>.custom-select+.custom-file,.input-group>.custom-select+.custom-select,.input-group>.custom-select+.form-control,.input-group>.form-control+.custom-file,.input-group>.form-control+.custom-select,.input-group>.form-control+.form-control,.input-group>.form-control-plaintext+.custom-file,.input-group>.form-control-plaintext+.custom-select,.input-group>.form-control-plaintext+.form-control{margin-left:-1px}
.input-group>.custom-file .custom-file-input:focus~.custom-file-label,.input-group>.custom-select:focus,.input-group>.form-control:focus{z-index:3}
.input-group>.custom-select:not(:last-child),.input-group>.form-control:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}
.input-group>.custom-select:not(:first-child),.input-group>.form-control:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}
.input-group-append,.input-group-prepend{display:-ms-flexbox;display:flex}
.input-group-append .btn,.input-group-prepend .btn{position:relative;z-index:2}
.input-group-append .btn:focus,.input-group-prepend .btn:focus{z-index:3}
.input-group-append .btn+.btn,.input-group-append .btn+.input-group-text,.input-group-append .input-group-text+.btn,.input-group-append .input-group-text+.input-group-text,.input-group-prepend .btn+.btn,.input-group-prepend .btn+.input-group-text,.input-group-prepend .input-group-text+.btn,.input-group-prepend .input-group-text+.input-group-text{margin-left:-1px}
.input-group-prepend{margin-right:-1px}
.input-group-append{margin-left:-1px}
.input-group-lg>.custom-select,.input-group-lg>.form-control:not(textarea){height:calc(1.5em + 1rem + 2px)}
.input-group-lg>.custom-select,.input-group-lg>.form-control,.input-group-lg>.input-group-append>.btn,.input-group-lg>.input-group-append>.input-group-text,.input-group-lg>.input-group-prepend>.btn,.input-group-lg>.input-group-prepend>.input-group-text{padding:.5rem 1rem;font-size:1.25rem;line-height:1.5;border-radius:.3rem}
.input-group-sm>.custom-select,.input-group-sm>.form-control:not(textarea){height:calc(1.5em + .5rem + 2px)}
.input-group-sm>.custom-select,.input-group-sm>.form-control,.input-group-sm>.input-group-append>.btn,.input-group-sm>.input-group-append>.input-group-text,.input-group-sm>.input-group-prepend>.btn,.input-group-sm>.input-group-prepend>.input-group-text{padding:.25rem .5rem;font-size:.875rem;line-height:1.5;border-radius:.2rem}
.input-group-lg>.custom-select,.input-group-sm>.custom-select{padding-right:1.75rem}
.input-group>.input-group-append:last-child>.btn:not(:last-child):not(.dropdown-toggle),.input-group>.input-group-append:last-child>.input-group-text:not(:last-child),.input-group>.input-group-append:not(:last-child)>.btn,.input-group>.input-group-append:not(:last-child)>.input-group-text,.input-group>.input-group-prepend>.btn,.input-group>.input-group-prepend>.input-group-text{border-top-right-radius:0;border-bottom-right-radius:0}
.input-group>.input-group-append>.btn,.input-group>.input-group-append>.input-group-text,.input-group>.input-group-prepend:first-child>.btn:not(:first-child),.input-group>.input-group-prepend:first-child>.input-group-text:not(:first-child),.input-group>.input-group-prepend:not(:first-child)>.btn,.input-group>.input-group-prepend:not(:first-child)>.input-group-text{border-top-left-radius:0;border-bottom-left-radius:0}
.custom-control{position:relative;z-index:1;display:block;min-height:1.5rem;padding-left:1.5rem}
.custom-control-inline{display:-ms-inline-flexbox;display:inline-flex;margin-right:1rem}
.custom-control-input{position:absolute;left:0;z-index:-1;width:1rem;height:1.25rem;opacity:0}
.custom-control-input:checked~.custom-control-label::before{color:#fff;border-color:#007bff;background-color:#007bff}
.custom-control-input:focus~.custom-control-label::before{box-shadow:0 0 0 .2rem rgba(0,123,255,.25)}
.custom-control-input:focus:not(:checked)~.custom-control-label::before{border-color:#80bdff}
.custom-control-input:not(:disabled):active~.custom-control-label::before{color:#fff;background-color:#b3d7ff;border-color:#b3d7ff}
.custom-control-input:disabled~.custom-control-label,.custom-control-input[disabled]~.custom-control-label{color:#6c757d}
.custom-control-input:disabled~.custom-control-label::before,.custom-control-input[disabled]~.custom-control-label::before{background-color:#e9ecef}
.custom-control-label{position:relative;margin-bottom:0;vertical-align:top}
.custom-control-label::before{position:absolute;top:.25rem;left:-1.5rem;display:block;width:1rem;height:1rem;pointer-events:none;content:"";background-color:#fff;border:#adb5bd solid 1px}
.custom-control-label::after{position:absolute;top:.25rem;left:-1.5rem;display:block;width:1rem;height:1rem;content:"";background:no-repeat 50%/50% 50%}
.custom-checkbox .custom-control-label::before{border-radius:.25rem}
.custom-checkbox .custom-control-input:checked~.custom-control-label::after{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26l2.974 2.99L8 2.193z'/%3e%3c/svg%3e")}
.custom-checkbox .custom-control-input:indeterminate~.custom-control-label::before{border-color:#007bff;background-color:#007bff}
.custom-checkbox .custom-control-input:indeterminate~.custom-control-label::after{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3e%3cpath stroke='%23fff' d='M0 2h4'/%3e%3c/svg%3e")}
.custom-checkbox .custom-control-input:disabled:checked~.custom-control-label::before{background-color:rgba(0,123,255,.5)}
.custom-checkbox .custom-control-input:disabled:indeterminate~.custom-control-label::before{background-color:rgba(0,123,255,.5)}
.custom-radio .custom-control-label::before{border-radius:50%}
.custom-radio .custom-control-input:checked~.custom-control-label::after{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e")}
.custom-radio .custom-control-input:disabled:checked~.custom-control-label::before{background-color:rgba(0,123,255,.5)}
.custom-switch{padding-left:2.25rem}
.custom-switch .custom-control-label::before{left:-2.25rem;width:1.75rem;pointer-events:all;border-radius:.5rem}
.custom-switch .custom-control-label::after{top:calc(.25rem + 2px);left:calc(-2.25rem + 2px);width:calc(1rem - 4px);height:calc(1rem - 4px);background-color:#adb5bd;border-radius:.5rem;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-transform .15s ease-in-out;transition:transform .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:transform .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-transform .15s ease-in-out}
@media (prefers-reduced-motion:reduce){.custom-switch .custom-control-label::after{transition:none}}
.custom-switch .custom-control-input:checked~.custom-control-label::after{background-color:#fff;-webkit-transform:translateX(.75rem);transform:translateX(.75rem)}
.custom-switch .custom-control-input:disabled:checked~.custom-control-label::before{background-color:rgba(0,123,255,.5)}
.custom-select{display:inline-block;width:100%;height:calc(1.5em + .75rem + 2px);padding:.375rem 1.75rem .375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:#495057;vertical-align:middle;background:#fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right .75rem center/8px 10px;border:1px solid #ced4da;border-radius:.25rem;-webkit-appearance:none;-moz-appearance:none;appearance:none}
.custom-select:focus{border-color:#80bdff;outline:0;box-shadow:0 0 0 .2rem rgba(0,123,255,.25)}
.custom-select:focus::-ms-value{color:#495057;background-color:#fff}
.custom-select[multiple],.custom-select[size]:not([size="1"]){height:auto;padding-right:.75rem;background-image:none}
.custom-select:disabled{color:#6c757d;background-color:#e9ecef}
.custom-select::-ms-expand{display:none}
.custom-select:-moz-focusring{color:transparent;text-shadow:0 0 0 #495057}
.custom-select-sm{height:calc(1.5em + .5rem + 2px);padding-top:.25rem;padding-bottom:.25rem;padding-left:.5rem;font-size:.875rem}
.custom-select-lg{height:calc(1.5em + 1rem + 2px);padding-top:.5rem;padding-bottom:.5rem;padding-left:1rem;font-size:1.25rem}
.custom-control-label::before,.custom-file-label,.custom-select{transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}
@media (prefers-reduced-motion:reduce){.custom-control-label::before,.custom-file-label,.custom-select{transition:none}}
.badge{display:inline-block;padding:.25em .4em;font-size:75%;font-weight:700;line-height:1;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25rem;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}
@media (prefers-reduced-motion:reduce){.badge{transition:none}}
a.badge:focus,a.badge:hover{text-decoration:none}
.badge:empty{display:none}
.btn .badge{position:relative;top:-1px}
.badge-pill{padding-right:.6em;padding-left:.6em;border-radius:10rem}
.badge-primary{color:#fff;background-color:#007bff}
a.badge-primary:focus,a.badge-primary:hover{color:#fff;background-color:#0062cc}
a.badge-primary.focus,a.badge-primary:focus{outline:0;box-shadow:0 0 0 .2rem rgba(0,123,255,.5)}
.badge-secondary{color:#fff;background-color:#6c757d}
a.badge-secondary:focus,a.badge-secondary:hover{color:#fff;background-color:#545b62}
a.badge-secondary.focus,a.badge-secondary:focus{outline:0;box-shadow:0 0 0 .2rem rgba(108,117,125,.5)}
.badge-success{color:#fff;background-color:#28a745}
a.badge-success:focus,a.badge-success:hover{color:#fff;background-color:#1e7e34}
a.badge-success.focus,a.badge-success:focus{outline:0;box-shadow:0 0 0 .2rem rgba(40,167,69,.5)}
.badge-info{color:#fff;background-color:#17a2b8}
a.badge-info:focus,a.badge-info:hover{color:#fff;background-color:#117a8b}
a.badge-info.focus,a.badge-info:focus{outline:0;box-shadow:0 0 0 .2rem rgba(23,162,184,.5)}
.badge-warning{color:#212529;background-color:#ffc107}
a.badge-warning:focus,a.badge-warning:hover{color:#212529;background-color:#d39e00}
a.badge-warning.focus,a.badge-warning:focus{outline:0;box-shadow:0 0 0 .2rem rgba(255,193,7,.5)}
.badge-danger{color:#fff;background-color:#dc3545}
a.badge-danger:focus,a.badge-danger:hover{color:#fff;background-color:#bd2130}
a.badge-danger.focus,a.badge-danger:focus{outline:0;box-shadow:0 0 0 .2rem rgba(220,53,69,.5)}
.badge-light{color:#212529;background-color:#f8f9fa}
a.badge-light:focus,a.badge-light:hover{color:#212529;background-color:#dae0e5}
a.badge-light.focus,a.badge-light:focus{outline:0;box-shadow:0 0 0 .2rem rgba(248,249,250,.5)}
.badge-dark{color:#fff;background-color:#343a40}
a.badge-dark:focus,a.badge-dark:hover{color:#fff;background-color:#1d2124}
a.badge-dark.focus,a.badge-dark:focus{outline:0;box-shadow:0 0 0 .2rem rgba(52,58,64,.5)}
@media print{.badge{border:1px solid #000}.table .thead-dark th{color:inherit;border-color:#dee2e6}}
