﻿/* BAP DO NOT USE - This is for clients to insert their css stylings and overrides */



/* ==== COMMON STYLES ======================================================= */
*, *::after, *::before {
    box-sizing: border-box !important;
}

.d-none {
    display: none;
}

.bap-health-info,
.bap-medical-provider,
.contact-info-container {
    border-radius: 16px;
    border: 2px solid var(--gray-300);
    font-family: 'Castledown Regular', sans-serif;
    margin: 0;
    padding: 16px 16px 20px;
}

.employer-info-container {
    border-radius: 8px;
    border: 2px solid var(--gray-300);
    font-family: 'Castledown Regular', sans-serif;
    margin: 0;
    padding: 16px 16px 20px;
}

.bap-autopay-label {
    display: block;
    font-size: var(--font-body-2xs);
    line-height: var(--line-2xs);
    margin-top: 0.25rem;
}

.bap-autopay-label img {
    height: 14px;
    margin-left: 2px;
}

.bap-avatar {
    align-items: center;
    background-color: var(--blue-100);
    border-radius: 50%;
    color: var(--blue-600);
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    height: 48px;
    justify-content: center;
    text-align: center;
    text-transform: uppercase;
    width: 48px;
}

.bap-avatar p {
    font-family: var(--castledown-bold);
    font-size: var(--font-body-2xl);
    line-height: var(--line-2xl);
    margin: 0;
    white-space: nowrap;
}

.bap-button, .bap-btn {
    -webkit-appearance: none;
    appearance: none;
    background-color: var(--gray-300);
    border: 2px solid var(--gray-300);
    border-radius: 8px;
    color: var(--blue-900);
    cursor: pointer;
    display: inline-block;
    font-family: var(--castledown-heavy);
    font-size: var(--font-body-sm);
    line-height: var(--line-sm);
    overflow: hidden;
    padding: 16px 12px;
    transition: 100ms ease-in transform;
    text-align: center;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
    will-change: transform;
}

.bap-button:first-child:not(:only-child), .bap-btn:first-child:not(:only-child) {
    margin-right: 6px;
}

.bap-button:last-child:not(:only-child), .bap-btn:last-child:not(:only-child) {
    margin-left: 6px;
}

.bap-button:only-child, .bap-btn:only-child {
    display: block;
    margin: 0 auto;
    width: 100%;
}

.bap-button:not(:disabled):active, .bap-btn:not(:disabled):active {
    transform: scale(0.96);
    transition: 50ms ease-out transform;
}

.bap-button:disabled, .bap-btn:disabled {
    opacity: 0.5;
}

.bap-button--primary, .bap-btn--primary {
    background-color: var(--blue-500);
    border-color: var(--blue-500);
    color: white;
}

.bap-button--primary:not(:disabled):active, .bap-btn--primary:not(:disabled):active {
    background-color: var(--blue-700);
    border-color: var(--blue-700);
}

.bap-button--secondary, .bap-btn--secondary {
    background-color: white;
    border: 2px solid var(--blue-900);
    color: var(--blue-900);
}

.bap-button--secondary:not(:disabled):active, .bap-btn--secondary:not(:disabled):active {
    background-color: var(--gray-200);
}

.bap-button--standalone:only-child, .bap-btn--standalone:only-child {
    display: block;
    margin: 0 0 0 auto;
    width: auto;
}

.bap-button--loading, .bap-btn--loading {
    color: transparent;
    position: relative;
}

.bap-button--loading::before, .bap-btn--loading::before {
    content: '';
    background-image: url('../images/loading-1s-white.svg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 32px;
    height: 32px;
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
}

.bap-button img, .bap-btn img {
    display: inline-block;
    vertical-align: baseline;
}

.bap-chip {
    background-color: var(--gray-300);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--castledown-bold);
    font-size: var(--font-body-xs);
    line-height: var(--line-xs);
    padding: 4px 8px;
    width: -moz-fit-content;
    width: fit-content;
}

.bap-chip--warning {
    background-color: var(--yellow-500);
}

.bap-chip__icon {
    flex: 0 0 auto;
}

.bap-chip__icon img {
    height: auto;
    width: 16px;
    vertical-align: middle;
}

.bap-chip__text {
    flex: 1 1 auto;
}

.bap-chip__text:first-child { margin-right: 4px; }
.bap-chip__text:last-child { margin-left: 4px; }

.bap-content-row--input-error input {
    border-color: var(--red-500);
}

.bap-content-row--input-error input:focus {
    outline-color: var(--red-500);
}

.bap-content-row--input-error span {
    color: var(--red-500);
    display: block;
    font-size: var(--font-body-xs);
    line-height: var(--line-xs);
    font-family: var(--castledown-bold);
    margin-top: 4px;
}

.bap-error-message {
    color: var(--red-500);
    font-size: var(--font-body-xs);
    line-height: var(--line-xs);
    font-family: var(--castledown-bold);
}

.bap-link-button, .bap-link {
    -webkit-appearance: none;
    align-items: center;
    appearance: none;
    background-color: transparent;
    border: none;
    cursor: pointer;
    color: var(--blue-900);
    display: flex;
    font-size: var(--font-body-md);
    justify-content: space-between;
    line-height: var(--line-md);
    margin: 0;
    padding: 0;
    transition: 100ms ease-in transform;
    width: fit-content;
}

.bap-link-button:active, .bap-link:active {
    transform: scale(0.98);
    transition: 50ms ease-in transform;
}

.bap-link-button:only-child, .bap-link:only-child {
    margin-left: auto;
    margin-right: 0;
}

.bap-link-button img, .bap-link img {
    flex: 0 0 auto;
    margin-right: 8px;
}

.bap-form {
    display: block;
    margin: 0 auto;
    max-width: 768px;
}

.bap-form-actions,
.bap-password-form .k-form-buttons {
    align-items: center;
    background-color: white;
    border-top: 1px solid var(--gray-300);
    display: flex;
    font-size: 0px;
    justify-content: space-between;
    text-align: center;
    padding: 24px;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}

.bap-form .bap-content-row {
    margin: 0 0 16px;
}

.bap-form-actions a,
.bap-form-actions button {
    flex: 1 0 calc(50% - 12px);
    vertical-align: middle;
}

.bap-form-actions button:only-child {
    align-self: center;
    justify-self: center;
}

.bap-help-text {
    display: block;
    font-size: var(--font-body-2xs);
    line-height: var(--line-2xs);
    margin: 4px 0;
    width: 100%;
}

.bap-help-text--error {
    color: var(--red-500);
}

.bap-info-panel {
    border-radius: 16px;
    display: flex;
    align-items: flex-start;
    margin: 16px 0px;
    padding: 16px;
}

.bap-info-panel--primary {
    background-color: var(--blue-100);
}

.bap-info-panel--primary img {
    height: 24px;
}

.bap-info-panel--warning {
    background-color: var(--yellow-100);
}

.bap-info-panel img {
    width: 24px;
    margin-right: 16px;
}

.bap-info-panel--warning p {
    color: var(--yellow-900);
    font-family: var(--castledown-bold);
    margin: 0px;
}

.bap-info-panel a {
    color: var(--yellow-900);
    font-family: var(--castledown-bold);
}

.bap-input,
.bap-input.k-input-inner,
.k-form-field-wrap > input[type='text'],
.k-form-field-wrap > input[type='password'] {
    -webkit-appearance: none;
    appearance: none;
    border-radius: 8px;
    border-style: none;
    border: 2px solid var(--gray-300);
    font-size: var(--font-body-sm);
    line-height: var(--line-sm);
    margin: 0;
    padding: 16px 24px;
    position: relative;
    width: 100%;
}

.bap-input.k-invalid,
.bap-subsidy-employer-form .k-invalid input.bap-input,
.subsidy-employer-code-form .bap-input.validate-not-found,
.bap-input.k-input-inner.k-invalid,
.k-form-field-wrap > input[type='text'].k-invalid,
.k-form-field-wrap > input[type='password'].k-invalid {
    border: 2px solid var(--red-500);
}

.bap-input[readonly],
.bap-input[disabled] {
    background-color: var(--gray-200);
    color: var(--gray-600);
}

.bap-input--error,
.bap-input--success {
    background-position: right 10px center;
    background-repeat: no-repeat;
    background-size: 24px 24px;
    padding-right: 40px;
}

.bap-input--error {
    background-image: url('../images/alert-icon-red.svg');
    border-color: var(--red-500);
}

.bap-input--success {
    background-image: url('../images/check-icon.svg');
    border-color: var(--green-500);
}

.k-form-field .k-form-field-wrap .validate-company-found {
    background-image: url('/assets/kcepp/images/kc-checkmark-no-circle-green.svg');
    background-repeat: no-repeat;
    background-position: right center;
    background-position-x: 99%;
    border-color: var(--green-500);
}

.bap-input--error ~ .bap-help-text--error {
    display: block;
}

.bap-table-container table {
    border-collapse: collapse;
    width: 100%;
}

.bap-table-container tbody td {
    color: var(--blue-900);
    font-family: var(--castledown-regular);
    font-size: var(--font-body-sm);
    line-height: var(--line-sm);
    padding: 0 0 8px;
    text-align: left;
    word-break: break-all;
    word-break: break-word;
}

.bap-table-container tbody tr:last-of-type td {
    padding: 0;
}

.bap-table-container thead td,
.bap-table-container thead th {
    color: var(--gray-600);
    font-family: var(--castledown-regular);
    font-size: var(--font-body-2xs);
    font-weight: 700;
    line-height: var(--line-2xs);
    padding: 0 0 4px;
    text-align: left;
}

.bap-text-body {
    border-radius: 8px;
    color: white;
    display: block;
    width: fit-content;
    font-size: var(--font-body-2xs);
    font-family: var(--castledown-bold);
    line-height: var(--line-2xs);
    margin: 0 auto;
    padding: 6px 12px;
    margin-bottom: 24px;
}

.bap-text-header, .bap-text-header-lg {
    color: var(--blue-900);
    font-family: var(--castledown-heavy);
    font-size: var(--font-body-4xl);
    font-weight: 900;
    line-height: var(--line-4xl);
    margin: 16px 0;
    text-align: center;
}

.bap-text-label,
.bap-text-value {
    color: var(--blue-900);
    display: block;
    font-family: var(--castledown-regular);
    text-align: left;
    width: 100%;
    word-break: break-all;
    word-break: break-word;
}

.bap-text-label,
.k-form-field .k-label,
.k-form-field .k-form-label {
    color: var(--blue-900);
    display: block;
    font-family: var(--castledown-bold);
    font-size: var(--font-body-xs);
    line-height: var(--line-xs);
    margin: 0 0 4px;
}

.bap-text-value {
    font-size: var(--font-body-sm);
    line-height: var(--line-sm);
    margin: 4px 0 8px;
}

.bap-text-value:empty {
    padding: 8px 0;
}

.bap-make-payment-card {
    border: 2px solid var(--gray-300);
    border-radius: 8px;
    display: block;
    margin: 0 0 16px;
    overflow: hidden;
}

.bap-make-payment-card[data-enable-delete='true'] label {
    cursor: default;
}

.bap-make-payment-card[data-enable-delete='true'] label::after {
    content: none;
    position: relative;
}

.bap-make-payment-card__content {
    align-items: center;
    display: flex;
    padding: 16px;
    position: relative;
}

.bap-make-payment-card__content input {
    margin-right: 16px;
}

.bap-make-payment-card__content > img {
    width: 32px;
    margin-right: 16px;
}

.bap-make-payment-card__content label,
.bap-make-payment-card__content p {
    flex: 0 0 auto;
    margin: 0 16px 0 0;
}

.bap-make-payment-card__content label small {
    display: block;

}

.bap-make-payment-card__content label::after {
    content: '';
    cursor: pointer;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.bap-make-payment-card__content .bap-button.bap-button--icon {
    background-color: transparent;
    border: none;
    border-radius: 0;
    flex: 0 0 auto;
    height: 24px;
    margin: 0 0 0 auto;
    padding: 0;
    width: 24px;
}

.bap-make-payment-card__messages {
    padding: 0 16px 16px;
    margin-top: -8px;
}

.bap-make-payment-form__custom-payment-card {
    border: 2px solid var(--gray-300);
    border-radius: 8px 8px 0px 0px;
    padding: 8px 16px;
    background: var(--gray-100);
}

.bap-make-payment-form__custom-payment-card h3 {
    margin: 0px;
}

.bap-make-payment-form__custom-payment-card-content {
    border-right: 2px solid var(--gray-300);
    border-left: 2px solid var(--gray-300);
    border-bottom: 2px solid var(--gray-300);
    border-radius: 0px 0px 8px 8px;
    padding: 16px;
}

.bap-make-payment-form__terms-and-conditions {
    margin: 32px 0;
}

.bap-make-payment-form__terms-and-conditions-card {
    display: flex;
    align-items: center;
}

.bap-make-payment-form__terms-and-conditions-card input {
    width: 18px;
    height: 18px;
    margin-right: 8px;
}

.bap-make-payment-form__terms-and-conditions-card a {
    text-decoration-thickness: 1px;
    color: var(--blue-900);
}

.bap-make-payment-form__custom-payment-card-content .bap-info-panel {
    margin: 16px auto 0px;
}

.bap-make-payment-card--expired:not([data-enable-delete='true']) label,
.bap-make-payment-card--expired:not([data-enable-delete='true']) img {
    opacity: 40%;
}

.bap-make-payment-card--expired {
    position: relative;
}

.bap-make-payment-card--expired input {
    visibility: hidden;
}

.bap-make-payment-card--expired p {
    color: var(--red-500);
    font-family: var(--castledown-heavy);
    font-size: var(--font-body-2xs);
    left: 208px;
    margin: 0;
    padding: 0;
    position: absolute;
    text-transform: uppercase;
    text-overflow: ellipsis;
    top: 50%;
    transform: translateY(-50%);
    white-space: pre;
    z-index: -1;
}

.bap-make-payment-card--expired .bap-make-payment-card__content label small {
    color: var(--red-500);
}

@media screen and (min-width: 320px) {
    .bap-button, .bap-btn {
        font-size: var(--font-body-md);
        line-height: var(--line-md);
        padding: 16px 24px;
    }

    .bap-button:first-child:not(:only-child),
    .bap-btn:first-child:not(:only-child) {
        margin-right: 12px;
    }

    .bap-button:last-child:not(:only-child):not(.bap-button--icon),
    .bap-btn:last-child:not(:only-child):not(.bap-button--icon) {
        margin-left: 12px;
    }

    .bap-make-payment-card--expired p {
        font-size: var(--font-body-xs);
    }
}

@media screen and (min-width: 360px){
    .bap-make-payment-card--expired p {
        left: 220px;
    }
}


@media screen and (min-width: 768px) {
    .bap-autopay-label {
        font-size: var(--font-body-xs);
        line-height: var(--line-xs);
    }

    .bap-autopay-label img {
        height: 18px;
        margin-left: 4px;
    }

    .bap-avatar {
        height: 64px;
        width: 64px;
    }

    .bap-avatar p {
        font-size: var(--font-body-4xl);
        line-height: var(--line-4xl);
    }

    .bap-button, .bap-btn {
        padding: 16px 32px;
    }

    .bap-button:only-child, .bap-btn:only-child {
        margin: 0 0 0 auto;
        width: auto;
        inline-size: -moz-fit-content;
        inline-size: fit-content;
    }

    .bap-button:first-child:not(:only-child):not(.bap-button--icon),
    .bap-btn:first-child:not(:only-child):not(.bap-button--icon) {
        margin-right: 16px;
    }

    .bap-button:last-child:not(:only-child):not(.bap-button--icon),
    .bap-btn:last-child:not(:only-child):not(.bap-button--icon) {
        margin-left: 16px;
    }

    .bap-error-message {
        font-size: var(--font-body-sm);
        line-height: var(--line-sm);
    }

    .bap-form .bap-content-row {
        margin: 0 0 32px;
    }

    .bap-help-text {
        font-size: var(--font-body-xs);
        line-height: var(--line-xs);
        margin: 8px 0;
    }

    .bap-input {
        font-size: var(--font-body-md);
        line-height: var(--line-md);
    }

    .bap-make-payment-card__content {
        padding: 32px;
    }

    .bap-make-payment-form__custom-payment-card {
        padding: 16px 24px;
    }

    .bap-make-payment-form__custom-payment-card-content {
        padding: 32px;
    }

    .bap-container .bap-form-actions {
        margin-top: 32px;
    }

    .bap-table-container tbody td {
        font-size: var(--font-body-md);
        line-height: var(--line-md);
    }

    .bap-table-container thead td,
    .bap-table-container thead th {
        font-size: var(--font-body-xs);
        line-height: var(--line-xs);
    }

    .bap-text-body {
        font-size: var(--font-body-xs);
        padding: 8px 16px;
    }

    .bap-text-label {
        font-size: var(--font-body-xs);
        line-height: var(--line-xs);
        margin: 0 0 8px;
    }

    .bap-text-value {
        font-size: var(--font-body-md);
        line-height: var(--line-md);
        margin: 8px 0 16px;
    }

    .k-card-horizontal #noProvidedText,
    .bap-text-header, .bap-text-header-lg {
        font-size: var(--font-body-9xl);
        line-height: var(--line-9xl);
    }

    .bap-form-actions,
    .bap-password-form .k-form-buttons {
        display: block;
        text-align: right;
        padding: 24px 0;
        position: relative;
    }

    .bap-make-payment-card--expired p {
        font-size: var(--font-body-sm);
        left: 250px;
    }
}


@keyframes fade-in-up {
    from {
        transform: translateY(0.5rem);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ==== END OF COMMON STYLES ================================================ */



.bap-account-login {
    font-family: sans-serif;
    margin-bottom: 10px;
    font-family: 'CastleDown Regular', sans-serif;
}

.bap-student-carousel {
    font-family: sans-serif;
    background: #f4f6f7;
    width: 250px;
    display: grid;
    grid-template-columns: 1fr;
    margin-bottom: 10px;
}

#scrollview-home .photo {
    display: inline-block;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.k-card {
    padding: 1rem 1rem;
    text-align: center;
    font-size: 1.2rem;
    background: aquamarine;
    color: #ffffff;
}



/* ==== BAP-LOGIN STYLES ==================================================== */

.bap-account-login {
    background-color: transparent;
}

.bap-account-login legend,
.bap-account-login label.k-form-label {
    display: none;
}

.bap-account-login .k-input input {
    padding: 1em 2em;
    outline: none;
}

.bap-account-login .k-input input:focus {
    outline: none;
}

.bap-account-login .k-input #password-toggle {
    margin: 1em;
    margin-top: 1.2em;
}

.bap-account-login .k-widget fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

.bap-account-login .k-form-field {
    margin-bottom: 1em;
}

.bap-account-login #loginform {
    width: 100%;
}

.bap-account-login .k-form-buttons .k-form-submit {
    background-color: #64BEE6;
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-family: 'CastleDown Bold', sans-serif;
    font-size: 18px;
    line-height: 27px;
    padding: .8em 2em;
    width: 100%;
}

.bap-account-login .k-form-buttons .k-form-clear {
    display: none;
}

.bap-account-login .k-input.k-textbox {
    border: none;
    border-radius: 8px;
    border: 2px solid #DEDEDE;
    margin-bottom: 1em;
}

.bap-account-login .k-input.k-textbox input {
    width: calc(100% - 60px) !important;
    font-family: 'CastleDown Regular', sans-serif;
}

/* ==== END OF BAP-LOGIN STYLES ============================================= */



/* ==== BAP-PAYMENT STYLES ================================================== */

.bap-payment-card {
    box-sizing: border-box;
    display: block;
    max-width: 100%;
    padding: 0px 24px;
    text-align: center;
}

.bap-payment-card * {
    box-sizing: border-box;
}

.bap-payment-card a,
.bap-payment-card button {
    display: block;
    margin: 0 auto 16px;
}

.bap-payment-card a:last-child,
.bap-payment-card button:last-child {
    margin-bottom: 0;
}

.bap-payment-card button {
    border-radius: 8px;
    font-family: var(--castledown-heavy);
    font-size: var(--font-body-md);
    line-height: var(--line-md);
    max-width: 320px;
    padding: 16px;
    width: 100%;
}

.bap-payment-card #credit-subtext {
    background-color: var(--green-500);
}

.bap-payment-card #credit-text ~ .bap-btn.bap-btn-secondary {
    background-color: var(--blue-500);
    border: none;
    color: white;
}

.bap-payment-card #manage-autopay-button {
    background: none;
    border: 2px solid #2B596D;
    color: #2B596D;
}

.bap-payment-card #no-data-message {
    display: none;
}

.bap-payment-card #no-balance-due-message ~ #view-bill-summary-link {
    display: none;
}

.bap-payment-card #invoice-past-due-subtext {
    color: var(--blue-900);
    font-size: var(--font-body-sm);
    font-weight: 600;
}

.bap-payment-card #view-bill-summary-link {
    color: var(--blue-900);
    font-family: var(--castledown-regular);
    font-size: var(--font-body-sm);
    font-weight: 400;
    line-height: var(--line-sm);
}

.bap-payment-card #whats-new-button {
    display: none;
}

@media screen and (min-width: 768px) {
    .bap-payment-card {
        flex-wrap: wrap;
        flex-direction: column;
        justify-content: center;
    }

    .bap-payment-card button {
        display: inline-block;
        padding: 16px 32px;
        width: initial;
    }

    .bap-payment-card button:last-of-type {
        margin-right: 0;
    }

    .bap-payment-card #invoice-past-due-subtext {
        font-size: var(--font-body-md);
    }

    .bap-payment-card #view-bill-summary-link {
        flex: 100%;
        text-align: center;
    }
}

/* ==== END OF BAP-PAYMENT STYLES =========================================== */



/* ==== BAP-CHILD-CARDS STYLES ============================================== */

.child-card-container,
.child-card-container * {
    box-sizing: border-box;
}

.child-card-container {
    display: flex;
    flex-wrap: wrap;
    font-size: 0;
    justify-content: left;
    padding: 0;
    width: 100%;
}

.child-card {
    border-radius: 16px;
    display: inline-block;
    font-family: 'CastleDown Regular', sans-serif;
    margin-bottom: 8px;
    padding: 8px;
    position: relative;
    width: 100%;
}

.child-card.child-card-enroll {
    background-color: #49ABD7;
    background-image: none;
}

.child-card .card-fields {
    position: relative;
}

.child-card .child-card-badge {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0px 8px 16px rgba(17, 17, 17, 0.06);
    color: #102E41;
    overflow: hidden;
    padding: 16px 16px 14px;
    text-align: left;
    width: 100%;
}

.child-card .child-card-header {
    background-color: white;
    border: none;
    padding: 0;
    position: relative;
    z-index: 1;
}

.child-card .child-card-header h5 {
    font-family: 'CastleDown Heavy', sans-serif;
    font-size: 18px;
    line-height: 30px;
    overflow: hidden;
    padding-right: 24px;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

.child-card .k-card-body {
    padding: 0;
}

.child-card .k-card-body p {
    font-size: 14px;
    line-height: 24px;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

.child-card-button-details {
    padding: 4px 0 4px 8px;
    position: absolute;
    right: -4px;
    top: 0;
    z-index: 10;
}

.child-card-button-details img {
    width: 24px;
}

.child-card-enroll .child-card-enroll-fields {
    align-items: center;
    border: none;
    height: 100%;
}

.child-card-enroll .k-button {
    display: block;
    padding: 0;
}

.child-card-enroll .k-button span {
    font-size: 14px;
    font-family: 'CastleDown Bold', sans-serif;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

.child-card-enroll .k-button img {
    height: 40px;
}

/* * For testing use only */
/*BAP Child Cards Styling*/
.child-card-0 {
    background-color: #1565C0;
    /*Blue 800*/
}

.child-card-1 {
    background-color: #FFE0B2;
    /*Orange 100*/
}

.child-card-2 {
    background-color: #1976D2;
    /*Blue 700*/
}

.child-card-3 {
    background-color: #FF9800;
    /*Orange 500*/
}

.child-card-4 {
    background-color: #42A5F5;
    /*Blue 400*/
}

.child-card-5 {
    background-color: #BBDEFB;
    /*Blue 100*/
}

.child-card-6 {
    background-color: #90CAF9;
    /*Blue 200*/
}

.child-card-enroll {
    background-color: #2196F3;
    /*Blue 500*/
    color: white;
}

@media screen and (min-width: 320px) {
    .child-card {
        width: calc(50% - 4px);
    }

    .child-card:nth-child(odd) {
        margin-right: 4px;
    }

    .child-card:nth-child(even) {
        margin-left: 4px;
    }
}

@media screen and (min-width: 600px) {
    .child-card:nth-child(odd) {
        margin-right: 0;
    }

    .child-card:nth-child(even) {
        margin-left: 0;
    }

    .child-card {
        margin-left: 0;
        margin-right: 0;
        width: calc(33.33% - 6px);
    }

    .child-card:nth-child(3n - 1) {
        margin-left: 9px;
        margin-right: 9px;
    }

    .child-card-enroll {
        min-height: 124px;
    }
}

@media screen and (min-width: 768px) {
    .child-card-container .child-card {
        margin-bottom: 16px;
        margin-left: 0;
        margin-right: 16px;
        width: calc(25% - 12px);
    }

    .child-card:nth-child(4n) {
        margin-right: 0;
    }

    .child-card .child-card-header h5 {
        font-size: 20px;
    }

    .child-card .k-card-body p {
        font-size: 16px;
        line-height: 26px;
    }

    .child-card-enroll {
        min-height: 130px;
    }

    .child-card-enroll .k-button span {
        font-size: 20px;
    }
}

/* ==== END OF BAP-CHILD-CARDS STYLES ======================================= */



/* ==== BAP-EMPLOYER-INFO STYLES ============================================ */

.employer-info-container img.verified-employer {
    margin-right: 6px;
    max-width: 24px;
}

.verified-employer {
    display: inline-block;
    vertical-align: middle;
}

.employer-name-text {
    font-family: 'Castledown Bold', sans-serif;
    font-size: 20px;
    font-weight: 900;
    line-height: 30px;
    max-width: 100%;
    overflow: hidden;
    word-wrap: break-word;
}

/* ==== END OF BAP-EMPLOYER-INFO STYLES ===================================== */



/* ==== BAP-CONTACT-INFO STYLES ============================================= */

.contact-info-container h4,
.contact-info-container li {
    overflow: hidden;
    white-space: normal;
    width: 100%;
    word-break: break-all;
    /* FALLBACK */
    word-break: break-word;
}

.contact-info-container h4 {
    color: #828282;
    margin: 0 0 4px;
    font-size: 12px;
    font-weight: 700;
}

.contact-info-container ul {
    color: #102e41;
    font-family: "CastleDown Regular", sans-serif;
    line-height: 22px;
    font-size: 16px;
    font-weight: 400;
    margin: 0 0 8px;
    padding: 0;
    text-decoration: none;
}

.contact-info-container ul:last-child {
    margin-bottom: 0;
}

/* ==== END OF BAP-CONTACT-INFO STYLES ====================================== */



/* ==== BAP-CHILD-INFO-BLOCK STYLES ========================================= */

.child-info-container,
.child-info-container * {
    box-sizing: border-box;
    text-align: center;
}

.child-info-container {
    display: block;
    width: 100%;
}

.child-info-container .edit-link a,
.child-info-container .student-DOB-text,
.child-info-container .student-name-text {
    overflow: hidden;
    white-space: normal;
    word-break: break-all;
    word-break: break-word;
    width: 100%;
}

.child-info-container .edit-link a,
.child-info-container .student-DOB-text {
    color: var(--menu-text-color);
    display: block;
    font-size: var(--font-body-sm);
    line-height: var(--line-sm);
    margin: 8px 0 0;
}

.child-info-container .edit-link a {
    display: inline-block;
    width: initial;
}

.child-info-container #student-first-last-name {
    color: var(--menu-text-color);
    font-size: var(--font-body-xl);
    font-family: var(--castledown-heavy);
    line-height: var(--line-xl);
    margin: 0 0 8px;
    padding: 0 24px;
}

@media screen and (min-width: 768px) {
    .child-info-container {
        display: inline-block;
        max-width: 100%;
        padding: 0 4rem;
        vertical-align: top;
        width: initial;
    }

    .child-info-container #student-first-last-name {
        font-size: var(--font-body-8xl);
        line-height: var(--line-8xl);
        margin-bottom: 196px;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .child-info-container .edit-link a,
    .child-info-container .student-DOB-text {
        font-size: var(--font-body-md);
        line-height: var(--line-md);
    }
}

/* ==== END OF BAP-CHILD-INFO-BLOCK STYLES ================================== */



/* ==== BAP-CENTER-INFO STYLES ============================================== */

.center-info-container {
    background-color: transparent;
    border: none;
    border-radius: 16px;
    padding: 1rem;
}

.center-info-content {
    background-color: white;
    border-radius: 12px;
    color: var(--blue-900);
    text-align: left;
    overflow: hidden;
    white-space: normal;
    word-break: break-all;
    word-break: break-word;
}

.center-info-content a {
    text-decoration: none;
}

.center-info-content a.center-info-text[href*="map"] {
    color: var(--blue-800);
    text-decoration: underline;
}

.center-info-content .center-info-h1 {
    font-family: var(--castledown-heavy);
    font-size: var(--font-body-lg);
    font-weight: 900;
    line-height: var(--line-lg);
    margin: 0 0 8px;
}

.center-info-content .center-info-h2 {
    color: var(--gray-600);
    font-family: var(--castledown-bold);
    font-size: var(--font-body-2xs);
    font-weight: 700;
    line-height: var(--line-2xs);
    margin: 0 0 4px;
}

.center-info-content .center-info-text {
    color: var(--blue-900);
    display: inline;
    font-size: var(--font-body-sm);
    line-height: var(--line-sm);
}

.center-info-content .center-info-span {
    display: block;
    margin-bottom: 8px;
}

.center-info-content .center-info-span:last-child {
    margin-bottom: 0;
}

.center-info-content #center-no-enrollment-paragraph {
    font-family: var(--castledown-heavy);
    font-size: var(--font-body-md);
    line-height: var(--line-md);
}

@media screen and (min-width: 768px) {
    .center-info-container {
        padding: 32px;
    }

    .center-info-content #center-no-enrollment-paragraph {
        font-size: var(--font-body-3xl);
        line-height: var(--line-3xl);
    }
}

/* ==== END OF BAP-CENTER-INFO STYLES ======================================= */



/* ==== BAP-HEALTH-INFO STYLES ============================================== */

.bap-health-info,
.bap-health-info *,
.bap-health-info *::before,
.bap-health-info *::after {
    box-sizing: border-box;
}

.bap-health-info h4#header {
    display: none;
}

.bap-health-info li.font-bold {
    font-family: var(--castledown-heavy);
    margin-top: 4px;
}

.bap-health-info li.font-bold:first-child {
    margin-top: 0;
}

.bap-health-info ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.bap-health-info .display-block {
    display: block;
}

.bap-health-info .display-none {
    display: none;
}

.bap-health-info .k-card {
    color: var(--blue-900);
    background-color: white;
    border: none;
    padding: 0;
    text-align: left;
    word-break: break-all;
    word-break: break-word;
}

.bap-health-info #additional-Information,
.bap-health-info li {
    font-family: var(--castledown-regular);
    font-size: var(--font-body-sm);
    line-height: var(--line-sm);
}

.bap-health-info #additional-Information-Header,
.bap-health-info #allergies-Header,
.bap-health-info #no-Associated-Records-Text {
    font-family: var(--castledown-heavy);
    font-size: var(--font-body-md);
    line-height: var(--line-md);
}

.bap-health-info #allergies-Header {
    margin-top: 16px;
}

.bap-health-info #allergies-Header:first-child {
    margin-top: 0;
}

.bap-health-info #additional-Information-Header {
    margin-bottom: 4px;
}

.bap-health-info #lifethreatening {
    margin-bottom: 8px;
    position: relative;
    width: 100%;
}

.bap-health-info #lifethreatening-Icon,
.bap-health-info #lifethreatening-Text {
    color: var(--red-500);
    display: inline-block;
}

.bap-health-info #lifethreatening-Icon {
    font-size: 18px;
    height: 18px;
    left: 0;
    line-height: 1;
    position: absolute;
    top: 4px;
    width: 18px;
}

.bap-health-info #lifethreatening-Text {
    font-family: var(--castledown-heavy);
    font-size: var(--font-body-sm);
    line-height: var(--line-sm);
    padding-left: 24px;
    width: 100%;
}

.bap-health-info #no-Associated-Records-Text {
    margin: 0;
}

.bap-health-info #not-specified {
    text-align: left;
}


@media screen and (min-width: 768px) {

    .bap-health-info #additional-Information,
    .bap-health-info li {
        font-size: var(--font-body-md);
        line-height: var(--line-md);
    }

    .bap-health-info #additional-Information-Header,
    .bap-health-info #allergies-Header,
    .bap-health-info #no-Associated-Records-Text {
        font-size: var(--font-body-3xl);
        line-height: var(--line-3xl);
    }
}

/* ==== END OF BAP-HEALTH-INFO STYLES ======================================= */



/* ==== BEGIN OF BAP-CHILD-SCHEDULE STYLES ================================== */

.bap-child-schedule .k-card-horizontal {
    color: var(--blue-900);
    background: #ffffff;
    border: 2px solid var(--gray-300);
    border-radius: 16px;
    display: block;
    margin-bottom: 16px;
}

.bap-child-schedule table {
    max-width: 400px;
}

.bap-child-schedule td {
    width: 50%;
}

.bap-child-schedule td span {
    margin: 0;
}

.bap-child-schedule #noProvidedText {
    font-family: var(--castledown-heavy);
    font-size: var(--font-body-md);
    font-weight: 900;
    line-height: var(--line-md);
    max-width: 100%;
    overflow: hidden;
    word-wrap: break-word;
    text-align: start;
}

@media screen and (min-width: 768px) {
    .k-card-horizontal #noProvidedText {
        font-size: var(--font-body-3xl);
        line-height: var(--line-3xl);
    }
}

/* ==== END OF BAP-CHILD-SCHEDULE STYLES ==================================== */



/* ==== BEGIN OF BAP-SCHOOL-TRANSPORT STYLES ================================ */

.bap-school-transport .k-card-horizontal {
    color: var(--blue-900);
    background: #ffffff;
    border: 2px solid var(--gray-300);
    border-radius: 16px;
    margin-bottom: 16px;
    display: block;
    padding: 16px 16px 20px;
}

.k-card-horizontal #noSpecifiedText {
    font-family: var(--castledown-heavy);
    font-size: var(--font-body-md);
    font-weight: 900;
    line-height: var(--line-md);
    max-width: 100%;
    overflow: hidden;
    word-wrap: break-word;
    text-align: start;
}

.k-card-horizontal #schoolLabel,
.k-card-horizontal #gradeLabel,
.k-card-horizontal #phoneLabel,
.k-card-horizontal #schoolAddressLabel,
.k-card-horizontal #startTimeEndTimeLabel,
.k-card-horizontal #transportationProvidedByLabel {
    font-family: var(--castledown-regular);
    font-style: normal;
    font-weight: 700;
    font-size: var(--font-body-2xs);
    line-height: var(--line-2xs);
    color: var(--gray-600);
    text-align: start;
    margin-bottom: 4px;
}

.k-card-horizontal #gradeLabel,
.k-card-horizontal #phoneLabel,
.k-card-horizontal #schoolAddressLabel,
.k-card-horizontal #startTimeEndTimeLabel,
.k-card-horizontal #transportationProvidedByLabel {
    margin-top: 8px;
}

.k-card-horizontal #schoolTextValue,
.k-card-horizontal #gradeTextValue,
.k-card-horizontal #phoneValue,
.k-card-horizontal #schoolAddressTextValue,
.k-card-horizontal #startTimeEndTimeValue,
.k-card-horizontal #transportationProvidedByValue {
    font-family: var(--castledown-regular);
    font-style: normal;
    font-weight: 400;
    font-size: var(--font-body-sm);
    line-height: var(--line-sm);
    color: var(--blue-900);
    text-align: start;
    overflow: hidden;
    word-break: break-all;
    word-break: break-word;
}

@media screen and (min-width: 768px) {

    .k-card-horizontal #schoolLabel,
    .k-card-horizontal #gradeLabel,
    .k-card-horizontal #phoneLabel,
    .k-card-horizontal #schoolAddressLabel,
    .k-card-horizontal #startTimeEndTimeLabel,
    .k-card-horizontal #transportationProvidedByLabel {
        font-size: var(--font-body-xs);
        line-height: var(--line-xs);
    }

    .k-card-horizontal #schoolTextValue,
    .k-card-horizontal #gradeTextValue,
    .k-card-horizontal #phoneValue,
    .k-card-horizontal #schoolAddressTextValue,
    .k-card-horizontal #startTimeEndTimeValue,
    .k-card-horizontal #transportationProvidedByValue {
        font-size: var(--font-body-md);
        line-height: var(--line-md);
    }

    .k-card-horizontal #noSpecifiedText {
        font-size: var(--font-body-3xl);
        line-height: var(--line-3xl);
    }
}

@media screen and (min-width: 800px) {
    .bap-school-transport {
        max-width: 768px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ==== END OF BAP-SCHOOL-TRANSPORT STYLES ================================== */



/* ==== BAP-PERSON-INFO-FORM STYLES ========================================= */

.bap-person-info-form,
.bap-person-info-form *,
.bap-person-info-form *::after,
.bap-person-info-form *::before  {
    box-sizing: border-box;
}

.bap-person-info-form {
    word-break: break-all;
    word-break: break-word;
}

.bap-person-info-form .bap-text-value {
    margin: 0;
}

.bap-person-info-form .bap-text-value.k-input-inner {
    color: var(--blue-900);
    font-size: var(--font-body-sm);
    line-height: var(--line-sm);
    padding: 16px 24px;
}

.bap-person-info-form .bap-text-value.k-input-inner:disabled {
    color: var(--gray-600);
}

.bap-person-info-form .k-form-buttons {
    background-color: white;
    border-top: 1px solid var(--gray-300);
    bottom: 0;
    display: block;
    left: 0;
    margin: 0;
    padding: 24px 24px 16px;
    position: fixed;
    text-align: center;
    width: 100%;
    z-index: 10;
}

.bap-person-info-form .k-form-buttons button {
    -webkit-appearance: none;
    appearance: none;
    background-color: var(--blue-500);
    border: 2px solid var(--blue-500);
    border-radius: 8px;
    color: white;
    cursor: pointer;
    display: block;
    font-family: var(--castledown-bold);
    line-height: var(--line-md);
    font-size: var(--font-body-md);
    margin: 0 auto 8px;
    max-width: 768px;
    overflow: hidden;
    padding: 16px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bap-person-info-form .k-form-buttons button:only-of-type {
    display: block;
    width: 100%;
}

.bap-person-info-form .k-form-buttons button:hover {
    background-color: var(--blue-600);
    border-color: var(--blue-600);
}

.bap-person-info-form .k-form-buttons button:active {
    background-color: var(--blue-700);
    border-color: var(--blue-700);
}

.bap-person-info-form .k-form-buttons button:disabled {
    opacity: 0.5;
}

.bap-person-info-form .k-form-buttons .submit-success,
.bap-person-info-form .k-form-buttons .submit-failure {
    background-color: white;
    font-family: var(--castledown-bold);
    font-size: var(--font-body-sm);
    line-height: var(--line-sm);
    text-align: center;
    width: 100%;
}

.bap-person-info-form .k-form-buttons .submit-failure {
    color: var(--error);
}

.bap-person-info-form .k-form-buttons .submit-success {
    color: var(--green-500);
}

.bap-person-info-form .k-form-field {
    margin-bottom: 16px;
}

.bap-person-info-form .k-form-label {
    color: var(--gray-600);
    font-size: var(--font-body-xs);
    line-height: var(--line-xs);
    margin-bottom: 8px;
}

.bap-person-info-form .k-input.k-input-solid {
    border: 2px solid var(--gray-300);
    border-radius: 8px;
}

@media screen and (min-width: 768px) {
    .bap-person-info-form .k-form-buttons {
        margin-top: 32px;
        position: relative;
        text-align: right;
        padding: 32px 0;
    }

    .bap-person-info-form .k-form-buttons button.submit {
        display: inline-block;
        width: 160px;
    }
}

/* ==== END OF BAP-PERSON-INFO-FORM STYLES ================================== */








/* #####  ****  $$$$$$$$$$$$$$$$$$$$$  ****  ################################ */
/* #####  ****  BAP COMPONENTS V1, V2  ****  ################################ */
/* #####  ****  $$$$$$$$$$$$$$$$$$$$$  ****  ################################ */


/* ==== BAP-MEDICAL-INFO STYLES ============================================= */

.bap-medical-info {
    border: 2px solid var(--gray-300);
    border-radius: 16px;
    padding: 16px 16px 20px;
}

.bap-medical-info .bap-content-row:last-child .bap-text-value {
    margin-bottom: 0;
}

.bap-medical-info #bap-medical-not-specified-message {
    font-family: var(--castledown-heavy);
    font-size: var(--font-body-md);
    font-weight: 900;
    line-height: var(--line-md);
    margin: 0;
    max-width: 100%;
    overflow: hidden;
    text-align: left;
    word-break: break-all;
    word-break: break-word;
}


@media screen and (min-width: 768px) {
    .bap-medical-info #bap-medical-not-specified-message {
        font-size: var(--font-body-3xl);
        line-height: var(--line-3xl);
    }
}

/* ==== END OF BAP-MEDICAL-INFO STYLES ====================================== */



/* ==== BAP-MEDICAL-PROVIDER STYLES ========================================= */

.bap-medical-provider .message {
    font-family: var(--castledown-heavy);
    font-size: var(--font-body-md);
    font-weight: 900;
    line-height: var(--line-md);
    margin: 0;
    max-width: 100%;
    overflow: hidden;
    text-align: left;
    word-break: break-all;
    word-break: break-word;
}

@media screen and (min-width: 768px) {
    .bap-medical-provider .message {
        font-size: var(--font-body-3xl);
        line-height: var(--line-3xl);
    }
}

/* ==== END OF BAP-MEDICAL-PROVIDER STYLES ================================== */


/* ==== BEGIN OF BAP-USERNAME STYLES ========================================= */

.bap-username,
.bap-username * {
    box-sizing: border-box;
}

.bap-username .bap-content-username input[type=text] {
    border: 2px solid var(--gray-300);
    border-radius: 8px;
    color: var(--gray-600);
    display: block;
    font-family: var(--castledown-regular);
    font-size: var(--font-body-sm);
    line-height: var(--line-sm);
    margin: 0px auto;
    padding: 16px 24px;
    width: 100%;
}

.bap-username .bap-content-username #line1,
.bap-username .bap-content-username #line3 {
    color: var(--blue-900);
    font-family: var(--castledown-regular);
    font-size: var(--font-body-sm);
    line-height: var(--line-sm);
    word-break: break-all;
    word-break: break-word;
}

.bap-username .bap-content-username #line3 {
    margin: 0px 0px 24px;
}

.bap-username .bap-content-username #line2 {
    color: var(--blue-900);
    font-family: var(--castledown-heavy);
    font-size: var(--font-body-lg);
    line-height: var(--line-lg);
    margin: 24px 0px 4px;
    word-break: break-all;
    word-break: break-word;
}

.bap-username .bap-content-username #reset-password-button  {
    background-color: var(--blue-500);
    border: 2px solid var(--blue-500);
    border-radius: 8px;
    color: white;
    display: block;
    font-family: var(--castledown-heavy);
    font-size: var(--font-body-sm);
    line-height: var(--line-sm);
    margin: 0px auto;
    padding: 16px 24px;
    text-transform: capitalize;
    width: 100%;
}

@media screen and (min-width: 768px) {

    .bap-username .bap-content-username #line2 {
        font-size: var(--font-body-5xl);
        line-height: var(--line-5xl);
    }

    .bap-username .bap-content-username #reset-password-button {
        width: auto;
        padding: 16px 32px;
        margin: 0px 0px 0px auto;
    }

    .bap-username .bap-content-username #line1,
    .bap-username .bap-content-username #line3 {
        font-size: var(--font-body-md);
        line-height: var(--line-md);
    }
}

/* ==== BEGIN OF BAP-USERNAME STYLES ========================================= */



/* BEGIN OF BAP-SUBSIDY-EMPLOYER-FORM STYLES ================================ */

.bap-subsidy-employer-form {
    display: block;
    width: 100%;
}

.bap-subsidy-employer-form .k-input {
    border: none;
}

.bap-subsidy-employer-form .bap-form-actions .bap-button--primary {
    margin: 0 0 0 12px;
}
.bap-subsidy-employer-form .bap-form-actions .bap-button--secondary {
    margin: 0 12px 0 0;
}

.bap-subsidy-employer-form .k-input:focus,
.bap-subsidy-employer-form .k-input-inner:focus {
    box-shadow: none;
}

.bap-subsidy-employer-form .k-input:focus-within {
    border: none;
    box-shadow: none;
    outline: none;
}

.bap-subsidy-employer-form div[data-container-for="CompanyCode"] > div {
    margin-top: 16px;
}

.bap-subsidy-employer-form .bap-form-actions .submit-failure,
.bap-subsidy-employer-form .bap-form-actions .submit-success {
    visibility: hidden;
    width: 0;
    height: 0;
    font-size: 0;
    margin: 0;
    padding: 0;
}

.bap-segment {
    border: 2px solid var(--gray-300);
    border-radius: 8px;
    display: flex;
    font-size: 0;
    margin: 0 auto 24px;
    max-width: 100%;
    min-width: 220px;
    overflow: hidden;
    white-space: nowrap;
    width: -moz-fit-content;
    width: fit-content;
}

.bap-segment__option {
    display: inline-block;
    margin: 0;
    flex: 1 1 auto;
    overflow: hidden;
    position: relative;
    text-align: center;
    vertical-align: middle;
    max-width: 200px;
}

.bap-segment__option input {
    bottom: calc(100% + 1px);
    height: 1px;
    right: 100%;
    opacity: 0;
    position: absolute;
    width: 1px;
}

.bap-segment__option input:checked + label {
    background-color: var(--blue-500);
    color: white;
}

.bap-segment__option label {
    background-color: white;
    border-radius: 4px;
    color: var(--blue-900);
    cursor: pointer;
    display: inline-block;
    font-size: var(--font-body-md);
    font-family: var(--castledown-heavy);
    line-height: var(--line-md);
    text-overflow: ellipsis;
    overflow: hidden;
    padding: 16px 24px;
    transition: 200ms ease-out background-color;
    white-space: nowrap;
    width: 100%;
    will-change: background-color, color;

}

.bap-segment-container {
    display: block;
    width: 100%;
}

.bap-select-wrapper {
    position: relative;
}

.bap-select-wrapper::before {
    background-color: transparent;
    background-image: url('/assets/kcepp/images/down-arrow.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    content: '';
    height: 12px;
    position: absolute;
    right: 20px;
    transform: translateY(-50%);
    top: 50%;
    width: 16px;
    z-index: -1;
}

.bap-select-wrapper select {
    background-color: transparent;
    color: var(--blue-900);
    padding-right: 40px;
}


@media screen and (min-width: 768px) {
    .bap-subsidy-employer-form .bap-form-actions {
        justify-content: flex-start;
        margin: 32px auto 0;
        padding: 24px 0;
        position: relative;
        text-align: right;
    }

    .bap-subsidy-employer-form .bap-form-actions .bap-button--primary {
        flex: 0 0 auto;
        /* margin: 0 0 0 12px !important; */
    }
    .bap-subsidy-employer-form .bap-form-actions .bap-button--secondary {
        flex: 0 0 auto;
        /* margin: 0 12px 0 0 !important; */
    }
}

/* END OF BAP-SUBSIDY-EMPLOYER-FORM STYLES ================================== */



/* FAMILY MEMBERS STYLES ==================================================== */

.bap-contact-card {
    border: 2px solid var(--gray-300);
    border-radius: 16px;
    display: block;
    margin: 0 0 16px;
    overflow: hidden;
    padding: 16px;
    position: relative;
}

.bap-contact-card__action a {
    display: inline-block;
}

.bap-contact-card__action a::after {
    content: ' ';
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.bap-contact-card__action img {
    max-height: 32px;
    max-width: 32px;
}

.bap-contact-card__content {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.bap-contact-card__information {
    flex: 1 1 auto;
    margin: 0px 16px 0px 16px;
}

.bap-contact-card__information p {
    font-family: var(--castledown-heavy);
    font-size: var(--font-body-sm);
    line-height: var(--line-sm);
    margin: 0px 0px 4px;
}

.bap-contact-card__icons img {
    height: 14px;
    width: 14px;
    margin: 4px 12px 4px 0px;
}

.bap-account-status .wrapper {
    border-radius: 8px;
    display: inline-block;
    padding: 4px 8px;
}

.bap-account-status .wrapper div,
.bap-account-status .wrapper img {
    display: inline-block;
}

.bap-account-status--active .wrapper{
    background-color: transparent;
}

.bap-account-status--active .bap-account-status__indicator {
    background-color: var(--green-500);
}

.bap-account-status--pending .wrapper {
    background-color: var(--yellow-100);
}

.bap-account-status--pending .bap-account-status__indicator {
    background-color: var(--yellow-500);
}

.bap-account-status__indicator {
    background-color: var(--gray-300);
    border-radius: 50%;
    height: 8px;
    margin-right: 4px;
    width: 8px;
}

.bap-account-status__text {
    font-family: var(--castledown-bold);
    font-size: var(--font-body-2xs);
    line-height: var(--line-2xs);
}

.bap-account-status img {
    height: 14px;
    margin-left: 4px;
    width: 14px;
}

@media screen and (min-width: 768px) {
    .bap-contact-card {
        padding: 32px;
    }

    .bap-contact-card__information p {
        font-size: var(--font-body-lg);
        line-height: var(--line-lg);
    }

    .bap-account-status__text {
        font-size: var(--font-body-sm);
        line-height: var(--line-sm);
    }

    .bap-contact-card__avatar {
        height: 64px;
        width: 64px;
    }

    .bap-contact-card__content .bap-contact-card__avatar p {
        font-size: var(--font-body-4xl);
        line-height: var(--line-4xl);
        margin: 7px 5px;
    }
}

/* END OF FAMILY MEMBERS STYLES ============================================= */



/* BALANCE-CARD STYLES ====================================================== */

.bap-balance-card {
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    margin-bottom: 24px;
    overflow: hidden;
}

.bap-balance-card__body,
.bap-balance-card__head {
    padding: 16px;
}

.bap-balance-card__empty-message {
    background-color: var(--gray-100);
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    padding: 12px 16px;
}

.bap-balance-card__empty-message p {
    color: var(--gray-900);
    font-family: var(--castledown-bold);
    font-size: var(--font-body-sm);
    line-height: var(--line-sm);
    margin: 0;
}

.bap-balance-card__head {
    background-color: var(--gray-200);
    display: flex;
    justify-content: space-between;
}

.bap-balance-card__head small {
    font-size: var(--font-body-2xs);
    line-height: var(--line-2xs);
    font-family: var(--castledown-bold);
}

.bap-balance-card__head p {
    font-family: var(--castledown-heavy);
    font-size: var(--font-body-md);
    line-height: var(--line-md);
    margin: 0;
    padding-right: 1rem;
}

.bap-balance-card__cycle {
    flex: 1 1 auto;
}

.bap-balance-card__rollup {
    border: none;
    padding: 12px 0;
}

.bap-balance-card__rollup[open] .bap-balance-card__rollup-head div:last-of-type img {
    transform: rotate(-180deg);
}

.bap-balance-card__rollup-head {
    align-items: center;
    display: flex;
    margin: 0 0 1rem;
    padding: 0;
}

.bap-balance-card__rollup-head::-webkit-details-marker {
    display: none;
}

.bap-balance-card__rollup-head::after {
    all: unset;
}

.bap-balance-card__rollup-head div:nth-last-of-type(2) {
    flex: 1 1 auto;
    padding: 0 1rem 0 0;
}

.bap-balance-card__rollup-head div:last-of-type {
    flex: 0 0 auto;
}

.bap-balance-card__rollup-head div:last-of-type img {
    vertical-align: top;
    margin-left: 0.5rem;
    transition: 0.25s ease-in-out transform;
    width: 16px;
}

.bap-balance-card__rollup-head div:last-of-type span {
    font-family: var(--castledown-heavy);
    font-size: var(--font-body-xs);
    line-height: var(--line-xs);
}

.bap-balance-card__rollup-head p {
    font-family: var(--castledown-bold);
    font-size: var(--font-body-sm);
    line-height: var(--line-sm);
    margin: 0;
}

.bap-balance-card__rollup-head small {
    font-family: var(--castledown-regular);
    font-size: var(--font-body-2xs);
    line-height: var(--line-2xs);
}

.bap-balance-card__rollup-head .bap-avatar {
    margin-right: 0.5rem;
}

.bap-balance-card__total {
    flex: 0 0 auto;
    display: none;
}

.bap-invoice {
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    margin-bottom: 0.5rem;
}

.bap-invoice:last-of-type {
    margin-bottom: 0;
}

.bap-invoice__summary {
    padding: 0.75rem 1rem;
}

.bap-invoice__details {
    background-color: var(--gray-100);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    padding-bottom: 0;
    padding-top: 0;
}

.bap-invoice__details:only-child {
    border-radius: 10px;
}

.bap-invoice__line-item {
    border-bottom: 2px solid var(--gray-200);
    padding: 0.875rem 1rem;
}

.bap-invoice__line-item:last-of-type {
    border-bottom: none;
}

.bap-invoice__line-item a {
    margin: 0 2px;
}

.bap-invoice__line-item [class^="bap-invoice__line-item-"] img {
    height: 12px;
    margin-right: 2px;
    vertical-align: baseline;
}

.bap-invoice__line-item .bap-chip {
    margin: 16px 0 0;
}

.bap-invoice__line-item-cycle,
.bap-invoice__line-item-date,
.bap-invoice__line-item-title {
    margin: 0 0 2px;
}

.bap-invoice__line-item-cycle,
.bap-invoice__line-item-date {
    color: var(--gray-700);
}

.bap-invoice__line-item-cycle,
.bap-invoice__line-item-title {
    font-size: var(--font-body-xs);
    line-height: var(--line-xs);
}

.bap-invoice__line-item-date {
    display: block;
    font-size: var(--font-body-2xs);
    line-height: var(--line-2xs);
}

.bap-invoice__line-item-details {
    align-items: flex-start;
    display: flex;
    justify-content: space-between;
}
.bap-invoice__line-item-details > div:first-of-type {
    flex: 1 1 auto;
}

.bap-invoice__line-item-details > div:last-of-type {
    flex: 0 0 auto;
    margin-left: 0.5rem;
}

.bap-invoice__line-item-details > div:last-of-type span {
    color: black;
    font-family: var(--castledown-bold);
    font-size: var(--font-body-xs);
    line-height: var(--line-xs);
}

.bap-invoice__line-item-title {
    color: black;
    font-family: var(--castledown-bold);
}

.bap-invoice__summary {
    align-items: center;
    background-color: var(--gray-200);
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    display: flex;
    justify-content: space-between;
}

.bap-invoice__summary-description {
    flex: 1 1 auto;
}

.bap-invoice__summary-description p {
    margin: 0;
    color: black;
    font-size: var(--font-body-xs);
    font-family: var(--castledown-bold);
    line-height: var(--line-xs);
}

.bap-invoice__summary-description span {
    color: var(--gray-700);
    font-size: var(--font-body-2xs);
    line-height: var(--line-2xs);
}

.bap-invoice__summary-total {
    color: black;
    flex: 0 0 auto;
    font-family: var(--castledown-heavy);
    font-size: var(--font-body-md);
    line-height: var(--line-md);
    margin-left: 0.5rem;
}


@media (pointer: coarse), (hover: none) {
    .k-icon.tooltip-visible {
        font: unset;
        overflow: unset;
    }

    .bap-invoice__line-item [title].tooltip-visible,
    #credit-subtext {
        position: relative;
    }

    .bap-invoice__line-item [title].tooltip-visible::before,
    #credit-subtext.tooltip-visible::before {
        background-color: transparent;
        content: '';
        height: 100%;
        left: 0;
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 1;
    }

    .bap-invoice__line-item [title].tooltip-visible::after,
    #credit-subtext.tooltip-visible::after {
        animation-delay: 0s;
        animation-direction: normal;
        animation-duration: 0.25s;
        animation-fill-mode: forwards;
        animation-iteration-count: 1;
        animation-name: fade-in-up;
        animation-timing-function: ease-in-out;
        background-color: var(--gray-900);
        border-radius: 4px;
        content: attr(title);
        color: var(--gray-100);
        padding: 8px 16px;
        position: absolute;
        top: 110%;
        left: 0;
        width: 50vw;
        word-wrap: break-word;
        z-index: 2;
    }
}

@media screen and (min-width: 768px) {
    .bap-balance-card__body,
    .bap-balance-card__head {
        padding: 24px;
    }

    .bap-balance-card__head small {
        font-size: var(--font-body-xs);
        line-height: var(--line-xs);
    }

    .bap-balance-card__head p {
        font-size: var(--font-body-3xl);
        line-height: var(--line-3xl);
    }

    .bap-balance-card__rollup-head div:last-of-type img {
        vertical-align: text-top;
    }

    .bap-balance-card__rollup-head div:last-of-type span {
        font-size: var(--font-body-2xl);
        line-height: var(--line-2xl);
    }

    .bap-balance-card__rollup-head p {
        font-size: var(--font-body-md);
        line-height: var(--line-md);
    }

    .bap-balance-card__rollup-head small {
        font-size: var(--font-body-xs);
        line-height: var(--line-xs);
    }
}

/* END OF BALANCE-CARD STYLES =============================================== */



/* ==== BAP-PASSWORD-RESET-REQUEST-FORM STYLES ============================== */

.bap-request-password-reset-form .k-label.k-form-label {
    color: var(--blue-900);
    display: block;
    font-family: var(--castledown-bold);
    font-size: var(--font-body-xs);
    line-height: var(--line-xs);
    margin: 0 0 4px;
}

/* ==== END OF BAP-PASSWORD-RESET-REQUEST-FORM STYLES ======================= */



/* ==== BAP-PASSWORD-FORM STYLES ============================================ */

.bap-password-form .k-form-buttons  {
    z-index: 999;
}

.bap-password-form .k-form-buttons .bap-button.bap-button--primary {
    margin-right: 0;
    width: 100%;
}

.bap-password-form .k-form-buttons .submit-failure,
.bap-password-form .k-form-buttons .submit-success {
    display: none;
    margin: 0;
    font-size: 0;
    opacity: 0;
    padding: 0;
    position: absolute;
    left: -99999999;
    top: -9999999999;
}

.bap-password-form .k-form-field:first-of-type {
    margin-bottom: 24px;
}

.bap-password-form .k-input {
    border-radius: 8px;
    border: 2px solid var(--gray-300);
    align-items: center;
}

.bap-password-form .k-input input[type='text'],
.bap-password-form .k-input input[type='password'] {
    -webkit-appearance: none;
    appearance: none;
    border-style: none;
    font-size: var(--font-body-sm);
    line-height: var(--line-sm);
    margin: 0;
    padding: 16px 0 16px 24px;
    position: relative;
    width: 100%;
}

.bap-password-form .k-input input ~ span.k-icon {
    background-color: transparent;
    display: inline-block;
    font-size: 20px;
    padding: 0;
    margin-right: 20px;
}

.bap-password-form .k-progressbar {
    border: 0;
    height: 4px;
}

.bap-password-form .k-progressbar[aria-valuenow='1'] .k-state-selected {
    background-color: var(--red-500);
    border-color: var(--red-500);
}

.bap-password-form .k-progressbar[aria-valuenow='2'] .k-state-selected {
    background-color: var(--orange-500);
    border-color: var(--orange-500);
}

.bap-password-form .k-progressbar[aria-valuenow='3'] .k-state-selected {
    background-color: var(--green-500);
    border-color: var(--green-500);
}

.bap-password-form .k-progressbar .k-state-selected {
    top: 0;
    transition: 0.5s ease-in-out all;
}

.bap-password-form .k-progressbar .k-progressbar-horizontal {
    position: relative;
}

.bap-password-form .k-progress-status-wrap {
    position: absolute;
    top: 110%;
    right: 0;
}


@media screen and (min-width: 768px) {
    .bap-password-form .k-form-buttons .bap-button.bap-button--primary {
        width: auto;
    }
}
/* ==== END OF BAP-PASSWORD-FORM STYLES ===================================== */



/* ==== BAP-ADD-PAYMENT-METHOD STYLES ======================================= */

#bap-add-payment-method,
#bap-add-payment-method-iframe,
#bap-add-payment-method-iframe iframe {
    width: 100%;
}

#bap-add-payment-method-iframe iframe {
    appearance: none;
    border: none;
    height: 1270px;
}

@media screen and (min-width: 320px) {
    #bap-add-payment-method-iframe iframe {
        height: 1230px;
    }
}

@media screen and (min-width: 500px) {
    #bap-add-payment-method-iframe iframe {
        height: 1200px;
    }
}

@media screen and (min-width: 768px) {
    #bap-add-payment-method-iframe iframe {
        height: 1040px;
    }
}

/* ==== END OF BAP-ADD-PAYMENT-METHOD STYLES ================================ */
