/* Header container */
.header-container {
    background-color: #0053a2;
    color: #fff;
    width: 100%;
}

.header-container > div {
    padding: 0 1.5rem;
}

/* Header banner */
.header-banner {
    font-family: Merriweather, serif;
    font-size: 2rem;
    font-weight: 400;
    padding-bottom: 1.5rem;
    padding-top: 1.5rem;
}

/* Navigation container */
.navigation-container {
    background-color: #083c6f;
    font-family: 'Public Sans', sans-serif; 
    font-size: 1rem; 
    font-weight: bold;
    width: 100%;
    display: flex;
    gap: 1rem;
    flex-wrap: nowrap;       /* Prevent wrapping */
}

/* Navigation spacer to push items right */
.navigation-spacer {
    flex-grow: 1;
}

/* Top-level nav items */
.navigation-item {
    color: #fff;
    font-family: 'Public Sans', sans-serif; 
    font-size: 1rem; 
    font-weight: bold;
    padding: 0 0.75rem;
    text-transform: upperCase;
}

.navigation-item,
.navigation-item:hover,
.navigation-item:focus,
.navigation-item:active {
    color: #fff;
    text-decoration: none !important;
}

/* Dropdown menu container */
.navigation-dropdown-container {
    background-color: #083c6f !important;   /* force dark background */
    color: #fff !important;                 /* force white text */
    margin-top: 0;
    min-width: max-content;                  /* at least as wide as parent */
    width: auto;                             /* expand if needed */
    border: none;
    border-radius: 0;
    padding: 0;
}

/* Dropdown items */
.navigation-dropdown-item {
    color: #fff !important;                  /* force white text */
    font-family: 'Public Sans', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    padding: 0 0.75rem;
    height: 100%;
    white-space: nowrap;
    display: flex;
    align-items: center;
    text-transform: upperCase;
}

/* Hover/focus state for dropdown items */
.navigation-dropdown-item:hover,
.navigation-dropdown-item:focus {
    background-color: #083c6f !important;
    color: #fff !important;
    text-decoration: none !important;
}

/* Ensure nav items inside <nav> don’t wrap */
.navigation-container nav {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
}

.usa-step-indicator {
    font-family: Source Sans Pro Web,Helvetica Neue,Helvetica,Roboto,Arial,sans-serif;
    font-size: 1.06rem;
    line-height: 1.1;
    background-color: #fff;
    margin-bottom: 2rem;
    margin-left: -1px;
    margin-right: -1px
}

@media all and (min-width: 40em) {
    .usa-step-indicator {
        margin-left:0;
        margin-right: 0
    }
}

.usa-step-indicator__segments {
    counter-reset: usa-step-indicator;
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0
}

.usa-step-indicator__segment {
    flex: 1 1 0%;
    counter-increment: usa-step-indicator;
    margin-left: 1px;
    margin-right: 1px;
    max-width: 15rem;
    min-height: .5rem;
    position: relative
}

.usa-step-indicator__segment:after {
    background-color: #919191;
    content: "";
    display: block;
    height: .5rem;
    left: 0;
    position: absolute;
    right: 0;
    top: 0
}

@media all and (min-width: 40em) {
    .usa-step-indicator__segment:after {
        height:.5rem
    }
}

.usa-step-indicator__segment--complete::after {
    background-color: #162e51
}

.usa-step-indicator__segment--complete .usa-step-indicator__segment-label {
    color: #162e51
}

.usa-step-indicator__segment--current::after {
    background-color: #005ea2
}

.usa-step-indicator__segment--current .usa-step-indicator__segment-label {
    color: #005ea2;
    font-weight: 700
}

.usa-step-indicator__segment-label {
    display: none
}

@media all and (min-width: 40em) {
    .usa-step-indicator__segment-label {
        color:#5c5c5c;
        display: block;
        font-size: 1.06rem;
        margin-top: calc(.5rem + .5rem);
        padding-right: 2rem;
        text-align: left
    }
}

.usa-step-indicator__header {
    align-items: baseline;
    display: flex
}

.usa-step-indicator__heading {
    color: #1b1b1b;
    font-family: Source Sans Pro Web,Helvetica Neue,Helvetica,Roboto,Arial,sans-serif;
    font-size: 1.13rem;
    font-weight: 700;
    margin: 1rem 0 0
}

@media all and (min-width: 40em) {
    .usa-step-indicator__heading {
        font-size:1.33rem;
        margin-top: 2rem
    }
}

.usa-step-indicator__current-step {
    height: 2.5rem;
    border-radius: 99rem;
    width: 2.5rem;
    font-weight: 400;
    font-feature-settings: "tnum"1,"kern"1;
    background-color: #005ea2;
    color: #fff;
    display: inline-block;
    padding: calc((2.5rem - 2ex*1.1)*.5);
    text-align: center
}

.usa-step-indicator__total-steps {
    font-weight: 400;
    font-feature-settings: "tnum"1,"kern"1;
    color: #005ea2;
    margin-right: .5rem
}

@media all and (min-width: 40em) {
    .usa-step-indicator--counters .usa-step-indicator__segment,.usa-step-indicator--counters-sm .usa-step-indicator__segment {
        margin-left:0;
        margin-right: 0;
        margin-top: calc((2.5rem - .5rem)/2 + .25rem)
    }

    .usa-step-indicator--counters .usa-step-indicator__segment:before,.usa-step-indicator--counters-sm .usa-step-indicator__segment:before {
        height: 2.5rem;
        border-radius: 99rem;
        width: 2.5rem;
        font-feature-settings: "tnum"1,"kern"1;
        background-color: #fff;
        box-shadow: inset 0 0 0 .25rem #919191,0 0 0 .25rem #fff;
        color: #5c5c5c;
        content: counter(usa-step-indicator);
        display: block;
        font-weight: 700;
        left: 0;
        line-height: .9;
        padding: calc((2.5rem - 2ex*.9)*.5);
        position: absolute;
        text-align: center;
        top: calc((2.5rem - .5rem)/-2);
        z-index: 100
    }

    .usa-step-indicator--counters .usa-step-indicator__segment:last-child:after,.usa-step-indicator--counters-sm .usa-step-indicator__segment:last-child:after {
        display: none
    }
}

.usa-step-indicator--counters .usa-step-indicator__segment--complete::before,.usa-step-indicator--counters-sm .usa-step-indicator__segment--complete::before {
    background-color: #162e51;
    box-shadow: 0 0 0 .25rem #fff;
    color: #fff
}

.usa-step-indicator--counters .usa-step-indicator__segment--current::before,.usa-step-indicator--counters-sm .usa-step-indicator__segment--current::before {
    background-color: #005ea2;
    box-shadow: 0 0 0 .25rem #fff;
    color: #fff
}

@media all and (min-width: 40em) {
    .usa-step-indicator--counters .usa-step-indicator__segment-label {
        margin-top:calc((2.5rem + .5rem)/2 + .5rem)
    }

    .usa-step-indicator--counters-sm.usa-step-indicator--center .usa-step-indicator__segment:first-child:after,.usa-step-indicator--counters.usa-step-indicator--center .usa-step-indicator__segment:first-child:after {
        left: 50%;
        right: 0;
        width: auto
    }

    .usa-step-indicator--counters-sm.usa-step-indicator--center .usa-step-indicator__segment:last-child:after,.usa-step-indicator--counters.usa-step-indicator--center .usa-step-indicator__segment:last-child:after {
        display: block;
        left: 0;
        right: 50%;
        width: auto
    }

    .usa-step-indicator--counters-sm .usa-step-indicator__segment {
        margin-top: calc((1.5rem - .5rem)/2 + .25rem)
    }

    .usa-step-indicator--counters-sm .usa-step-indicator__segment:before {
        height: 1.5rem;
        border-radius: 99rem;
        width: 1.5rem;
        font-size: .93rem;
        padding: calc(.25rem + 1px);
        top: calc((1.5rem - .5rem)/-2)
    }

    .usa-step-indicator--counters-sm .usa-step-indicator__segment:last-child:after {
        display: none
    }

    .usa-step-indicator--counters-sm .usa-step-indicator__segment-label {
        margin-top: calc((1.5rem + .5rem)/2 + .5rem)
    }
}

.usa-step-indicator--center,.usa-step-indicator--no-labels {
    margin-left: -1px;
    margin-right: -1px
}

.usa-step-indicator--no-labels .usa-step-indicator__segment {
    margin-top: 0;
    margin-left: 1px;
    margin-right: 1px
}

.usa-step-indicator--no-labels .usa-step-indicator__segment:before {
    display: none
}

.usa-step-indicator--no-labels .usa-step-indicator__segment:last-child:after {
    display: block
}

.usa-step-indicator--no-labels .usa-step-indicator__heading {
    margin-top: 1rem
}

.usa-step-indicator--no-labels .usa-step-indicator__segment-label,.width-mobile .usa-table--stacked thead,.width-mobile .usa-table--stacked-header thead {
    display: none
}

.usa-step-indicator--center .usa-step-indicator__segment {
    margin-left: 1px;
    margin-right: 1px
}

.usa-step-indicator--center .usa-step-indicator__segment:before {
    left: calc(50% - (2.5rem + .25rem)/2)
}

.usa-step-indicator--center .usa-step-indicator__segment-label {
    padding-left: .5rem;
    padding-right: .5rem;
    text-align: center
}

.usa-step-indicator--center.usa-step-indicator--no-labels .usa-step-indicator__segment:first-child:after {
    left: 0
}
.textarea, textarea {
    resize: both;
    border: 1px solid #ced4da;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: .375rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.treas-ct-top-banner {
    background: #fff;
    padding: 1rem 2.55rem;
}

.treas-ct-top-banner h1 {
    margin: 3rem 0 1rem;
}

.treas-ct-top-banner h3 {
  margin: 1rem 0;
  font-weight: 400;
  font-size: 2.1rem;
  display: flex;
  align-items: center;
}
.cardheader .section-title .show-bar{
    background-color: black !important;
    height: auto;
    width: auto;
    padding: 10px 15px !important
}

.cardheader-text .section-title .show-bar {
    color: white !important;
}
.treas-ct-top-banner {
    background: #fff;
    padding: 1rem 2.55rem;
}

.treas-ct-top-banner h1 {
    margin: 3rem 0 1rem;
}

.treas-ct-top-banner h3 {
  margin: 1rem 0;
  font-weight: 400;
  font-size: 2.1rem;
  display: flex;
  align-items: center;
}
.form-shadow {
    box-shadow: 1px 1px 4px 1px rgba(0,0,0.3,0.3);
 }

 .bodymessage { 
    font-family: Arial, sans-serif; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    height: 100vh; 
    background-color: #f0f0f0; 
} 
 
.loading-message { 
    display: none; /* Hidden by default */ 
    font-size: 20px; 
    color: #333; 
} 
 
.loading-message p { 
    animation: blink 1s infinite; 
} 
 
@keyframes blink { 
    0%, 100% { opacity: 1; } 
    50% { opacity: 0; } 
} 


.select select  {
    /* ... */
    position: relative;
    font-size: 12px;
    font-family: verdana;
    border-radius:6px;border:1px solid #AAAAAA!important;
  }
  custom-select::before,
.select::after {
  --size: 0.3rem;
  position: absolute;
  content: "";
  right: 1rem;
  pointer-events: none;
}

.select::before {
  border-left: var(--size) solid transparent;
  border-right: var(--size) solid transparent;
  border-bottom: var(--size) solid black;
  top: 40%;
}

.select::after {
  border-left: var(--size) solid transparent;
  border-right: var(--size) solid transparent;
  border-top: var(--size) solid black;
  top: 55%;
}

col-form-label {
    text-align: left !important;
}

.statusupdate {
    border: 5px solid #f3f3f3; /* Light gray border */
    border-top: 5px solid #3498db; /* Blue top border (the moving part) */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite; /* Animation properties */
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

  .hidden {
display:none;
  }

  .show {
    display: show;
  }
a.title-link.text-black.text-decoration-none {
    font-family: Merriweather, serif;
    font-size: 2.5rem;
    font-weight: bold;
  }
a.title-link.text-black.text-decoration-none:hover  {
    font-family: Merriweather, serif;
    font-size: 2.5rem;
    font-weight: bold;
  text-decoration: none !important;
  color: black !important; /* optional, keeps it always black */
  border: none !important;
  box-shadow: none !important;
}
.attachments-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.attachment-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: #f9f9f9;
}

.attachment-card input[type="checkbox"] {
    margin-top: 5px;
}

.file-info a {
    display: inline-block;
    margin-top: 0.5rem;
    color: #007bff;
    text-decoration: underline;
}

  
  .pagecontainer {
    min-width: 360px;
    width: 100%;
  }

  .pagecontainer button {
    border: none;
    background-color: transparent;
    display: flex;
    gap: 8px;
    flex-direction: row;
    align-items: center;
  }

  .pagecontainer td:first-child {
    min-width: 300px;
  }

  .spinner-image {    
    width: 75px;
    height: 75px;
    animation: spinnerwheel 1.5s linear infinite;
    z-index: 2000;
    border: 4px solid #c4c0c0;
    border-top: 4px solid #0580ab;
    border-radius: 50%;
  }
  .spinner {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

#general {
  display: flex;
  flex-wrap: wrap;
}

#general > div {
  flex: 0 0 50%;
  max-width: 50%;
}
