/* RNJ Bootstrap-lite: only the compatibility surface used by the public site. */

.container,
.container-fluid {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: 1.25rem;
    padding-left: 1.25rem;
}

.container {
    max-width: 1100px;
}

.fixed-top,
.fixed-bottom {
    position: fixed;
    right: 0;
    left: 0;
    z-index: 1030;
}

.fixed-top {
    top: 0;
}

.fixed-bottom {
    bottom: 0;
}

.d-none {
    display: none !important;
}

.d-flex {
    display: flex !important;
}

.flex-column {
    flex-direction: column !important;
}

.justify-content-between {
    justify-content: space-between !important;
}

.align-items-center {
    align-items: center !important;
}

.gap-2 {
    gap: 0.5rem !important;
}

.shrink-0 {
    flex-shrink: 0 !important;
}

.w-100 {
    width: 100% !important;
}

.h-100 {
    height: 100% !important;
}

a.w-100,
button.w-100 {
    display: flex;
    justify-content: center;
}

.p-3 {
    padding: 1rem !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mb-1 {
    margin-bottom: 0.25rem !important;
}

.mb-2 {
    margin-bottom: 0.5rem !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.me-2 {
    margin-right: 0.5rem !important;
}

.me-auto {
    margin-right: auto !important;
}

.small {
    font-size: 0.875em;
}

.fw-bold {
    font-weight: 700 !important;
}

.text-muted {
    color: #6c757d !important;
}

.text-danger {
    color: #b42318 !important;
}

.text-nowrap {
    white-space: nowrap !important;
}

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

.text-info-emphasis {
    color: #055160 !important;
}

.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.18) !important;
}

.bg-body-tertiary {
    background-color: #f8f9fa !important;
}

.btn,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 2.35rem;
    padding: 0.48rem 0.9rem;
    border: 1px solid transparent;
    border-radius: 0.5rem;
    font: inherit;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.btn:hover,
.btn-outline:hover {
    text-decoration: none;
}

.btn-sm {
    min-height: 2rem;
    padding: 0.32rem 0.7rem;
    font-size: 0.875rem;
}

.btn-outline,
.btn-outline-secondary {
    color: #062a57;
    background-color: transparent;
    border-color: #062a57;
}

.btn-outline:hover,
.btn-outline-secondary:hover {
    color: #fff;
    background-color: #062a57;
}

.form-label {
    display: inline-block;
    margin-bottom: 0.35rem;
    font-weight: 700;
}

.form-control,
.form-select {
    display: block;
    width: 100%;
    min-height: 2.45rem;
    padding: 0.5rem 0.65rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
    background-color: #fff;
    color: #222;
    font: inherit;
    line-height: 1.5;
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus,
.btn:focus-visible,
.btn-outline:focus-visible,
.nav-link:focus-visible,
.navbar-toggler:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.28);
    outline-offset: 2px;
    border-color: #2563eb;
}

textarea.form-control {
    min-height: 8rem;
    resize: vertical;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
}

.form-check-input {
    flex: 0 0 auto;
    width: 1.05rem;
    height: 1.05rem;
    margin-top: 0.25rem;
}

.form-check-label {
    cursor: pointer;
}

.navbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    min-height: 76px;
    padding: 0.45rem 0;
    border-bottom: 1px solid rgba(6, 42, 87, 0.08);
}

.navbar > .container-fluid {
    display: flex;
    flex-wrap: inherit;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    margin-right: 1rem;
    color: #062a57;
    text-decoration: none;
}

.navbar-toggler {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.35rem;
    padding: 0.25rem;
    border: 1px solid rgba(6, 42, 87, 0.35);
    border-radius: 0.45rem;
    background: #fff;
    cursor: pointer;
}

.navbar-toggler-icon {
    display: block;
    width: 1.5rem;
    height: 1.5rem;
    background-image:
        linear-gradient(#062a57, #062a57),
        linear-gradient(#062a57, #062a57),
        linear-gradient(#062a57, #062a57);
    background-repeat: no-repeat;
    background-position: center 0.35rem, center 0.72rem, center 1.09rem;
    background-size: 1.5rem 2px;
}

.navbar-collapse {
    flex-basis: 100%;
    flex-grow: 1;
    align-items: center;
}

.navbar-nav {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.nav-link {
    display: block;
    padding: 0.55rem 0;
    color: #062a57;
    font-weight: 700;
    text-decoration: none;
}

.nav-link:hover,
.nav-link.active {
    color: #9a3f00;
}

.collapse:not(.show) {
    display: none;
}

.accordion {
    border-radius: 0.9rem;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    background: #fff;
}

.accordion-item + .accordion-item {
    border-top: 1px solid #e5e7eb;
}

.accordion-header {
    margin: 0;
}

.accordion-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.85rem 1rem;
    border: 0;
    background: #f8fafc;
    color: #0f172a;
    font: inherit;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.35;
    text-align: left;
    cursor: pointer;
}

.accordion-button::after {
    content: "";
    width: 0.65rem;
    height: 0.65rem;
    margin-left: 1rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(225deg);
    transition: transform 0.2s ease;
}

.accordion-button.collapsed::after {
    transform: rotate(45deg);
}

.accordion-body {
    padding: 1rem 1.15rem;
}

@media (max-width: 576px) {
    .accordion-button {
        font-size: 0.95rem;
        padding: 0.8rem 0.9rem;
    }
}

.ratio {
    position: relative;
    width: 100%;
}

.ratio::before {
    display: block;
    padding-top: var(--bs-aspect-ratio);
    content: "";
}

.ratio > * {
    position: absolute;
    inset: 0;
}

.ratio-4x3 {
    --bs-aspect-ratio: 75%;
}

@media (min-width: 768px) {
    .p-md-4 {
        padding: 1.5rem !important;
    }

    .mb-md-0 {
        margin-bottom: 0 !important;
    }

    .me-md-4 {
        margin-right: 1.5rem !important;
    }

    .flex-md-row {
        flex-direction: row !important;
    }
}

@media (min-width: 992px) {
    .mb-lg-0 {
        margin-bottom: 0 !important;
    }

    .navbar-expand-lg {
        flex-wrap: nowrap;
        justify-content: flex-start;
    }

    .navbar-expand-lg .navbar-toggler {
        display: none;
    }

    .navbar-expand-lg .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
    }

    .navbar-expand-lg .navbar-nav {
        flex-direction: row;
    }

    .navbar-expand-lg .nav-link {
        padding-right: 0.6rem;
        padding-left: 0.6rem;
    }
}
