label.col-form-label.required:after, label.form-label.required:after {
    content: " *";
    font-style: italic;
    font-weight: bold;
    font-size: 0.75em;
    color: #dc3545 !important;
}
.goog-te-combo {
    font-size: 15px !important;
    padding: 8px 12px !important;
    border-radius: 5px !important;
    min-width: 200px !important;
    height: auto !important;
}

/* Optional: Adjust container spacing */
#google_translate_element {
    margin: 10px 0;
}

.appLogo-h-6 {
    height: 6rem;
}

.btn-primary,
.btn-secondary {
    background-color: #144A70 !important;
    border-color: #144A70 !important;
    color: #fff !important;
}
.groupLegend {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    padding: 8px 12px;
    border-radius: 4px;
    font-weight: bold;
    color: #144A70;
    margin-bottom: 10px;
    display: inline-block;
    font-size: 1.25rem;
}
legend {
    color: #144A70;
}


a {
    color: darkblue !important;

}

.card-header {
    background-color: #144A70 !important;
}

.btn-close {
    width: 0.4em;
    height: 0.4em;
}


.accordion-button:not(.collapsed) {
    color: #000080 !important;
    background-color: #e7ecfe !important;
}


.w-65 {
    width: 65rem;
}


.popover-header {
    background-color: #e7ecfe !important;
}

textarea {
    height: auto;
    overflow-y: hidden;
    box-sizing: border-box;
    resize: none !important;
}

.filters {
    word-break: break-all;
}


#selectlarge li {
    font-size: 14px;
}

/*.mt-4 {*/
/*    color: rgb(39, 90, 61);*/
/*}*/

.pageHeader {
    color: #775540;
}


.submenuIcon {
    display:none
}

@media (max-width: 768px) {
    #logo{
        display: flex;
        justify-content: center;
    }

    #logo img {
        max-width: 200px;
        height: auto;
    }

    .appLogo-h-6 {
        height: 3rem !important;
        width: 6rem !important;
    }

    .submenuIcon {
        display: inline;
    }

    #title{
        font-size: large !important;
    }

    .mt-4 {
        margin-top: 0.81rem!important;
    }

    .rightnav {
        font-size: xx-small !important;
    }

    .breadcrumb{
        font-size: xx-small !important;
        --bs-breadcrumb-item-padding-x: 0.2rem !important;
    }
}



.meIt {
    background-color: #e7ecfe;
    border-width: 0.15em;
}

.card-body {
    min-height: 10em;
}

.emptyPanel {
    min-height: 20em;
}

#cssBody {
    padding: 3rem ;
}

.bi::before, [class^="bi-"]::before, [class*=" bi-"]::before {
    vertical-align: -.150em !important;
}

.table thead {
    --bs-table-bg: #e7ecfe !important;
}



@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1770px !important;
    }
}

.title-color {
    color: rgb(19, 67, 102) !important;
    font-weight: 600 !important;
}

/*.container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    max-width: 1450px !important; !** 1520px *!
}*/

.error {
    color: darkred;
    font-size: 0.875em;
    margin-top: 5px;
    display: block;
}

.text-danger{
    color: darkred !important;
    margin-bottom: 1rem !important;
}

/* Validation error styling */
.validation-error {
    color: darkred !important;
    font-size: 0.875em;
    margin-top: 0.25rem;
    display: block;
    font-weight: 500;
}

.text-danger.validation-error {
    color: darkred !important;
}

.req:after {
    content:" *";
    color: #a20000;
    font-style: italic;
    font-size: .72em;
    font-weight: 800;
}

.accordion-button{
    padding: .8em !important;
}

.accordion-button .arrow-icon::after {
    transition: transform 0.2s;
    display: inline-block;

}

.accordion-button:not(.collapsed) .arrow-icon::after {
    transform: rotate(-180deg);
}

.accordion-item {
    margin-bottom: 0em !important;
    border-bottom: 1px solid #dee2e6;
}

.accordion-button .arrow-icon::after {
    content: "▼";
    display: inline-block;
    transition: transform 0.2s ease;
}

.accordion-button:not(.collapsed) .arrow-icon::after {
    transform: rotate(-180deg);
}

.accordion {
	margin-bottom: 1em !important;
}

/* Google Translate Accessibility Fixes */
#goog-gt-votingHiddenPane {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

#goog-gt-votingForm input {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* Ensure proper accessibility for hidden elements */
#goog-gt-votingForm input[aria-label] {
    /* Keep accessible but visually hidden */
}

/* Add accessible labels for Google Translate inputs */
#goog-gt-votingInputSrcLang::before {
    content: "Source Language";
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

#goog-gt-votingInputTrgLang::before {
    content: "Target Language";
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

#goog-gt-votingInputSrcText::before {
    content: "Source Text";
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

#goog-gt-votingInputTrgText::before {
    content: "Translated Text";
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

#goog-gt-votingInputVote::before {
    content: "Translation Vote";
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* jQuery DateTime Picker Accessibility Fixes */
.xdsoft_prev,
.xdsoft_next,
.xdsoft_today_button {
    position: relative;
}

.xdsoft_prev::before {
    content: "Previous";
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.xdsoft_next::before {
    content: "Next";
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.xdsoft_today_button::before {
    content: "Today";
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Address Modal Accessibility Improvements */
#addressSuggestionsModal .list-group-item[role="option"] {
    transition: all 0.2s ease-in-out;
    border: 2px solid transparent;
    outline: none;
}

#addressSuggestionsModal .list-group-item[role="option"]:hover {
    background-color: #e9ecef !important;
    border-color: #dee2e6;
}

#addressSuggestionsModal .list-group-item[role="option"]:focus {
    background-color: #007bff !important;
    color: white !important;
    border-color: #0056b3;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

#addressSuggestionsModal .list-group-item[role="option"]:focus:not(:focus-visible) {
    background-color: #e9ecef !important;
    color: inherit !important;
    border-color: #dee2e6;
    box-shadow: none;
}

#addressSuggestionsModal .list-group-item[role="option"].active {
    background-color: #007bff !important;
    color: white !important;
    border-color: #0056b3;
}

/* Ensure proper spacing and alignment */
#addressSuggestionsModal .list-group-item[role="option"] {
    text-align: left;
    padding: 0.75rem 1rem;
    margin: 0;
    border-radius: 0;
}

#addressSuggestionsModal .list-group-item[role="option"]:first-child {
    border-top-left-radius: 0.375rem;
    border-top-right-radius: 0.375rem;
}

#addressSuggestionsModal .list-group-item[role="option"]:last-child {
    border-bottom-left-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
}

/* Focus indicator for screen readers */
#addressSuggestionsModal .list-group-item[role="option"]:focus-visible {
    outline: 3px solid #007bff;
    outline-offset: 2px;
}


