:root {
    /* Colors */
    --menu-background-color: hsl(44, 58%, 96%);
    --menu-text-color: #102E41;
    --link-color: #2B596D;
    --blue-background-color: #49ABD7;
    --error: #DC3C3A;
    --error-tint: #FFF1F0;
    --blue-100: #e0f2fa;
    --blue-200: #90caf9;
    --blue-300: #a2d8f0;
    --blue-400: #42a5f5;
    --blue-500: #359dcc;
    --blue-600: #519cbe;
    --blue-700: #3e7b96;
    --blue-800: #2b596d;
    --blue-900: #102e41;
    --gray-100: #faf9f9;
    --gray-200: #f0eeec;
    --gray-300: #dedede;
    --gray-500: #a1a1a1;
    --gray-600: #828282;
    --gray-700: #616161;
    --gray-900: #1f1f1f;
    --green-50: #e2f8ef;
    --green-100: #c5f1df;
    --green-500: #16b774;
    --green-900: #114b33;
    --orange-50: #fbf8f0;
    --orange-100: #ffe0b2;
    --orange-500: #ff8c24;
    --orange-900: #d24905;
    --red-100: #fff1f0;
    --red-500: #dc3c3a;
    --red-900: #a40000;
    --yellow-100: #ffe7ad;
    --yellow-500: #ffb60a;
    --yellow-900: #6b4b00;

    /* Font Families */
    --castledown-regular: 'CastleDown Regular', sans-serif;
    --castledown-bold: 'CastleDown Bold', sans-serif;
    --castledown-heavy: 'CastleDown Heavy', sans-serif;

    /* Font Sizes and line heights */
    --font-body-2xs: 12px;
    --font-body-xs: 14px;
    --font-body-sm: 16px;
    --font-body-md: 18px;
    --font-body-lg: 20px;
    --font-body-xl: 22px;
    --font-body-2xl: 24px;
    --font-body-3xl: 28px;
    --font-body-4xl: 30px;
    --font-body-5xl: 32px;
    --font-body-6xl: 36px;
    --font-body-7xl: 42px;
    --font-body-8xl: 48px;
    --font-body-9xl: 60px;
    --line-2xs: 18px;
    --line-xs: 21px;
    --line-sm: 22px;
    --line-md: 27px;
    --line-lg: 30px;
    --line-xl: 33px;
    --line-2xl: 36px;
    --line-3xl: 42px;
    --line-4xl: 45px;
    --line-5xl: 48px;
    --line-6xl: 54px;
    --line-7xl: 63px;
    --line-8xl: 72px;
    --line-9xl: 90px;
}

/** Adding fonts **/
@font-face {
    font-family: "CastleDown Regular";
    src: url('../fonts/castledown-regular.otf');
}

@font-face {
    font-family: "CastleDown Heavy";
    src: url('../fonts/castledown-heavy.otf');
}

@font-face {
    font-family: "CastleDown Bold";
    src: url('../fonts/castledown-bold.otf');
}

body {
    color: var(--blue-900);
    display: flex;
    flex-direction: column;
    font-family: "CastleDown Regular", sans-serif;
    font-size: 16px;
    min-height: 100%;
}

body #app {
    display: flex;
    flex: 1 0 auto;
    flex-direction: column;
}

html {
    height: 100%;
    word-break: break-all;
    word-break: break-word;
}

footer.page-footer {
    display: inline-block;
    width: 100%;
}

main.maincontent {
    display: flex;
    flex: 1 0 auto;
    flex-direction: column;
}


/* UTILITIES ================================================================ */

.align-left {
    text-align: left;
}

body .centered {
    text-align: center;
    justify-content: center;
}

body .opacity-none {
    opacity: 0;
}

body .opacity-full {
    opacity: 1;
}

body .d-block {
    display: block;
}

body .d-none {
    display: none !important;
}

body .m-0 {
    margin: 0;
}

.text-underline {
    text-decoration: underline;
}

.no-scroll {
    margin: 0;
    height: 100%;
    overflow: hidden;
}

/* END OF UTILITIES ========================================================= */



/* GENERAL / GLOBAL RULES =================================================== */

a {
    color: var(--blue-800);
}

details,
li,
p,
summary {
    font-size: var(--font-body-sm);
    line-height: var(--line-sm);
}

details {
    border-bottom: 1px solid var(--gray-300);
}

details[open] {
    padding-bottom: 16px;
}

details img {
    vertical-align: baseline;
    height: 24px;
}

details ol,
details ul {
    padding-left: 32px;
    margin: 8px 0;
}

details ol {
    list-style: decimal;
}

details ul {
    list-style: disc;
}

details summary {
    margin: 16px 0;
    font-family: var(--castledown-heavy);
}

details[open] summary::after {
    transform: rotate(90deg);
}

div[data-currency-input] {
    position: relative;
}

div[data-currency-input]::before {
    content: attr(data-currency-symbol);
    position: absolute;
    left: 16px;
    top: 45px;
    z-index: 1;
    font-size: inherit;
    line-height: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--blue-900);
    font-family: var(--castledown-heavy);
    font-weight: 900;
}

h2 {
    font-size: var(--font-body-xl);
    line-height: var(--line-xl);
    margin: 24px 0px 4px;
}

h3 {
    font-size: var(--font-body-md);
    line-height: var(--line-md);
    margin: 24px 0px 4px;
}

h4 {
    margin: 1rem 0;
}

hr {
    border: 0;
    border-top: 1px solid var(--gray-300);
    height: 1px;
    margin: 2rem 0;
}

hr.full-width {
    left: 50%;
    position: relative;
    transform: translateX(-50%);
    width: 100vw;
}

figure {
    text-align: center;
    margin: 2rem auto;
}

img {
    vertical-align: middle;
}

input[disabled],
input[disabled]~label[for],
input[disabled]~label[for]::before,
input[disabled]~label[for]::after,
.kc-input select:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

input[type="checkbox"],
input[type="radio"],
label[for] {
    cursor: pointer;
}

input[type="radio"]:disabled {
    visibility: hidden;
}

input[type="checkbox"] + label {
    margin-left: 0.5rem;
}

kc-tabs {
    display: block;
    max-width: 768px;
    margin: 0 auto;
}

p {
    margin: 4px 0px 16px;
}

p+ul {
    margin-top: -8px;
}

small {
    font-size: var(--font-body-2xs);
    line-height: var(--line-2xs);
}

small.footnote {
    display: block;
    margin-top: 32px;
    text-align: center;
}

summary {
    cursor: pointer;
    list-style: none;
    padding-right: 32px;
    position: relative;
}

summary::after {
    background-image: url('../images/forward-arrow.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 12px 16px;
    content: '';
    height: 22px;
    position: absolute;
    right: 0;
    top: 0;
    transition: 0.15s ease-in transform;
    width: 22px;
    will-change: transform;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.action-btn {
    -webkit-appearance: none;
    appearance: none;
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 18px;
    font-family: 'CastleDown Bold', sans-serif;
    line-height: 1;
    overflow: hidden;
    padding: 0;
    position: relative;
    white-space: nowrap;
}

.action-btn:last-of-type {
    margin-right: 0;
}

.action-btn img,
.action-btn span {
    display: inline-block;
    vertical-align: middle;
}

.action-btn span {
    color: var(--blue-900);
    display: none;
    font-size: var(--font-body-md);
    line-height: var(--line-md);
}

.action-btn img {
    height: 24px;
    width: 24px;
}

.action-btn--settings {
    padding-right: 0;
}

.action-btn--settings::after {
    background-image: url('../images/down-arrow.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    content: '';
    display: none;
    height: 8px;
    position: absolute;
    right: 0;
    top: calc(50% - 4px);
    width: 14px;
}

.bg-blue-100 {
    background-color: var(--blue-100);
}

.bg-orange-50 {
    background-color: var(--orange-50);
}

.component-message {
    display: block;
    margin: 2rem auto;
    max-width: 600px;
    text-align: center;
}

.component-message__illustration img {
    height: 80px;
}

.component-message__text h4 {
    font-size: var(--font-body-md);
    line-height: var(--line-md);
    font-family: var(--castledown-heavy);
    margin-bottom: 4px;
}

.component-message__text p {
    font-size: var(--font-body-xs);
    line-height: var(--line-xs);
    font-family: var(--castledown-regular);
}

.component-message__actions {
    margin: 24px 0 0;
}

.component-message__actions button.kc-button,
.component-message__actions a.kc-button {
    max-width: 240px;
}

.content-header {
    margin-bottom: 24px;
    overflow: hidden;
    text-align: center;
}

.content-header__label {
    font-size: 0;
    margin: 48px auto 0;
    max-width: calc(768px + 48px);
    padding: 0 24px;
    position: relative;
    white-space: nowrap;
}

.content-header__label>h1,
.content-header__label>h3 {
    font-family: var(--castledown-heavy);
    margin: 0;
    white-space: normal;
}

.content-header__label>h1:only-child,
.content-header__label>h3:only-child {
    max-width: none;
}

.content-header__label>h1,
.content-header__label>h3,
.content-header__label>img {
    display: inline-block;
    vertical-align: middle;
}

.content-header__label>h1 {
    font-size: var(--font-body-4xl);
    line-height: var(--line-4xl);
}

.content-header__label>h3 {
    font-size: var(--font-body-xl);
    line-height: var(--line-xl);
}

.content-header__label>h1~p,
.content-header__label>h3~p {
    white-space: normal;
}

.content-header__label>h1~p {
    font-size: var(--font-body-lg);
    line-height: var(--line-lg);
    margin: 16px 0 24px;
}

.content-header__label>h3~p {
    font-size: var(--font-body-sm);
    line-height: var(--line-sm);
    margin: 12px 0 24px;
}

.content-header__label>img {
    height: 40px;
    margin-top: -20px;
    position: relative;
    top: 0;
    width: 40px;
}

.content-header__label--family-profile>h1,
.content-header__label--family-profile>h3,
.content-header__label--landing-page>h1,
.content-header__label--landing-page>h3 {
    max-width: 70%;
}

.content-header__label--family-profile>img:first-of-type {
    right: 20px;
    top: -10px;
}

.content-header__label--family-profile>img:last-of-type {
    left: 16px;
    top: 10px;
}

.content-header__label--landing-page>img:first-of-type {
    right: 32px;
    top: 0px;
}

.content-header__label--landing-page>img:last-of-type {
    left: 14px;
    top: 10px;
}

.content-section {
    display: block;
    margin: 0 auto;
    max-width: calc(768px + 48px);
    /* <<< MAX CONTENT WIDTH PLUS PADDING */
    padding: 0 24px;
}



.footer {
    color: black;
    font-size: var(--font-body-2xs);
    line-height: var(--line-xs);
    margin-top: 40px;
    margin-bottom: 150px;
    text-align: center;
}

.footer__copyright {
    padding: 0 24px;
    margin-bottom: 1rem;
}

.footer__copyright p {
    margin: 0;
}

.footer__links {
    padding: 0 24px;
}

.footer__links a {
    color: black;
    margin: 0 1rem;
}

.kc-agreements-area {
    border-top: 1px solid var(--gray-300);
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
    left: 0;
    padding: 1.5rem 0;
    position: relative;
    width: 100%;
}

.kc-agreements-area .kc-input {
    margin: 0;
}

.kc-animate {
    animation-delay: 0s;
    animation-direction: normal;
    animation-duration: 0.25s;
    animation-fill-mode: forwards;
    animation-iteration-count: 1;
    animation-timing-function: ease-in-out;
}

.kc-animate--fade-in-bottom {
    animation-name: fade-in-bottom;
}

.kc-animate--fade-in-left {
    animation-name: fade-in-left;
}

.kc-animate--fade-in-right {
    animation-name: fade-in-right;
}

.kc-animate--fade-in-top {
    animation-name: fade-in-top;
}

.kc-animate--fade-ready {
    opacity: 0;
}

.kc-autopay-banner {
    background-color: var(--blue-300, hsl(198, 72%, 79%));
}

.kc-autopay-banner>p {
    color: var(--blue-800, #2B596D);
    font-family: var(--castledown-bold);
    font-size: var(--font-body-xs, 14px);
    line-height: var(--line-xs, 21px);
    font-weight: 500;
    margin: 0;
    padding: 0.5rem 1.5rem;
    text-align: center;
}

.kc-autopay-banner a {
    color: var(--blue-800, #2B596D);
}

.kc-autopay-banner strong {
    color: var(--blue-900, #102E41);
    font-family: var(--castledown-heavy);
}

.kc-autopay-card {
    border: 2px solid var(--gray-300);
    border-radius: 0.5rem;
    margin: 1rem 0;
    padding: 1rem;
    width: 100%;
}

.kc-autopay-card__row {
    display: flex;
    gap: 1rem;
}

.kc-autopay-card--exp-error .kc-autopay-card__card-details > span,
.kc-autopay-card--exp-warning .kc-autopay-card__card-details > span {
    font-family: var(--castledown-bold);
}

.kc-autopay-card--exp-error .kc-autopay-card__card-details > span {
    color: var(--red-500);
}

.kc-autopay-card--exp-warning .kc-autopay-card__card-details > span {
    color: var(--yellow-500);
}

.kc-autopay-card__actions,
.kc-autopay-card__body {
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
}

.kc-autopay-card__actions {
    flex: 0 0 auto;
}

.kc-autopay-card__actions a {
    margin-top: 0.25rem;
}

.kc-autopay-card__autopay-start small,
.kc-autopay-card__autopay-start span,
.ap-field small,
.ap-field span {
    display: block;
}

.kc-autopay-card__autopay-start small,
.ap-field small {
    color: var(--gray-600);
    font-size: var(--font-body-2xs);
    font-family: var(--castledown-bold);
    line-height: var(--line-2xs);
}

.kc-autopay-card__autopay-start span,
.ap-field span {
    font-size: var(--font-body-sm);
    line-height: var(--line-sm);
}

.kc-autopay-card__body {
    flex: 1 1 auto;
}

.kc-autopay-card__card-details p {
    align-items: center;
    column-gap: 0.5rem;
    display: flex;
    font-family: var(--castledown-bold);
    margin: 0;
}

.kc-autopay-card__card-details p:first-of-type {
    color: var(--gray-500);
    font-size: 1.5em;
}

.kc-autopay-card__card-details p span {
    color: var(--blue-900);
    font-size: var(--font-body-md);
    line-height: var(--line-md);
}

.kc-autopay-card__card-details span {
    font-size: var(--font-body-xs);
    line-height: var(--line-xs);
}

.kc-autopay-card__icon {
    flex: 0 0 auto;
}

.kc-autopay-card__icon img {
    height: 1.25rem;
    margin: 0.25rem 0.5rem 0 0;
    float: left;
}

.kc-autopay-card-status {
    align-items: center;
    display: flex;
    column-gap: 1rem;
}

.kc-autopay-card-status__icon {
    flex: 0 0 auto;
}

.kc-autopay-card-status__icon img {
    width: 26px;
}

.kc-autopay-card-status__text {
    flex: 1 1 auto;
    font-family: var(--castledown-heavy);
    font-size: var(--font-body-2xl);
    line-height: var(--line-2xl);
}

.kc-autopay-off-link {
    margin-top: -1rem;
}

.kc-autopay-prompt__actions {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin: 1rem auto 3rem;
    max-width: 480px;
}

.kc-autopay-prompt__actions .kc-button {
    flex: 1 1 auto;
}

.kc-autopay-prompt__actions .kc-button--primary {
    flex-grow: 2;
}

.kc-bulleted-list,
.kc-numbered-list {
    padding-left: 32px;
}

.kc-bulleted-list {
    list-style-type: disc;
    margin-bottom: 24px;
}

.kc-bulleted-list li {
    position: relative;
    line-height: 1.5;
}

.kc-bulleted-list li::marker {
    font-size: 14px;
}

.kc-button {
    -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;
}

.kc-button:first-child:not(:only-child) {
    margin-right: 6px;
}

.kc-button:last-child:not(:only-child) {
    margin-left: 6px;
}

.kc-button:only-child {
    display: block;
    margin: 0 auto;
    width: 100%;
}

.kc-button:not(:disabled):active {
    transform: scale(0.96);
    transition: 50ms ease-out transform;
}

.kc-button:disabled {
    opacity: 0.5;
}

.kc-button img {
    display: inline-block;
    vertical-align: baseline;
}

.kc-button--icon {
    background-color: transparent;
    border: none;
    border-radius: 0px;
    padding: 0;
    line-height: 1;
}

.kc-button--icon img {
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    width: 100%;
}

.kc-button--link {
    appearance: none;
    background-color: transparent;
    border: none;
    color: var(--blue-800);
    cursor: pointer;
    font-size: 1rem;
    margin: 0 0 0 auto;
    padding: 0;
    text-decoration: underline;
}

.kc-button--transparent-light {
    border: 2px solid var(--blue-800);
    color: var(--blue-800);
    background-color: transparent;
}

.kc-button--primary {
    background-color: var(--blue-500);
    border-color: var(--blue-500);
    color: white;
}

.kc-button--primary:not(:disabled):active {
    background-color: var(--blue-700);
    border-color: var(--blue-700);
}

.kc-button--secondary {
    background-color: white;
    border: 2px solid var(--blue-900);
    color: var(--blue-900);
}

.kc-button--secondary:not(:disabled):active {
    background-color: var(--gray-200);
}

.kc-button--standalone:only-child {
    display: block;
    margin: 0 0 0 auto;
    width: auto;
}

.kc-button--loading {
    color: transparent;
    position: relative;
}

.kc-button--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%;
}

.kc-card,
.kc-user {
    border: 2px solid var(--gray-300);
    border-radius: 0.5rem;
    column-gap: 0.5rem;
    display: flex;
    margin: 0;
    overflow: hidden;
    padding: 1rem;
    width: 100%;
}

.kc-card:not(:last-of-type) {
    margin-bottom: 1rem;
}

.kc-card__actions,
.kc-card__icon {
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
}

.kc-card__body {
    flex: 1 1 auto;
}

.kc-card__body-columns {
    column-gap: 4rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    margin-bottom: 1rem;
    row-gap: 1rem;
}

.kc-card__body-columns:last-child {
    margin-bottom: 0;
}

.kc-card__body-row {
    margin: 0.5rem 0;
}

.kc-card__body-row:last-of-type {
    margin-bottom: 0;
}

.kc-card__icon img {
    max-width: 32px;
}

.kc-card__actions--center,
.kc-card__icon--center {
    justify-content: center;
}

.kc-card__label,
.kc-card__sub-text,
.kc-card__text,
.kc-card__title {
    display: block;
}

.kc-card__label {
    color: var(--gray-600);
    font-size: var(--font-body-2xs);
    font-family: var(--castledown-bold);
    line-height: var(--line-2xs);
}

.kc-card__label + .kc-card__text {
    margin-top: 0;
}

.kc-card__sub-text {
    font-size: var(--font-body-xs);
    line-height: var(--line-xs);
    margin: 4px 0px 16px;
}

.kc-card__text {
    font-size: var(--font-body-sm);
    line-height: var(--line-sm);
    margin: 4px 0px 16px;
}

.kc-card__sub-text:last-child,
.kc-card__text:last-child {
    margin-bottom: 0;
}

.kc-card__title {
    font-family: var(--castledown-heavy);
    font-size: var(--font-body-md);
    line-height: var(--line-md);
    margin: 1rem 0 0.5rem;
}

.kc-card__title:first-child,
.kc-card__title-xl:first-child {
    margin-top: 0;
}

.kc-card__title:only-child {
    margin-bottom: 0;
}

.kc-card__title-xl {
    font-size: var(--font-body-2xl);
    margin-bottom: 1rem;
}

.kc-card--border-0 { border-color: #1565c0; }
.kc-card--border-1 { border-color: #ffe0b2; }
.kc-card--border-2 { border-color: #1976d2; }
.kc-card--border-3 { border-color: #ff9800; }
.kc-card--border-4 { border-color: #42a5f5; }
.kc-card--border-5 { border-color: #bbdefb; }
.kc-card--border-6 { border-color: #90caf9; }

.kc-card--center-info {
    border-radius: 1rem;
    border-width: 0.75rem;
}

.kc-card--selectable {
    position: relative;
    padding-right: 3rem;
}

.kc-card--selectable::before {
    border: 2px solid var(--gray-300);
    border-radius: 50%;
    content: '';
    height: 1.25rem;
    right: 1rem;
    position: absolute;
    top: 1rem;
    width: 1.25rem;
}

.kc-card--selectable input {
    height: 1px;
    opacity: 0;
    position: absolute;
    right: 100%;
    top: 100%;
    width: 1px;
}

.kc-card--selectable label::before {
    content: '';
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.kc-card--selected {
    background-color: var(--green-50);
    border-color: var(--green-500);
}

.kc-card--selected::before {
    background-image: url('/assets/kcepp/images/check-icon.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border: none;
    content: '';
    height: 1.25rem;
    right: 1rem;
    position: absolute;
    top: 1rem;
    width: 1.25rem;
}

.kc-children {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 0 0 1.5rem;
}

.kc-child-card,
.kc-child-card__inner {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.kc-child-card {
    -webkit-appearance: none;
    appearance: none;
    border: 0.5rem solid red;
    border-radius: 0.75rem;
    box-shadow: 0 0 1px 0px hsla(0, 0%, 0%, 0.5);
    color: var(--blue-900);
    min-height: 125px;
    overflow: hidden;
    padding: 0.75rem;
    text-decoration: none;
    transform: scale(1);
    transition: 0.15s ease-in-out transform;
}

.kc-child-card:active {
    transform: scale(0.95);
    transition: 0.05s ease-in-out transform;
}

.kc-child-card--bg-0 { border-color: var(--blue-500); }
.kc-child-card--bg-1 { border-color: var(--orange-500); }
.kc-child-card--bg-2 { border-color: var(--blue-400); }
.kc-child-card--bg-3 { border-color: var(--orange-100); }
.kc-child-card--bg-4 { border-color: var(--blue-400); }
.kc-child-card--bg-5 { border-color: var(--blue-100); }
.kc-child-card--bg-6 { border-color: var(--blue-200); }

.kc-child-card__age,
.kc-child-card__status {
    font-size: var(--font-body-xs);
    line-height: var(--line-xs);
    margin: 0;
}

.kc-child-card__inner {
    row-gap: 0.25rem;
    max-width: 100%;
}

.kc-child-card__name {
    font-size: var(--font-body-md);
    line-height: var(--line-md);
    margin: 0;
    max-width: 100%;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.kc-child-card__status {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kc-child-card--cta,
.kc-child-card--cta .kc-child-card__inner {
    align-items: center;
}

.kc-child-card--cta {
    background-color: var(--blue-500);
    border: none;
    color: white;
}

.kc-child-card--cta .kc-child-card__inner {
    row-gap: 0.5rem;
    text-align: center;
}

.kc-child-card--cta img {
    height: 44px;
}

.kc-child-card--cta small {
    font-family: var(--castledown-heavy);
    font-size: var(--font-body-xs);
    line-height: var(--line-xs);
}

.kc-chip {
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.kc-chip input {
    position: absolute;
    top: 100%;
    right: 100%;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.kc-chip input + label {
    margin: 0;
}

.kc-chip input:checked + label {
    background-color: var(--blue-900);
    border-color: var(--blue-900);
    color: white;
}

.kc-chip label {
    border: 2px solid var(--gray-300);
    border-radius: 0.5rem;
    color: var(--blue-900);
    font-family: var(--castledown-heavy);
    font-size: var(--font-body-sm);
    line-height: var(--line-sm);
    display: inline-block;
    padding: 1rem 2rem;
}

.kc-chip-wrapper {
    display: flex;
    flex-wrap: wrap;
    row-gap: 1rem;
    column-gap: 1rem;
}

.kc-cta-wrapper {
    column-gap: 1rem;
    display: flex;
    justify-content: center;
    margin: 1.5rem 0;
}

.kc-cta-wrapper--column {
    flex-direction: column;
    row-gap: 1.5rem;
}

.kc-cta-wrapper--left {
    justify-content: left;
}

.kc-cta-wrapper--right {
    justify-content: right;
}

/* TODO: replace all default button margin styles, let the container handle it */
.kc-cta-wrapper a.kc-button.kc-button--primary,
.kc-cta-wrapper a.kc-button.kc-button--secondary {
    margin: 0;
}

.kc-form {
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
}

.kc-form[name="autopayEnrollmentForm"] {
    margin-top: 1.5rem;
}

.kc-form[name="backupCareEmailValidation"] {
    margin-bottom: 1rem;
}

.kc-form .content-section {
    width: 100%;
}

.kc-form .section-header:first-child {
    margin-top: 0;
}

.kc-form__extra-fields {
    margin-bottom: 2rem;
}

.kc-form__actions {
    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;
}

.kc-form__actions .kc-button {
    flex: 1 0 calc(50% - 12px);
    vertical-align: middle;
}

.kc-form__group,
.kc-form__row,
.kc-form__section-title {
    display: block;
}

.kc-form__row--multicolumn {
    display: flex;
    column-gap: 1rem;
}

.kc-form__row--wide-multicolumn {
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
}

.kc-form__row-column {
    width: 100%;
}

.kc-form__section-title p {
    margin: 0;
}

.kc-form__section-title:first-child h2,
.kc-form__section-title:first-child h3 {
    margin-top: 0;
}

.kc-info-panel {
    border-radius: 16px;
    display: flex;
    align-items: flex-start;
    margin: 1rem 0px 1.5rem;
    padding: 1rem;
}


.kc-info-panel ::marker {
    font-size: 0.75rem;
    line-height: 1;
}

.kc-info-panel>div {
    flex: 1 1 auto;
    font-family: var(--castledown-bold);
}

.kc-info-panel>div * {
    color: inherit;
}

.kc-info-panel>img {
    flex: 0 0 auto;
    margin-right: 16px;
    width: 24px;
}

.kc-info-panel a {
    font-family: var(--castledown-bold);
}

.kc-info-panel h4:first-child {
    font-family: var(--castledown-heavy);
    font-size: var(--font-body-md);
    line-height: var(--line-md);
    margin-top: 0;
}

.kc-info-panel img.kc-info-panel__icon--xs {
    width: 16px;
}

.kc-info-panel img.kc-info-panel__icon--sm {
    width: 24px;
}

.kc-info-panel img.kc-info-panel__icon--md {
    width: 32px;
}

.kc-info-panel img.kc-info-panel__icon--lg {
    width: 48px;
}

.kc-info-panel li {
    padding-left: 0.25rem;
}

.kc-info-panel ul {
    list-style-type: disc;
    list-style-position: outside;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.kc-info-panel p:only-child {
    font-family: var(--castledown-bold);
    margin: 0;
}

.kc-info-panel.kc-info-panel--error>div {
    color: var(--red-900);
}

.kc-info-panel.kc-info-panel--info>div {
    color: var(--blue-900);
}

.kc-info-panel.kc-info-panel--success>div {
    color: var(--green-900);
}

.kc-info-panel.kc-info-panel--warning>div {
    color: var(--yellow-900);
}

.kc-info-panel--error {
    background-color: var(--red-100);
}

.kc-info-panel--primary,
.kc-info-panel--info {
    background-color: var(--blue-100);
}

.kc-info-panel--success {
    background-color: var(--green-100);
}

.kc-info-panel--warning {
    background-color: var(--yellow-100);
}

.kc-info-panel .kc-button--icon {
    flex: 0 0 auto;
    margin: 0;
    width: 24px;
}

.kc-info-panel .kc-button--icon img {
    margin: 0;
}

.kc-input {
    border: 2px solid var(--gray-300);
    border-radius: 0.5rem;
    background-color: white;
    display: block;
    text-align: left;
}

.kc-input input[type="number"],
.kc-input input[type="text"],
.kc-input input[type="password"],
.kc-input input[type="date"],
.kc-input select {
    -webkit-appearance: none;
    appearance: none;
    background-color: white;
    border: none;
    border-radius: 0.5rem;
    display: block;
    font-size: var(--font-body-sm);
    line-height: var(--line-sm);
    padding: 1rem 1.5rem;
    position: relative;
    width: 100%;
}

.kc-input input[type="date"] {
    min-height: 56px;
}

.kc-input input[type="number"] {
    -moz-appearance: textfield;
}

.kc-input input::-webkit-outer-spin-button,
.kc-input input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

.kc-input input[readonly]:disabled, .kc-input select:disabled {
    background-color: var(--gray-200);
    color: var(--gray-600);
}

.kc-input input[readonly][data-faux-readonly]:not([value]),
.flatpickr-input + input[readonly]:not(:disabled) {
    background-color: white;
    color: var(--blue-900);
}

.kc-input input::-webkit-date-and-time-value {
    color: var(--blue-900);
    text-align: left;
}

.kc-input ~ small {
    display: block;
    font-size: var(--font-body-xs);
    line-height: var(--line-xs);
    margin-top: 0.25rem;
}

.kc-input--checkbox {
    border: none;
    margin-bottom: 1rem;
}

.kc-input--checkbox.kc-input--error {
    color: var(--blue-900);
}

.kc-input--custom-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    position: relative;
    padding: 1rem 1.5rem;
    transition: all .3s ease-in-out;

}

.kc-input--custom-checkbox:not(:has(~ .kc-input--custom-checkbox)) {
    margin-bottom: 0;
}

.kc-input--custom-checkbox input[type='checkbox'] {
    border-radius: 50%;
    appearance: none;
    width: 1em;
    height: 1em;
    border-style: solid;
    border-color: var(--gray-300);
    position: relative;
    margin-right: 16px;
    transition: all .3s ease-in-out;
}

.kc-input--custom-checkbox input[type='checkbox']:after {
    content: '';
    background-color: transparent;
    position: absolute;
    left: 50%;
    top: 50%;
    width: 70%;
    height: 70%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all .3s ease-in-out;
}

.kc-input--custom-checkbox:has(input[type='checkbox']:checked) {
    border-color: dodgerblue;
}

.kc-input--custom-checkbox input[type='checkbox']:checked {
    border-color: dodgerblue;
}

.kc-input--custom-checkbox input[type='checkbox']:checked:after {
    background-color: dodgerblue;
}

.kc-input--custom-checkbox label {
    margin: 0 16px 0 0;
}

.kc-input--custom-checkbox label:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    cursor: pointer;
}

.kc-input--error,
.kc-input--error input,
.kc-input--error input::-webkit-date-and-time-value {
    border-color: var(--red-500);
    color: var(--red-500);
    outline-color: var(--red-500);
}

.kc-input--search-icon {
    position: relative;
}

.kc-input--search-icon::before {
    background-image: url('/assets/kcepp/images/kc-magnifying-glass-dark.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 16px 16px;
    content: '';
    height: 18px;
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
}

.kc-input--search-icon input[type] {
    padding-right: 3rem;
}

.kc-input--select {
    position: relative;
    z-index: 1;
}

.kc-input--select::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;
}

.kc-input--select select {
    background-color: transparent;
    color: var(--blue-900);
    padding-right: 40px;

}

.kc-input--password {
    display: flex;
    align-items: center;
}

.kc-input-errors span {
    color: var(--red-500);
    display: block;
    font-size: var(--font-body-xs);
    line-height: var(--line-xs);
    margin: 0.25rem 0 0.75rem;
}

.char-count {
    font-size: var(--font-body-xs);
    color: var(--gray-600);
    float: right;
    margin: 0.25rem 0 0.75rem;
    text-align: right;
    width: 20%;
}

.kc-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: var(--font-body-xs);
    line-height: var(--line-xs);
}

.kc-loading-overlay {
    align-content: center;
    background-color: rgba(255, 255, 255, 0.6);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    display: flex;
    height: 100%;
    justify-content: center;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10000;
}

.kc-loading-overlay img {
    width: 64px;
}

.kc-modal {
    background-color: transparent;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    left: 0;
    overflow: hidden;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9002;
}

.kc-modal::before {
    background-color: rgba(0, 0, 0, 0.3);
    content: '';
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
}

.kc-modal__actions {
    align-items: center;
    border-top: 1px solid var(--gray-300);
    display: flex;
    justify-content: space-between;
    padding: 24px;
}

.kc-modal__actions button:only-child {
    flex: unset;
}

.kc-modal__actions button {
    flex: 1;
}

.kc-modal__body {
    height: calc(100% - 76px);
    overflow-y: auto;
    padding: 24px;
    text-align: center;
}

.kc-modal__body img {
    height: 100px;
    margin-bottom: 24px;
}

.kc-modal__body p,
.kc-modal__body label {
    font-size: var(--font-body-md);
    line-height: var(--line-md);
}

.kc-modal__body small {
    font-size: var(--font-body-xs);
    line-height: var(--line-xs);
}

.kc-modal__body ul {
    list-style: disc;
    margin: 24px 0;
    padding: 0 0 0 32px;
}

.kc-modal__body li {
    position: relative;
    padding-left: 4px;
}

.kc-modal__body .bottom-img {
    margin-inline: auto;
    display: block;
    margin-bottom: 0;
    margin-top: 25px;
}

.kc-modal__body .kc-form {
    margin: 0;
}

.kc-modal__body .new-feature {
    position: relative;
    padding: 4px 0 0 74px;
}

.kc-modal__body .new-feature::before,
.kc-modal__body .new-feature::after {
    content: '';
    width: 66px;
    height: 31px;
}

.kc-modal__body .new-feature::before {
    align-items: center;
    color: var(--blue-900);
    content: 'NEW!';
    display: inline-flex;
    font-weight: bold;
    justify-content: center;
    text-align: center;
    position: absolute;
    left: 0;
    top: 0;
}

.kc-modal__body .new-feature::after {
    background-color: var(--blue-500);
    content: '';
    left: 0;
    opacity: 0.27;
    position: absolute;
    top: 0;
    width: 66px;
}


.kc-modal__body .new-features-heading {
    padding-top: 24px;
}

.kc-modal__content {
    background-color: white;
    display: flex;
    flex-direction: column;
    height: 100%;
    left: 0;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 10;
}

.kc-modal__header {
    align-items: center;
    border-bottom: 1px solid var(--gray-300);
    display: flex;
    justify-content: space-between;
    padding: 24px;
}

.kc-modal__header button {
    flex: 0 0 24px;
    height: 24px;
    margin: 0;
    width: 24px;
}

.kc-modal__header p {
    font-family: var(--castledown-heavy);
    font-size: var(--font-body-md);
    line-height: var(--line-md);
    margin: 0;
    overflow: hidden;
    padding: 0 24px 0 0;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kc-modal--animate-in {
    animation-delay: 0s;
    animation-direction: normal;
    animation-duration: 0.25s;
    animation-fill-mode: forwards;
    animation-iteration-count: 1;
    animation-name: modal-fade-in;
    animation-timing-function: ease-in-out;
}

.kc-modal--compact {
    align-items: center;
}

.kc-modal--compact .kc-modal__content {
    border-radius: 0.5rem;
    height: auto;
    position: relative;
    top: initial;
    left: initial;
    max-height: 80vh;
    width: calc(100% - 3rem);
}

.kc-modal--compact .kc-modal__body {
    overscroll-behavior: contain;
}

.kc-modal--left-aligned .kc-modal__body {
    text-align: left;
    padding: 32px;
    height: auto;
}

.kc-modal--left-aligned .kc-modal__body p {
    margin: 0;
}

.kc-modal__body .kc-card .kc-card__body-row img {
    height: 32px;
    margin-bottom: 0px;
}

@media screen and (max-width: 1024px) {
    .kc-modal__body .kc-card__actions {
        width: 21%;
    }

    .kc-modal__body .kc-card__actions a {
        margin: 0rem !important;
    }
}

.kc-modal__body .kc-card__actions a {
    margin: 1rem 0.5rem 0 0;
    font-size: var(--font-body-xs);
}

.kc-modal__body .kc-card__actions .kc-button--icon {
    max-width: 100%;
    margin: 1rem 0 0 0rem;
}

.kc-modal__body .kc-card__actions img {
    height: auto;
    width: auto;
}

.kc-modal__body .kc-autopay-card__icon img {
    height: 1.25rem;
    margin: 0.25rem 0.5rem 0 0;
}

.kc-modal__body [data-element-type="kc-info-card"] img {
    height: 1.2rem;
    margin-bottom: 0px;
    margin-top: 2px;
}

.kc-modal__body .kc-card__text {
    font-size: var(--font-body-sm);
    line-height: var(--line-sm);
}

button[disabled] {
    cursor: not-allowed;
}

.kc-notice {
    background-color: var(--blue-100);
    border-radius: 16px;
    display: block;
    margin: 48px auto 32px;
    padding: 16px;
}

.kc-notice--make-payment {
    margin: 16px auto 16px;
}

.kc-notice__header {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.kc-notice__header h6,
.kc-notice__header img {
    display: inline-block;
    vertical-align: middle;
}

.kc-notice__header h6 {
    font-size: var(--font-body-md);
    line-height: var(--line-md);
    flex: 1 1 auto;
    font-weight: 600;
    margin: 0;
}

.kc-notice__header img {
    height: 40px;
    margin-right: 8px;
}

.kc-payment-method {
    align-items: center;
    column-gap: 0.5rem;
    display: flex;
    margin: 0;
}

.kc-payment-method__details {
    font-size: var(--font-body-sm);
}

.kc-payment-method__details p {
    margin: 0;
    font-family: var(--castledown-bold);
}

.kc-payment-method__details p span {
    color: var(--blue-900);
    font-size: var(--font-body-md);
    line-height: var(--line-md);
}

.kc-payment-method__details p:first-of-type {
    align-items: center;
    color: var(--gray-500);
    column-gap: 0.5rem;
    display: flex;
    font-size: 1.5em;
}

.kc-payment-method__icon {
    flex: 0 0 32px;
}

.kc-payment-method__icon img {
    width: 100%;
}

.kc-secure-notice {
    display: block;
    font-size: var(--font-body-2xs);
    line-height: var(--line-2xs);
    margin: 1.5rem 0;
}

.kc-secure-notice img {
    margin-right: 0.25rem;
    vertical-align: sub;
}

.kc-small--make-payment img {
    margin-right: 8px;
    vertical-align: sub;
    width: 16px;
}

.kc-state-message {
    text-align: center;
    margin: 2rem 0;
}

.kc-state-message__actions {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 1.5rem;
}

.kc-state-message__actions a.kc-button.kc-button--primary,
.kc-state-message__actions a.kc-button.kc-button--secondary {
    margin: 0;
    max-width: 400px;
    width: 100%;
}

.kc-state-message__illustration img {
    height: 200px;
}

.kc-state-message__illustration--md img {
    height: 100px;
}

.kc-state-message__illustration--sm img {
    height: 50px;
}

.kc-toast {
    background-color: transparent;
    display: none;
    max-width: 400px;
}

.kc-toast--visible {
    display: block;
}

.kc-toast .wrapper {
    align-items: start;
    background-color: white;
    border: 1px solid hsl(0, 0%, 45%);
    border-left-width: 10px;
    border-radius: 8px;
    box-shadow: 0 30px 10px -24px hsla(0, 0%, 0%, 0.2), 0 4px 20px 0px hsla(0, 0%, 0%, 0.1);
    color: var(--blue-900);
    font-size: 0;
    display: flex;
    gap: 0.75rem;
    margin: 0;
    overflow: hidden;
    padding: 0.75rem;
    white-space: nowrap;
}

@supports not (gap: 1rem) {
    .kc-toast__body {
        margin: 0 0.75rem;
    }
}

.kc-toast--error .wrapper {
    border-color: var(--red-500);
}

.kc-toast--info .wrapper {
    border-color: var(--blue-500);
}

.kc-toast--success .wrapper {
    border-color: var(--green-500);
}

.kc-toast--warning .wrapper {
    border-color: var(--orange-500);
}

.kc-toast__action,
.kc-toast__icon,
.kc-toast__message {
    display: inline-block;
    vertical-align: top;
}

.kc-toast__action,
.kc-toast__icon {
    flex: 0 0 auto;
}

.kc-toast__action button {
    -webkit-appearance: none;
    appearance: none;
    background-color: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 44px;
    padding: 0;
}

.kc-toast__action img {
    position: relative;
}

.kc-toast__action img,
.kc-toast__icon img {
    height: 24px;
    width: 24px;
}

.kc-toast__body {
    flex: 1 1 auto;
    font-size: var(--font-body-sm);
    line-height: var(--line-sm);
    white-space: initial;
}

.kc-toast__body p {
    margin: 0.25rem 0 0;
}

.kc-toast__body strong {
    font-family: var(--castledown-bold);
    font-size: var(--font-body-md);
    line-height: var(--line-md);
}

.kc-toast__message {
    font-size: 1rem;
    margin: 0 32px 0 16px;
    white-space: normal;
    width: calc(100% - 24px - 24px - 16px - 32px);
    /* Container - L icon - R icon - L icon spacing - R icon spacing */
}

.kc-toast-reel {
    bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: flex-end;
    left: 1rem;
    max-height: calc(90vh - 4rem);
    max-width: 400px;
    overflow: visible;
    position: fixed;
    z-index: 9001;
    width: calc(100% - 2rem);
}

.kc-user {
    text-decoration: none;
    column-gap: 1rem;
}

a.kc-user {
    cursor: pointer;
    position: relative;
    z-index: 1;
    padding-right: 3rem;
    margin-bottom: 1rem;
}

a.kc-user::after {
    background-image: url('/assets/kcepp/images/forward-arrow.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 20px 20px;
    content: '';
    position: absolute;
    top: 50%;
    right: 1rem;
    height: 24px;
    width: 24px;
    transform: translateY(-50%);
    z-index: 11;
}

.kc-user__avatar {
    align-items: center;
    background-color: var(--blue-400);
    border-radius: 50%;
    color: white;
    display: flex;
    height: 3rem;
    font-size: var(--font-body-lg);
    font-family: var(--castledown-heavy);
    justify-content: center;
    width: 3rem;
}

.kc-user__body {
    display: flex;
    align-items: center;
    justify-content: center;
}

@supports not (gap: 1.5rem) {
    .kc-toast-reel .kc-toast {
        margin-bottom: 1.5rem;
    }

    .kc-toast-reel .kc-toast:last-of-type {
        margin-bottom: 0;
    }
}

.kc-toast-reel--bottom-center {
    bottom: 1rem;
    left: 50%;
    flex-direction: column;
    top: unset;
    right: unset;
    transform: translateX(-50%);
}

.kc-toast-reel--bottom-left {
    bottom: 1rem;
    left: 1rem;
    flex-direction: column;
    top: unset;
    right: unset;
}

.kc-toast-reel--bottom-right {
    bottom: 1rem;
    left: unset;
    flex-direction: column;
    top: unset;
    right: 1rem;
}

.kc-toast-reel--top-center {
    bottom: unset;
    left: 50%;
    flex-direction: column-reverse;
    top: 1rem;
    right: unset;
    transform: translateX(-50%);
}

.kc-toast-reel--top-left {
    bottom: unset;
    left: 1rem;
    flex-direction: column-reverse;
    right: unset;
    top: 1rem;
}

.kc-toast-reel--top-right {
    bottom: unset;
    left: unset;
    flex-direction: column-reverse;
    top: 1rem;
    right: 1rem;
}

.kc-wizard {
    display: block;
    max-width: 768px;
    margin: 0 auto;
}

.kc-wizard .content-section {
    padding: 0;
}

.kc-wizard__content {
    display: block;
    position: relative;
    overflow: hidden;
}

.kc-wizard__exit-button {
    -webkit-appearance: none;
    appearance: none;
    background-color: transparent;
    background-image: url('/assets/kcepp/images/close-icon.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 24px;
    border: none;
    cursor: pointer;
    height: 32px;
    position: absolute;
    top: -54px;
    right: 16px;
    width: 32px;
}

.kc-wizard__header {
    position: relative;
}

.kc-wizard__header progress[value] {
    -webkit-appearance: none;
    appearance: none;
    border: none;
    border-radius: 0px;
    display: block;
    height: 6px;
    margin: 0;
    width: 100%;
}

.kc-wizard__header progress[value]::-webkit-progress-bar {
    background-color: var(--gray-300);
    border: 0px solid var(--gray-300);
    border-radius: 0;
    overflow: hidden;
}

.kc-wizard__header progress[value]::-webkit-progress-value {
    background-color: var(--green-500);
}

.kc-wizard__header progress[value]::-moz-progress-bar {
    background-color: var(--green-500);
}

.kc-wizard__step {
    display: block;
    overflow: hidden;
    padding: 1.5rem;
    width: 100%;
}

.kc-wizard__step--no-spacing {
    padding: 0;
}

.kc-wizard__step-action {
    background-color: white;
    border-top: 1px solid var(--gray-300);
    bottom: 0;
    display: flex;
    left: 0;
    padding: 24px;
    position: fixed;
    width: 100%;
    z-index: 9000;
}

.kc-wizard__step-action button {
    flex: 1 1 auto;
}

.kc-wizard__step-body {
    transition: 0.3s ease-in-out transform;
}

.kc-wizard__step--inactive {
    height: 0;
    padding: 0;
    visibility: hidden;
}



.rounded-background {
    border-bottom-left-radius: 100% 180px;
    border-bottom-right-radius: 100% 180px;
    left: -30px;
    padding: 0 30px 60px;
    position: relative;
    width: calc(100% + 60px);
}

.section-header {
    display: flex;
    font-size: 0;
    justify-content: space-between;
    align-items: flex-end;
    margin: 24px auto 16px;
    max-width: 768px;
    position: relative;
    width: 100%;
}

.section-header h3,
.section-header a {
    vertical-align: baseline;
    overflow: hidden;
    white-space: normal;
}

.section-header h2,
.section-header h3 {
    flex: 1 1 auto;
    margin: 0;
}

.section-header a {
    bottom: 2px;
    color: var(--blue-800);
    display: inline-block;
    flex: 0 0 auto;
    font-family: var(--castledown-regular);
    font-size: var(--font-body-sm);
    font-weight: 400;
    line-height: var(--line-sm);
    margin: 0 0 0 1rem;
}

.section-title {
    margin-bottom: 1rem;
}

.shake {
    animation-delay: 0s;
    animation-direction: normal;
    animation-duration: 0.25s;
    animation-fill-mode: forwards;
    animation-iteration-count: 1;
    animation-name: shake;
    animation-timing-function: linear;
}

.user {
    margin-top: 48px;
    width: 100%;
}

.user__avatar,
.user__data {
    margin: 0 auto;
    text-align: center;
}

.user__avatar {
    margin-bottom: 24px;
}

.user__avatar img {
    border-radius: 100%;
    display: inline-block;
    height: 132px;
    vertical-align: middle;
    width: 132px;
}

.user__data-link {
    color: var(--menu-text-color);
    font-size: var(--font-body-sm);
    line-height: var(--line-sm);
}

.user__data-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;
    overflow: hidden;
    padding: 0 24px;
    white-space: normal;
    width: 100%;
}


/* ADDING THIS WAY BECAUSE THESE ARE OVERRIDES FOR STANDARD STYLES APPLIED ONLY CERTAIN SCENARIOS ON MOBILE */
@media screen and (max-width: 767px) {
    .content-header:not(div[class*='bg-']) .content-header__label {
        text-align: left;
    }

    .form-control-view,
    .wizard-view {
        margin-bottom: 160px;
    }

    .form-control-view .content-header__label {
        margin: 72px auto 0;
        text-align: left;
    }

    .form-control-view .content-header__label h3 {
        max-width: 100%;
        font-size: var(--font-body-lg);
        line-height: var(--line-lg);
    }

    .form-control-view .kc-navbar__menu,
    .form-control-view .page-footer,
    .wizard-view .kc-navbar__menu,
    .wizard-view .page-footer {
        display: none;
    }

    .form-control-view .page-content .rounded-background {
        background-color: white;
        border-radius: 0;
        padding-bottom: 0;
    }

    .form-control-view.no-nav-space .content-header__label,
    .no-nav-space .content-header:not(div[class*="bg-"]) .content-header__label {
        margin-top: 24px;
    }

    .wizard-view#app .content-header,
    .wizard-view#app .content-header__label {
        all: unset;
    }

    .wizard-view#app .content-header__label * {
        display: none;
    }

    .wizard-view#app .content-header__label h1,
    .wizard-view#app .content-header__label h3 {
        box-shadow: inset 0 6px 12px rgba(0, 0, 0, 0.1);
        display: block;
        font-size: var(--font-body-md);
        line-height: var(--line-md);
        overflow: hidden;
        padding: 24px 48px 24px 24px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .wizard-view#app .kc-autopay-banner,
    .wizard-view#app .nav-ribbon {
        display: none;
    }
}

@media screen and (min-width: 320px) {
    .kc-button {
        font-size: var(--font-body-md);
        line-height: var(--line-md);
        padding: 16px 24px;
    }

    .kc-button:first-child:not(:only-child) {
        margin-right: 12px;
    }

    .kc-button:last-child:not(:only-child) {
        margin-left: 12px;
    }

    .kc-button--icon {
        padding: 0;
        line-height: 1;
    }

    .kc-children {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width: 600px) {
    .kc-children {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (min-width: 768px) {

    body .desktop-centered {
        text-align: center;
        justify-content: center;
    }

    details,
    li,
    p,
    summary {
        font-size: var(--font-body-md);
        line-height: var(--line-md);
    }

    div[data-currency-input]::before {
        top: 52px;
    }

    small {
        font-size: var(--font-body-xs);
        line-height: var(--line-xs);
    }

    .action-btn img {
        margin-right: 12px;
    }

    .action-btn span {
        display: inline-block;
    }

    .action-btn--settings {
        padding-right: 20px;
    }

    .action-btn--settings::after {
        display: inline-block;
    }

    .section-header {
        margin-bottom: 32px;
        margin-top: 64px;
    }

    .content-header__label>h1 {
        font-size: var(--font-body-8xl);
        line-height: var(--line-8xl);
    }

    .content-header__label>h3 {
        font-size: var(--font-body-7xl);
        line-height: var(--line-7xl);
    }

    .content-header__label>h1~p {
        font-size: var(--font-body-lg);
        line-height: var(--line-lg);
        margin: 16px 0 24px;
    }

    .content-header__label>h3~p {
        font-size: var(--font-body-md);
        line-height: var(--line-md);
        margin: 12px 0 24px;
    }

    .kc-agreements-area {
        position: relative;
        left: unset;
        bottom: unset;
    }

    .kc-autopay-banner>p {
        font-size: var(--font-body-sm, 16px);
        line-height: var(--line-sm, 22px);
    }

    .kc-autopay-card {
        padding: 1.5rem;
    }

    .kc-autopay-card__autopay-start small,
    .ap-field small {
        font-size: var(--font-body-xs);
        line-height: var(--line-xs);
    }

    .kc-autopay-card__autopay-start span
    .ap-field span {
        font-size: var(--font-body-md);
        line-height: var(--line-md);
    }

    .kc-autopay-card__card-details p span {
        font-size: var(--font-body-lg);
        line-height: var(--line-lg);
    }

    .kc-autopay-card__card-details span {
        font-size: var(--font-body-sm);
        line-height: var(--line-sm);
    }

    .kc-autopay-card__icon img {
        height: 1.5rem;
        margin-top: 0.25rem;
    }

    .kc-card {
        padding: 1.5rem;
    }

    .kc-card__body-columns {
        column-gap: 3rem;
    }

    .kc-card__title {
        font-size: var(--font-body-lg);
        line-height: var(--line-lg);
        margin: 2rem 0 1rem;
    }

    .kc-card__title:first-child {
        margin: 0 0 0.5rem;
    }

    .kc-card__text {
        font-size: var(--font-body-md);
        line-height: var(--line-md);
    }

    .kc-card__label {
        font-size: var(--font-body-xs);
        line-height: var(--line-xs);
    }

    .kc-children {
        grid-template-columns: repeat(4, 1fr);
    }

    .kc-child-card__age,
    .kc-child-card__status {
        font-size: var(--font-body-sm);
        line-height: var(--line-sm);
    }

    .kc-child-card__name {
        font-size: var(--font-body-lg);
        line-height: var(--line-lg);
    }

    .kc-child-card--cta small {
        font-size: var(--font-body-md);
        line-height: var(--line-md);
    }

    .kc-cta-wrapper .kc-button {
        display: inline-block;
        flex: 0 0 auto;
        margin: 0;
        padding-left: 4rem;
        padding-right: 4rem;
        width: auto;
    }

    .kc-cta-wrapper--column {
        column-gap: 1rem;
        flex-direction: row-reverse;
        justify-content: flex-start;
    }

    .kc-cta-wrapper--column .kc-button {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .kc-form {
        margin-bottom: 2rem;
    }

    .kc-form[name="autopayEnrollmentForm"] {
        margin-top: 4rem;
    }

    .kc-form[name="backupCareEmailValidation"] {
        gap: 2rem;
    }

    .kc-form__actions {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        margin-top: 32px;
        padding: 24px 0;
        position: relative;
    }

    .kc-form__actions .kc-button {
        flex: 0 0 auto;
        margin: 0;
        padding-left: 4rem;
        padding-right: 4rem;
        width: auto;
    }

    .kc-form__row--wide-multicolumn {
        flex-direction: row;
        column-gap: 1rem;
    }

    .kc-info-panel {
        padding: 1.5rem 2rem;
    }

    .kc-modal__body {
        padding: 32px 32px 48px;
    }

    .kc-modal__body .kc-button {
        max-width: 60%;
    }

    .kc-modal__content {
        border-radius: 16px;
        height: auto;
        left: auto;
        max-height: 85vh;
        max-width: 600px;
        margin: 0 auto;
        position: relative;
        top: auto;
        display: flex;
        flex-direction: column;
    }

    .kc-notice__header h6 {
        font-size: var(--font-body-lg);
        line-height: var(--line-lg);
    }

    .kc-notice__header img {
        height: 64px;
        margin-right: 16px;
    }

    .kc-secure-notice {
        font-size: var(--font-body-xs);
        line-height: var(--line-xs);
        margin: 2rem 0;
    }

    .kc-secure-notice img {
        width: 18px;
    }

    .kc-toast__action button {
        height: unset;
    }

    .kc-toast-reel {
        left: 3rem;
        bottom: 3rem;
    }

    .kc-toast-reel--bottom-center {
        bottom: 3rem;
        left: 50%;
        top: unset;
        right: unset;
        transform: translateX(-50%);
    }

    .kc-toast-reel--bottom-left {
        bottom: 3rem;
        left: 3rem;
        top: unset;
        right: unset;
    }

    .kc-toast-reel--bottom-right {
        bottom: 3rem;
        left: unset;
        flex-direction: column;
        top: unset;
        right: 3rem;
    }

    .kc-toast-reel--top-center {
        bottom: unset;
        left: 50%;
        top: 3rem;
        right: unset;
        transform: translateX(-50%);
    }

    .kc-toast-reel--top-left {
        bottom: unset;
        left: 3rem;
        right: unset;
        top: 3rem;
    }

    .kc-toast-reel--top-right {
        bottom: unset;
        left: unset;
        top: 3rem;
        right: 3rem;
    }

    .kc-wizard__exit-button {
        display: none;
    }

    .kc-wizard__step-action {
        display: block;
        text-align: right;
        padding: 24px 0;
        position: relative;
    }

    .section-header h2 {
        font-size: var(--font-body-6xl);
        line-height: var(--line-6xl);
    }

    .section-header h3 {
        font-size: var(--font-body-4xl);
        line-height: var(--line-4xl);
    }

    .rounded-background {
        margin-bottom: 64px;
    }
}

@media screen and (min-width: 1024px) {
    .footer {
        margin-bottom: 40px;
    }

    .kc-wizard__step {
        padding: 0;
    }
}

@media (pointer: coarse), (hover: none) {
    .tooltip-visible {
        font: unset;
        overflow: unset;
    }

    [title].tooltip-visible {
        position: relative;
    }

    [title].tooltip-visible::before,
    .tooltip-visible::before {
        background-color: transparent;
        content: '';
        height: 100%;
        left: 0;
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 1;
    }

    [title].tooltip-visible::after,
    .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;
    }
}

@keyframes fade-in-left {
    from {
        transform: translateX(-1rem);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fade-in-right {
    from {
        transform: translateX(1rem);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fade-in-top {
    from {
        transform: translateY(-1rem);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fade-in-bottom {
    from {
        transform: translateY(1rem);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes shake {
    0% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(16px);
    }

    40% {
        transform: translateX(-16px);
    }

    60% {
        transform: translateX(16px);
    }

    80% {
        transform: translateX(-16px);
    }

    100% {
        transform: translateX(0);
    }
}

@keyframes modal-fade-in {
    from {
        transform: translateY(1rem);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* END OF GENERAL / GLOBAL RULES ============================================ */



/* SIGN IN STYLES =========================================================== */

.login-container, .registration-container {
    background-color: white;
    margin: 0;
    min-height: 100vh;
    padding-bottom: 32px;
}

.login-container .wrapper, .registration-container .wrapper {
    position: relative;
    width: 100%;
}

.login__action-links,
.login__form-container,
.registration__form {
    margin: 0 auto;
    max-width: 440px;
    padding: 0 24px;
}

.login__action-links {
    font-size: 0;
}

.login__action-links a {
    color: var(--link-color);
    font-size: 1rem;
    line-height: 24px;
    max-width: 50%;
}

.login__action-links a:nth-child(2) {
    float: right;
    text-align: right;
}

.login__illustration {
    background-image: url('../images/signup_illustration.png');
    background-position: top right;
    background-repeat: no-repeat;
    background-size: cover;
    height: 260px;
    width: 100%;
}

.register__illustration {
    background-image: url('../images/backup-care-register-landing.jpg');
    background-position: top right;
    background-repeat: no-repeat;
    background-size: cover;
    height: 260px;
    width: 100%;
}

.login__logos {
    padding: 16px 24px;
}

.login__logos img {
    display: inline-block;
    vertical-align: middle;
}

.login__logos img:first-of-type {
    height: 44px;
}

.login__title, .registration__title {
    margin: 24px auto;
}

.login__title h1, .registration__title h1 {
    margin: 0;
    text-align: center;
    line-height: 42px;
    font-size: 28px;
}

#bapAccountLogin {
    background: white;
    padding: 0px;
}

@media screen and (min-width: 768px) {
    .login-container .wrapper, .registration-container .wrapper {
        width: 60%;
    }

    .login__action-links,
    .login__form-container,
    .login__logos,
    .login__title,
    .registration__title,
    .registration__form {
        position: relative;
        z-index: 10;
    }

    .login__action-links {
        margin-top: 32px;
    }

    .login__illustration, .register__illustration {
        background-position: center;
        bottom: 0;
        height: auto;
        position: fixed;
        right: 0;
        top: 0;
        width: 40%;
        z-index: 1;
    }

    .login__logos {
        max-width: 440px;
        padding: 80px 24px 32px;
        margin: 0 auto;
    }

    .login__logos img:last-of-type {
        display: inline-block;
    }

    .login__title, .registration__title {
        margin: 0 auto 32px;
        max-width: 440px;
        padding: 0 24px;
    }

    .login__title h1, .registration__title h1 {
        font-family: 'CastleDown Heavy', sans-serif;
        font-size: 48px;
        line-height: 72px;
        text-align: left;
    }
}

@media screen and (min-width: 1000px) {
    .login-container .wrapper, .registration-container .wrapper {
        width: 600px;
    }

    .login__action-links,
    .login__form-container,
    .registration__form {
        padding: 0;
    }

    .login__illustration, .register__illustration {
        width: calc(100% - 600px);
    }

    .login__logos {
        padding-right: 0;
        padding-left: 0;
    }

    .login__title, .registration__title {
        padding: 0;
        margin: 0 80px 32px;
    }
}

/* END OF SIGN IN STYLES ==================================================== */



/* MAIN NAVIGATION STYLES =================================================== */

.page-header {
    background-color: white;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.kc-navbar {
    align-items: center;
    background-color: white;
    display: flex;
    font-size: 0;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    position: relative;
    z-index: 1000;
}

.kc-navbar__actions {
    display: block;
    white-space: nowrap;
}

.kc-navbar__action-wrapper {
    display: inline-block;
    margin-right: 2rem;
}

.kc-navbar__action-wrapper:last-of-type {
    margin-right: 0;
}

.kc-navbar__extras {
    line-height: 1;
}

.kc-navbar__logo {
    display: inline-block;
    margin-right: 4rem;
    text-decoration: none;
}

.kc-navbar__logo img {
    height: 44px;
    vertical-align: middle;
}

.kc-navbar__main {
    display: inline-block;
    white-space: nowrap;
}

.kc-navbar__menu {
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 32px 64px 0 hsla(0, 0%, 7%, 0.08);
    display: flex;
    justify-content: space-around;
    list-style-type: none;
    padding: 8px;
    position: fixed;
    bottom: 30px;
    left: 24px;
    right: 24px;
    margin: 0;
}

.kc-navbar__menu-item {
    border-radius: 16px;
    display: inline-block;
    text-align: center;
    width: 100px;
}

.kc-navbar__menu-item--active {
    background-color: hsl(4, 100%, 97%);
}

.kc-nav-btn {
    color: var(--menu-text-color);
    display: inline-block;
    font-family: 'CastleDown Bold', sans-serif;
    font-size: 0;
    line-height: 0;
    text-align: center;
    text-decoration: none;
}

.kc-nav-btn img,
.kc-nav-btn span {
    display: block;
    margin: 0 auto;
}

.kc-nav-btn img {
    height: 40px;
    width: 40px;
}

.kc-nav-btn span {
    font-size: 12px;
    line-height: 18px;
}

.kc-nav__alert-info {
    background-color: #A2D8F0;
    width: 100%;
    width: 100vw;
    padding: 7px 10px;
    color: #2B596D;
    font-family: "CastleDown Bold";
    text-align: center;
}

.kc-nav__alert-info p {
    margin: 0;
    font-size: 12px;
    line-height: 18px;
}

.kc-nav__alert-info a {
    color: inherit;
    margin-left: 0.5rem;
}

@media screen and (min-width: 768px) {
    .kc-navbar a:hover {
        color: var(--menu-text-color);
    }

    .kc-navbar__menu {
        box-shadow: none;
        display: inline-block;
        left: 0;
        padding: 0;
        position: relative;
        right: 0;
        top: 0;
    }

    .kc-navbar__menu-item {
        margin-right: 16px;
        padding: 4px 12px;
        text-align: left;
        width: auto;
    }

    .kc-navbar__menu-item:last-of-type {
        margin-right: 0;
    }

    .kc-nav-btn img,
    .kc-nav-btn span {
        display: inline-block;
        vertical-align: middle;
    }

    .kc-nav-btn img {
        height: 32px;
        width: 32px;
    }

    .kc-nav-btn span {
        font-size: var(--font-body-sm);
        line-height: var(--line-sm);
        margin-left: 8px;
    }
}


@media screen and (min-width: 1024px) {
    .kc-navbar {
        padding: 1.5rem 4rem;
    }

    .kc-navbar__menu-item {
        margin-right: 1.5rem;
        padding: 10px 0.875rem;
    }

    .kc-nav-btn span {
        font-size: var(--font-body-md);
        line-height: var(--line-md);
        margin-left: 12px;
    }
}

/* END OF MAIN NAVIGATION STYLES ============================================ */


/* SETTINGS NAVIGATION STYLES =============================================== */

.settings-menu {
    background-color: white;
    bottom: 100%;
    left: 0;
    max-width: 100vw;
    max-height: calc(100vh - 74px);
    min-height: calc(100vh - 74px);
    overflow-y: auto;
    padding-bottom: 210px;
    position: absolute;
    transition: 0.4s ease-in-out transform;
    width: 100%;
    z-index: 100;
}

.settings-menu--visible {
    transform: translateY(calc(100% + 74px));
}

.settings-menu .user-profile {
    overflow: hidden;
    text-align: center;

}

.settings-menu__nav {
    padding-left: 24px;
    padding-right: 24px;
    margin-top: 4em;
}

.settings-menu__nav-link {
    display: block;
    cursor: pointer;
    text-decoration: none;
}

.settings-menu__nav-title {
    margin-top: 24px;
    font-size: 18px;
    font-weight: 900;
    margin-bottom: 8px;
}

.settings-menu__option {
    border-bottom: 1px solid #dee2e6;
}

.settings-menu__option a {
    align-items: center;
    color: var(--link-color);
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
}

.settings-menu__profile {
    overflow: hidden;
}

.settings-menu__standalone-link {
    display: block;
    color: var(--link-color);
    margin-top: 1.5rem;
}

@media screen and (min-width: 1024px) {
    .fade-in-up {
        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;
    }

    .settings-menu {
        -ms-overflow-style: none;
        border-radius: 16px;
        bottom: auto;
        box-shadow: 0 0 24px rgba(17, 17, 17, 0.06);
        display: none;
        left: auto;
        max-height: calc(95vh - 108px);
        min-height: auto;
        opacity: 0;
        overflow-x: hidden;
        overflow-y: auto;
        padding-bottom: 0;
        right: 50px;
        scrollbar-width: none;
        top: 90%;
        transition: none;
        width: 300px;
        z-index: 1001;
    }

    .settings-menu a:hover {
        color: var(--menu-text-color);
    }

    .settings-menu::-webkit-scrollbar {
        background-color: hsl(0, 0%, 90%);
        width: 2px;
    }

    .settings-menu::-webkit-scrollbar-thumb {
        background-color: hsl(0, 0%, 45%);
        width: 2px;
    }

    .settings-menu--visible {
        display: block;
        transform: none;
    }

    .settings-menu__items {
        border-bottom: 1px solid #dee2e6;
    }

    .settings-menu__nav {
        padding-bottom: 1rem;
        padding-top: 1rem;
        margin: 0;
    }

    .settings-menu__profile {
        display: none;
    }

    .settings-menu__nav-link img {
        display: none;
    }

    .settings-menu__nav-link span {
        font-family: 'CastleDown Bold', sans-serif;
        font-size: 18px;
        line-height: 27px;
    }

    .settings-menu__nav-title {
        font-family: 'CastleDown Heavy', sans-serif;
        font-size: 20px;
        line-height: 30px;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .settings-menu__option {
        border-bottom: none;
    }

    .settings-menu__option a {
        color: var(--menu-text-color);
    }

    .settings-menu__standalone-link {
        font-family: 'CastleDown Bold', sans-serif;
        font-size: 18px;
        line-height: 27px;
        text-decoration: none;
        padding: 1rem 0;
        margin: 0;
    }
}

@keyframes fade-in-up {
    from {
        top: 95%;
        opacity: 0;
    }

    to {
        top: 90%;
        opacity: 1;
    }
}

/* END OF SETTINGS NAVIGATION STYLES ======================================== */


/** Home screen Content */
bap-payment-card {
    display: block;
    padding: 0;
}

.maincontent .header-banner {
    width: 100%;
    min-height: 290px;
    background-color: var(--menu-background-color);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 30px;
}

.mobile-menu-container.maincontent .header-banner {
    width: 140vw;
    border-bottom-left-radius: 100%;
    border-bottom-right-radius: 100%;
    margin-left: -20vw;
}

.mobile-menu-container.maincontent .header-banner::after {
    content: none;
}

.maincontent .rounded-background--home {
    width: calc(100% + 60px);
    overflow: hidden;
}

.bottom-curve {
    margin: 0;
    width: 100vw;
    position: relative;
}

.bottom-curve img {
    width: 100vw;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
}

.maincontent .header-banner .profile-user {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.maincontent .header-banner .profile-user h3 {
    font-size: 22px;
    font-weight: 900;
    line-height: 2.2;
    max-width: 70%;
    text-overflow: ellipsis;
    overflow: hidden;
    text-align: center;
}

.maincontent .header-banner .profile-user img:last-child {
    margin-left: 1em;
    padding-bottom: 10px;
}

.maincontent .header-banner .profile-user img:nth-child(1) {
    padding-bottom: 20px;
}

.maincontent .page-content {
    flex: 1 0 auto;
    padding-top: 76px;
    overflow-x: hidden;
}

.maincontent .page-content #loginRoot, .registration-container {
    margin-top: -76px;
}

.maincontent .page-content .contents {
    margin-left: 1em;
    margin-right: 1em;
    margin-top: 48px;
    padding: 0 1em 1em;
}

@media screen and (min-width: 1024px) {
    .maincontent .page-content {
        padding-top: 108px;
    }

    .maincontent .page-content #loginRoot, .registration-container {
        margin-top: -108px;
    }
}

@media screen and (min-width: 768px) {
    .maincontent .page-content .contents {
        margin-top: 72px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media screen and (min-width: 1200px) {
    .maincontent .page-content .contents {
        margin-left: 2em;
        margin-right: 2em;
    }
}

.maincontent .page-content .contents .header-label {
    font-size: 24px;
    font-weight: 900;
    color: #102E41;
}

@media screen and (max-width: 767px) {
    .maincontent .header-banner {
        min-height: 496px;
    }

    .maincontent.mobile-menu-container .header-banner {
        min-height: 300px;
    }

    .maincontent .header-banner::after {
        background: url(../images/bottom-curve.svg);
    }
}


/* ------------------ Start of My Profile Section */

.nav-ribbon {
    left: 0;
    position: absolute;
    top: 100px;
    width: 100%;
    z-index: 10;
}

.nav-ribbon__back-arrow {
    height: 19px;
    width: 22px;
}

.nav-ribbon__back-arrow-wrapper {
    margin-left: 30px;
    line-height: 0.5;
}

.profile-details__user-image {
    position: relative;
    color: var(--menu-text-color);
    overflow: hidden;
    margin-bottom: 28px;
    font-family: 'Castledown Regular', sans-serif;
    font-size: 22px;
}

.profile-details__background {
    align-items: center;
    display: flex;
    flex-direction: column;
    padding-bottom: 80px;
    position: relative;
}

.profile-details__user-image-fig {
    width: 132px;
    height: 132px;
    border-radius: 100px;
    margin: 0;
    margin-top: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.profile-details__userimage {
    border: 4px solid #49ABD7;
    border-radius: 200px;
    height: inherit;
    width: inherit;
}

.profile-details__image-logo-container {
    position: absolute;
    bottom: -13px;
    right: 0;
    background-color: var(--blue-background-color);
    width: 45px;
    height: 45px;
    border-radius: 50px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-details__image-logo {
    width: 24px;
    height: 24px;
}

.profile-details__user-name {
    margin-top: 24px;
    margin-bottom: 8px;
    text-align: center;
    line-height: 33px;
}

.profile-details__edit-button,
.profile-details__main-edit-button {
    margin-bottom: 60px;
    color: var(--link-color);
    font-family: 'Castledown Regular', sans-serif;
    font-size: 16px;
    line-height: 24px;
}

.profile-details__main-edit-button {
    bottom: 60px;
    cursor: pointer;
    margin: 0;
    position: absolute;
}

.profile-details__title {
    margin: 0;
    margin-bottom: 0px;
    font-weight: 900;
    line-height: 33px;
    font-size: 20px;
    color: var(--menu-text-color);
    font-family: "CastleDown Heavy", sans-serif;
}

.profile-details__user-info {
    padding: 0 24px;
    padding-bottom: 0;
}

.profile-details__info-box {
    border: 2px solid #DEDEDE;
    width: 100%;
    padding: 16px 16px;
    border-radius: 16px;
}

.custom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    margin-bottom: 16px;
}

.edit-info {
    margin: 0;
}

.profile-details__subtitle--primary {
    color: #B0B0B0;
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 700;
}

.profile-details__subtitle--secondary {
    margin-bottom: 8px;
    font-size: 16px;
    color: var(--menu-text-color);
    text-decoration: none;
    font-weight: 400;
    line-height: 22px;
    font-family: "CastleDown Regular", sans-serif;
}

.margin-none {
    margin: 0;
}

.profile-details__column {
    display: flex;
    flex-direction: column;
}

.profile-details__link {
    color: var(--link-color);
    margin-top: 16px;
    font-size: 16px;
    line-height: 24px;
}

.profile-details__error-message-text {
    font-family: var(--castledown-bold);
    font-size: var(--font-body-lg);
    font-weight: 900;
    line-height: var(--line-lg);
    margin: 0;
}

.colored-rounded__background {
    background-color: #E0F2FA;
    border-bottom-left-radius: 100%;
    border-bottom-right-radius: 100%;
    margin-left: -20vw;
    width: 140vw;
}


@media screen and (min-width: 768px) {
    .nav-ribbon {
        display: none;
    }
}

/* ------------------ End of My Profile Section */

/* ------------------ Start of Tempus Callback Loading Section */
.kc-processing {
    align-items: center;
    display: flex;
    flex-direction: column;
    height: calc(100dvh - 76px);
    padding: 0 2rem;
}

.kc-processing__body {
    align-items: center;
    display: flex;
    flex: 1 1 auto;
    justify-content: center;
    flex-direction: column;
}

.kc-processing__body h3 {
    line-height: var(--line-4xl);
    font-size: var(--font-body-4xl);
    font-weight: 600;
    letter-spacing: 0em;
    margin-bottom: 32px;
}

.kc-processing__body p {
    line-height: var(--line-lg);
    font-size: var(--font-body-lg);
    font-weight: 400;
    letter-spacing: 0em;
    margin-inline: auto;
    margin-top: 32px;
    max-width: 220px;
    text-align: center;
}

.kc-processing__footer {
    flex: 0 0 auto;
    margin: 3rem 0;
}

.kc-processing__footer img {
    width: 140px;
}

@media screen and (min-width: 1024px) {
    .kc-processing {
        height: calc(100dvh - 108px);
    }

    .kc-processing__body h3 {
        font-size: var(--font-body-6xl);
        line-height: var(--line-6xl);
    }

    .kc-processing__body p {
        font-size: var(--font-body-2xl);
        line-height: var(--line-2xl);
        max-width: 400px;
    }
}

@supports not (height: 100dvh) {
    .kc-processing {
        height: calc(80vh - 76px);
    }

    @media screen and (min-width: 1024px) {
        .kc-processing {
            height: calc(80vh - 108px);
        }
    }
}


/* ------------------ End of Tempus Callback Loading Section */



/* ------------------ Start of FAQ Section */
.faq-title {
    margin-top: 45px;
    margin-bottom: 0;
    font-size: 22px;
    font-family: "CastleDown Heavy";
    color: #102E41;
}

.faq-background {
    padding-bottom: 50px;
    width: 110vw;
    margin-left: -5vw;
    background-color: #FBF8F0;
}

.faq-container {
    padding: 24px 24px 0px 24px;
}

.faq-question__title {
    font-size: 20px;
    font-family: "CastleDown Heavy";
    color: #102E41;
}

.faq-title__section {
    margin-bottom: 0;
}

.faq-question__container {
    font-family: "CastleDown Regular";
    padding: 16px 0;
    border-bottom: 1px solid #BEBEBE;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.faq-question__container :hover {
    color: inherit;
}

.faq-container a:hover {
    color: inherit;
}

.faq-forward__arrow {
    width: 10px;
    height: 16px;
}

.faq-question__container p {
    margin: 0;
    line-height: 22px;
    font-size: 16px;
    padding-right: 18px;
}

/* ------------------ End of FAQ Section */



/* CHILD PROFILE STYLES ===================================================== */

bap-center-info {
    background-color: #ffe0b2;
    border-radius: 16px;
    display: block;
    margin: 0 auto;
    width: 100%;
}

bap-health-info {
    display: block;
    margin: 0 auto;
    width: 100%;
}

bap-child-info-block {
    display: block;
    position: relative;
    width: 100%;
}

@media screen and (min-width: 768px) {
    bap-child-info-block {
        display: inline-block;
        max-width: 90%;
        width: initial;
    }

    bap-child-info-block::after,
    bap-child-info-block::before {
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        display: inline-block;
        content: '';
        position: absolute;
        top: 0;
        vertical-align: top;
        z-index: 10;
    }

    bap-child-info-block::after {
        background-image: url('../images/doodle-star-blue-bold.svg');
        height: 72px;
        right: 16px;
        top: -30px;
        width: 56px;
    }

    bap-child-info-block::before {
        background-image: url('../images/doodle-star-blue-thin.svg');
        height: 93px;
        left: -10px;
        top: 24px;
        width: 73px;
    }

    .user--child-profile {
        min-height: 300px;
        position: relative;
    }

    .user--child-profile .user__avatar {
        display: inline-block;
        left: 50%;
        position: absolute;
        top: 120px;
        transform: translateX(-50%);
        z-index: 1;
    }

    .user--child-profile .user__data {
        margin-top: 64px;
        min-height: 150px;
        position: relative;
        z-index: 10;
    }
}

/* END OF CHILD PROFILE STYLES ============================================== */



/* BILL SUMMARY STYLES ====================================================== */

.billing-navigation {
    background-color: white;
    left: 0;
    position: fixed;
    top: 76px;
    width: 100%;
    z-index: 100;
}

.billing-navigation li {
    display: inline-block;
    margin: 0 12px;
    min-width: 33vw;
}

.billing-navigation li:first-child {
    margin-left: 0;
}

.billing-navigation li:last-child {
    margin-right: 0;
}

.billing-navigation ul {
    display: block;
    font-size: 0;
    list-style-type: none;
    margin: 0 auto;
    max-width: 865px;
    -ms-overflow-style: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 16px;
    position: relative;
    scrollbar-width: none;
    text-align: center;
    white-space: nowrap;
}

.billing-navigation nav {
    width: 100%;
}

.billing-navigation ul::-webkit-scrollbar {
    display: none;
    width: 0;
}

.billing-navigation__option a {
    color: var(--gray-600);
    display: block;
    font-size: var(--font-body-xs);
    line-height: var(--line-xs);
    padding: 8px 0;
    text-decoration: none;
    width: 100%;
}

.billing-navigation__option span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.billing-navigation__option--active a {
    border-bottom: 2px solid var(--blue-900);
}

.billing-navigation__option--active img {
    filter: brightness(0.4);
}

.billing-navigation__option--active span {
    color: var(--blue-900);
}

.billing-navigation__option img {
    display: block;
    margin: 0 auto;
    width: 24px;
}

.maincontent .page-content--billing {
    padding-top: calc(76px + 63px);
    position: relative;
}

.maincontent .page-content--billing .nav-ribbon {
    top: 200px;
}

@media screen and (min-width: 375px) {
    .billing-navigation li {
        min-width: 30vw;
    }
}

@media screen and (min-width: 390px) {
    .billing-navigation li {
        min-width: 23.5vw;
    }
}

@media screen and (min-width: 640px) {
    .billing-navigation li {
        min-width: 18vw;
    }
}

@media screen and (min-width: 768px) {
    .billing-navigation {
        border-top: 1px solid var(--gray-200);
        z-index: 999;
    }

    .billing-navigation li {
        margin: 0 24px;
        min-width: auto;
    }

    .billing-navigation__option {
        padding: 20px 0 0;
    }

    .billing-navigation__option a {
        padding-top: 0;
    }

    .maincontent .page-content--billing {
        padding-top: calc(76px + 76px);
    }
}

@media screen and (min-width: 1024px) {
    .billing-navigation {
        top: 105px;
    }

    .billing-navigation__option a {
        padding-bottom: 12px;
    }

    .maincontent .page-content--billing {
        padding-top: calc(108px + 76px);
    }
}

/* END OF BILL SUMMARY STYLES =============================================== */



/* 404 ERROR PAGE STYLES ==================================================== */

.results-block {
    color: var(--blue-900);
    margin: 80px auto;
    max-width: 768px;
    padding: 0;
    text-align: center;
}

.results-block__image img {
    height: 200px;
    max-width: 100%;
}

.results-block__text {
    margin: 24px 0;
}

.results-block__text h2 {
    margin: 24px 0 16px;
    font-family: var(--castledown-heavy);
    font-size: var(--font-body-xl);
    line-height: var(--line-xl);
}

.results-block__text p {
    margin: 16px 0;
    font-size: var(--font-body-sm);
    line-height: var(--line-sm);
}

.results-page header {
    padding: 16px 24px;
}

.results-page main {
    padding: 0 24px;
}

.results-page .kc-bell-logo img {
    height: 44px;
}


@media screen and (min-width: 768px) {
    .results-block {
        margin: 64px auto;
    }

    .results-block__text {
        margin: 24px 0 64px;
    }

    .results-block__text h2 {
        font-size: var(--font-body-6xl);
        line-height: var(--line-6xl);
    }

    .results-block__text p {
        font-size: var(--font-body-md);
        line-height: var(--line-md);
    }

    .results-page header {
        padding: 34px 64px;
    }

    .results-block__actions {
        display: inline-block;
        width: 60%;
    }
}

/* END OF 404 ERROR PAGE STYLES ============================================= */



/* CUSTOMER SUPPORT PAGE STYLES ============================================= */

.customer-support-card {
    margin: 24px auto;
}

.customer-support-card a {
    color: var(--blue-500);
}

.customer-support-card p {
    font-size: var(--font-body-sm);
    line-height: var(--line-sm);
    margin: 16px 0;
}


@media screen and (min-width: 768px) {
    .customer-support-card {
        margin: 64px auto;
    }

    .customer-support-card p {
        font-size: var(--font-body-md);
        line-height: var(--line-md);
    }
}

/* END OF CUSTOMER SUPPORT PAGE STYLES ====================================== */



/* TEMPORARY BAP COMPONENTS FOCUSED STYLES ================================== */

.bap-card {
    background-color: white;
    border: 2px solid var(--gray-300);
    border-radius: 16px;
    display: block;
    margin: 16px auto 24px;
    overflow: hidden;
    padding: 16px;
}

.bap-card a {
    color: var(--blue-800);
}

.bap-card h2,
.bap-card h3 {
    color: var(--blue-900);
    display: block;
    font-family: var(--castledown-heavy);
    font-weight: 900;
    margin-bottom: 4px;
    margin-top: 16px;
}

.bap-card h2:first-child,
.bap-card h3:first-child {
    margin-top: 0;
    margin-bottom: 8px;
}

.bap-card h2 {
    font-size: var(--font-body-md);
    line-height: var(--line-md);
}

.bap-card h2 {
    font-size: var(--font-body-lg);
    line-height: var(--line-lg);
}

.bap-card table {
    width: 100%;
}

.bap-card label,
.bap-card th {
    color: var(--gray-600);
    display: block;
    font-family: var(--castledown-bold);
    font-size: var(--font-body-2xs);
    font-weight: 700;
    line-height: var(--line-2xs);
    margin-bottom: 4px;
    margin-top: 8px;
}

.bap-card th {
    display: table-cell;
    text-align: left;
}

.bap-card p,
.bap-card td {
    color: var(--blue-900);
    display: block;
    font-family: var(--castledown-regular);
    font-size: var(--font-body-sm);
    font-weight: 400;
    line-height: var(--line-sm);
    margin-bottom: 8px;
    margin-top: 4px;
}

.bap-card td {
    display: table-cell;
    padding: 0;
}

.bap-center {
    background-color: #ca5e3b;
    background-image: url('../images/care-center-illustration.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 16px;
    display: block;
    padding: 140px 10px 10px;
}

.bap-center .bap-card {
    border: 0;
    margin: 0;
}

.card-background-0 {
    background-color: #1565c0;
}

.card-background-1 {
    background-color: #ffe0b2;
}

.card-background-2 {
    background-color: #1976d2;
}

.card-background-3 {
    background-color: #ff9800;
}

.card-background-4 {
    background-color: #42a5f5;
}

.card-background-5 {
    background-color: #bbdefb;
}

.card-background-6 {
    background-color: #90caf9;
}

/* END OF TEMPORARY BAP COMPONENTS FOCUSED STYLES =========================== */


/* BEGIN OF UPDATE PASSWORD SUCCESS STYLES ===================================================== */

.content-section .section-info__area .green-checkmark {
    display: block;
    margin: 85px auto 0px;
}

.section-info__area .success-message {
    color: var(--blue-900);
    font-size: var(--font-body-lg);
    line-height: var(--line-lg);
    margin: 24px 0px 32px;
    text-align: center;
}

.content-section .section-info__area a {
    text-decoration-line: none;
}

.content-section .section-info__area .kc-button--primary {
    display: block;
    margin: 0px auto;
}

/* END OF UPDATE PASSWORD SUCCESS STYLES ===================================================== */



/* BEGINING OF BAP-PAYMENT-METHOD-FORM STYLES =============================== */

.bap-button--thin {
    font-size: var(--font-body-sm);
    line-height: var(--line-sm);
    padding: 8px 12px;
}

.bap-placeholder {
    margin-top: 32px;
}

.bap-payment-method-card {
    border: 2px solid var(--gray-300);
    border-radius: 8px;
    display: block;
    margin: 0 0 16px;
    overflow: hidden;
    padding: 16px;
}

.bap-payment-method-card__action-buttons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: right;
}

.bap-payment-method-card__action-buttons button {
    padding-left: 12px;
    padding-right: 12px;
}

.bap-payment-method-card__content {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.bap-payment-method-card__content button,
.bap-payment-method-card__content img,
.bap-payment-method-card__content input,
.bap-payment-method-card__content p {
    display: inline-block;
}

.bap-payment-method-card__content>img {
    height: 24px;
    margin-right: 8px;
    width: 32px;
}

.bap-payment-method-card__content button,
.bap-payment-method-card__content>img,
.bap-payment-method-card__content input {
    flex: 0 0 auto;
}

.bap-payment-method-card__content input {
    -webkit-appearance: none;
    appearance: none;
    border: none;
    cursor: pointer;
    height: 18px;
    margin-right: 8px;
    position: relative;
    width: 18px;
}

.bap-payment-method-card__content input::after,
.bap-payment-method-card__content input::before {
    border-radius: 50%;
    content: '';
    position: absolute;
}

.bap-payment-method-card__content input::before {
    background-color: var(--gray-300);
    height: 100%;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
}

.bap-payment-method-card__content input::after {
    background-color: transparent;
    height: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    z-index: 10;
}

.bap-payment-method-card__content input:checked:after {
    background-color: var(--gray-200);
}

.bap-payment-method-card__content input:checked::before {
    background-color: var(--blue-500);
}

.bap-payment-method-card__content p span {
    color: var(--blue-900);
}

.bap-payment-method-card__content .bap-button--icon:active {
    transform: scale(0.8);
}

.bap-payment-method-card__content .bap-button--icon img {
    height: 20px;
    margin: 2px 0 0 0;
    vertical-align: baseline;
    width: 20px;
}

.bap-payment-method-card__messages p {
    background-color: var(--blue-100);
    border-radius: 8px;
    font-size: var(--font-body-2xs);
    line-height: var(--line-2xs);
    font-weight: 700;
    display: inline-block;
    padding: 6px 12px;
}

.bap-payment-method-form .bap-content-row {
    margin-top: 32px;
}


@media screen and (min-width: 320px) {
    .bap-payment-method-card__action-buttons button {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media screen and (min-width: 768px) {
    .bap-button:only-child {
        display: block;
        margin: 0 0 0 auto;
        width: auto;
    }

    .bap-button--centered,
    .bap-button--centered:only-child {
        margin: 0 auto;
    }

    .bap-payment-method-card {
        padding: 32px;
    }

    .bap-payment-method-card__action-buttons {
        display: block;
    }

    .bap-payment-method-card__content>img {
        height: 33px;
        margin-right: 24px;
        width: 44px;
    }

    .bap-payment-method-card__content input {
        height: 24px;
        margin-right: 24px;
        width: 24px;
    }

    .bap-payment-method-card__content .bap-button.bap-button--icon {
        height: 32px;
        width: 32px;
    }

    .bap-payment-method-card__content .bap-button--icon img {
        height: 24px;
        margin-top: 4px;
        width: 24px;
    }
}

/* END OF BAP-PAYMENT-METHOD-FORM STYLES ==================================== */



/* BEGINING OF EDIT-PASSWORD-FORM STYLES ==================================== */

progress[value] {
    appearance: none;
    border: none;
    border-radius: 4px;
    display: block;
    height: 4px;
    margin: 12px 0px 8px;
    width: 100%;
}

progress[value]::-webkit-progress-bar {
    background-color: var(--gray-300);
    border: 0px solid var(--gray-300);
    border-radius: 4px;
    overflow: hidden;
}

progress[value]::-webkit-progress-value {
    background-color: var(--red-900);
}

progress[value]::-moz-progress-bar {
    background-color: var(--red-900);
}

.bap-help-text--password-strength {
    text-align: right;
}

.bap-help-text--password-strength .strength-error,
.bap-help-text--password-strength .strength-poor {
    color: var(--red-900);
    font-family: var(--castledown-bold);
}

.bap-help-text--password-strength .strength-fair {
    color: var(--orange-900);
    font-family: var(--castledown-bold);
}

.bap-help-text--password-strength .strength-great {
    color: var(--green-900);
    font-family: var(--castledown-bold);
}

/* END OF EDIT-PASSWORD-FORM STYLES ========================================= */

/* BEGIN OF PASSWORD STYLES ========================================= */

.kc-password__input-wrap {
    display: flex;
    align-items: center;

    .k-icon {
        background-color: transparent;
        display: inline-block;
        font-size: 20px;
        padding: 0;
        margin-right: 20px;
        color: var(--blue-900);

        &:hover {
            cursor: pointer;
        }
    }
}

.kc-progress-bar {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.kc-progress-bar-status__wrap {
    background-color: #EAE8E8;
    border: 0;
    border-radius: 4px;
    height: 4px;
    overflow: hidden;
    position: relative;
    transition: 0.5s ease-in-out all;
}

.kc-progress-bar-status__wrap[aria-valuenow='1'] .kc-progress-bar-status {
    background-color: var(--red-500);
    border-color: var(--red-500);
}

.kc-progress-bar-status__wrap[aria-valuenow='2'] .kc-progress-bar-status {
    background-color: var(--orange-500);
    border-color: var(--orange-500);
}

.kc-progress-bar-status__wrap[aria-valuenow='3'] .kc-progress-bar-status {
    background-color: var(--green-500);
    border-color: var(--green-500);
}

.kc-progress-bar-status {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    transition: 0.5s ease-in-out all;
}

.kc-progress-bar-status__label {
    text-align: right;
}

/* END OF PASSWORD STYLES ========================================= */

/* BEGIN OF AUTOPAY-PROMPT STYLES ========================================= */

.button-wrapper {
    display: flex;
    justify-content: space-between;
    margin: 24px 0px;
}

.button-wrapper .bap-button {
    flex: 1 0 auto;
}

@media screen and (min-width: 768px) {
    .button-wrapper {
        display: block;
        text-align: end;
    }
}

/* END OF AUTOPAY-PROMPT STYLES ========================================= */



/* CENTER SEARCH STYLES ===================================================== */

.card-list {
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
}

@media screen and (min-width: 768px) {
    .card-list {
        row-gap: 1.5rem;
        margin-bottom: 2rem;
    }
}

/* END OF CENTER SEARCH STYLES ============================================== */

/* MANAGE BACKUP CARE STYLES ============================================== */
.page-content-manage-backup-care .content-section{
    padding-bottom: 2rem;
}

.manage-backup-message {
    font-size: var(--font-body-xs);
}

.manage-backup-info-panels.kc-info-panel {
    display: block;
    margin: 0 auto;
    max-width: calc(768px + 48px);
    padding: 0 1.5rem;
}

/* END OF MANAGE BACKUP CARE SEARCH STYLES ============================================== */

/* GENERIC TABLE STYLES ============================================== */

.kc-table table {
    border: none;
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    width: 100%;
    table-layout: fixed;
}
  
.kc-table table caption {
    font-size: 1.5rem;
    margin: .5rem 0 .75rem;
}

.kc-table table tr {
    border: none;
    padding: .35rem;
    font-size: var(--font-body-md);
}

.kc-table table th,
.kc-table table td {
    padding: 1.25rem 0.8125rem 1.25rem 0.8125rem;
    text-align: left;
}

.kc-table table {
    border-top-left-radius: 0.625rem; 
    border-top-right-radius: 0.625rem;
    border-spacing: 0;
    border-collapse: separate;
    border: var(--border);
    overflow: hidden;
}

.kc-table table th {
    background-color: var(--gray-200);
    font-size: var(--font-body-md);
    font-weight: 700;
}

@media screen and (min-width: 768px) {
    .kc-table table th {
        font-size: var(--font-body-lg);
    }
}

.manage-backup-care-table-header {
    max-width: calc(768px + 48px);
}

.manage-backup-care-usage-table-header {
    max-width: calc(768px + 48px);
    margin-top: 0;
}

@media screen and (max-width: 459px) { 
    .kc-table table th {
        font-size: var(--font-body-sm);
        padding: 0.3125rem;
    }

    .kc-table table td {
        font-size: var(--font-body-sm);
        padding: 0.3125rem;
    }
}

@media screen and (max-width: 400px) { 
    .kc-table {
        max-width: 100%;
        overflow: auto;
    }

    .kc-table table {
        min-width: 260px;
    }

    .kc-table table tr {
        border: none;
        padding: .35rem;
    }
    
    .kc-table table th {
        font-size: var(--font-body-xs);
        padding: 0.75rem 0.5rem
    }

    .kc-table table td {
        font-size: var(--font-body-xs);
        padding: 0.75rem 0.5rem
    }
}

/* END OF GENERIC TABLE STYLES ============================================== */

.kc-beta-message-section {
    padding: 80px 0px 0px;
}

.kc-beta-message-section__content h1 {
    text-align: center;
}

.kc-beta-message-section__content p {
    font-family: var(--castledown-heavy);
    font-size: var(--font-body-xl);
    line-height: var(--line-xl);
    text-align: center;
}

.kc-beta-message-section__content img {
    display: block;
    margin: 32px auto 0;
}

.kc-beta-message-section__actions {
    display: none;
}

.kc-beta-message-section--contained {
    margin: 4rem 0 0;
    padding: 0;
    text-align: left;
}

.kc-beta-message-section--contained h1,
.kc-beta-message-section--contained p {
    text-align: left;
}

.kc-beta-message-section--contained .kc-beta-message-section__actions {
    display: none;
}

@media screen and (min-width: 768px) {
    .kc-beta-message-section {
        padding: 20px 0;
    }

    .kc-beta-message-section--contained {
        padding: 0;
    }

    .kc-beta-message-section__content h1 {
        font-size: var(--font-body-7xl);
        text-align: center;
    }

    .kc-beta-message-section__content p {
        font-size: var(--font-body-4xl);
        line-height: var(--line-4xl);
        text-align: center;
    }

    .kc-beta-message-section__content img {
        width: 130px;
        margin: 60px auto 0px;
    }

    .kc-beta-message-section__actions {
        display: block;
        margin: 60px auto 40px;
    }

    .kc-beta-message-section__actions a {
        text-decoration: none;
    }

    .kc-beta-message-section__actions .kc-button:only-child {
        width: -moz-fit-content;
        width: fit-content;
        min-width: 200px;
    }
}

@media screen and (min-width: 1024px){
    .student-enrollment{
        padding-top: 2.5rem;
    }
}


/* MANAGE SCHEDULED PAYMENTS STYLES ========================================= */

.scheduled-payment-count {
    display: block;
    margin: 1rem 0;
}

/* END OF MANAGE SCHEDULED PAYMENTS STYLES ================================== */




/* OVERRIDES AREA - LEAVE FOR LAST ========================================== */

.mdc-menu-surface {
    display: none;
}

.mdc-menu {
    z-index: 9999 !important;
}

.kc-app .mdc-list-item {
    color: var(--blue-900);
    line-height: var(--line-sm);
    font-family: var(--castledown-bold);
    font-size: var(--font-body-sm);
    padding: 0.5rem 1rem;
}

.icon-description-container {
    display:flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.icon-description-container img {
    margin-right: 1rem;
}

#additionalPayerEmptyState .kc-card__body{
    font-family: 'Castledown Bold', sans-serif;
    font-size: 20px;
    font-weight: 900;
    line-height: 30px;
    max-width: 100%;
    overflow: hidden;
    word-wrap: break-word;
}

@media screen and (min-width: 768px) {
    #student-enrollment-section .kc-cta-wrapper .kc-button {
        flex: 1;
        margin: 0 8rem;
    }
}

#requestBackupCareContainer .section-header {
    flex-wrap: wrap;
    gap: 1rem;
}

#requestBackupCareContainer .section-header small {
    flex: 0 0 100%;
}

#manageBackupCareTableBody .status-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#manageBackupCareTableBody .status-container img {
    height: 25px;
}

#viewBucReservationDetailsModal .kc-modal__body {
    height: auto;
}

#viewBucReservationDetailsModal .kc-modal__body p {
    font-family: var(--castledown-regular);
}

.p-top24 {
    padding-top: 24px;
}

.page-content #manageBackupCareUsages {
    overflow-y: hidden;
}

.kc-show-more-link {
    display: block;
    text-align: right;
    margin-bottom: 1rem;
}

.hyperlinkWithImage {
    text-decoration: none;
    vertical-align: baseline;
}

.imageWithHyperlink {
    vertical-align: sub;
}

.kc-form__row[data-currency-input]::before {
    top: 48px;
}

.additional-payer-frequency-content p {
    font-size: var(--font-body-xs);
    line-height: var(--line-xs);
    margin: 0 0 2rem;
}

.apAutopayEnrollConfirmMessageDiv {
    margin: 3rem auto 0;
}

#additionalPayerWelcomeMessage .kc-cta-wrapper .kc-button.kc-button--secondary {
    background-color: var(--blue-100);
    color: #2B596D;
    border: 2px solid #2B596D;
}

@media screen and (max-width: 768px) {
    #additionalPayerWelcomeMessage .kc-cta-wrapper {
        display: block;
    }
    #additionalPayerWelcomeMessage .kc-cta-wrapper .kc-button {
        max-width: 320px;
        display: block;
        margin: 0 auto 16px;
    }
}

.autopayEndDateContainer {
    position: relative;
  }

.autopayEndDateContainer input[type="text"] {
    padding-right: 2rem;
}
  
.autopayEndDateContainer .clearIcon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    height: 1.25rem;
    width: 1.25rem;
    cursor: pointer;
    z-index: 2;
}
