html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.nmi-field-shell {
    min-height: calc(1.5em + 0.75rem + 2px);
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    background-color: #fff;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    overflow: hidden;
}

.nmi-field-shell:focus-within {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.nmi-field-slot {
    min-height: 38px;
    width: 100%;
}

.nmi-field-slot iframe {
    display: block !important;
    width: 100% !important;
    height: 38px !important;
    border: 0 !important;
}

.nmi-field-shell.is-invalid {
    border-color: #dc3545;
}

.nmi-field-shell.is-invalid:focus-within {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

.nmi-field-shell.is-valid {
    border-color: #198754;
}

.nmi-field-shell.is-valid:focus-within {
    border-color: #198754;
    box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25);
}

.merchant-header {
    min-height: 120px;
}

.merchant-navbar-logo {
    max-height: 100px;
    max-width: 260px;
    width: auto;
    height: auto;
}

.merchant-navbar-name {
    font-size: 1.75rem;
    font-weight: 600;
    white-space: normal;
}

.navbar-brand {
    padding-top: 0;
    padding-bottom: 0;
}

.merchant-style {
}

    .merchant-style .card {
        background-color: var(--merchant-card-color, #ffffff) !important;
        color: inherit;
    }

        .merchant-style .card .card-body {
            background-color: transparent !important;
        }

        .merchant-style .card .list-group-item {
            background-color: transparent !important;
            color: inherit;
        }

.giving-hero {
    min-height: 320px;
    background-size: cover;
    background-position: center;
    position: relative;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    overflow: hidden;
}

.giving-hero-shade {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.38);
}

.giving-hero-topbar {
    position: relative;
    z-index: 2;
    height: 64px;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.giving-hero-actions {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.giving-hero-link {
    color: white;
    text-decoration: none;
    font-size: .95rem;
}

    .giving-hero-link:hover {
        color: white;
        text-decoration: underline;
    }

.giving-hero-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    padding: 3rem 1rem 6rem 1rem;
}

    .giving-hero-content h1 {
        margin: 0;
        font-size: 2.5rem;
        font-weight: 500;
    }

    .giving-hero-content p {
        margin-top: .5rem;
        margin-bottom: 0;
        font-size: 1.1rem;
    }

.giving-card-container {
    margin-top: -80px;
    position: relative;
    z-index: 3;
    padding-bottom: 3rem;
}

    .giving-card-container .card {
        border-radius: 1rem;
    }