/* ==========================================================
   ESSENTIAL SUPPLIES MODERN SKIN
   Loaded AFTER all shared Zeus styles.
   ========================================================== */


/* ==========================================================
   THEME
   ========================================================== */

.theme-essential {
    --essential-primary: #00677a;
    --essential-primary-dark: #005466;
    --essential-primary-soft: #e7f3f5;
    --essential-green: #62ad45;
    --essential-green-dark: #4f9138;
    --essential-background: #eef2f4;
    --essential-surface: #ffffff;
    --essential-border: #d5dde1;
    --essential-text: #26343a;
    --essential-text-muted: #68767c;
    background: var(--essential-background);
    color: var(--essential-text);
    overflow-x: hidden;
}


    /* Keep sizing predictable inside the Essential theme only */

    .theme-essential *,
    .theme-essential *::before,
    .theme-essential *::after {
        box-sizing: border-box;
    }


/* ==========================================================
   PAGE LAYOUT
   ========================================================== */

html {
    margin: 0;
    padding: 0;
}

body.theme-essential {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
}

.theme-essential .o-site-wrap {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

.theme-essential #body {
    flex: 1 0 auto;
    min-width: 0;
    margin: 0;
    background: var(--essential-background);
}

.theme-essential .home-dashboard {
    margin: 0;
    min-width: 0;
    background: var(--essential-background);
}

.theme-essential .c-site-footer {
    flex: 0 0 auto;
    margin-top: auto;
    background: var(--essential-primary);
    border-top: 3px solid var(--essential-green);
}

/* ==========================================================
   HEADER
   ========================================================== */

.theme-essential .c-site-header {
    position: relative;
    flex: 0 0 auto;
    min-height: 72px;
    width: 100%;
    margin: 0;
    overflow: hidden;
    background: var(--essential-primary);
    border: 0;
    box-shadow: 0 2px 12px rgba(0, 47, 61, .15);
}


    /*
 * White branding area.
 *
 * The diagonal edge transitions into the teal navigation.
 */

    .theme-essential .c-site-header::before {
        content: "";
        position: absolute;
        z-index: 0;
        top: 0;
        bottom: 0;
        left: 0;
        width: 39%;
        background: linear-gradient( 117deg, #ffffff 0%, #ffffff 91%, var(--essential-green) 91%, var(--essential-green) 92%, #ffffff 92%, #ffffff 100% );
        clip-path: polygon( 0 0, 100% 0, calc(100% - 42px) 100%, 0 100% );
    }

    .theme-essential .c-site-header::after {
        display: none;
    }

    /*
 * Header contents sit above the decorative backgrounds.
 */

    .theme-essential .c-site-header > .u-wrapper {
        position: relative;
        z-index: 1;
        min-height: 72px;
    }


/* ==========================================================
   LOGO
   ========================================================== */

.theme-essential .logo.logo--zeus {
    display: flex;
    align-items: center;
    width: auto;
    height: 72px;
    margin: 0;
    padding: 4px 0;
    background: transparent;
}


.theme-essential .essential-header-logo {
    display: block;
    width: auto !important;
    height: 60px !important;
    max-width: 320px !important;
    margin: 0;
    object-fit: contain;
}


/* ==========================================================
   DESKTOP NAVIGATION
   ========================================================== */

.theme-essential .c-site-nav {
    min-height: 72px;
}


    .theme-essential .c-site-nav > ul {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        min-height: 72px;
        margin: 0;
        padding: 0;
    }


.theme-essential .c-site-nav__item {
    display: flex;
    align-items: center;
    min-height: 72px;
    margin: 0;
    padding: 0;
}


    .theme-essential .c-site-nav__item > a,
    .theme-essential .c-site-nav__item > span > a {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 72px;
        padding: 0 18px;
        color: #ffffff;
        font-weight: 700;
        letter-spacing: .06em;
        white-space: nowrap;
        text-decoration: none;
    }


        .theme-essential .c-site-nav__item > a:hover,
        .theme-essential .c-site-nav__item > a:focus,
        .theme-essential .c-site-nav__item > span > a:hover,
        .theme-essential .c-site-nav__item > span > a:focus {
            color: #ffffff;
            background: rgba(255, 255, 255, .10);
        }


        /*
 * Reset legacy Font Awesome positioning inside nav links.
 *
 * Important for the Login lock icon.
 */

       


/* ==========================================================
   HOME PAGE
   ========================================================== */

.theme-essential .home-dashboard {
    display: flex;
    flex: 1 0 auto;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    background: var(--essential-background);
}


    


/* ==========================================================
   HOME HERO
   ========================================================== */

.theme-essential .home-hero {
    overflow: hidden;
    border: 1px solid var(--essential-border);
    border-radius: 14px;
    background: var(--essential-surface);
    box-shadow: 0 12px 35px rgba(30, 55, 65, .11);
}


.theme-essential .home-hero__content {
    background: #ffffff;
}


.theme-essential .home-hero__eyebrow {
    color: var(--essential-primary);
}


.theme-essential .home-hero__content h1 {
    color: var(--essential-primary-dark);
}


.theme-essential .home-hero__intro {
    color: var(--essential-text-muted);
}


/* ==========================================================
   HOME BUTTONS
   ========================================================== */

.theme-essential .home-action--primary {
    border-color: var(--essential-primary);
    background: var(--essential-primary);
    color: #ffffff;
}


    .theme-essential .home-action--primary:hover,
    .theme-essential .home-action--primary:focus {
        border-color: var(--essential-primary-dark);
        background: var(--essential-primary-dark);
        color: #ffffff;
    }


.theme-essential .home-action--secondary {
    border-color: var(--essential-primary);
    background: #ffffff;
    color: var(--essential-primary);
}


    .theme-essential .home-action--secondary:hover,
    .theme-essential .home-action--secondary:focus {
        background: var(--essential-primary-soft);
        color: var(--essential-primary-dark);
    }


/* ==========================================================
   USER SUMMARY
   ========================================================== */

.theme-essential .home-user-summary > i {
    color: var(--essential-green);
}


/* ==========================================================
   HERO IMAGE CAPTION
   ========================================================== */

.theme-essential .home-hero__visual-caption {
    border-left-color: var(--essential-green);
}


    .theme-essential .home-hero__visual-caption strong {
        color: var(--essential-primary-dark);
    }


/* ==========================================================
   FORMS / ACCOUNT PAGES
   ========================================================== */

.theme-essential .account-card {
    border-color: var(--essential-border);
    box-shadow: 0 12px 34px rgba(30, 55, 65, .12);
}


.theme-essential .account-card__icon {
    background: var(--essential-primary);
    color: #ffffff;
}


.theme-essential .account-card__header h1 {
    color: var(--essential-primary);
}


.theme-essential .account-field__control input:focus {
    border-color: var(--essential-primary);
    box-shadow: 0 0 0 3px rgba(0, 92, 115, .12);
}


.theme-essential .account-submit-button {
    border-color: var(--essential-primary);
    background: var(--essential-primary);
    color: #ffffff;
}


    .theme-essential .account-submit-button:hover,
    .theme-essential .account-submit-button:focus {
        background: var(--essential-primary-dark);
    }


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 1050px) {

    /*
     * Give navigation more room as screen width decreases.
     */

    .theme-essential .c-site-header::before {
        width: 35%;
    }


    .theme-essential .c-site-header::after {
        left: calc(35% - 46px);
    }


    .theme-essential .essential-header-logo {
        height: 54px !important;
        max-width: 270px !important;
    }


    .theme-essential .c-site-nav__item > a,
    .theme-essential .c-site-nav__item > span > a {
        padding-left: 11px;
        padding-right: 11px;
        letter-spacing: .03em;
    }
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 750px) {

    .theme-essential .c-site-header {
        min-height: 66px;
    }


        /*
     * Keep the white branding treatment on mobile but allow
     * space for the menu trigger.
     */

        .theme-essential .c-site-header::before {
            width: 78%;
            clip-path: polygon( 0 0, 100% 0, calc(100% - 28px) 100%, 0 100% );
        }


        /*
     * Green diagonal is unnecessary at mobile size.
     */

        .theme-essential .c-site-header::after {
            display: none;
        }


        .theme-essential .c-site-header > .u-wrapper {
            min-height: 66px;
        }


    .theme-essential .logo.logo--zeus {
        height: 66px;
        padding: 5px 0;
    }


    .theme-essential .essential-header-logo {
        height: 52px !important;
        max-width: 245px !important;
    }


    /*
     * Let the site's existing mobile navigation take over.
     */

    .theme-essential .c-site-nav {
        min-height: auto;
    }


        .theme-essential .c-site-nav > ul {
            display: block;
            min-height: auto;
        }


    .theme-essential .c-site-nav__item {
        display: block;
        min-height: auto;
    }


        .theme-essential .c-site-nav__item > a,
        .theme-essential .c-site-nav__item > span > a {
            display: flex;
            min-height: auto;
            padding: 12px 15px;
            justify-content: flex-start;
        }
}


/* ==========================================================
   SMALL MOBILE
   ========================================================== */

@media (max-width: 480px) {

    .theme-essential .c-site-header::before {
        width: 82%;
    }


    .theme-essential .essential-header-logo {
        height: 46px !important;
        max-width: 210px !important;
    }
}
/* ==========================================================
   LOGIN / LOGOUT
   Legacy skin adds the icon through a pseudo-element.
   ========================================================== */

.theme-essential .c-site-nav .loginLink {
    position: relative;
    display: flex;
    align-items: center;
    white-space: nowrap;
}


    /*
 * The shared stylesheet generates the login icon using
 * ::before. Put it back into normal flow rather than letting
 * legacy absolute positioning overlap the text.
 */
    .theme-essential .c-site-nav .loginLink::before {
        position: static !important;
        display: inline-block !important;
        margin: 0 8px 0 0 !important;
        transform: none !important;
    }