/* =========================================================================
   x2VOL public homepage (index.html) — mobile-first, responsive.

   This file is used ONLY by wwwroot/index.html. css/v2/main.css is still
   shared by the login-error, registration and SSO pages, so the homepage no
   longer loads it; the handful of rules the login modal depends on are
   carried over at the bottom of this file under #sign-in-modal.

   Breakpoints: 640px (small tablet), 900px (tablet / small laptop),
   1100px (desktop).
   ========================================================================= */

:root {
    --navy: #113847;
    --navy-2: #2d5768;
    --navy-ink: #213f55;
    --teal: #30525f;
    --deep: #08212b;
    --green: #8dc63f;
    --green-dark: #6a972d;
    --green-pale: #d9ecbf;
    --white: #fff;
    --max: 1200px;
    --gutter: 16px;
    --radius: 10px;
    --header-h: 64px;
}

@media (min-width: 640px) {
    :root { --gutter: 32px; }
}

@media (min-width: 900px) {
    :root { --header-h: 76px; }
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

/* Like the pre-redesign page (css/v2/main.css .container), the whole page is capped at
   --max wide and centered; section backgrounds stop there and the body color shows beyond. */
.hp-header, main, .hp-footer {
    max-width: var(--max);
    margin-left: auto;
    margin-right: auto;
}

main { background: var(--white); }

body {
    margin: 0;
    background: #284c59;
    color: var(--navy);
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

@media (min-width: 900px) {
    body { font-size: 18px; }
}

img, video { max-width: 100%; height: auto; display: block; }

/* Page links inherit their section's color (Bootstrap's reboot would make them
   blue and underline on hover). The login modal keeps Bootstrap's link styling. */
.hp-header a, main a, .hp-footer a,
.hp-header a:hover, main a:hover, .hp-footer a:hover { color: inherit; text-decoration: none; }

.hp-footer__legal a:hover, .hp-footer__legal a:focus { color: var(--green); text-decoration: underline; }

h1, h2, h3 { line-height: 1.3; font-weight: 700; margin: 0 0 .5em; }

.hp-wrap {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}

.hp-section { padding: 48px 0; }

@media (min-width: 900px) {
    .hp-section { padding: 72px 0; }
}

.hp-section-title {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 32px;
    text-transform: uppercase;
    letter-spacing: .02em;
}

    .hp-section-title img {
        display: inline-block;
        height: 1.4em;
        width: auto;
        margin-right: .4em;
        vertical-align: middle;
    }

@media (min-width: 900px) {
    .hp-section-title { font-size: 1.875rem; }
}

/* Image-based section titles (title-*.png): cap their width on every screen. */
.hp-title-img {
    width: 100%;
    max-width: 480px;
    margin-bottom: 12px;
}

.hp-skip {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 2000;
    background: var(--green);
    color: var(--white);
    padding: 8px 16px;
}

    .hp-skip:focus { left: 8px; top: 8px; }

/* ---------- Buttons ---------- */

.hp-btn {
    display: inline-block;
    min-width: 200px;
    padding: 12px 20px;
    border: 1px solid var(--white);
    border-radius: 7px;
    color: var(--white);
    font-size: .875rem;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: .03em;
    transition: background-color .2s, color .2s, border-color .2s;
}

    .hp-btn:hover, .hp-btn:focus {
        background: var(--green-dark);
        border-color: var(--green-dark);
        color: var(--white);
        text-decoration: none;
    }

.hp-btn--solid {
    background: var(--green);
    border-color: var(--green);
}

.hp-btn--navy {
    background: linear-gradient(to bottom, var(--navy) 0%, var(--navy-2) 100%);
    border: 0;
}

    .hp-btn--navy:hover, .hp-btn--navy:focus {
        background: var(--navy);
        opacity: .85;
    }

.hp-btn--outline-navy {
    color: var(--navy-ink);
    border-color: var(--navy-ink);
}

    .hp-btn--outline-navy:hover, .hp-btn--outline-navy:focus {
        background: var(--navy-ink);
        border-color: var(--navy-ink);
    }

@media (max-width: 639px) {
    .hp-btn { width: 100%; min-width: 0; }
}

/* ---------- Header bar ---------- */

.hp-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(17, 56, 71, .95);
    color: var(--white);
}

.hp-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-h);
}

.hp-logo img { width: 110px; height: auto; }

@media (min-width: 900px) {
    .hp-logo img { width: 130px; }
}

.hp-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 8px;
    color: var(--white);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.hp-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(17, 56, 71, .98);
    border-top: 1px solid rgba(255, 255, 255, .2);
}

    .hp-nav.is-open { display: block; }

    .hp-nav a {
        display: block;
        padding: 14px var(--gutter);
        color: var(--white);
        font-size: .9375rem;
        font-weight: 600;
        text-decoration: none;
        text-transform: uppercase;
        border-bottom: 1px solid rgba(255, 255, 255, .15);
    }

        .hp-nav a:hover, .hp-nav a:focus { background: rgba(255, 255, 255, .08); color: var(--white); }

    .hp-nav .hp-nav__help i { margin-right: 6px; }

    /* Links that only make sense in the collapsed menu (the hero already has them). */
    .hp-nav .hp-nav__mobile-only { display: block; }

@media (min-width: 900px) {
    .hp-nav-toggle { display: none; }

    .hp-nav {
        display: flex !important;
        position: static;
        align-items: center;
        background: transparent;
        border: 0;
    }

        .hp-nav a {
            padding: 8px 10px;
            margin-left: 4px;
            border: 1px solid transparent;
            border-radius: 10px;
            font-size: .875rem;
        }

            .hp-nav a:hover, .hp-nav a:focus { background: transparent; border-color: var(--white); }

        .hp-nav .hp-nav__mobile-only { display: none; }

        .hp-nav .hp-nav__help span { position: absolute; left: -9999px; }

        .hp-nav .hp-nav__help i { margin: 0; font-size: 1.1rem; }
}

/* ---------- Hero ---------- */

.hp-hero {
    position: relative;
    overflow: hidden;
    background: var(--teal) url("/Images/v2/header_bg.jpg") center / cover no-repeat;
    color: var(--white);
    text-align: center;
}

.hp-hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}

.hp-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--teal);
    opacity: .82;
    mix-blend-mode: multiply;
}

.hp-hero__content {
    position: relative;
    z-index: 1;
    padding-top: 40px;
    padding-bottom: 40px;
}

@media (min-width: 900px) {
    .hp-hero__content {
        padding-top: 96px;
        padding-bottom: 72px;
        /* keep the headline clear of the award violator */
        padding-left: 180px;
        padding-right: 180px;
    }
}

.hp-hero h1 {
    font-size: 1.75rem;
    margin-bottom: 16px;
}

@media (min-width: 640px) {
    .hp-hero h1 { font-size: 2.25rem; }
}

@media (min-width: 1100px) {
    .hp-hero h1 { font-size: 2.625rem; }
}

.hp-hero__sub {
    font-size: 1rem;
    max-width: 760px;
    margin: 0 auto 28px;
}

@media (min-width: 900px) {
    .hp-hero__sub { font-size: 1.125rem; }
}

.hp-hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    justify-content: center;
}

.hp-hero__stat {
    margin: 24px 0 0;
    color: var(--green);
    font-weight: 700;
    font-size: .9375rem;
}

/* One line wherever it fits; on narrow phones it wraps rather than overflowing. */
@media (min-width: 640px) {
    .hp-hero__stat { white-space: nowrap; font-size: 1.125rem; }
}

/* Award "violator": upper-right corner of the hero. */
.hp-violator {
    position: relative;
    z-index: 2;
    display: block;
    width: 96px;
    margin: 0 0 12px auto;
    /* the PNG is square; round it to match its green frame and hide the white corners */
    border-radius: 7%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .3);
}

@media (min-width: 900px) {
    .hp-violator {
        position: absolute;
        top: 20px;
        right: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
        width: 150px;
        margin: 0;
    }
}

@media (min-width: 1100px) {
    .hp-violator { width: 170px; }
}

/* ---------- Solution links strip (directly under the hero) ---------- */

.hp-strip {
    background: linear-gradient(to bottom, var(--navy) 0%, var(--navy-2) 100%);
}

    .hp-strip ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        list-style: none;
        margin: 0 auto;
        padding: 0;
        max-width: var(--max);
    }

    .hp-strip li { border: 1px solid rgba(255, 255, 255, .15); border-width: 0 1px 1px 0; }

    .hp-strip a {
        display: block;
        height: 100%;
        padding: 14px 8px;
        border-bottom: 4px solid var(--white);
        color: var(--white);
        font-size: .8125rem;
        font-weight: 600;
        text-align: center;
        text-decoration: none;
        text-transform: uppercase;
    }

        .hp-strip a:hover, .hp-strip a:focus { border-bottom-color: var(--green); color: var(--white); }

@media (min-width: 900px) {
    .hp-strip ul { grid-template-columns: repeat(4, 1fr); }
    .hp-strip li { border-width: 0 1px 0 0; }
    .hp-strip li:last-child { border-right: 0; }
    .hp-strip a { font-size: .875rem; }
}

/* ---------- Two-column layout helper ---------- */

.hp-split {
    display: grid;
    gap: 32px;
    align-items: center;
}

@media (min-width: 900px) {
    .hp-split { grid-template-columns: 1fr 1fr; gap: 48px; }
    .hp-split--reverse > :first-child { order: 2; }
}

/* ---------- "Do you struggle" ---------- */

.hp-struggle {
    background: var(--teal) url("/Images/v2/do-you-struggle_bg.jpg") center / cover no-repeat;
    color: var(--white);
}

    .hp-struggle h2 { font-size: 1.5rem; }

@media (min-width: 900px) {
    .hp-struggle h2 { font-size: 1.875rem; }
}

.hp-struggle .green { color: var(--green); }

/* Widen the text column (graphic shifts right) so the tagline fits on one line. */
@media (min-width: 900px) {
    .hp-struggle .hp-split { grid-template-columns: 1.25fr 1fr; gap: 40px; }
}

/* Bullets were 0.8em of an 18px body (14.4px); bumped ~3pt per the August 2026 request. */
.hp-struggle ul {
    list-style: none;
    margin: 24px 0;
    padding: 0;
    font-size: 1.0625rem;
    line-height: 1.7;
}

    .hp-struggle li {
        position: relative;
        padding-left: 30px;
        margin-bottom: 10px;
    }

        .hp-struggle li::before {
            content: "";
            position: absolute;
            left: 0;
            top: .25em;
            width: 18px;
            height: 18px;
            background: url("/Images/v2/do-you-struggle_bullet.png") center / contain no-repeat;
        }

@media (min-width: 900px) {
    .hp-struggle ul { font-size: 1.1875rem; }
}

/* Same font and size the old "x2VOL Can Help." h3 used (18px / 600). */
.hp-struggle__tagline {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 24px;
}

/* The graphic is navy art on a transparent background, so it needs a light card
   to be readable over the dark photo. */
.hp-struggle__graphic {
    margin: 0 auto;
    padding: 16px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 6px 24px rgba(0, 0, 0, .25);
}

/* ---------- District solution ---------- */

.hp-district {
    background: linear-gradient(to bottom, var(--navy) 0%, var(--navy-2) 100%);
    color: var(--white);
}

    /* title-district-solution.png is 2408x600 with ~200px of transparent padding above and
       below the lettering; crop it to the text band instead of reserving the empty space. */
    .hp-district .hp-title-img {
        aspect-ratio: 2408 / 180;
        object-fit: cover;
        /* Lettering sits at ~y214-372 of 600; this keeps rows ~200-380 (a small even margin). */
        object-position: 50% 47.6%;
        margin-bottom: 0;
    }

    .hp-district h2 { margin-bottom: 0; }

.hp-district__grid {
    display: grid;
    gap: 8px 32px;
    align-items: center;
}

.hp-district ul {
    margin: 0;
    padding-left: 1.25em;
    font-size: 1.0625rem;
    line-height: 1.6;
}

    .hp-district ul li { margin-bottom: 14px; }

.hp-district__aside { text-align: center; }

    .hp-district__aside img {
        max-height: 240px;
        width: auto;
        margin: 8px auto 24px;
    }

@media (min-width: 900px) {
    .hp-district__grid { grid-template-columns: 1fr 1fr minmax(220px, .8fr); }
    .hp-district ul { font-size: 1.125rem; }
}

/* ---------- Technology stack ---------- */

.hp-stack { background: var(--white); text-align: center; }

    .hp-stack img { margin: 0 auto; width: 100%; max-width: 960px; }

/* ---------- Feature sections (community service / service learning / WBL) ---------- */

.hp-feature {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

    .hp-feature h3 {
        font-size: 1.125rem;
        font-style: italic;
        margin-bottom: 16px;
    }

    .hp-feature ul {
        margin: 0 0 24px;
        padding-left: 1.25em;
        font-size: 1rem;
        line-height: 1.7;
    }

        .hp-feature ul li { margin-bottom: 10px; }

.hp-feature__art {
    max-height: 420px;
    width: auto;
    margin: 0 auto;
}

@media (max-width: 899px) {
    .hp-feature__art { max-height: 260px; }
}

/* Green-washed photos: navy text (white is unreadable on the green overlay). */
.hp-feature--community {
    background-image: url("/Images/v3/community-service-bck.png");
    color: var(--navy-ink);
    font-weight: 600;
}

.hp-feature--learning {
    background-color: var(--teal);
    background-image: url("/Images/v3/service-learning-bck.png");
    color: var(--white);
}

.hp-feature--wbl {
    background-color: var(--green-pale);
    background-image: url("/Images/v3/work-based-learning-bck.png");
    color: var(--navy-ink);
    font-weight: 600;
}

/* ---------- Testimonials & case studies ---------- */

.hp-cases {
    background: var(--green-pale);
}

.hp-cases__grid {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) and (max-width: 899px) {
    .hp-cases__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
    /* three equal columns */
    .hp-cases__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.hp-case {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(17, 56, 71, .12);
}

.hp-case__head {
    display: block;
    padding: 12px 18px;
    background: linear-gradient(to bottom, var(--navy) 0%, var(--navy-2) 100%);
    color: var(--white);
    font-size: 1.0625rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
}

    .hp-case__head:hover, .hp-case__head:focus { color: var(--white); opacity: .9; text-decoration: none; }

.hp-case__img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.hp-case__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px;
    color: var(--navy-ink);
}

.hp-case__subhead { font-weight: 700; margin: 0 0 8px; }

/* Larger, bolder copy to match the WBL section. */
.hp-case__text {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.65;
    margin: 0 0 20px;
}

.hp-case__signature {
    font-size: .875rem;
    font-style: italic;
    text-align: right;
    margin: -8px 0 20px;
}

.hp-case__cta { margin-top: auto; text-align: center; }

@media (max-width: 639px) {
    .hp-case__cta .hp-btn { width: auto; min-width: 200px; }
}

/* ---------- Quote slider ---------- */

.hp-quotes { background: var(--white); text-align: center; }

    .hp-quotes h2 {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        font-size: 1.5rem;
        margin-bottom: 24px;
    }

        .hp-quotes h2 img { height: 48px; width: auto; }

@media (min-width: 900px) {
    .hp-quotes h2 { font-size: 1.875rem; }
}

/* All slides share one grid cell, so the box is as tall as the longest quote
   and nothing below it jumps when the slide changes. */
.hp-quotes__track {
    display: grid;
    max-width: 760px;
    margin: 0 auto;
}

.hp-quote {
    grid-area: 1 / 1;
    margin: 0;
    padding: 36px 36px 28px;
    position: relative;
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease, visibility .5s;
}

    .hp-quote.is-active { opacity: 1; visibility: visible; }

    .hp-quote::before, .hp-quote::after {
        content: "";
        position: absolute;
        width: 44px;
        height: 44px;
        background: center / contain no-repeat;
    }

    .hp-quote::before { top: 0; left: 0; background-image: url("/Images/v3/quote-top-left.png"); }

    .hp-quote::after { bottom: 0; right: 0; background-image: url("/Images/v3/quote-bottom-right.png"); }

    .hp-quote blockquote {
        margin: 0 0 16px;
        font-size: 1.0625rem;
        font-weight: 700;
        line-height: 1.6;
    }

    .hp-quote figcaption { font-size: .9375rem; font-weight: 600; }

@media (min-width: 900px) {
    .hp-quote { padding: 48px 64px 40px; }

        .hp-quote::before, .hp-quote::after { width: 72px; height: 72px; }

        .hp-quote blockquote { font-size: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
    .hp-quote { transition: none; }
}

.hp-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding-top: 20px;
}

.hp-dot {
    /* 24px hit target around a 14px dot */
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

    .hp-dot::before {
        content: "";
        display: block;
        width: 14px;
        height: 14px;
        margin: 5px;
        border-radius: 50%;
        background: #bbb;
        transition: background-color .3s;
    }

    .hp-dot[aria-current="true"]::before { background: var(--navy); }

/* ---------- Request pricing ---------- */

.hp-pricing { background: #f3f7ed; text-align: center; }

    .hp-pricing h2 { font-size: 1.375rem; margin-bottom: 24px; }

@media (min-width: 900px) {
    .hp-pricing h2 { font-size: 1.75rem; }
}

/* ---------- Mobile app ---------- */

.hp-app {
    position: relative;
    background: var(--navy) url("/Images/v2/mobile-app_bg.jpg") center / cover no-repeat;
    color: var(--white);
    overflow: hidden;
}

    /* Darker filter over the school photo (August 2026 request). */
    .hp-app::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(8, 33, 43, .78);
    }

.hp-app__inner {
    position: relative;
    display: grid;
    gap: 24px;
    align-items: end;
    padding-top: 40px;
}

.hp-app__copy { padding-bottom: 40px; text-align: center; }

    .hp-app__copy h2 { font-size: 1.5rem; margin-bottom: 12px; }

    .hp-app__copy p { font-size: 1.0625rem; font-style: italic; margin: 0 0 24px; }

.hp-app__stores img { width: 165px; height: auto; }

    .hp-app__copy .green { color: var(--green); font-weight: 700; }

.hp-app__stores {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.hp-app__phones { margin: 0 auto; width: 260px; }

@media (min-width: 900px) {
    .hp-app__inner { grid-template-columns: 340px 1fr; gap: 48px; }
    .hp-app__phones { width: 327px; order: -1; }
    .hp-app__copy { text-align: left; padding-bottom: 56px; }
        .hp-app__copy h2 { font-size: 2rem; }
        .hp-app__copy p { font-size: 1.25rem; }
    .hp-app__stores { justify-content: flex-start; }
}

/* ---------- Footer ---------- */

.hp-footer {
    background: var(--deep);
    color: var(--white);
    padding: 48px 0 24px;
}

.hp-footer__cols {
    display: grid;
    gap: 32px;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .hp-footer__cols { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
    .hp-footer__cols { grid-template-columns: 1fr 1fr 1fr 1fr; }
}

.hp-footer h2 { font-size: 1.25rem; margin-bottom: 12px; }

.hp-footer__links a {
    display: block;
    padding: 4px 0;
    color: var(--white);
    font-weight: 700;
    text-decoration: none;
}

    .hp-footer__links a:hover, .hp-footer__links a:focus { color: var(--green); }

.hp-footer__contact { font-size: .8125rem; line-height: 1.5; }

.hp-footer__social { display: flex; gap: 20px; }

    .hp-footer__social img { width: 32px; height: 32px; }

.hp-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .15);
    font-size: .75rem;
}

    .hp-footer__legal nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }

    .hp-footer__legal a { color: var(--white); }

/* =========================================================================
   Login modal — rules carried over from css/v2/main.css so the modal looks
   the same now that the homepage doesn't load that file.
   ========================================================================= */

.modal-open { overflow: auto; padding-right: 0 !important; }

#sign-in-modal .modal-body {
    padding: 40px;
    color: var(--navy);
    min-height: 450px;
    overflow: hidden;
    font-size: 18px;
    line-height: 150%;
}

#sign-in-modal h2 { font-size: 30px; font-weight: 600; line-height: 136%; }

#sign-in-modal .modal-body input {
    width: 100%;
    border: 1px solid #4d4d4d;
    border-radius: 10px;
    padding: 10px;
    margin: 15px 0;
}

#sign-in-modal .button2 {
    display: inline-block;
    width: 100%;
    margin-top: 20px;
    padding: 12px;
    border: 0;
    border-radius: 7px;
    background: linear-gradient(to bottom, var(--navy) 0%, var(--navy-2) 100%);
    color: var(--white);
    font-size: .7em;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
}

    #sign-in-modal .button2:hover { opacity: .8; }

#sign-in-modal a:hover { text-decoration: none; }

#sign-in-modal .pipe { display: inline; }

#modelContent_1 { display: block; }
#modelContent_2 { display: none; }

#sign-in-modal #modal-hand-graphic-1 {
    position: absolute;
    z-index: 1;
    bottom: 0;
    right: -4px;
    display: block;
    max-width: none;
}

#sign-in-modal #modal-hand-graphic-2 {
    position: absolute;
    z-index: 1;
    bottom: 0;
    right: 20px;
    display: none;
    max-width: none;
}

#sign-in-modal .signin-options .btn .logo {
    position: absolute;
    top: 50%;
    left: 1.0625rem;
    transform: translateY(-50%);
    width: .875rem;
    height: .875rem;
}

#sign-in-modal .btn {
    appearance: none;
    color: #0f1f29;
    background-color: #fff;
    border-radius: 4px;
    border: 1px solid transparent;
    cursor: pointer;
    display: block;
    font-size: inherit;
    font-weight: 400;
    height: 40px;
    letter-spacing: .015em;
    line-height: 1.125rem;
    max-width: 100%;
    overflow-x: hidden;
    padding: .5rem .875rem;
    margin: 1.25rem auto;
    position: relative;
    transition: background .2s, border-radius .2s, box-shadow .2s, border .2s, color .2s;
    text-align: center;
    text-decoration: none;
    touch-action: manipulation;
    white-space: nowrap;
    user-select: none;
}

#sign-in-modal .btn .message { position: relative; font-size: 12pt; }

#sign-in-modal .btn-default { border: 1px solid #a9b0c9; color: #5b627d; }

    #sign-in-modal .btn-default:hover { color: #475066; background-color: #ebf0f7; }

    #sign-in-modal .btn-default:focus { color: #5b627d; background-color: #fff; box-shadow: 0 0 0 3px #bfc4ff; }

    #sign-in-modal .btn-default:active { color: #475066; background-color: #dde1f0; }

@media only screen and (max-width: 990px) {
    #sign-in-modal .modal-dialog { max-width: 500px; }
    #sign-in-modal .modal-dialog .col { display: block; flex: none; }
    #sign-in-modal #right_col { min-height: 300px; }
}

@media only screen and (max-width: 500px) {
    #sign-in-modal .pipe { display: none; }
    #sign-in-modal .modal-body .row #left_col a { display: block; }
    #sign-in-modal .modal-body { padding: 10px; min-height: 600px; line-height: 120%; }
    #sign-in-modal .modal-body input { margin: 5px 0; }
    #sign-in-modal .button2 { margin-top: 5px; }
    #modal-hand-graphic-1 { height: 175px; width: auto; }
    #modal-hand-graphic-2 { height: 210px; width: auto; }
}

/* ---------- Legacy warning popup (login errors / session timeout) ---------- */

.mainPopup { width: 296px; max-width: calc(100vw - 24px); height: auto; overflow: hidden; }

.poupTop { width: 296px; height: 48px; }

    .poupTop .poupLeft { width: 15px; height: 48px; background: url(/Images/leftBg.png); float: left; }

    .poupTop .poupmiddle { width: 266px; height: 48px; background: url(/Images/middleBgPopup.png); float: left; }

    .poupTop .poupRight { width: 15px; height: 48px; background: url(/Images/rightBgPopup.png); float: left; }

.poupTextInfo { width: 296px; height: auto; overflow: hidden; background: url(/Images/middleInfoBgpopup.png); float: left; }

    .poupTextInfo p { font-size: 13px; color: #44484a; padding: 10px 0 10px 30px; line-height: 1.8em; }

.poupBottom { width: 296px; height: 15px; overflow: hidden; background: url(/Images/bottomBgpopup.png); float: left; }

.worIcon { float: left; margin: 15px 10px 0 0; display: inline; }

.worHedline { font-size: 16px; color: #FFF; line-height: 54px; float: left; margin: 0; }

.popupOkTab {
    width: 59px !important;
    height: 26px !important;
    background: url(/Images/okTab.png) !important;
    margin: 0 0 10px 30px !important;
    color: #0b3445 !important;
    border: none !important;
    line-height: 1.5 !important;
    text-shadow: none !important;
}

.marLeftEightFive { margin-left: 85px; }

#blur {
    position: fixed !important;
    z-index: 10000;
    top: 0;
    left: 0;
    background-color: #000;
    opacity: .6;
    display: none;
    width: 100%;
}

.messagePopupCSS { display: none; z-index: 99999; }
