

/*
.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.footer {
    margin-top: auto;
}
*/

#loading {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0.7;
    background-color: #fff;
    z-index: 99;
}

.footer-content {
    background-color: #0F1C52;

}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 100%;
}

/* styles for validation helpers */
.field-validation-error {
    color: #b94a48;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #b94a48;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #b94a48;
}

.validation-summary-valid {
    display: none;
}


.map {
    width: 100%;
    height: 600px;
    border: solid;
    border-width: thick;
    border-color: #A6192E;
}

/* Scale Bootstrap's rem-based text and controls with browser preferences. */
html {
    font-size: 125%;
}

body {
    line-height: 1.6;
    overflow-wrap: break-word;
}

/* Supporting text and compact controls should remain as readable as body text. */
small,
.small,
.form-text,
.invalid-feedback,
.valid-feedback,
.badge {
    font-size: 1em;
    line-height: 1.6;
}

.form-control,
.form-select,
.input-group-text,
.btn,
.btn-group-sm > .btn,
.input-group-sm > .form-control,
.input-group-sm > .form-select,
.input-group-sm > .input-group-text,
.input-group-sm > .btn,
.col-form-label-sm,
.pagination-sm .page-link {
    font-size: 1rem;
    line-height: 1.6;
}

.form-control,
.form-select {
    min-height: 2.4rem;
    max-width: min(100%, 24rem);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.btn,
.btn-group-sm > .btn {
    min-height: 2.4rem;
    max-width: 100%;
    padding: 0.5rem 0.75rem;
    white-space: normal;
}

/* Let wide tables scroll instead of squeezing words into narrow columns. */
.table {
    overflow-wrap: normal;
}

.table th,
.table .btn {
    white-space: nowrap;
}

.form-check {
    min-height: 2.4rem;
    padding-left: 1.6rem;
}

.form-check-input {
    width: 1.2rem;
    height: 1.2rem;
    margin-top: 0.4rem;
    cursor: pointer;
}

.form-check .form-check-input {
    margin-left: -1.6rem;
}

.form-check-label {
    display: block;
    min-height: 2.4rem;
    padding: 0.4rem 0;
    cursor: pointer;
}

.navbar-toggler,
.page-link,
.nav-link {
    min-height: 2.4rem;
}

.navbar-toggler,
.page-link,
.pagination-controls > .btn {
    min-width: 2.4rem;
}

.btn-close {
    width: 2.4rem;
    height: 2.4rem;
    padding: 0;
}

/* Long contact addresses may wrap without affecting ordinary table words. */
a[href^="mailto:"],
a[href^="mail:"],
.footer-content {
    overflow-wrap: anywhere;
}

.footer-content .d-flex > div {
    min-width: 0;
    max-width: 100%;
}

#id_open_coverage_map_modal img {
    max-width: 100%;
    max-height: 15rem;
    width: auto;
    height: auto;
}

/* Bootstrap 5.0 can retain scrollbar padding after a mobile pinch-zoom resize.
   The map dialog already has its own margins; keep its available width stable. */
#id_coverage_map_modal {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

#id_coverage_map_modal .modal-body img {
    display: block;
    width: 100%;
    height: auto;
}

/* Date filters move onto separate rows when two readable inputs won't fit. */
.input-group > .form-control[type="date"] {
    min-width: min(100%, 12rem);
}

.pagination-controls {
    flex-wrap: wrap;
}

.customer-order-card .badge {
    max-width: 100%;
    white-space: normal;
    text-align: left;
}

[data-order-table-scroll]:focus-visible {
    outline: 3px solid #0d6efd;
    outline-offset: 2px;
}


