html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.header-bg {
    /* background-color: #000022;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='2000' height='2000' viewBox='0 0 800 800'%3E%3Cg fill='none' %3E%3Cg stroke='%231C661C' stroke-width='17'%3E%3Cline x1='-8' y1='-8' x2='808' y2='808'/%3E%3Cline x1='-8' y1='792' x2='808' y2='1608'/%3E%3Cline x1='-8' y1='-808' x2='808' y2='8'/%3E%3C/g%3E%3Cg stroke='%23006226' stroke-width='16'%3E%3Cline x1='-8' y1='767' x2='808' y2='1583'/%3E%3Cline x1='-8' y1='17' x2='808' y2='833'/%3E%3Cline x1='-8' y1='-33' x2='808' y2='783'/%3E%3Cline x1='-8' y1='-783' x2='808' y2='33'/%3E%3C/g%3E%3Cg stroke='%23005e30' stroke-width='15'%3E%3Cline x1='-8' y1='742' x2='808' y2='1558'/%3E%3Cline x1='-8' y1='42' x2='808' y2='858'/%3E%3Cline x1='-8' y1='-58' x2='808' y2='758'/%3E%3Cline x1='-8' y1='-758' x2='808' y2='58'/%3E%3C/g%3E%3Cg stroke='%23005a38' stroke-width='14'%3E%3Cline x1='-8' y1='67' x2='808' y2='883'/%3E%3Cline x1='-8' y1='717' x2='808' y2='1533'/%3E%3Cline x1='-8' y1='-733' x2='808' y2='83'/%3E%3Cline x1='-8' y1='-83' x2='808' y2='733'/%3E%3C/g%3E%3Cg stroke='%2300553f' stroke-width='13'%3E%3Cline x1='-8' y1='92' x2='808' y2='908'/%3E%3Cline x1='-8' y1='692' x2='808' y2='1508'/%3E%3Cline x1='-8' y1='-108' x2='808' y2='708'/%3E%3Cline x1='-8' y1='-708' x2='808' y2='108'/%3E%3C/g%3E%3Cg stroke='%23005046' stroke-width='12'%3E%3Cline x1='-8' y1='667' x2='808' y2='1483'/%3E%3Cline x1='-8' y1='117' x2='808' y2='933'/%3E%3Cline x1='-8' y1='-133' x2='808' y2='683'/%3E%3Cline x1='-8' y1='-683' x2='808' y2='133'/%3E%3C/g%3E%3Cg stroke='%23004b4b' stroke-width='11'%3E%3Cline x1='-8' y1='642' x2='808' y2='1458'/%3E%3Cline x1='-8' y1='142' x2='808' y2='958'/%3E%3Cline x1='-8' y1='-158' x2='808' y2='658'/%3E%3Cline x1='-8' y1='-658' x2='808' y2='158'/%3E%3C/g%3E%3Cg stroke='%23004650' stroke-width='10'%3E%3Cline x1='-8' y1='167' x2='808' y2='983'/%3E%3Cline x1='-8' y1='617' x2='808' y2='1433'/%3E%3Cline x1='-8' y1='-633' x2='808' y2='183'/%3E%3Cline x1='-8' y1='-183' x2='808' y2='633'/%3E%3C/g%3E%3Cg stroke='%23004052' stroke-width='9'%3E%3Cline x1='-8' y1='592' x2='808' y2='1408'/%3E%3Cline x1='-8' y1='192' x2='808' y2='1008'/%3E%3Cline x1='-8' y1='-608' x2='808' y2='208'/%3E%3Cline x1='-8' y1='-208' x2='808' y2='608'/%3E%3C/g%3E%3Cg stroke='%23003b53' stroke-width='8'%3E%3Cline x1='-8' y1='567' x2='808' y2='1383'/%3E%3Cline x1='-8' y1='217' x2='808' y2='1033'/%3E%3Cline x1='-8' y1='-233' x2='808' y2='583'/%3E%3Cline x1='-8' y1='-583' x2='808' y2='233'/%3E%3C/g%3E%3Cg stroke='%23003553' stroke-width='7'%3E%3Cline x1='-8' y1='242' x2='808' y2='1058'/%3E%3Cline x1='-8' y1='542' x2='808' y2='1358'/%3E%3Cline x1='-8' y1='-558' x2='808' y2='258'/%3E%3Cline x1='-8' y1='-258' x2='808' y2='558'/%3E%3C/g%3E%3Cg stroke='%23002f51' stroke-width='6'%3E%3Cline x1='-8' y1='267' x2='808' y2='1083'/%3E%3Cline x1='-8' y1='517' x2='808' y2='1333'/%3E%3Cline x1='-8' y1='-533' x2='808' y2='283'/%3E%3Cline x1='-8' y1='-283' x2='808' y2='533'/%3E%3C/g%3E%3Cg stroke='%2300294d' stroke-width='5'%3E%3Cline x1='-8' y1='292' x2='808' y2='1108'/%3E%3Cline x1='-8' y1='492' x2='808' y2='1308'/%3E%3Cline x1='-8' y1='-308' x2='808' y2='508'/%3E%3Cline x1='-8' y1='-508' x2='808' y2='308'/%3E%3C/g%3E%3Cg stroke='%23002448' stroke-width='4'%3E%3Cline x1='-8' y1='467' x2='808' y2='1283'/%3E%3Cline x1='-8' y1='317' x2='808' y2='1133'/%3E%3Cline x1='-8' y1='-333' x2='808' y2='483'/%3E%3Cline x1='-8' y1='-483' x2='808' y2='333'/%3E%3C/g%3E%3Cg stroke='%23001e42' stroke-width='3'%3E%3Cline x1='-8' y1='342' x2='808' y2='1158'/%3E%3Cline x1='-8' y1='442' x2='808' y2='1258'/%3E%3Cline x1='-8' y1='-458' x2='808' y2='358'/%3E%3Cline x1='-8' y1='-358' x2='808' y2='458'/%3E%3C/g%3E%3Cg stroke='%2300183b' stroke-width='2'%3E%3Cline x1='-8' y1='367' x2='808' y2='1183'/%3E%3Cline x1='-8' y1='417' x2='808' y2='1233'/%3E%3Cline x1='-8' y1='-433' x2='808' y2='383'/%3E%3Cline x1='-8' y1='-383' x2='808' y2='433'/%3E%3C/g%3E%3Cg stroke='%23013' stroke-width='1'%3E%3Cline x1='-8' y1='392' x2='808' y2='1208'/%3E%3Cline x1='-8' y1='-408' x2='808' y2='408'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
            background-attachment: fixed; */
    background-color: #1AB617;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2000 1500'%3E%3Cdefs%3E%3CradialGradient id='a' gradientUnits='objectBoundingBox'%3E%3Cstop offset='0' stop-color='%23104311'/%3E%3Cstop offset='1' stop-color='%231AB617'/%3E%3C/radialGradient%3E%3ClinearGradient id='b' gradientUnits='userSpaceOnUse' x1='0' y1='750' x2='1550' y2='750'%3E%3Cstop offset='0' stop-color='%23157d14'/%3E%3Cstop offset='1' stop-color='%231AB617'/%3E%3C/linearGradient%3E%3Cpath id='s' fill='url(%23b)' d='M1549.2 51.6c-5.4 99.1-20.2 197.6-44.2 293.6c-24.1 96-57.4 189.4-99.3 278.6c-41.9 89.2-92.4 174.1-150.3 253.3c-58 79.2-123.4 152.6-195.1 219c-71.7 66.4-149.6 125.8-232.2 177.2c-82.7 51.4-170.1 94.7-260.7 129.1c-90.6 34.4-184.4 60-279.5 76.3C192.6 1495 96.1 1502 0 1500c96.1-2.1 191.8-13.3 285.4-33.6c93.6-20.2 185-49.5 272.5-87.2c87.6-37.7 171.3-83.8 249.6-137.3c78.4-53.5 151.5-114.5 217.9-181.7c66.5-67.2 126.4-140.7 178.6-218.9c52.3-78.3 96.9-161.4 133-247.9c36.1-86.5 63.8-176.2 82.6-267.6c18.8-91.4 28.6-184.4 29.6-277.4c0.3-27.6 23.2-48.7 50.8-48.4s49.5 21.8 49.2 49.5c0 0.7 0 1.3-0.1 2L1549.2 51.6z'/%3E%3Cg id='g'%3E%3Cuse href='%23s' transform='scale(0.12) rotate(60)'/%3E%3Cuse href='%23s' transform='scale(0.2) rotate(10)'/%3E%3Cuse href='%23s' transform='scale(0.25) rotate(40)'/%3E%3Cuse href='%23s' transform='scale(0.3) rotate(-20)'/%3E%3Cuse href='%23s' transform='scale(0.4) rotate(-30)'/%3E%3Cuse href='%23s' transform='scale(0.5) rotate(20)'/%3E%3Cuse href='%23s' transform='scale(0.6) rotate(60)'/%3E%3Cuse href='%23s' transform='scale(0.7) rotate(10)'/%3E%3Cuse href='%23s' transform='scale(0.835) rotate(-40)'/%3E%3Cuse href='%23s' transform='scale(0.9) rotate(40)'/%3E%3Cuse href='%23s' transform='scale(1.05) rotate(25)'/%3E%3Cuse href='%23s' transform='scale(1.2) rotate(8)'/%3E%3Cuse href='%23s' transform='scale(1.333) rotate(-60)'/%3E%3Cuse href='%23s' transform='scale(1.45) rotate(-30)'/%3E%3Cuse href='%23s' transform='scale(1.6) rotate(10)'/%3E%3C/g%3E%3C/defs%3E%3Cg transform='rotate(0 0 0)'%3E%3Cg transform='rotate(0 0 0)'%3E%3Ccircle fill='url(%23a)' r='3000'/%3E%3Cg opacity='0.5'%3E%3Ccircle fill='url(%23a)' r='2000'/%3E%3Ccircle fill='url(%23a)' r='1800'/%3E%3Ccircle fill='url(%23a)' r='1700'/%3E%3Ccircle fill='url(%23a)' r='1651'/%3E%3Ccircle fill='url(%23a)' r='1450'/%3E%3Ccircle fill='url(%23a)' r='1250'/%3E%3Ccircle fill='url(%23a)' r='1175'/%3E%3Ccircle fill='url(%23a)' r='900'/%3E%3Ccircle fill='url(%23a)' r='750'/%3E%3Ccircle fill='url(%23a)' r='500'/%3E%3Ccircle fill='url(%23a)' r='380'/%3E%3Ccircle fill='url(%23a)' r='250'/%3E%3C/g%3E%3Cg transform='rotate(0 0 0)'%3E%3Cuse href='%23g' transform='rotate(10)'/%3E%3Cuse href='%23g' transform='rotate(120)'/%3E%3Cuse href='%23g' transform='rotate(240)'/%3E%3C/g%3E%3Ccircle fill-opacity='0.1' fill='url(%23a)' r='3000'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-attachment: fixed;
    background-size: cover;
}

.bg-tan {
    background-color: #F7F6DF;
}

.btn.loading::after,
.btn-close.loading::after,
.form-check.loading::after,
.loadable.loading::after {
    animation: 0.6s linear 0s normal none infinite running rotation;
    border-color: rgba(255, 255, 255, 0.8) rgba(255, 255, 255, 0.15) rgba(255, 255, 255, 0.15);
    border-radius: 100%;
    border-style: solid;
    border-width: 4px;
    display: inline-block;
    height: 1em;
    position: relative;
    vertical-align: middle;
    width: 1em;
    margin-left: 5px;
    content: "";
    margin-top: -4px;
}

.btn-outline-primary.loading::after,
.btn-outline-secondary.loading::after,
.btn-outline-success.loading::after,
.btn-outline-danger.loading::after,
.btn-outline-warning.loading::after,
.btn-outline-info.loading::after,
.btn-outline-light.loading::after,
.btn-outline-dark.loading::after,
.btn.btn-light.loading::after,
.btn-close.loading::after,
.loadable.loading::after,
.btn-link.loading::after {
    border-color: rgba(51, 51, 51, 0.8) rgba(51, 51, 51, 0.15) rgba(51, 51, 51, 0.15);
}

.btn.loading-overlay {
    position: relative;
    color: transparent !important;
    border-color: var(--bs-btn-border-color);
}

.btn-close.loading {
    position: relative;
    border-color: var(--bs-btn-border-color);
    background: none;
}

.form-check.loading,
.loadable.loading {
    position: relative;
}

.form-check.loading > input {
    opacity: 0.1;
}

.loadable.loading {
    --bs-link-opacity: 0.1;
}

.btn.loading-overlay::after,
.btn-close.loading::after,
.loadable.loading::after {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}

.form-check.loading::after {
    position: absolute;
    top: 0;
    left: .25rem;
    bottom: 0;
    margin: auto;
    height: 1.5rem;
    width: 1.5rem;
    border-color: rgba(13, 110, 253, 0.9) rgba(172, 172, 172, 0.25) rgba(172, 172, 172, 0.25);
}

.loader {
    text-indent: -9999em;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #00a1ff;
    background: linear-gradient(to right, #00a1ff 10%, rgba(0, 128, 255, 0) 42%);
    position: absolute;
    animation: rotation .6s linear infinite;
    transform: translateZ(0);
    font-size: 0;
    display: inline-block;
    vertical-align: middle;
    margin-top: 2px;
    margin-left: 5px;
}

.loader:before {
    width: 50%;
    height: 50%;
    background: #00a1ff;
    border-radius: 100% 0 0 0;
    position: absolute;
    top: 0;
    left: 0;
    content: '';
}

.loader:after {
    background: #ffffff;
    width: 75%;
    height: 75%;
    border-radius: 50%;
    content: '';
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.loader.loader-inline {
    position: relative;
    margin-right: 10px;
}

.loader.loader-sm {
    width: 18px;
    height: 18px;
    margin-top: 0;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/********************
* Saving / Deleting Modal
********************/
.modal-in-progress .modal-show-on-success,
.modal-in-progress .modal-show-on-fail,
.modal-in-progress .modal-show-on-confirm {
    display: none;
}

.modal-success .modal-show-on-in-progress,
.modal-success .modal-show-on-fail,
.modal-success .modal-show-on-confirm {
    display: none;
}

.modal-fail .modal-show-on-in-progress,
.modal-fail .modal-show-on-success,
.modal-fail .modal-show-on-confirm {
    display: none;
}

.modal-confirm .modal-show-on-in-progress,
.modal-confirm .modal-show-on-success,
.modal-confirm .modal-show-on-fail {
    display: none;
}

.modal-in-progress .modal-hide-on-in-progress {
    display: none;
}

.animated-ellipsis {
    margin: 10px auto;
    width: 110px;
    text-align: center;
}

.animated-ellipsis > div {
    width: 18px;
    height: 18px;
    background-color: #337ab7;
    box-shadow: 0 0 5px #337ab7;
    border-radius: 100%;
    display: inline-block;
    animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.animated-ellipsis > div:nth-child(1) {
    animation-delay: -0.64s;
}

.animated-ellipsis > div:nth-child(2) {
    animation-delay: -0.48s;
}

.animated-ellipsis > div:nth-child(3) {
    animation-delay: -0.32s;
}

.animated-ellipsis > div:nth-child(4) {
    animation-delay: -0.16s;
}

@keyframes sk-bouncedelay {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0;
    }

    40% {
        transform: scale(1.0);
        opacity: 1;
    }
}

.highlight-danger,
tr.highlight-danger > td {
    background-color: #ffe5e5 !important;
}

.btn:disabled, fieldset:disabled .btn {
    pointer-events: auto;
    cursor: not-allowed;
}

.btn-not-allowed-wrapper {
    cursor: not-allowed;
    display: inline-block;
}

.form-control:disabled, .form-control[readonly] {
    background-color: #e9ecef !important;
    opacity: 1;
}

.form-control::placeholder {
    opacity: 0.5;
    font-style: italic;
}

/*Override the themed bootstrap back to the original for secondary*/
.text-bg-secondary {
	--bs-secondary-rgb: 108, 117, 125;
	color: #fff !important;
}

.alert-secondary {
    --bs-secondary-text-emphasis: #2b2f32;
    --bs-secondary-bg-subtle: #e2e3e5;
    --bs-secondary-border-subtle: #d3d6d8;
}

.btn-secondary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #6c757d;
    --bs-btn-border-color: #6c757d;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #5c636a;
    --bs-btn-hover-border-color: #565e64;
    --bs-btn-focus-shadow-rgb: 130, 138, 145;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #565e64;
    --bs-btn-active-border-color: #51585e;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #6c757d;
    --bs-btn-disabled-border-color: #6c757d;
    color: var(--bs-btn-color);
    background-color: var(--bs-btn-bg);
    border-color: var(--bs-btn-border-color);
}

.btn-secondary:hover {
    color: var(--bs-btn-hover-color);
    background-color: var(--bs-btn-hover-bg);
    border-color: var(--bs-btn-hover-border-color);
}

.btn-secondary:focus-visible {
    color: var(--bs-btn-hover-color);
    background-color: var(--bs-btn-hover-bg);
    border-color: var(--bs-btn-hover-border-color);
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);
}

.btn-secondary:active,
.btn-secondary.active,
.show > .btn-secondary.dropdown-toggle {
    color: var(--bs-btn-active-color);
    background-color: var(--bs-btn-active-bg);
    border-color: var(--bs-btn-active-border-color);
    box-shadow: var(--bs-btn-active-shadow);
}

.btn-secondary:disabled,
.btn-secondary.disabled {
    color: var(--bs-btn-disabled-color);
    background-color: var(--bs-btn-disabled-bg);
    border-color: var(--bs-btn-disabled-border-color);
}


/* Sign in with Google, built as a button rather than dropped in as Google's fixed-width artwork,
   so it can be sized like any other button. Their guidelines permit this with the G mark and the
   approved wording; the colours are the ones in their own SVG - border #747775, text #1F1F1F. */
.btn-google {
    --bs-btn-bg: #FFFFFF;
    --bs-btn-color: #1F1F1F;
    --bs-btn-border-color: #747775;
    --bs-btn-hover-bg: #F2F2F2;
    --bs-btn-hover-color: #1F1F1F;
    --bs-btn-hover-border-color: #747775;
    --bs-btn-active-bg: #E8E8E9;
    --bs-btn-active-color: #1F1F1F;
    --bs-btn-active-border-color: #747775;
    --bs-btn-disabled-bg: #FFFFFF;
    --bs-btn-disabled-color: #1F1F1F;
    --bs-btn-disabled-border-color: #747775;
    font-size: .875rem;
    font-weight: 500;
}

/* rows that act as their own first link - see site.js */
table.row-link > tbody > tr {
    cursor: pointer;
}

@media only screen and (max-width: 768px) {
    /* Goes with the commented-out guard in site.js: if row-link is ever turned off for the card
       layout, the rows should stop looking clickable too. Enable both together or neither. */
    /* table.row-link > tbody > tr {
        cursor: default;
    } */

    table.table-responsive-wrap-md {
        border: 0;
    }

    table.table-responsive-wrap-md > thead {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }

    table.table-responsive-wrap-md > thead > tr,
    table.table-responsive-wrap-md > tbody > tr,
    table.table-responsive-wrap-md > tfoot > tr {
        border-bottom: 2px solid #ddd;
        display: block;
        margin-bottom: .625em;
        border-top: 1px solid #ddd;
    }

    table.table-responsive-wrap-md > thead > tr > th,
    table.table-responsive-wrap-md > tbody > tr > th,
    table.table-responsive-wrap-md > tfoot > tr > th,
    table.table-responsive-wrap-md > thead > tr > td,
    table.table-responsive-wrap-md > tbody > tr > td,
    table.table-responsive-wrap-md > tfoot > tr > td {
        display: block;
        border-bottom: none;
    }

    table.table-responsive-wrap-md.table-responsive-content-right > thead > tr > th,
    table.table-responsive-wrap-md.table-responsive-content-right > tbody > tr > th,
    table.table-responsive-wrap-md.table-responsive-content-right > tfoot > tr > th,
    table.table-responsive-wrap-md.table-responsive-content-right > thead > tr > td,
    table.table-responsive-wrap-md.table-responsive-content-right > tbody > tr > td,
    table.table-responsive-wrap-md.table-responsive-content-right > tfoot > tr > td {
        text-align: right !important;
    }

    table.table-responsive-wrap-md.table-responsive-content-left > thead > tr > th,
    table.table-responsive-wrap-md.table-responsive-content-left > tbody > tr > th,
    table.table-responsive-wrap-md.table-responsive-content-left > tfoot > tr > th,
    table.table-responsive-wrap-md.table-responsive-content-left > thead > tr > td,
    table.table-responsive-wrap-md.table-responsive-content-left > tbody > tr > td,
    table.table-responsive-wrap-md.table-responsive-content-left > tfoot > tr > td {
        text-align: left !important;
    }

    table.table-responsive-wrap-md:not(.table-responsive-wrap-no-label) > thead > tr > th:before,
    table.table-responsive-wrap-md:not(.table-responsive-wrap-no-label) > tbody > tr > th:before,
    table.table-responsive-wrap-md:not(.table-responsive-wrap-no-label) > tfoot > tr > th:before,
    table.table-responsive-wrap-md:not(.table-responsive-wrap-no-label) > thead > tr > td:before,
    table.table-responsive-wrap-md:not(.table-responsive-wrap-no-label) > tbody > tr > td:before,
    table.table-responsive-wrap-md:not(.table-responsive-wrap-no-label) > tfoot > tr > td:before {
        /*
		* aria-label has no advantage, it won't be read inside a table
		content: attr(aria-label);
		*/
        content: attr(data-label);
        font-weight: bold;
        text-transform: uppercase;
        margin-right: 10px;
    }

    table.table-responsive-wrap-md.table-responsive-content-right > thead > tr > th::before,
    table.table-responsive-wrap-md.table-responsive-content-right > tbody > tr > th::before,
    table.table-responsive-wrap-md.table-responsive-content-right > tfoot > tr > th::before,
    table.table-responsive-wrap-md.table-responsive-content-right > thead > tr > td::before,
    table.table-responsive-wrap-md.table-responsive-content-right > tbody > tr > td::before,
    table.table-responsive-wrap-md.table-responsive-content-right > tfoot > tr > td::before {
        float: left;
    }

    table.table-responsive-wrap-md.table-responsive-content-right > thead > tr > th::after,
    table.table-responsive-wrap-md.table-responsive-content-right > tbody > tr > th::after,
    table.table-responsive-wrap-md.table-responsive-content-right > tfoot > tr > th::after,
    table.table-responsive-wrap-md.table-responsive-content-right > thead > tr > td::after,
    table.table-responsive-wrap-md.table-responsive-content-right > tbody > tr > td::after,
    table.table-responsive-wrap-md.table-responsive-content-right > tfoot > tr > td::after {
        display: table;
        content: " ";
        clear: both;
    }

    table.table-responsive-wrap-md > thead > tr > th:last-child,
    table.table-responsive-wrap-md > thead > tr > td:last-child {
        border-bottom: 0;
    }

    table.table-responsive-wrap-md.table-bordered > tbody > tr > th,
    table.table-responsive-wrap-md.table-bordered > tbody > tr > td {
        border: none;
    }

    table.table-responsive-wrap-md colgroup {
        display: none;
    }
}

@media print {
    .card {
        box-shadow: none;
    }
}

@media (max-width: 577px) {

    .card > .card-body {
        --bs-card-spacer-y: .5em;
        --bs-card-spacer-x: .75em;
    }

    .card.card-sm-none {
        box-shadow: none !important;
        border: none;
    }

    .card.card-sm-none > .card-body {
        --bs-card-spacer-y: 0;
        --bs-card-spacer-x: 0;
    }
}

/* One hover tint for anything a pointer can activate, so a row behaves the same whether it is in a
   table or a list group. Translucent so a danger/warning/info row keeps its colour underneath. */
:root {
    --ugm-row-hover: rgba(13, 148, 255, 0.10);
}

.table-hover tbody tr:hover {
    --bs-table-hover-bg: var(--ugm-row-hover);
}

.list-group {
    --bs-list-group-action-hover-bg: var(--ugm-row-hover);
}

/* A list row that navigates: the proposal itself reads as a link rather than as a line of text,
   and underlines with the rest of the row on hover. Left off a row whose work is finished, which
   is muted instead. */
.list-group-item-action .action-text {
    color: var(--bs-link-color);
}

.list-group-item-action:hover .action-text,
.list-group-item-action:focus .action-text {
    color: var(--bs-link-hover-color);
    text-decoration: underline;
}

.text-bg-olive {
    color: var(--bs-white);
    background-color: rgba(128, 128, 0,var(--bs-bg-opacity,1)) !important;
}

/* A coloured icon inside a dropdown item has to survive the item being highlighted. Bootstrap gives
   a highlighted item a primary-blue background and white text, and .text-primary is that same blue
   - so a Word icon does not merely lose contrast, it disappears into the background at the moment
   somebody is choosing it, and a green one on blue is little better.

   Highlighted, the icon takes the item's own colour, which is the one colour guaranteed to read
   against the item's own background. At rest it keeps its hue, which is what makes a menu of mixed
   file types scannable to begin with. The glyphs differ as well as the colours, so nothing is lost
   in the moment the hue is dropped.

   !important because the text-* utilities carry it, and nothing without it would win. */
.dropdown-item:hover .bi,
.dropdown-item:focus .bi,
.dropdown-item:active .bi,
.dropdown-item.active .bi {
    color: inherit !important;
}

/* The same thing for buttons, where an outline button is the sharp case: at rest it is transparent
   with a coloured edge, and on hover or while its menu is open it fills with that very colour - so
   a green icon on a btn-outline-success sits on green, and the Download button's icon disappears
   exactly while the menu it opened is in front of you.

   The selectors mirror Bootstrap's own list of states that repaint a button, so the icon changes
   colour in precisely the states where the background does and in no others. :focus-visible is in
   because Bootstrap fills on it; plain :focus is not, because it does not - flipping the icon there
   would drop the hue while the background was still transparent. */
.btn:hover .bi,
.btn:focus-visible .bi,
.btn.active .bi,
.btn.show .bi,
.btn:first-child:active .bi,
:not(.btn-check) + .btn:active .bi {
    color: inherit !important;
}

/********************
* Environment Header
********************/
.header-environment.header-development {
    background-color: rgba(62, 185, 0, 0.5);
    background: repeating-linear-gradient( 45deg, rgba(62, 185, 0, 0.1), rgba(62, 185, 0, 0.1) 10px, rgb(62, 185, 0, 0.2) 10px, rgb(62, 185, 0, 0.2) 20px );
}

.header-environment.header-staging {
    background-color: rgba(126, 0, 49, 0.6);
    background: repeating-linear-gradient( 45deg, rgba(126, 0, 49, 0.1), rgba(126, 0, 49, 0.1) 10px, rgba(126, 0, 49, 0.2) 10px, rgba(126, 0, 49, 0.2) 20px );
}

.header-environment {

}