﻿@charset "UTF-8";
header .mud-nav-item {
  width: initial;
}
header .mud-image {
  height: 100%;
  padding: 10px 5px;
}
header .mud-nav-link {
  color: #ffffff !important;
  fill: #ffffff !important;
  font-size: 1rem;
  font-weight: 700;
}
header .mud-nav-link:hover, header .mud-nav-link:focus {
  color: #fab54b !important;
  background-color: #1f3d68 !important;
}
header .mud-nav-link.active-nav-item {
  color: #fab54b !important;
  font-weight: 700 !important;
  text-decoration-color: #fab54b !important;
}
header .mud-nav-link.active-nav-item svg {
  border-bottom: solid 2px #fab54b !important;
}
header .mud-nav-link .mud-nav-link-text {
  text-align: center;
}

.text-shadow {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.75);
}

.text-italic {
  font-style: italic;
}

.text-bold {
  font-weight: bold !important;
}

.text-underline {
  text-decoration: underline;
}

:root {
  --mud-typography-h1-weight: 700;
  --mud-typography-h2-weight: 600;
  --mud-typography-h3-weight: 500;
  --mud-typography-h4-weight: 500;
  --mud-typography-h5-weight: 500;
  --mud-typography-h6-weight: 500;
}

h1, .mud-typography-h1 {
  font-weight: 700;
}

h2, .mud-typography-h2 {
  font-weight: 600;
}

h3, h4, h5, h6, .mud-typography-h3, .mud-typography-h4, .mud-typography-h5, .mud-typography-h6 {
  font-weight: 500;
}

:root {
  --mud-typography-h1-size: 3rem;
  --mud-typography-h2-size: 2.5rem;
  --mud-typography-h3-size: 2rem;
  --mud-typography-h4-size: 1.75rem;
  --mud-typography-h5-size: 1.5rem;
  --mud-typography-body1-size: 1rem;
  --mud-typography-body2-size: .9rem;
  --mud-typography-subtitle1-size: 1.3rem;
  --mud-typography-subtitle2-size: .75rem;
  --mud-typography-caption-size: .75rem;
}

h1, .mud-typography-h1 {
  font-size: 3rem;
}

h2, .mud-typography-h2 {
  font-size: 2.5rem;
}

h3, .mud-typography-h3 {
  font-size: 2rem;
}

h4, .mud-typography-h4 {
  font-size: 1.75rem;
}

h5, .mud-typography-h5 {
  font-size: 1.5rem;
}

.mud-typography-body1 {
  font-size: 1rem;
}

.mud-typography-body1 ul {
  padding-left: 20px !important;
}

.mud-typography-body2 {
  font-size: 0.9rem;
}

.mud-typography-subtitle1 {
  font-size: 1.3rem;
}

.mud-typography-subtitle2 {
  font-size: 0.75rem;
}

.mud-typography-caption {
  font-size: 0.75rem;
}

.mud-palette-warning-text {
  color: #294e7b;
}

@media (max-width: 1280px) {
  :root {
    --mud-typography-h1-size: 2.7rem;
    --mud-typography-h2-size: 2.25rem;
    --mud-typography-h3-size: 1.8rem;
    --mud-typography-h4-size: 1.575rem;
    --mud-typography-h5-size: 1.35rem;
    --mud-typography-body1-size: .9rem;
    --mud-typography-body2-size: .81rem;
    --mud-typography-subtitle1-size: .9rem;
    --mud-typography-subtitle2-size: .855rem;
    --mud-typography-caption-size: .675rem;
  }
  h1, .mud-typography-h1 {
    font-size: 2.7rem;
  }
  h2, .mud-typography-h2 {
    font-size: 2.25rem;
  }
  h3, .mud-typography-h3 {
    font-size: 1.8rem;
  }
  h4, .mud-typography-h4 {
    font-size: 1.575rem;
  }
  h5, .mud-typography-h5 {
    font-size: 1.35rem;
  }
  .mud-typography-body1 {
    font-size: 0.9rem;
  }
  .mud-typography-body2 {
    font-size: 0.81rem;
  }
  .mud-typography-subtitle1 {
    font-size: 0.9rem;
  }
  .mud-typography-subtitle2 {
    font-size: 0.855rem;
  }
  .mud-typography-caption {
    font-size: 0.675rem;
  }
}
@media (max-width: 960px) {
  :root {
    --mud-typography-h1-size: 2.25rem;
    --mud-typography-h2-size: 2.875rem;
    --mud-typography-h3-size: 1.5rem;
    --mud-typography-h4-size: 1.3125rem;
    --mud-typography-h5-size: 1.125rem;
    --mud-typography-body1-size: .75rem;
    --mud-typography-body2-size: .675rem;
    --mud-typography-subtitle1-size: .975rem;
    --mud-typography-subtitle2-size: .7125rem;
    --mud-typography-caption-size: .5625rem;
  }
  h1, .mud-typography-h1 {
    font-size: 2.25rem;
  }
  h2, .mud-typography-h2 {
    font-size: 1.875rem;
  }
  h3, .mud-typography-h3 {
    font-size: 1.5rem;
  }
  h4, .mud-typography-h4 {
    font-size: 1.3125rem;
  }
  h5, .mud-typography-h5 {
    font-size: 1.125rem;
  }
  .mud-typography-body1 {
    font-size: 0.75rem;
  }
  .mud-typography-body2 {
    font-size: 0.675rem;
  }
  .mud-typography-subtitle1 {
    font-size: 0.975rem;
  }
  .mud-typography-subtitle2 {
    font-size: 0.7125rem;
  }
  .mud-typography-caption {
    font-size: 0.5625rem;
  }
}
@media (max-width: 600px) {
  :root {
    --mud-typography-h1-size: 1.8rem;
    --mud-typography-h2-size: 1.5rem;
    --mud-typography-h3-size: 1.2rem;
    --mud-typography-h4-size: 1.05rem;
    --mud-typography-h5-size: .9rem;
    --mud-typography-body1-size: .6rem;
    --mud-typography-body2-size: .54rem;
    --mud-typography-subtitle1-size: .78rem;
    --mud-typography-subtitle2-size: .57rem;
    --mud-typography-caption-size: .45rem;
  }
  h1, .mud-typography-h1 {
    font-size: 1.8rem;
  }
  h2, .mud-typography-h2 {
    font-size: 1.5rem;
  }
  h3, .mud-typography-h3 {
    font-size: 1.2rem;
  }
  h4, .mud-typography-h4 {
    font-size: 1.05rem;
  }
  h5, .mud-typography-h5 {
    font-size: 0.9rem;
  }
  .mud-typography-body1 {
    font-size: 0.6rem;
  }
  .mud-typography-body2 {
    font-size: 0.54rem;
  }
  .mud-typography-subtitle1 {
    font-size: 0.78rem;
  }
  .mud-typography-subtitle2 {
    font-size: 0.57rem;
  }
  .mud-typography-caption {
    font-size: 0.45rem;
  }
}
.line-height-sm {
  line-height: 18px;
}

.mud-button-filled-size-medium .mud-button-label {
  font-size: 1rem;
}
@media (max-width: 960px) {
  .mud-button-filled-size-medium .mud-button-label {
    font-size: 0.98rem;
  }
}
@media (max-width: 960px) {
  .mud-button-filled-size-medium .mud-button-label {
    font-size: 0.96rem;
  }
}
@media (max-width: 600px) {
  .mud-button-filled-size-medium .mud-button-label {
    font-size: 0.95rem;
  }
}

/* ******************************* */
/* Questionnaire - start           */
/* ******************************* */
.questionnaire-header {
  background-color: #294e7b;
  color: #eeeeee;
  margin: 10px;
}

.questionnaire-wrapper {
  margin-top: 10px;
  padding-left: 10px;
  color: #294e7b;
}

.questionnaire-title {
  margin-top: 20px;
  font-weight: 800;
  font-size: large;
  color: #294e7b;
}

.questionnaire-category {
  margin-top: 20px;
  font-weight: 800;
  font-size: larger;
}

.questionnaire-question-wrapper {
  margin-top: 10px;
}

.questionnaire-question {
  font-weight: bold;
  font-size: 14px;
}

.questionnaire-answer {
  font-weight: normal;
  font-size: medium;
  margin-left: 20px;
}

.unanswered-question-wrapper {
  background-color: rgba(210, 0, 0, 0.2);
}

.unanswered-question {
  font-size: medium;
  font-weight: 600;
  color: #d20000;
}

/* ******************************* */
/* Questionnaire - end             */
/* ******************************* */
/* ******************************* */
/* BallotMeasure - start           */
/* ******************************* */
.BallotMeasure-for {
  color: green;
}

.BallotMeasure-against {
  color: red;
}

.BallotMeasure-neutral {
  color: #777;
}

p a {
  color: blue;
  text-decoration: underline;
}

/* ******************************* */
/* BallotMeasure - end             */
/* ******************************* */
/* ******************************* */
/* Profile - start                 */
/* ******************************* */
.divider div {
  text-align: center;
  height: 1px;
  background-color: #294e7b; /*#0000B4;*/
  margin: 3px;
}

.divider div span {
  background-color: #eeeeee;
  position: relative;
  top: -0.6em;
  padding: 0 10px;
  font-weight: bold;
}

/* ******************************* */
/* Profile - end                   */
/* ******************************* */
.mud-input-control-helper-container {
  color: #693c00;
  background-color: rgb(244, 244, 244);
}

.mud-input-helper-text {
  color: #693c00;
  background-color: rgb(244, 244, 244);
}

.mud-select-extended {
  flex-basis: auto !important;
}

.voting-options .mud-input-control.mud-input-control-boolean-input .mud-radio-group {
  display: inherit;
  flex-direction: column;
  align-items: flex-start;
  flex-wrap: wrap;
}

.dense-checkbox .mud-typography-body1 {
  font-size: 0.75rem !important;
}

.mud-input-placeholder {
  font-size: 0.875rem;
}

.mud-table-bordered .mud-table-container {
  margin: 5px;
  padding-bottom: 16px;
}

.mud-table-bordered tr > th:first-child, .mud-table-bordered tr > td:first-child {
  border-left: 1px solid var(--mud-palette-table-lines);
}

.mud-table-bordered tr th, .mud-table-bordered tr td {
  border-right: 1px solid var(--mud-palette-table-lines);
}

.mud-table-bordered tr th {
  border-top: 1px solid var(--mud-palette-table-lines);
}

.mud-table-bordered tbody {
  border-bottom: 1px solid var(--mud-palette-table-lines);
}

.mud-snackbar-message {
  white-space: pre-line;
}

div.mud-input-slot.mud-input-root-outlined.mud-input-root-margin-dense.mud-select-input-extended {
  padding-bottom: 5px !important;
}

div[role=group] > p.mud-typography.mud-typography-body1.mud-typography-gutterbottom {
  margin-bottom: 0px !important;
}

.mud-link {
  text-decoration: underline !important;
  font-weight: normal !important;
  color: rgb(0, 123, 255) !important;
}
.mud-link:hover {
  text-decoration: none !important;
  filter: brightness(0.4) !important;
}

/* used on some MudLinks */
li.specialmudlink {
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  break-inside: avoid;
}

/* Force placeholder to use body1 instead of subtitle1 */
.ivg-select .mud-input.mud-typography-subtitle1 {
  font-size: var(--mud-typography-body1-font-size);
  font-weight: var(--mud-typography-body1-font-weight);
  line-height: var(--mud-typography-body1-line-height);
  letter-spacing: var(--mud-typography-body1-letter-spacing);
}

.ivg-select .mud-select-filler > p {
  font-size: var(--mud-typography-body1-font-size);
  font-weight: var(--mud-typography-body1-font-weight);
  line-height: var(--mud-typography-body1-line-height);
  letter-spacing: var(--mud-typography-body1-letter-spacing);
}

nav .mud-tooltip-root.mud-tooltip-inline {
  width: 100%;
}

/* ─────────────────────────────────────────────────────────────── */
/*  NAV MENU CUSTOMIZATION (MudNavMenu, MudNavGroup, MudNavLink)  */
/* ─────────────────────────────────────────────────────────────── */
/* 1. Flex layout for group headers */
.mud-nav-group .mud-nav-link {
  display: flex;
  align-items: center;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}

/* 2. Position chevron icon before the text with minimal spacing */
.mud-nav-group .mud-nav-link > svg.mud-nav-link-expand-icon {
  order: -1;
  margin-right: 0;
  vertical-align: middle;
}

/* 2b. Remove or reduce left margin on text to tighten layout */
.mud-nav-group .mud-nav-link-text {
  margin-left: 0;
}

/* 3. Ensure start icons (if present) come after the chevron */
.mud-nav-group .mud-nav-link > .mud-nav-link-icon {
  margin-left: 0.25rem;
  margin-right: 0;
  font-size: 1rem;
  width: 1rem;
  height: 1rem;
}

/* 4. Shrink font size for all submenu text */
.mud-nav-group .mud-navmenu .mud-nav-link .mud-nav-link-text {
  font-size: 0.875rem;
}

/* 5. Indentation levels */
/* First-level submenu item */
.mud-nav-group .mud-navmenu > .mud-tooltip-root > .mud-nav-item > .mud-nav-link,
.mud-nav-group .mud-navmenu > .mud-tooltip-root > .mud-nav-group > .mud-nav-link {
  padding-left: 2rem;
  padding-top: 0.1875rem;
  padding-bottom: 0.1875rem;
}

/* Second-level submenu (grandchild) */
.mud-nav-group .mud-navmenu .mud-navmenu > .mud-tooltip-root > .mud-nav-item > .mud-nav-link,
.mud-nav-group .mud-navmenu .mud-navmenu > .mud-tooltip-root > .mud-nav-group > .mud-nav-link {
  padding-left: 3rem;
  padding-top: 0.1875rem;
  padding-bottom: 0.1875rem;
}

/* Optional: Slightly shrink grandchild text */
.mud-nav-group .mud-navmenu .mud-navmenu .mud-nav-link .mud-nav-link-text {
  font-size: 0.8125rem;
}

.bordered-container {
  position: relative;
  border: 1px solid;
  padding: 1rem;
  margin-top: 1rem;
  border-radius: var(--mud-default-borderradius);
  border-color: var(--mud-palette-background);
}

.bordered-label {
  position: absolute;
  top: -0.5rem;
  left: 1rem;
  font-size: 0.75rem;
  padding: 0 0.5rem;
  background-color: var(--mud-palette-surface);
}

.bordered-content {
  padding-top: 0.5rem;
}

.error-notification-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 5000; /* Use a moderately high value */
  background-color: var(--mud-theme-surface);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 16px; /* Optional padding */
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}
.error-notification-container {
  animation: slideDown 0.3s ease-out;
}

.multi-select-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.autocomplete-chips-wrapper {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  border: 1px solid var(--mud-palette-outline);
  border-radius: 4px;
  padding: 4px;
  background-color: var(--mud-theme-surface);
  min-height: 56px;
}

.chip-set-overlay {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  max-width: 100%;
  overflow: hidden;
}

.autocomplete-input {
  flex: 1;
  border: none;
  outline: none;
  box-shadow: none;
  padding: 0;
  min-width: 120px;
}

.election-background {
  background-color: #ffffff;
}

.office-background {
  background-color: #f2f2f2;
}

.race-background {
  background-color: #e6e6e6;
}

.ballotmeasure-background {
  background-color: #e6e6e6;
}

/* Background coloring using MudBlazor's token classes */
.bg-info td:not(:first-child) {
  background-color: rgba(var(--mud-palette-info-rgb), 0.3 ) !important;
}

.bg-dark td:not(:first-child) {
  background-color: rgba(var(--mud-palette-dark-rgb), 0.3 ) !important;
}

.bg-tertiary td:not(:first-child) {
  background-color: rgba(var(--mud-palette-tertiary-rgb), 0.3 ) !important;
}

.bg-error td:not(:first-child) {
  background-color: rgba(var(--mud-palette-error-rgb), 0.3 ) !important;
}

.bg-warning td:not(:first-child) {
  background-color: rgba(var(--mud-palette-warning-rgb), 0.3 ) !important;
}

/* Styling for PreviewInProgress rows */
.preview-row td {
  border-left: 5px solid red;
  font-style: italic;
  opacity: 0.9;
}

.no-races {
  color: #555555 !important;
}

.not-all-assigned {
  color: #d20000 !important;
}

.all-assigned {
  color: #28a745 !important;
}

/* data grid toolbar grow vertically & top-align content */
.mud-table-toolbar {
  height: auto !important;
  align-items: flex-start !important;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.mud-table-toolbar:empty {
  display: none;
}

/* Allow any grid’s inner toolbar content to wrap */
.mud-table-toolbar-content {
  flex-wrap: wrap !important;
  gap: 0.5rem;
}

/* disable text selection inside a grid */
.mud-table-dense td,
.very-dense-grid td {
  height: auto !important;
  vertical-align: middle;
}

.cursor-pointer {
  display: flex;
  align-items: center;
  height: 100%;
  width: 100%;
}

/* Only override border for fields that use `.my‐outlined‐cell` */
.mud-data-grid .mud-table-cell.edit-mode-cell .ivg‐outlined‐cell .mud-input-outlined-border {
  border: 1px solid rgba(0, 0, 0, 0.38); /* remove `!important` if this rule is loaded last */
}

/* Only apply if the parent grid has .very-dense-grid */
.very-dense-grid .mud-table-cell {
  padding: 4px !important; /* Reduce all padding */
  vertical-align: middle !important; /* Vertically center content */
  /* Optional: horizontally center text */
  /* text-align: center !important; */
}

/* Hide sort icon */
.hide-sort-icons button.sort-direction-icon {
  display: none !important;
}

/* Show sort icon if sorted ascending or descending */
.hide-sort-icons button.sort-direction-icon.mud-direction-asc,
.hide-sort-icons button.sort-direction-icon.mud-direction-desc {
  display: inline-flex !important;
}

/* Hide column move icon */
.hide-move-icons button.drag-icon-options {
  display: none !important;
}

.mud-sort-index {
  margin-left: 4px;
  display: inline-block;
  vertical-align: middle;
}

/* Row selection uses clicks, but don't globally disable selection */
/* Make text inside the "selectable" island actually selectable */
.ivg-selectable,
.ivg-selectable * {
  user-select: text;
  -webkit-user-select: text;
  -ms-user-select: text;
  cursor: text; /* optional: clearer UX */
}

.mud-table-row a {
  color: blue;
  text-decoration: underline;
}

/* BEGIN sticky data grid headings */
.ivg-page-sticky-toolbar {
  position: sticky;
  top: var(--appbar-height, -12px); /* adjust if you have a MudAppBar */
  padding-top: 12px;
  z-index: 9;
  background: var(--mud-palette-surface);
}

/* 1) Prevent an internal vertical scroll container from defeating sticky */
.ivg-sticky-head .mud-table-container {
  /* MudDataGrid wraps the table in this container */
  overflow-y: visible; /* allow page to be the scroller */
  /* keep horizontal scroll if you need it */
  overflow-x: auto;
}

/* 2) Make the header sticky to the page scroll (below toolbar) */
.ivg-sticky-head thead {
  position: sticky;
  top: calc(var(--appbar-height, 0px) + var(--ivg-toolbar-height, 50px));
  z-index: 90; /* below toolbar, above rows */
}

/* Some browsers only honor sticky on TH/TD; this covers both */
.ivg-sticky-head thead tr,
.ivg-sticky-head thead th,
.ivg-sticky-head thead td {
  position: sticky;
  top: calc(var(--appbar-height, 0px) + var(--ivg-toolbar-height, 50px));
  background: var(--mud-palette-surface, #fff);
  z-index: 91;
  /* Optional polish */
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

/* END sticky data grid headings */
.dashboard .mud-card-header {
  padding-bottom: 0px;
}
.dashboard .mud-list-subheader {
  padding-bottom: 0px;
  padding-top: 0px;
}
.dashboard .mud-list-item.mud-list-item-dense {
  padding-bottom: 0px;
  padding-top: 0px;
}
.dashboard .mud-list-item-text {
  margin-top: 0px;
  margin-bottom: 0px;
}

.panel-container .mud-input > input.mud-input-root-outlined.mud-input-root-margin-dense, .panel-container div.mud-input-slot.mud-input-root-outlined.mud-input-root-margin-dense {
  padding-top: 8px !important;
  padding-bottom: 0px !important;
}

.custom-date-picker .mud-input > input.mud-input-root-outlined.mud-input-root-margin-dense,
.custom-date-picker div.mud-input-slot.mud-input-root-outlined.mud-input-root-margin-dense,
.custom-date-picker-dense .mud-input > input.mud-input-root-outlined.mud-input-root-margin-dense,
.custom-date-picker-dense div.mud-input-slot.mud-input-root-outlined.mud-input-root-margin-dense {
  font-size: var(--mud-typography-body1-size) !important;
  font-family: var(--mud-typography-body1-family) !important;
  font-weight: var(--mud-typography-body1-weight) !important;
}

.custom-date-picker-dense .mud-input > input.mud-input-root-outlined.mud-input-root-margin-dense,
.custom-date-picker-dense div.mud-input-slot.mud-input-root-outlined.mud-input-root-margin-dense {
  padding-bottom: 0px !important;
}

.tox-tinymce-aux {
  z-index: 4000 !important;
}

.alphanum {
  color: #007bff;
}

.alphanum-highlight {
  font-weight: 800;
  font-size: larger;
  margin-top: -4px;
}

.ivg-pager-button {
  /* roughly 50% of the default Small button width */
  min-width: 1.5rem !important;
  width: 1.75rem !important;
  padding: 0 0.25rem !important;
  margin: 0 0.25rem !important;
  text-align: center;
}

/* in site.scss or component .scss, loaded after MudBlazor */
.ivg-page-size-select {
  flex: 0 0 100px !important; /* don’t grow, don’t shrink, fixed at 100px */
  max-width: 100px !important; /* just in case */
  width: 100px !important;
}

/* Candidate Matching / Donor Matching Grid */
.data-row-green {
  background-color: color-mix(in srgb, var(--mud-palette-success) 20%, white) !important;
}

.data-row-selected-green {
  /* mix more of “success” + some black to get a darker green */
  background-color: color-mix(in srgb, var(--mud-palette-success) 60%, black) !important;
  /* ensure text stands out—MudBlazor defines a contrast‐text variable */
  color: var(--mud-palette-success-contrast-text) !important;
}

.data-row-red {
  background-color: color-mix(in srgb, var(--mud-palette-error) 20%, white) !important;
}

.data-row-selected-red {
  /* mix more of “error” + some black to get a darker red */
  background-color: color-mix(in srgb, var(--mud-palette-error) 60%, black) !important;
  /* ensure text stands out—MudBlazor defines a contrast‐text variable */
  color: var(--mud-palette-red-contrast-text) !important;
}

.data-row-white {
  background-color: #ffffff;
}

.data-row-selected-white {
  /* mix more of “white” + some black to get a grey */
  background-color: color-mix(in srgb, #ffffff 60%, black) !important;
  /* ensure text stands out—MudBlazor defines a contrast‐text variable */
  color: #ffffff !important;
}

.data-row-selected-white:hover {
  background-color: color-mix(in srgb, #ffffff 75%, black);
}

.ivg-drop-zone {
  border: 2px dashed;
  border-color: var(--mud-palette-secondary-darken);
  border-radius: var(--mud-radius);
}

.ivg-drop-zone.dragging {
  border-color: var(--mud-palette-success);
}

.same-width-button {
  min-width: max-content;
  width: max-content;
  padding-left: 24px;
  padding-right: 24px;
}

.ivg-select-very-dense .mud-input-root,
.ivg-select-very-dense .mud-input-control {
  padding-top: 2px !important;
  padding-bottom: 2px !important;
  min-height: 28px !important;
}

/* Limit only the input width, not the popover */
.ivg-datepicker-150 .mud-input {
  width: 150px !important;
  max-width: 150px !important;
  flex: 0 0 auto;
}

/* Optional: prevent input from growing too much on small screens */
.ivg-datepicker-150 {
  max-width: 100%;
}

.mud-popover.ivg-popover-250 {
  width: 250px !important;
  max-width: none !important;
}

.mud-popover.ivg-popover-300 {
  width: 300px !important;
  max-width: none !important;
}

.mud-popover.ivg-popover-400 {
  width: 400px !important;
  max-width: none !important;
}

.mud-popover.ivg-popover-500 {
  width: 500px !important;
  max-width: none !important;
}

.mud-popover.ivg-popover-600 {
  width: 600px !important;
  max-width: none !important;
}

.mud-popover.ivg-popover-800 {
  width: 800px !important;
  max-width: none !important;
}

.mud-popover.ivg-popover-1000 {
  width: 1000px !important;
  max-width: none !important;
}

.mud-popover.ivg-popover-1200 {
  width: 1200px !important;
  max-width: none !important;
}

.mud-popover.ivg-popover-1500 {
  width: 1500px !important;
  max-width: none !important;
}

.mud-popover.ivg-popover-1750 {
  width: 1750px !important;
  max-width: none !important;
}

.mud-popover.ivg-popover-2000 {
  width: 2000px !important;
  max-width: none !important;
}

/* Ratings by State dialog */
.rbs-container {
  display: flex;
  flex-flow: row wrap;
  padding: 0;
  margin: 0;
  list-style: none;
}

.rbs-item {
  width: 70px;
  padding: 5px;
}

.width-30 {
  width: 30px !important;
}

.width-40 {
  width: 40px !important;
}

.width-50 {
  width: 50px !important;
}

.width-60 {
  width: 60px !important;
}

.width-70 {
  width: 70px !important;
}

.width-75 {
  width: 75px !important;
}

.width-80 {
  width: 80px !important;
}

.width-90 {
  width: 90px !important;
}

.width-100 {
  width: 100px !important;
}

.width-125 {
  width: 125px !important;
}

.width-150 {
  width: 150px !important;
}

.width-175 {
  width: 175px !important;
}

.width-200 {
  width: 200px !important;
}

.width-250 {
  width: 250px !important;
}

.width-300 {
  width: 300px !important;
}

.width-350 {
  width: 350px !important;
}

.width-400 {
  width: 400px !important;
}

.width-500 {
  width: 500px !important;
}

.flex-width-30 {
  flex: 0 0 30px !important;
}

.flex-width-40 {
  flex: 0 0 40px !important;
}

.flex-width-50 {
  flex: 0 0 50px !important;
}

.flex-width-60 {
  flex: 0 0 60px !important;
}

.flex-width-70 {
  flex: 0 0 70px !important;
}

.flex-width-75 {
  flex: 0 0 75px !important;
}

.flex-width-80 {
  flex: 0 0 80px !important;
}

.flex-width-90 {
  flex: 0 0 90px !important;
}

.flex-width-100 {
  flex: 0 0 100px !important;
}

.flex-width-125 {
  flex: 0 0 125px !important;
}

.flex-width-150 {
  flex: 0 0 150px !important;
}

.flex-width-175 {
  flex: 0 0 175px !important;
}

.flex-width-200 {
  flex: 0 0 200px !important;
}

.flex-width-250 {
  flex: 0 0 250px !important;
}

.flex-width-300 {
  flex: 0 0 300px !important;
}

.flex-width-400 {
  flex: 0 0 400px !important;
}

.flex-width-500 {
  flex: 0 0 500px !important;
}

.note-cell {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  /* Simulate TinyMCE padding/margins */
  padding: 0.5rem;
  word-break: break-word;
}

.note-cell p {
  margin-top: 0;
  margin-bottom: 0.5em;
}

.note-cell ul,
.note-cell ol {
  padding-left: 1.5rem;
  margin-top: 0.25em;
  margin-bottom: 0.5em;
}

.note-cell li {
  margin-bottom: 0.25em;
}

.note-cell a {
  color: #1a0dab;
  text-decoration: underline;
}

.note-cell a:hover {
  text-decoration: none;
}

.ivg-primary {
  color: #eeeeee;
  background-color: #294e7b;
  border-color: #1861ac;
}

.ivg-secondary {
  background-color: #fab54b;
  color: #294e7b;
  border: none;
  font-weight: bold;
}

.white {
  color: #ffffff !important;
}

.bg-white {
  background-color: #ffffff !important;
}

.color-white {
  color: #ffffff;
}

.color-gray-100 {
  color: #e6e6e6;
}

.color-gray-200 {
  color: #cecece;
}

.color-gray-300 {
  color: #b3b3b3;
}

.color-gray-400 {
  color: #999999;
}

.color-gray-500 {
  color: #808080;
}

.color-gray-600 {
  color: #666666;
}

.color-gray-700 {
  color: #020202;
}

.color-gray-800 {
  color: #333333;
}

.color-gray-900 {
  color: #181818;
}

.color-gray-darker {
  color: #222222;
}

.color-gray-dark {
  color: #333333;
}

.color-gray {
  color: #555555;
}

.color-gray-light {
  color: #999999;
}

.color-gray-lighter {
  color: #eeeeee;
}

.color-white-dark {
  color: #f7f7f7;
}

.color-primary-900 {
  color: #0f254b;
}

.color-primary-800 {
  color: #19355e;
}

.color-primary-700 {
  color: #1f3d68;
}

.color-primary-600 {
  color: #244773;
}

.color-primary-500 {
  color: #294e7b;
}

.color-primary-400 {
  color: #49698f;
}

.color-primary-300 {
  color: #6983a3;
}

.color-primary-200 {
  color: #94a7bd;
}

.color-primary-100 {
  color: #bfcad7;
}

.color-gold-accent-500 {
  color: #fab54b;
}

.color-gold-accent-700 {
  color: #f9a53b;
}

.color-red-accent-500 {
  color: #d20000;
}

.color-red-accent-700 {
  color: #962221;
}

.color-teal-accent-500 {
  color: #36afa9;
}

.color-teal-accent-700 {
  color: #3fbbb8;
}

.color-black {
  color: #000000;
}

.color-blue {
  color: #294e7b;
}

.color-indigo {
  color: #6610f2;
}

.color-purple {
  color: #6f42c1;
}

.color-pink {
  color: #e83e8c;
}

.color-red {
  color: #d20000;
}

.color-orange {
  color: #fd7e14;
}

.color-yellow {
  color: #fab54b;
}

.color-green {
  color: #28a745;
}

.color-teal {
  color: #36afa9;
}

.color-darker {
  color: #1F9BCF;
}

.color-primary {
  color: #294e7b;
}

.color-primary-font {
  color: #eeeeee;
}

.color-secondary {
  color: #fab54b;
}

.color-secondary-font {
  color: #294e7b;
}

.color-content-bg {
  color: #eeeeee;
}

.color-content-popup-bg {
  color: #ffffff;
}

.color-success {
  color: #28a745;
}

.color-info {
  color: #1F9BCF;
}

.color-warning {
  color: #fab54b;
}

.color-danger {
  color: #d20000;
}

.color-light {
  color: #999999;
}

.color-dark {
  color: #333333;
}

.color-page-bg {
  color: #eeeeee;
}

.color-page-font {
  color: #294e7b;
}

.color-footer {
  color: #19355e;
}

.color-navigation {
  color: #1f3d68;
}

.bg-color-white {
  background-color: #ffffff;
}

.bg-color-gray-100 {
  background-color: #e6e6e6;
}

.bg-color-gray-200 {
  background-color: #cecece;
}

.bg-color-gray-300 {
  background-color: #b3b3b3;
}

.bg-color-gray-400 {
  background-color: #999999;
}

.bg-color-gray-500 {
  background-color: #808080;
}

.bg-color-gray-600 {
  background-color: #666666;
}

.bg-color-gray-700 {
  background-color: #020202;
}

.bg-color-gray-800 {
  background-color: #333333;
}

.bg-color-gray-900 {
  background-color: #181818;
}

.bg-color-gray-darker {
  background-color: #222222;
}

.bg-color-gray-dark {
  background-color: #333333;
}

.bg-color-gray {
  background-color: #555555;
}

.bg-color-gray-light {
  background-color: #999999;
}

.bg-color-gray-lighter {
  background-color: #eeeeee;
}

.bg-color-white-dark {
  background-color: #f7f7f7;
}

.bg-color-primary-900 {
  background-color: #0f254b;
}

.bg-color-primary-800 {
  background-color: #19355e;
}

.bg-color-primary-700 {
  background-color: #1f3d68;
}

.bg-color-primary-600 {
  background-color: #244773;
}

.bg-color-primary-500 {
  background-color: #294e7b;
}

.bg-color-primary-400 {
  background-color: #49698f;
}

.bg-color-primary-300 {
  background-color: #6983a3;
}

.bg-color-primary-200 {
  background-color: #94a7bd;
}

.bg-color-primary-100 {
  background-color: #bfcad7;
}

.bg-color-gold-accent-500 {
  background-color: #fab54b;
}

.bg-color-gold-accent-700 {
  background-color: #f9a53b;
}

.bg-color-red-accent-500 {
  background-color: #d20000;
}

.bg-color-red-accent-700 {
  background-color: #962221;
}

.bg-color-black {
  background-color: #000000;
}

.bg-color-blue {
  background-color: #294e7b;
}

.bg-color-indigo {
  background-color: #6610f2;
}

.bg-color-purple {
  background-color: #6f42c1;
}

.bg-color-pink {
  background-color: #e83e8c;
}

.bg-color-red {
  background-color: #d20000;
}

.bg-color-orange {
  background-color: #fd7e14;
}

.bg-color-yellow {
  background-color: #fab54b;
}

.bg-color-green {
  background-color: #28a745;
}

.bg-color-teal {
  background-color: #36afa9;
}

.bg-color-cyan {
  background-color: #1F9BCF;
}

.bg-color-primary {
  background-color: #294e7b;
}

.bg-color-primary-font {
  background-color: #eeeeee;
}

.bg-color-secondary {
  background-color: #fab54b;
}

.bg-color-secondary-font {
  background-color: #294e7b;
}

.bg-color-content-bg {
  background-color: #eeeeee;
}

.bg-color-content-popup-bg {
  background-color: #ffffff;
}

.bg-color-success {
  background-color: #28a745;
}

.bg-color-info {
  background-color: #1F9BCF;
}

.bg-color-warning {
  background-color: #fab54b;
}

.bg-color-danger {
  background-color: #d20000;
}

.bg-color-light {
  background-color: #999999;
}

.bg-color-dark {
  background-color: #333333;
}

.bg-color-page-bg {
  background-color: #eeeeee;
}

.bg-color-page-font {
  background-color: #294e7b;
}

.bg-color-footer {
  background-color: #19355e;
}

.bg-color-navigation {
  background-color: #1f3d68;
}

:root {
  --header-height: var(--mud-appbar-height);
  --footer-height: calc(var(--mud-appbar-height) - var(--mud-appbar-height)/4);
  --menu-content-height: calc(100vh - var(--header-height) - var(--footer-height) - 16px);
  --container-top-padding: 0.5rem; /* in MainLayout, the MudContainer, in the MudMainContent has a pt-2 class which equates to roughly 8px which is roughly 0.5rem */
  --heading-margins: 1rem; /* the margins for the heading and dividers used on the page */
  --appbar-border: 1px;
  --padding-offset: calc(var(--container-top-padding) + var(--heading-margins) + var(--appbar-border));
  --content-offset: calc(var(--header-height) + var(--footer-height) + var(--padding-offset));
}

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.reset-default p, .reset-default ul, .reset-default ol, .reset-default h1, .reset-default h2, .reset-default h3, .reset-default h4, .reset-default h5, .reset-default h6 {
  margin-bottom: 10px;
}
.reset-default ul, .reset-default ol {
  padding-inline-start: 40px;
}
.reset-default ul {
  list-style-type: disc;
}
.reset-default a {
  text-decoration: underline !important;
  color: rgb(0, 123, 255) !important;
}
.reset-default a:hover {
  text-decoration: none !important;
  filter: brightness(0.4) !important;
}

.heading-logo {
  cursor: pointer;
  height: 60px;
}

.main-content {
  padding-bottom: var(--mud-appbar-height); /* Dynamically use the app bar height */
}

.menu-container {
  height: var(--menu-content-height) !important;
  top: var(--header-height);
}

.scrollable-container {
  display: flex;
  flex-direction: column;
  height: calc(100vh - var(--content-offset) - var(--offset));
}

.scrollable-content {
  flex: 1;
  overflow-y: auto;
}

.toolbar-top {
  display: flex;
  align-items: flex-start;
}

.error {
  color: #d20000;
  font-weight: bold;
}

.standard-background-color {
  background-color: #eeeeee;
}

.control-background-color {
  background-color: #ffffff !important;
}

.footer {
  background-color: #f5f5f5;
  text-align: center;
  padding: 0.5rem 1.5rem;
  position: fixed;
  bottom: 0;
  border-top: 1px solid #ddd;
  width: 100%;
}

.sticky-footer {
  position: sticky;
  bottom: 0;
  background: #e6e6e6;
  border-top: 1px solid #b3b3b3;
}

.hover-zoom {
  transform: scale(1);
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.4);
  transition: transform 0.1s linear;
}

.hover-zoom:hover {
  cursor: pointer;
  transform: scale(1.02);
  box-shadow: 1px 4px 8px 1px rgba(0, 0, 0, 0.6);
}

.low-light {
  color: #808080;
}

.hint {
  color: #693c00;
  font-size: 0.75rem;
  font-weight: normal;
}

.hide {
  display: none;
}

.single-line-ellipsis {
  display: block;
  min-width: 0; /* Allow the element to shrink within a flex container */
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.single-line-table-cell {
  overflow: hidden;
  white-space: nowrap;
  max-width: 100px;
  text-overflow: fade;
}

.faux-textbox {
  background-color: #999999;
  border: 1px solid #222222;
  display: block;
  padding: 4px;
  color: #333333;
}

.faux-textbox span.th {
  color: #294e7b;
}

.nowrap {
  white-space: nowrap;
}

.no-overflow {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  text-align: left;
}

.resizable-dialog {
  resize: both;
  overflow: auto;
  max-width: 100%; /* Ensure it doesn’t exceed the screen */
  max-height: 100%;
}

.btn-xtra-small {
  height: 18px;
  vertical-align: top;
  font-size: 12px !important;
  background-color: #666666 !important;
  color: #ffffff !important;
  border-radius: 6px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  box-shadow: 0 1px 1px -1px gray;
  padding: 0 8px;
  white-space: nowrap;
}

.btn-cancel {
  background-color: #151064;
  color: #ffffff;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
}

.icon-size-extra-small {
  font-size: 0.75rem;
}

.bullet-list {
  list-style-type: disc;
  padding-inline-start: 20px;
}

.toolbar-with-border {
  border: 1px solid #999999; /* Light gray border */
  border-radius: 0; /* Optional rounded corners */
  padding: 10px; /* Optional padding for better appearance */
  margin: 0; /* Optional margin to separate the toolbar */
}

.flex-center-row {
  display: flex;
  align-items: center;
  height: 100%;
}

.gold-bar {
  width: 10rem;
  height: 0.4rem;
  background-color: #fab54b;
  margin: 0.3rem auto;
  border-radius: 3px;
}

.very-dark-panel {
  color: #eeeeee;
  background-color: #19355e;
  padding: 2vw;
  position: relative;
}

.dark-panel {
  color: #eeeeee;
  background-color: #294e7b;
  padding: 2vw;
  position: relative;
}

.medium-panel {
  color: #eeeeee;
  background-color: #49698f;
  padding: 2vw;
}

.light-blue-panel {
  color: #eeeeee;
  background-color: #6983a3;
  padding: 2vw;
  position: relative;
}

.light-panel {
  color: #294e7b;
  background-color: #eeeeee;
  padding: 2vw;
  position: relative;
}

.white-panel {
  color: #294e7b;
  background-color: #ffffff;
  padding: 2vw;
  position: relative;
}

.border-right-flat .mud-input-outlined-border {
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.border-left-flat,
.border-left-flat .mud-input-outlined-border {
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}

.ql-font-arial {
  font-family: Arial, sans-serif;
}

.ql-font-roboto {
  font-family: "Roboto", sans-serif;
}

.ql-font-times-new-roman {
  font-family: "Times New Roman", serif;
}

/* scoring section */
.scoring-section .mud-card-header {
  color: white;
  background-color: var(--mud-palette-primary);
  font-weight: bold;
  font-size: medium;
  padding: 3px 3px 3px 3px;
  text-align: left;
}
.scoring-section .e-card-content {
  color: var(--mud-palette-primary);
}
.scoring-section .e-checkbox-wrapper .e-label, .scoring-section .e-css.e-checkbox-wrapper .e-label {
  color: var(--mud-palette-primary);
}
.scoring-section .buttonLink {
  cursor: pointer;
  font-family: var(--mud-typography-body1-family), sans-serif;
  font-weight: var(--mud-typography-body1-weight);
  font-size: var(--mud-typography-body1-size);
  color: var(--mud-palette-primary);
}
.scoring-section .buttonLink:hover {
  text-decoration: underline;
}

.scoring-section .e-grid .e-headercell {
  background-color: #e6e6e6;
}

.scoring-section .e-grid .e-headercelldiv {
  font-size: 12px;
  padding: 2px 4px;
}

.scoring-section .e-grid .e-rowcell {
  font-size: 12px;
  padding: 2px 4px;
}

.scoring-section.red-banner .mud-card-header {
  color: white;
  background-color: #860000;
  font-weight: bold;
  font-size: medium;
  padding: 3px 3px 3px 3px;
  text-align: left;
}
.scoring-section.red-banner .e-card-content {
  color: var(--mud-palette-primary);
}
.scoring-section.red-banner .e-checkbox-wrapper .e-label, .scoring-section.red-banner .e-css.e-checkbox-wrapper .e-label {
  color: var(--mud-palette-primary);
}

/* classes for datagrid to align columns to a standard 12-col grid */
.dg-col-1 {
  width: 8.3333333333%;
}

.dg-col-2 {
  width: 16.6666666667%;
}

.dg-col-3 {
  width: 25%;
}

.dg-col-4 {
  width: 33.3333333333%;
}

.dg-col-5 {
  width: 41.6666666667%;
}

.dg-col-6 {
  width: 50%;
}

.dg-col-7 {
  width: 58.3333333333%;
}

.dg-col-8 {
  width: 66.6666666667%;
}

.dg-col-9 {
  width: 75%;
}

.dg-col-10 {
  width: 83.3333333333%;
}

.dg-col-11 {
  width: 91.6666666667%;
}

.dg-col-12 {
  width: 100%;
}

.ivg-grid-row {
  display: flex;
  align-items: flex-start;
  min-height: 50px;
  padding-top: 0px;
  padding-bottom: 0px;
}

.ivg-blur-overlay {
  backdrop-filter: blur(6px);
  background-color: rgba(255, 255, 255, 0.4); /* subtle tint */
}

.score-hint {
  color: #693c00;
  font-size: 85%;
  font-weight: bold;
}

.score-guidance {
  background-color: #eeeeee;
  font-size: 85%;
}

.score-grid {
  display: grid;
  grid-template-columns: repeat(10, 46px); /* 10 columns, fixed width */
  gap: 4px;
  justify-content: center;
  margin-top: 1rem;
}

.score-cell {
  text-align: center;
  padding: 6px;
  border-radius: 4px;
  cursor: pointer;
  user-select: none;
  background-color: #f5f5f5;
  font-size: 14px;
}

.score-cell:hover {
  background-color: #e0e0e0;
}

.score-selected {
  background-color: #1976d2;
  color: white;
}

.font-bold {
  font-weight: 600;
}

.ivg-filter-icon {
  opacity: 0.5;
  transition: opacity 0.2s ease-in-out;
}

.ivg-filter-icon:hover {
  opacity: 1;
}

.ivg-column-header .sortable-column-header {
  display: block !important;
  width: 100% !important;
}

.ivg-column-header .column-header {
  display: block !important;
  width: 100% !important;
}

textarea {
  resize: both !important; /* or 'vertical' if you want only vertical resizing */
}

.tox-tbtn[data-mce-name=ivgsubstitutioncodes] {
  border: 1px solid #ccc !important;
  border-radius: 4px !important;
  padding: 2px 8px !important;
  background-color: #f8f8f8 !important;
}

.tox-tbtn[data-mce-name=ivgsubstitutioncodes]:hover {
  border-color: #888 !important;
  background-color: #f0f0f0 !important;
}

.rte-invalid textarea {
  border: 1px solid red;
}

.ivg-drop-zone-focused {
  background-color: rgba(25, 118, 210, 0.08); /* Soft blue background */
  border-radius: 8px;
  transition: background-color 0.2s, outline 0.2s;
}

.nowrap {
  white-space: nowrap;
}
