:root {
  /* Brand Base Colors */
  --BRAND-DARK: #4b2e2b;
  --BRAND-LIGHT: #f5f5f5;
  --BRAND-GRAY: #f0f0f0;
  --BRAND-DARK-GRAY: #343a40;
  --BRAND-ACCENT: #dca87f;
  --BRAND-RED: #801d1d;
  --BRAND-ACCENT-DARK: #B87943;
  --BRAND-BROWN: #5c4a3d;

  --BRAND-BORDER-LIGHT: color-mix(in srgb, var(--BRAND-DARK) 20%, white);
  --BRAND-RED-LIGHT: color-mix(in srgb, var(--BRAND-RED) 90%, white);
  --BRAND-BORDER-DARK: color-mix(in srgb, var(--BRAND-LIGHT) 40%, var(--BRAND-DARK));
  --BRAND-HOVER: color-mix(in srgb, var(--BRAND-ACCENT) 30%, var(--BRAND-DARK));
}

html[data-bs-theme="dark"] {

  --BRAND-ACCENT-DARK: #B47135;
  --BRAND-RED-LIGHT: color-mix(in srgb, var(--BRAND-RED) 80%, white);
  --BRAND-BG-GRAY: var(--BRAND-DARK-GRAY);
  --BRAND-BG-ACCENT: var(--BRAND-ACCENT-DARK);


  --bs-body-color: var(--BRAND-LIGHT);
  --bs-primary-bg-subtle: var(--BRAND-BORDER-DARK);
  --bs-border-color: var(--BRAND-BORDER-DARK);
  --bs-border-color-translucent: var(--BRAND-BORDER-DARK);

  --bs-link-color: var(--BRAND-ACCENT);
  --bs-link-hover-color: var(--BRAND-HOVER);
  --bs-btn-bg: var(--BRAND-RED);
  --bs-btn-border-color: var(--BRAND-ACCENT);
}

html:not([data-bs-theme="dark"]) {
  --BRAND-BG-GRAY: var(--BRAND-GRAY);
  --BRAND-BG-ACCENT: var(--BRAND-ACCENT);

  --bs-body-bg: var(--BRAND-LIGHT);
  --bs-body-color: var(--BRAND-DARK);
  --bs-primary-bg-subtle: var(--BRAND-BORDER-LIGHT);
  --bs-border-color: var(--BRAND-BORDER-LIGHT);
  --bs-border-color-translucent: var(--BRAND-BORDER-LIGHT);
  --bs-secondary-bg: var(--BRAND-GRAY);
  --bs-secondary-bg-rgb: 240, 240, 240; 

  --bs-link-color: var(--BRAND-RED);
  --bs-link-hover-color: var(--BRAND-HOVER);
  --bs-btn-bg: var(--BRAND-ACCENT);
  --bs-btn-border-color: var(--BRAND-RED);
}

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    scroll-padding-top: 7rem;
}

body {
    scrollbar-gutter: stable;
    overflow-x: hidden;
}

@font-face {
  font-family: 'Montserrat-Regular';
  src: url('/fonts/Montserrat-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

h1, h2, h3, h4, h5, h6 {
    font-family: Montserrat-Regular;
    margin: 0;
}

h1.fw-bold,
h2.fw-bold,
h3.fw-bold {
    font-weight: 900 !important;
    letter-spacing: 1.5px;
}

.modal-body h4 {
    margin-bottom: 0.6rem;
}

[data-bs-theme="dark"] h1.fw-bold,
[data-bs-theme="dark"] h2.fw-bold,
[data-bs-theme="dark"] h3.fw-bold {
    color: #F5EDE3;
}


.min-height-5rem {
    min-height: 5rem;
}

.top-header-padding {
    padding-top: 2rem;
}

.content {
    padding-top: 1.1rem;
}

.bg-brand-gray{
    background-color: var(--BRAND-BG-GRAY);
}

.bg-brand-accent{
    background-color: var(--BRAND-BG-ACCENT);
}

[data-bs-theme="light"] .bg-brand-banner{
    background-color: var(--BRAND-BROWN);
    color: white;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZH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YgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.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;
}

html[data-bs-theme="dark"] .btn-primary {
  --bs-btn-color: var(--BRAND-LIGHT);
  --bs-btn-bg: var(--BRAND-RED);
  --bs-btn-border-color: var(--BRAND-RED);
  --bs-btn-hover-color: var(--BRAND-LIGHT);
  --bs-btn-hover-bg: color-mix(in srgb, var(--BRAND-RED) 85%, white);
  --bs-btn-hover-border-color: color-mix(in srgb, var(--BRAND-RED) 70%, white);
  --bs-btn-focus-shadow-rgb: 255, 245, 245;
  --bs-btn-active-color: var(--BRAND-LIGHT);
  --bs-btn-active-bg: color-mix(in srgb, var(--BRAND-RED) 60%, white);
  --bs-btn-active-border-color: color-mix(in srgb, var(--BRAND-RED) 55%, white);
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: var(--BRAND-GRAY);
  --bs-btn-disabled-bg: var(--BRAND-RED);
  --bs-btn-disabled-border-color: var(--BRAND-RED);
}

html:not([data-bs-theme="dark"]) .btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--BRAND-RED);
  --bs-btn-border-color: var(--BRAND-RED);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: color-mix(in srgb, var(--BRAND-RED) 85%, black);
  --bs-btn-hover-border-color: color-mix(in srgb, var(--BRAND-RED) 70%, black);
  --bs-btn-focus-shadow-rgb: 128, 29, 29;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: color-mix(in srgb, var(--BRAND-RED) 60%, black);
  --bs-btn-active-border-color: color-mix(in srgb, var(--BRAND-RED) 55%, black);
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: var(--BRAND-RED);
  --bs-btn-disabled-border-color: var(--BRAND-RED);
}

html[data-bs-theme="dark"] .btn-outline-primary {
  --bs-btn-color: color-mix(in srgb, var(--BRAND-RED) 85%, white);
  --bs-btn-border-color: color-mix(in srgb, var(--BRAND-RED) 90%, white);
  --bs-btn-hover-color: var(--BRAND-LIGHT);
  --bs-btn-hover-bg: var(--BRAND-RED);
  --bs-btn-hover-border-color: var(--BRAND-RED);
  --bs-btn-focus-shadow-rgb: 128, 29, 29;
  --bs-btn-active-color: var(--BRAND-LIGHT);
  --bs-btn-active-bg: color-mix(in srgb, var(--BRAND-RED) 90%, white);
  --bs-btn-active-border-color: var(--BRAND-RED);
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: var(--BRAND-RED);
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: var(--BRAND-RED);
}

html:not([data-bs-theme="dark"]) .btn-outline-primary {
  --bs-btn-color: var(--BRAND-RED);
  --bs-btn-border-color: var(--BRAND-RED);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--BRAND-RED);
  --bs-btn-hover-border-color: var(--BRAND-RED);
  --bs-btn-focus-shadow-rgb: 128, 29, 29;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: color-mix(in srgb, var(--BRAND-RED) 80%, black);
  --bs-btn-active-border-color: var(--BRAND-RED);
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: var(--BRAND-RED);
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: var(--BRAND-RED);
}

html[data-bs-theme="dark"] .btn-outline-secondary {
  --bs-btn-color: var(--BRAND-ACCENT-DARK);
  --bs-btn-border-color: var(--BRAND-ACCENT-DARK);
  --bs-btn-hover-color: var(--BRAND-LIGHT);
  --bs-btn-hover-bg: var(--BRAND-ACCENT-DARK);
  --bs-btn-hover-border-color: var(--BRAND-ACCENT-DARK);
  --bs-btn-focus-shadow-rgb: 183, 121, 67;
  --bs-btn-active-color: var(--BRAND-LIGHT);
  --bs-btn-active-bg: color-mix(in srgb, var(--BRAND-ACCENT-DARK) 80%, white);
  --bs-btn-active-border-color: var(--BRAND-ACCENT-DARK);
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: var(--BRAND-ACCENT-DARK);
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: var(--BRAND-ACCENT-DARK);
}

html:not([data-bs-theme="dark"]) .btn-outline-secondary {
  --bs-btn-color: var(--BRAND-ACCENT-DARK);
  --bs-btn-border-color: var(--BRAND-ACCENT-DARK);
  --bs-btn-hover-color: var(--BRAND-LIGHT);
  --bs-btn-hover-bg: var(--BRAND-ACCENT-DARK);
  --bs-btn-hover-border-color: var(--BRAND-ACCENT-DARK);
  --bs-btn-focus-shadow-rgb: 183, 121, 67;
  --bs-btn-active-color: var(--BRAND-LIGHT);
  --bs-btn-active-bg: color-mix(in srgb, var(--BRAND-ACCENT-DARK) 80%, black);
  --bs-btn-active-border-color: var(--BRAND-ACCENT-DARK);
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: var(--BRAND-ACCENT-DARK);
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: var(--BRAND-ACCENT-DARK);
}

html[data-bs-theme="dark"] .btn-secondary {
  --bs-btn-color: var(--BRAND-LIGHT);
  --bs-btn-bg: var(--BRAND-ACCENT-DARK);
  --bs-btn-border-color: var(--BRAND-ACCENT-DARK);
  --bs-btn-hover-color: var(--BRAND-LIGHT);
  --bs-btn-hover-bg: color-mix(in srgb, var(--BRAND-ACCENT-DARK) 85%, white);
  --bs-btn-hover-border-color: color-mix(in srgb, var(--BRAND-ACCENT-DARK) 70%, white);
  --bs-btn-focus-shadow-rgb: 183, 121, 67;
  --bs-btn-active-color: var(--BRAND-LIGHT);
  --bs-btn-active-bg: color-mix(in srgb, var(--BRAND-ACCENT-DARK) 60%, white);
  --bs-btn-active-border-color: color-mix(in srgb, var(--BRAND-ACCENT-DARK) 55%, white);
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: var(--BRAND-LIGHT);
  --bs-btn-disabled-bg: var(--BRAND-ACCENT-DARK);
  --bs-btn-disabled-border-color: var(--BRAND-ACCENT-DARK);
}

html:not([data-bs-theme="dark"]) .btn-secondary {
  --bs-btn-color: var(--BRAND-LIGHT);
  --bs-btn-bg: var(--BRAND-ACCENT-DARK);
  --bs-btn-border-color: var(--BRAND-ACCENT-DARK);
  --bs-btn-hover-color: var(--BRAND-LIGHT);
  --bs-btn-hover-bg: color-mix(in srgb, var(--BRAND-ACCENT-DARK) 85%, black);
  --bs-btn-hover-border-color: color-mix(in srgb, var(--BRAND-ACCENT-DARK) 70%, black);
  --bs-btn-focus-shadow-rgb: 183, 121, 67;
  --bs-btn-active-color: var(--BRAND-LIGHT);
  --bs-btn-active-bg: color-mix(in srgb, var(--BRAND-ACCENT-DARK) 60%, black);
  --bs-btn-active-border-color: color-mix(in srgb, var(--BRAND-ACCENT-DARK) 55%, black);
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: var(--BRAND-LIGHT);
  --bs-btn-disabled-bg: var(--BRAND-ACCENT-DARK);
  --bs-btn-disabled-border-color: var(--BRAND-ACCENT-DARK);
}

p a, li a {
    text-decoration: none;
    color: var(--BRAND-RED-LIGHT);
}

[data-bs-theme="dark"] p a,
[data-bs-theme="dark"] li a {
    color: var(--BRAND-ACCENT-DARK);
}

p a:hover, li a:hover {
    text-decoration: underline;
}

ol.nested-links li::marker {
    color: var(--BRAND-RED-LIGHT);
}

[data-bs-theme="dark"] ol.nested-links li::marker {
    color: var(--BRAND-ACCENT-DARK);
}


[data-bs-theme="dark"] .display-light {
    display: none !important;
}

html:not([data-bs-theme="dark"]) .display-dark {
    display: none !important;
}
