body.webreg-page {
    background: #00435e;
    color: #303842;
    min-width: 320px;
}

.webreg-page #page-wrapper {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../../images/banner.jpg");
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
    padding-top: 0;
}

.webreg-page #page-wrapper > .wrapper {
    padding-bottom: 0;
    padding-top: 0;
}

.webreg-page .wrapper > .inner {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.webreg-page #header a,
.webreg-page #menu a {
    border-bottom: 0;
}

.webreg-main {
    flex: 1;
    margin-top: 3rem;
    padding: 1.5rem 1.25rem;
}

.webreg-panel {
    background: #fbfbfb;
    border-radius: 4px;
    color: #303842;
    margin: 0 auto;
    max-width: 820px;
    padding: 2.5rem 3rem;
    width: 100%;
}

.webreg-panel,
.webreg-panel * {
    letter-spacing: 0;
}

.webreg-panel strong {
    color: #111111 !important;
}

.webreg-heading {
    margin: 0 0 1.5rem;
    text-align: center;
}

.webreg-heading h1 {
    color: #111111;
    font-size: 1.45rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    line-height: 1.4;
    margin: 0;
    text-transform: uppercase;
}

.webreg-copy,
.webreg-status {
    font-size: 0.98rem;
    line-height: 1.55;
    margin: 0 auto 1.5rem;
    max-width: 680px;
    text-align: justify;
}

.webreg-copy p,
.webreg-status p {
    margin: 0 0 0.8rem;
}

.webreg-copy p:last-child,
.webreg-status p:last-child {
    margin-bottom: 0;
}

.webreg-copy-summary {
    max-width: 620px;
}

.webreg-price {
    align-items: center;
    display: flex;
    flex-direction: column;
    line-height: 1.5;
    margin: 0 0 1.7rem;
    text-align: center;
}

.webreg-price strong {
    color: #111111;
    font-size: 1.05rem;
    font-weight: 600;
}

.webreg-price small,
.webreg-tax-note {
    color: #4d5660;
    font-size: 0.78rem;
}

.webreg-alert {
    background: #fff1f0;
    border-left: 4px solid #b42318;
    border-radius: 4px;
    color: #7a271a;
    margin: 0 0 1.4rem;
    padding: 0.8rem 1rem;
}

.webreg-alert-info {
    background: #eef5fb;
    border-left-color: #35639b;
    color: #243f60;
}

.webreg-customer-notice {
    border-left: 0;
}

.webreg-alert p {
    margin: 0 0 0.5rem;
}

.webreg-alert p:last-child {
    margin-bottom: 0;
}

.webreg-alert a {
    color: inherit;
    font-weight: 600;
}

.webreg-form {
    margin: 0;
}

.webreg-program-field {
    margin: 0 auto;
    max-width: 22rem;
}

.webreg-program-label {
    color: #303842;
    display: block;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0 auto 0.4rem;
    max-width: 11rem;
    text-align: center;
}

.webreg-program-field input[type="text"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    text-align: center;
    width: 11rem;
}

.webreg-program-field input[type="text"]::placeholder {
    color: #9aa2aa;
    opacity: 0.35;
}

.webreg-program-help {
    color: #303842;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0 auto 1rem;
    max-width: 620px;
    text-align: justify;
}

.webreg-grid {
    display: grid;
    gap: 1rem 1.25rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.webreg-field-wide {
    grid-column: 1 / -1;
}

.webreg-visually-hidden {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.webreg-panel input[type="text"],
.webreg-panel input[type="email"] {
    background: #ffffff;
    border: 1px solid #b9c0c6;
    border-radius: 4px;
    color: #111111;
    height: 2.85rem;
    padding: 0 0.8rem;
}

.webreg-panel input::placeholder {
    color: #59616b;
    opacity: 1;
}

.webreg-panel input[type="text"]:focus,
.webreg-panel input[type="email"]:focus {
    border-color: #4f77b6;
    box-shadow: 0 0 0 2px rgba(79, 119, 182, 0.35);
}

.webreg-panel input.is-invalid {
    border-color: #d92d20;
    box-shadow: 0 0 0 1px #d92d20;
}

.webreg-field-error {
    color: #a32016;
    display: block;
    font-size: 0.78rem;
    line-height: 1.35;
    margin-top: 0.35rem;
}

.webreg-selection {
    align-items: center;
    background: #eef1f3;
    border-radius: 4px;
    display: flex;
    font-size: 1.05rem;
    gap: 1rem;
    justify-content: space-between;
    margin: 0 0 1.5rem;
    padding: 0.8rem 1rem;
}

.webreg-selection-program,
.webreg-selection-price {
    align-items: center;
    display: flex;
    gap: 1rem;
}

.webreg-selection-price {
    margin-left: auto;
    white-space: nowrap;
}

.webreg-selection span {
    color: #5b6570;
}

.webreg-selection strong {
    color: #111111;
    font-weight: 600;
}

.webreg-heading-action {
    margin: 0.8rem 0 0;
}

.webreg-panel .webreg-heading-button {
    background: #456fad;
    border: 1px solid #456fad;
    border-radius: 3px;
    box-shadow: none;
    color: #ffffff !important;
    font-size: 0.68rem;
    font-weight: 700;
    height: 1.9rem;
    line-height: 1;
    min-width: 7rem;
    padding: 0 1rem;
    text-transform: uppercase;
}

.webreg-panel .webreg-heading-button:hover,
.webreg-panel .webreg-heading-button:focus {
    background: #355987;
    border-color: #355987;
    color: #ffffff !important;
}

.webreg-option {
    align-items: center;
    background: transparent;
    border: 0;
    color: #303842;
    cursor: pointer;
    display: flex;
    gap: 0.65rem;
    margin: 1.25rem 0 0;
    padding: 0;
}

.webreg-option input[type="checkbox"] {
    appearance: auto;
    display: block;
    flex: 0 0 auto;
    height: 1rem;
    margin: 0;
    opacity: 1;
    position: static;
    width: 1rem;
    z-index: auto;
}

.webreg-option span {
    color: #111111;
    display: block;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.4;
    position: relative;
    top: 1px;
}

.webreg-legal-copy {
    color: #414a54;
    font-size: 0.8rem;
    line-height: 1.45;
    margin: 1.25rem 0 0;
    text-align: justify;
}

.webreg-legal-copy a {
    color: #243f60;
    font-weight: 600;
}

.webreg-payment-copy {
    color: #303842;
    font-size: 0.96rem;
    line-height: 1.5;
    margin: 1.35rem 0 0;
    text-align: justify;
}

.webreg-honeypot {
    height: 1px;
    left: -10000px;
    overflow: hidden;
    position: absolute;
    top: auto;
    width: 1px;
}

.webreg-actions,
.webreg-payment-actions {
    display: grid;
    gap: 0.8rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 1.75rem;
}

.webreg-payment-actions {
    align-items: center;
    gap: 0.7rem;
    grid-template-columns: repeat(2, minmax(0, 18rem));
    justify-items: center;
    justify-content: center;
}

.webreg-actions-single {
    grid-template-columns: minmax(0, 22rem);
    justify-content: center;
}

.webreg-program-actions {
    grid-template-columns: minmax(0, 11rem);
}

.webreg-panel .webreg-primary,
.webreg-panel .webreg-secondary {
    align-items: center;
    border: 0;
    border-radius: 4px !important;
    box-shadow: none;
    display: flex;
    font-size: 0.78rem;
    font-weight: 700;
    height: 3rem;
    justify-content: center;
    line-height: 1.2;
    padding: 0 1rem;
    text-align: center;
    text-transform: uppercase;
    white-space: normal;
    width: 100%;
}

.webreg-panel .webreg-primary {
    background: #354052;
    color: #ffffff !important;
}

.webreg-panel .webreg-primary:hover {
    background: #202a38;
    color: #ffffff !important;
}

.webreg-panel .webreg-program-submit {
    background: #456fad;
}

.webreg-panel .webreg-program-submit:hover,
.webreg-panel .webreg-program-submit:focus {
    background: #365b91;
}

.webreg-panel .webreg-secondary {
    background: rgba(6, 17, 33, 0.82);
    color: #ffffff !important;
}

.webreg-panel .webreg-secondary:hover {
    background: rgba(6, 17, 33, 0.95);
    color: #ffffff !important;
}

.webreg-panel .webreg-image-button {
    background: transparent;
    border: 0;
    box-shadow: none;
    display: block;
    height: auto;
    line-height: 0;
    margin: 0;
    max-width: 100%;
    padding: 0;
    width: auto;
}

.webreg-panel .webreg-image-button:hover,
.webreg-panel .webreg-image-button:focus,
.webreg-panel .webreg-image-button:active {
    background: transparent;
    box-shadow: none;
}

.webreg-image-button img {
    display: block;
    height: auto;
    max-width: 100%;
}

.webreg-button-image-hover {
    display: none !important;
}

.webreg-image-button:hover .webreg-button-image-default,
.webreg-image-button:focus .webreg-button-image-default {
    display: none;
}

.webreg-image-button:hover .webreg-button-image-hover,
.webreg-image-button:focus .webreg-button-image-hover {
    display: block !important;
}

.webreg-back-action {
    margin-top: 1rem;
    text-align: center;
}

.webreg-panel .webreg-link-button {
    background: transparent;
    border: 0;
    box-shadow: none;
    color: #344b67;
    font-size: 0.8rem;
    height: auto;
    line-height: 1.4;
    padding: 0.3rem 0.8rem;
    text-decoration: underline;
}

.webreg-summary {
    border: 1px solid #d6dbe0;
    border-radius: 4px;
    margin: 0 auto;
    max-width: 620px;
    overflow: hidden;
}

.webreg-summary > div {
    align-items: center;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(10rem, 0.75fr) minmax(0, 1.25fr);
    min-height: 4.4rem;
    padding: 0.72rem 1rem;
}

.webreg-summary > div:nth-child(odd) {
    background: #eef1f3;
}

.webreg-summary dt {
    align-items: center;
    align-self: stretch;
    color: #505963;
    display: flex;
    line-height: 1.4;
    margin: 0;
}

.webreg-summary dd {
    align-items: center;
    align-self: stretch;
    color: #111111;
    display: flex;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    overflow-wrap: anywhere;
}

.webreg-summary dd strong {
    color: #111111 !important;
    font-weight: 600;
}

.webreg-summary-detail {
    align-items: center;
    display: flex;
    flex-direction: row;
    gap: 0.7rem;
}

.webreg-summary-detail small {
    color: #4d5660;
    font-size: 0.72rem;
    font-weight: 400;
    line-height: 1.35;
}

.webreg-summary-final-copy {
    margin-bottom: 1.4rem;
    margin-top: 1.4rem;
}

.webreg-final-payment-action {
    display: flex;
    justify-content: center;
}

.webreg-status,
.webreg-status p {
    color: #303842;
}

.webreg-status strong {
    color: #111111 !important;
}

.webreg-status-complete {
    font-size: 1.05rem;
}

.webreg-panel .webreg-home-link,
.webreg-panel .webreg-home-link:hover,
.webreg-panel .webreg-home-link:focus {
    text-decoration: none;
}

.webreg-page #footer.webreg-footer {
    background: transparent;
    background-image: none;
    border-top: 1px solid #d7dce0;
    color: #1f2933;
    font-size: 0.82rem;
    font-weight: 400;
    line-height: 1.6;
    margin: 2rem 0 0;
    padding: 1rem 0 0;
    text-align: center;
}

.webreg-footer-copyright {
    margin: 0 0 0.4rem;
}

.webreg-footer-links {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0 0.45rem;
    justify-content: center;
}

.webreg-page #footer.webreg-footer a {
    color: #1f2933;
    font-weight: 400;
    margin: 0;
}

@media screen and (max-width: 736px) {
    .webreg-main {
        margin-top: 3rem;
        padding: 1rem 0.75rem;
    }

    .webreg-panel {
        padding: 1.75rem 1.1rem;
    }

    .webreg-heading h1 {
        font-size: 1.35rem;
    }

    .webreg-grid,
    .webreg-actions,
    .webreg-payment-actions,
    .webreg-summary > div {
        grid-template-columns: 1fr;
    }

    .webreg-actions.webreg-program-actions {
        grid-template-columns: minmax(0, 11rem);
    }

    .webreg-field-wide {
        grid-column: auto;
    }

    .webreg-selection {
        align-items: stretch;
        flex-direction: column;
        gap: 0.65rem;
    }

    .webreg-selection-program {
        display: grid;
        gap: 0.65rem;
        grid-template-columns: auto auto;
        justify-content: start;
    }

    .webreg-selection-price {
        justify-content: flex-start;
        margin-left: 0;
    }

    .webreg-summary > div {
        gap: 0.15rem;
    }

    .webreg-summary dd.webreg-summary-detail {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.15rem;
    }
}

@media screen and (max-width: 420px) {
    .webreg-panel {
        padding: 1.5rem 0.9rem;
    }

    .webreg-selection {
        font-size: 0.95rem;
    }

    .webreg-selection-program {
        gap: 0.45rem;
    }

    .webreg-panel .webreg-heading-button {
        font-size: 0.62rem;
        padding: 0 0.75rem;
    }
}

.webreg-mail-preview {
    margin: 1em 0;
    text-align: left;
}

.webreg-mail-preview summary {
    cursor: pointer;
    font-weight: 600;
}

.webreg-mail-preview iframe {
    width: 100%;
    min-height: 32em;
    margin-top: .75em;
    border: 1px solid #c8d3dc;
    background: #fff;
}
