﻿@charset "utf-8";

/* ============================================================
   SITE CHROME - shared header, primary navigation and footer
   ------------------------------------------------------------
   Loaded LAST by both _Layout.cshtml and _Layout2.cshtml so the
   header and footer look identical on every page, including the
   Project Dashboard (which loads projectdashboard.css from the
   view body, i.e. after the layout's <head>). Selectors are
   scoped to #site-header / .site-footer and carry enough
   specificity to win regardless of stylesheet order.
   ============================================================ */


/* ------------------------------------------------------------
   1. FONTS
   NIPSCO.css declares these with format('woff2') on a .ttf file,
   which stricter engines reject - that is why the type fell back
   to Helvetica on some pages. Declared here with the correct
   format hint, and repeated so _Layout2 pages (which do not load
   NIPSCO.css) get Montserrat too. A plain "Montserrat" family is
   also registered so weights can be used normally.
   ------------------------------------------------------------ */
@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat-Regular';
    src: url('../fonts/Montserrat-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat-Bold';
    src: url('../fonts/Montserrat-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --nip-font: 'Montserrat', 'Montserrat-Regular', Arial, Helvetica, sans-serif;
    --nip-navy: #002D3C;
    --nip-blue: #0068A7;
    --nip-green: #8DC63F;
    --nip-sky: #2AAAE1; /* active item in the mobile menu (matches trcsavesenergy.com) */
    --nip-footer-bg: #122b31;
    --nip-nav-size: 15px; /* one size for menu items AND their dropdowns */
    --nip-nav-gap: 18px; /* horizontal padding each side of a menu item */
}


/* ------------------------------------------------------------
   1b. GLOBAL FONT NORMALISATION
   Bootstrap sets `body { font-family: "Helvetica Neue", Helvetica,
   Arial, sans-serif }` and repeats it on form controls, buttons,
   tables, modals, tooltips and popovers. On macOS that resolves to
   Helvetica Neue, so any element the site did not style explicitly
   rendered in a different face. Everything is pinned to Montserrat
   with Arial as the fallback.

   Icon fonts are deliberately NOT touched: Bootstrap's
   `.glyphicon { font-family: 'Glyphicons Halflings' }` is a class
   selector and outranks the element selectors below, so the arrows,
   carets and DataTables sort icons keep working.
   ------------------------------------------------------------ */
html,
body,
h1, h2, h3, h4, h5, h6,
p, a, span, div, li, dt, dd, td, th, caption,
label, legend, small, strong, em, b, i,
input, select, textarea, button, optgroup,
.btn, .form-control, .input-group-addon,
.nav, .navbar, .breadcrumb, .pagination, .pager,
.panel, .panel-title, .well, .alert, .label, .badge,
.table, .dataTables_wrapper, .dataTables_filter, .dataTables_info,
.dataTables_length, .dataTables_paginate,
.modal, .modal-title, .tooltip, .popover, .popover-title,
.dropdown-menu, .list-group, .list-group-item, .jumbotron,
.progress, .progress .titles .title, .alert-box, .sa-wrapper,
.csf-wrapper, .stepped-navigation {
    font-family: var(--nip-font);
}

/* Bold weights map onto Montserrat-Bold via the @font-face above. */
b, strong, th, .btn, label, legend, .panel-title, .modal-title {
    font-family: var(--nip-font);
}

/* Belt and braces: these legacy blocks set their own families with
   class-level specificity, so they are restated here. */
div#form-holder .stepped-navigation,
div#form-holder .stepped-navigation a,
div#form-holder .stepped-navigation div,
div#form-holder .stepped-navigation span,
.progress *,
table.search-results tr td {
    font-family: var(--nip-font);
}

/* Icon fonts stay as they are. */
.glyphicon,
.glyphicon::before,
.glyphicon::after {
    font-family: 'Glyphicons Halflings';
}


/* ------------------------------------------------------------
   2. LOGO
   ------------------------------------------------------------ */
#site-header .site-logo {
    display: inline-block;
}

    #site-header .site-logo img {
        width: 183px; /* matches trcsavesenergy.com (180px of artwork at 1x) */
        height: auto;
        max-width: 100%;
    }


/* ------------------------------------------------------------
   3. PRIMARY NAVIGATION
   - Title Case (markup is already Title Case; the uppercase came
     from text-transform, so it is switched off here).
   - Menu items and their dropdown items share --nip-nav-size.
   ------------------------------------------------------------ */
#site-header #topNav.navbar {
    font-family: var(--nip-font);
    font-size: var(--nip-nav-size);
}

/* Top-level menu items */
#site-header #topNav .nav > li > a:not(.btn-contactus),
#site-header #topNav .navbar-nav > li > a:not(.btn-contactus),
#site-header #topNav.navbar-nav > li > a:not(.btn-contactus) {
    font-family: var(--nip-font);
    font-size: var(--nip-nav-size);
    font-weight: 700;
    text-transform: none; /* Title Case, not ALL CAPS */
    letter-spacing: 0;
    color: var(--nip-navy);
    padding: 0 var(--nip-nav-gap);
    white-space: nowrap;
}

#site-header #topNav .nav > li > a:hover,
#site-header #topNav .nav > li > a:focus,
#site-header #topNav .navbar-nav > li > a:hover,
#site-header #topNav .navbar-nav > li > a:focus {
    color: var(--nip-blue);
    background-color: transparent;
}

/* Dropdown (sub-menu) items - same size as the menu items above */
#site-header #topNav .nav li ul,
#site-header ul li ul {
    font-size: var(--nip-nav-size);
}

    #site-header #topNav .nav li ul li,
    #site-header #topNav .nav li ul li a,
    #site-header ul li ul li,
    #site-header ul li ul li a {
        font-family: var(--nip-font);
        font-size: var(--nip-nav-size);
        font-weight: 400;
        text-transform: none;
        line-height: 1.5;
    }

/* Widen the fly-out a little so the longer labels sit on one line */
#site-header #topNav .nav > li > ul,
#site-header ul li ul {
    width: 260px;
}

/* Contact TRC call-to-action
   Bootstrap 3's ".nav > li > a" sets its own padding and display:block, and
   the old markup carried inline padding-left/right that beat the stylesheet -
   between them the button rendered as a 20px-tall sliver. The selector below
   is scoped tightly enough to win, and the inline styles have been removed
   from both layouts.
   NOTE: this project is on Bootstrap 3, so the CTA stays a plain anchor
   styled with CSS. No Bootstrap 4/5 classes (btn-success, rounded-pill,
   d-flex, ms-auto ...) are used anywhere here - they would silently do
   nothing on this build. */
#site-header #topNav .nav > li > a.btn-contactus,
#site-header #topNav .navbar-nav > li > a.btn-contactus,
#site-header #topNav a.btn-contactus {
    display: block;
    font-family: var(--nip-font);
    font-size: var(--nip-nav-size);
    font-weight: 700;
    text-transform: none;
    line-height: 20px;
    color: var(--nip-navy);
    background-color: var(--nip-green);
    border: 0;
    border-radius: 10px;
    padding: 12px 24px;
    margin: -12px 0 -12px 15px;
    white-space: nowrap;
    text-align: center;
    cursor: pointer;
    transition: background-color .15s ease-in-out, color .15s ease-in-out;
}

    #site-header #topNav .nav > li > a.btn-contactus:hover,
    #site-header #topNav .nav > li > a.btn-contactus:focus,
    #site-header #topNav a.btn-contactus:hover,
    #site-header #topNav a.btn-contactus:focus {
        background-color: var(--nip-navy);
        color: #FFFFFF;
        text-decoration: none;
    }

/* In the collapsed (hamburger) menu the pill sits inline in the stacked
   list, so the negative top margin is not wanted. */
@media (max-width: 767px) {
    #site-header #topNav .nav > li > a.btn-contactus,
    #site-header #topNav a.btn-contactus {
        margin: 12px 16px;
    }
}

/* Collapsed (hamburger) menu: sub-items stay the same size too */
@media (max-width: 767px) {
    #site-header #topNav .nav li ul li a,
    #site-header ul li ul li a {
        font-size: var(--nip-nav-size);
        text-transform: none;
    }

    #site-header #topNav .nav > li > a,
    #site-header #topNav .navbar-nav > li > a {
        white-space: normal;
    }

    #site-header #topNav .nav > li > ul,
    #site-header ul li ul {
        width: 100%;
    }
}


/* ------------------------------------------------------------
   3b. HEADER ROW ALIGNMENT / RESPONSIVE SPACING
   On trcsavesenergy.com the logo and the menu share one optical
   centre line. Here the logo sat ~12px below the menu, so the row
   is centred instead of top-aligned.

   The wider logo and roomier menu gaps only fit in Bootstrap 3's
   1170px container. Below that the container drops to 970px / 750px,
   so the same values are scaled back to keep the menu on one row.
   ------------------------------------------------------------ */
@media (min-width: 768px) {
    /* Flexbox (not table-cell: a table would squeeze the logo cell to zero
       once the menu got wide). projectdashboard.css already flexes this same
       row below 768px, so the technique is consistent across breakpoints. */
    /* trcsavesenergy.com runs its header nearly full-bleed (~1215px of
       content at a 1265px viewport) rather than in a fixed 1170px column.
       Matching that is what buys the room for the wider menu gaps; without
       it the menu already fills Bootstrap's .container exactly. */
    #site-header > .container {
        width: 100%;
        max-width: 1440px;
        padding-left: 30px;
        padding-right: 30px;
    }

    #site-header .container > .row {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
    }

        #site-header .container > .row > .site-logo {
            flex: 0 0 auto; /* never let the logo be squeezed */
            margin-right: auto;
        }

        #site-header .container > .row > #topNav {
            flex: 0 1 auto;
            float: none;
            margin: 0;
            text-align: right;
        }

    #site-header #topNav .navbar-nav {
        float: none;
        display: inline-block;
        vertical-align: middle;
    }

    /* the empty helper row after the nav is not part of the layout */
    #site-header .container > .row > .row {
        display: none;
    }

    /* the menu no longer needs the old top padding to clear the logo */
    #site-header #topNav .navbar-nav > li {
        padding-top: 0;
        padding-left: 0;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    :root {
        --nip-nav-gap: 9px;
    }

    #site-header .site-logo img {
        width: 150px;
    }

    #site-header #topNav .nav > li > a.btn-contactus,
    #site-header #topNav a.btn-contactus {
        padding: 10px 16px;
        margin: -10px 0 -10px 8px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    :root {
        --nip-nav-size: 12px;
        --nip-nav-gap: 4px;
    }

    #site-header .site-logo img {
        width: 104px;
    }

    #site-header #topNav .nav > li > a.btn-contactus,
    #site-header #topNav a.btn-contactus {
        padding: 7px 10px;
        margin: -7px 0 -7px 4px;
    }
}


/* ------------------------------------------------------------
   3c. SMALL SCREENS - HEADER
   These rules previously lived only in projectdashboard.css, so the
   mobile header was correct on the Project Dashboard and broken
   everywhere else (the hamburger dropped onto its own row below the
   logo, making the header ~86px taller, and the desktop hover
   fly-outs were still in play). They are centralised here so every
   page behaves the same.
   ------------------------------------------------------------ */

/* Hamburger: Bootstrap's .navbar-inverse paints the bars white, which
   is invisible on this white header. The NIPSCO.css rule meant to fix
   that ("#topNav.navbar-toggle") never matches - the button is a child
   of #topNav, not #topNav itself - so re-target it properly. */
#site-header #topNav .navbar-toggle {
    position: relative;
    background-color: transparent;
    border: 0;
    border-radius: 0;
    margin: 0;
    padding: 11px 2px 11px 62px; /* room for the "Menu" label on the left */
    min-height: 44px; /* comfortable tap target */
    font-family: var(--nip-font);
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
    color: var(--nip-navy);
}

    /* The word "Menu" beside the icon, as on trcsavesenergy.com. Added via
       CSS so the shared button markup does not have to change. */
    #site-header #topNav .navbar-toggle::before {
        content: "Menu";
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        white-space: nowrap;
    }

    #site-header #topNav .navbar-toggle .icon-bar {
        background-color: var(--nip-navy);
        width: 22px;
        height: 2px;
        border-radius: 1px;
        transition: transform .2s ease, opacity .2s ease;
    }

        #site-header #topNav .navbar-toggle .icon-bar + .icon-bar {
            margin-top: 5px;
        }

    /* Open state: the three bars fold into an X.
       Sibling combinators are used instead of :nth-of-type because the
       button also contains an .sr-only <span>. */
    #site-header #topNav .navbar-toggle:not(.collapsed) .icon-bar {
        transform: translateY(7px) rotate(45deg);
    }

        #site-header #topNav .navbar-toggle:not(.collapsed) .icon-bar + .icon-bar {
            opacity: 0;
            transform: none;
        }

            #site-header #topNav .navbar-toggle:not(.collapsed) .icon-bar + .icon-bar + .icon-bar {
                opacity: 1;
                transform: translateY(-7px) rotate(-45deg);
            }

/* Minimalist hover: no background, no border, no colour swap - just a
       slight fade on the whole control. The label and the bars stay navy so
       the header keeps one accent colour (the sky blue is reserved for the
       open menu item). */
#site-header #topNav .navbar-toggle {
    transition: opacity .15s ease;
}

    #site-header #topNav .navbar-toggle:hover,
    #site-header #topNav .navbar-toggle:active {
        background-color: transparent;
        border: 0;
        box-shadow: none;
        color: var(--nip-navy);
        opacity: .55;
    }

        #site-header #topNav .navbar-toggle:hover .icon-bar,
        #site-header #topNav .navbar-toggle:active .icon-bar {
            background-color: var(--nip-navy);
        }

    /* Mouse focus stays quiet; Bootstrap would otherwise leave the button
       looking pressed after a tap. */
    #site-header #topNav .navbar-toggle:focus {
        background-color: transparent;
        border: 0;
        box-shadow: none;
        color: var(--nip-navy);
        opacity: 1;
        outline: none;
    }

        #site-header #topNav .navbar-toggle:focus .icon-bar {
            background-color: var(--nip-navy);
        }

    /* Keyboard users still get an unmistakable indicator. Browsers without
       :focus-visible simply skip this rule. */
    #site-header #topNav .navbar-toggle:focus-visible {
        outline: 2px solid var(--nip-sky);
        outline-offset: 4px;
        opacity: 1;
    }

/* ------------------------------------------------------------------
   Dropdown indicator (the small "v" arrow). Menu items that open a
   submenu carry the .chevron class; this draws the arrow after the
   label with a rotated border square. This base rule used to live
   only in NIPSCO.css / projectdashboard.css, so pages that loaded
   just this stylesheet (TA Dashboard layout, Trade Ally Profile)
   showed no arrow at all - the mobile block further down only
   repositions the arrow and cannot draw it by itself. Keeping the
   canonical copy here guarantees every page that shows the header
   gets the indicator; the duplicates in the other two files are
   harmless (identical values).
   ------------------------------------------------------------------ */
#site-header .chevron::after {
    content: '';
    display: inline-block;
    width: 0.45em;
    height: 0.45em;
    border-style: solid;
    border-width: 0.15em 0.15em 0 0;
    border-color: currentColor; /* follows the label colour below */
    position: relative;
    top: -2px;
    left: 8px;
    transform: rotate(135deg); /* points down; mobile flips it when open */
    vertical-align: middle;
    color: var(--nip-navy);
}

#site-header .chevron:hover::after,
#site-header .chevron:focus::after {
    color: #0068A7; /* same hover blue as the menu labels (NIPSCO.css) */
}

@media (max-width: 767px) {
    /* --- header row: logo left, hamburger right, menu full width below --- */
    #site-header .container > .row {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }

        #site-header .container > .row > .site-logo {
            margin-right: auto;
            flex: 0 0 auto;
        }

        /* the empty helper row is not part of the mobile layout */
        #site-header .container > .row > .row {
            display: none;
        }

    /* Let the nav's toggle and collapse take part in the row directly,
       so the hamburger sits beside the logo instead of under it. */
    #site-header #topNav.navbar {
        display: contents;
    }

    #site-header #topNav .navbar-header,
    #site-header #topNav .navbar-toggle {
        float: none;
        margin: 0;
    }

    #site-header #topNav .navbar-collapse {
        flex-basis: 100%;
        width: 100%;
        margin-top: 12px;
        border-top: 1px solid #E3E9EC;
        box-shadow: none;
        padding: 0;
    }

    /* --- logo scales with the screen --- */
    #site-header .site-logo img {
        width: 150px;
    }

    /* --- stacked menu --- */
    #site-header #topNav .navbar-nav {
        margin: 0;
    }

        #site-header #topNav .navbar-nav > li,
        #site-header .navbar-nav > li {
            float: none;
            width: 100%;
            padding: 0;
            background: transparent;
        }

            #site-header #topNav .nav > li > a:not(.btn-contactus),
            #site-header #topNav .navbar-nav > li > a:not(.btn-contactus) {
                position: relative;
                display: block;
                padding: 12px 44px; /* >=44px tap target; side room for the chevron */
                border-bottom: 0; /* the reference menu has no dividing rules */
                text-align: center;
                white-space: normal;
                font-size: 17px;
                line-height: 1.3;
                color: var(--nip-navy) !important;
                background: transparent !important;
            }

    /* reset the floated/padded desktop treatment inside the stacked menu */
    #site-header .navbar-nav li {
        float: none;
        width: 100%;
        padding-top: 0;
        padding-left: 0;
        position: static;
        background: transparent;
    }

    /* sub-menus expand inline rather than hovering as fly-outs */
    /* Sub-menus are collapsed until their parent is tapped (accordion).
       Scripts/site-chrome.js adds .submenu-open to the parent <li>. */
    #site-header .navbar-nav > li > ul,
    #site-header #topNav .nav > li > ul {
        position: static;
        display: none;
        visibility: visible;
        opacity: 1;
        width: 100%;
        margin: 0;
        padding: 0 0 6px;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
    }

    #site-header .navbar-nav > li.submenu-open > ul,
    #site-header #topNav .nav > li.submenu-open > ul {
        display: block;
    }

    /* Expanded parent (and its chevron) pick up the sky accent. */
    #site-header .navbar-nav > li.submenu-open > a,
    #site-header #topNav .nav > li.submenu-open > a,
    #site-header #topNav .nav > li.submenu-open > a:hover,
    #site-header #topNav .nav > li.submenu-open > a:focus {
        color: var(--nip-sky) !important;
    }

        #site-header .navbar-nav > li.submenu-open > a.chevron::after,
        #site-header #topNav .nav > li.submenu-open > a.chevron::after {
            border-color: var(--nip-sky);
            transform: rotate(-45deg); /* points up when open */
            margin-top: -2px;
        }

    #site-header .navbar-nav li ul li,
    #site-header #topNav .nav li ul li {
        float: none;
        width: 100%;
        border-bottom: 0;
        border-radius: 0;
        padding: 0;
        background: transparent;
    }

        #site-header .navbar-nav li ul li a,
        #site-header #topNav .nav li ul li a {
            display: block;
            padding: 12px 20px;
            text-align: center;
            color: var(--nip-navy) !important;
            text-transform: none;
            font-size: 17px;
            line-height: 1.3;
        }

            #site-header .navbar-nav li ul li a:hover,
            #site-header .navbar-nav li ul li a:focus,
            #site-header #topNav .nav li ul li a:hover,
            #site-header #topNav .nav li ul li a:focus {
                color: var(--nip-sky) !important;
                background: transparent !important;
            }

    /* Tapping a row tints it with the sky accent - the same colour the open
       parent keeps - so the hover/focus and open states never fight over
       specificity. */
    #site-header #topNav .nav > li > a:not(.btn-contactus):hover,
    #site-header #topNav .nav > li > a:not(.btn-contactus):focus,
    #site-header #topNav .navbar-nav > li > a:not(.btn-contactus):hover,
    #site-header #topNav .navbar-nav > li > a:not(.btn-contactus):focus {
        color: var(--nip-sky) !important;
        background: transparent !important;
    }

    /* Chevrons indicate accordion state: down when closed, up when open. */
    #site-header .chevron::after {
        display: block;
        position: absolute;
        right: 22px;
        left: auto;
        top: 50%;
        margin-top: -5px;
        border-width: 0.16em 0.16em 0 0;
        width: 0.5em;
        height: 0.5em;
        transform: rotate(135deg); /* points down when closed */
    }

    /* CTA reads as a button, not another list row */
    #site-header #topNav .nav > li > a.btn-contactus,
    #site-header #topNav a.btn-contactus {
        display: block;
        margin: 14px 16px 4px;
        padding: 13px 20px;
        text-align: center;
    }
}

/* Very small handsets: pull the logo in further so the hamburger is
   never crowded. */
@media (max-width: 400px) {
    #site-header .site-logo img {
        width: 124px;
    }
}


/* ------------------------------------------------------------
   3d. ROW/CONTAINER OVERFLOW FIX (small screens only)
   Several views use <div class="row container">. Bootstrap's .row
   applies -15px side margins meant to sit inside a padded column, so
   combining the two classes pushes the box 15px past the viewport and
   gives those pages a horizontal scrollbar on phones. Restoring the
   container's own centring removes it, and the content then keeps a
   15px gutter from the screen edge instead of hugging it.

   Deliberately scoped to <=767px: applying it at desktop widths would
   also shift page content inward by 15px, which is not what was asked
   for here. */
@media (max-width: 767px) {
    .row.container {
        margin-left: auto;
        margin-right: auto;
    }
}


/* ------------------------------------------------------------
   4. FOOTER
   All copy is #FFFFFF, every link is underlined, rollovers are
   NIPSCO green, and one type scale is used across both the
   "Contact Us" and "Legal" columns.
   ------------------------------------------------------------ */
.site-footer {
    background-color: var(--nip-footer-bg);
    font-family: var(--nip-font);
}

    .site-footer,
    .site-footer p,
    .site-footer li,
    .site-footer span,
    .site-footer div,
    .site-footer h2,
    .site-footer h3,
    .site-footer h4 {
        font-family: var(--nip-font);
        color: #FFFFFF;
    }

        .site-footer .footer-main {
            padding: 40px 0;
        }

        /* TRC logo + program disclaimer */
        .site-footer .footer-logo {
            height: 35px;
            width: auto;
            margin: 0 30px 20px 0;
        }

        .site-footer .footer-blurb {
            font-size: 16px;
            line-height: 1.6;
            margin: 0 30px 20px 0;
            color: #FFFFFF;
        }

        /* Column headings ("Contact Us", "Legal") - one size for both */
        .site-footer .footer-heading {
            font-family: var(--nip-font);
            font-size: 18px;
            font-weight: 700;
            line-height: 1.4;
            color: #FFFFFF;
            margin: 0 0 10px;
        }

        .site-footer .footer-rule {
            border-bottom: solid 3px var(--nip-green);
            width: 100px;
            margin-bottom: 15px;
        }

        /* Column body copy - one size for both columns, comfortable leading */
        .site-footer .footer-col p,
        .site-footer .footer-col a,
        .site-footer .footer-contact,
        .site-footer .footer-legal {
            font-size: 16px;
            line-height: 1.7;
            color: #FFFFFF;
            margin: 0;
        }

            .site-footer .footer-contact p,
            .site-footer .footer-legal p {
                margin: 0 0 4px;
            }

                .site-footer .footer-contact p:last-child,
                .site-footer .footer-legal p:last-child {
                    margin-bottom: 0;
                }

        /* Links: white, underlined, green on rollover */
        .site-footer a,
        .site-footer a:link,
        .site-footer a:visited,
        .site-footer .footer-links,
        .site-footer .footer-links:link,
        .site-footer .footer-links:visited {
            color: #FFFFFF;
            text-decoration: underline;
            font-size: 16px;
            font-family: var(--nip-font);
        }

            .site-footer a:hover,
            .site-footer a:focus,
            .site-footer a:active,
            .site-footer a:visited:hover,
            .site-footer .footer-links:hover,
            .site-footer .footer-links:focus,
            .site-footer .footer-links:active,
            .site-footer .footer-links:visited:hover {
                color: var(--nip-green);
                text-decoration: underline;
            }

        /* The email address is long - let it wrap rather than overflow */
        .site-footer .footer-email {
            word-break: break-word;
        }

        /* Copyright bar */
        .site-footer .footer-legalbar {
            background-color: var(--nip-blue);
            padding: 12px 0;
        }

            .site-footer .footer-legalbar p {
                font-family: var(--nip-font);
                font-size: 14px;
                line-height: 1.4;
                color: #FFFFFF;
                margin: 0;
                text-align: center;
            }

@media (max-width: 991px) {
    .site-footer .footer-col {
        margin-top: 30px;
    }

        .site-footer .footer-col .footer-col-inner {
            float: none !important;
        }
}

/* --- Footer on phones ---------------------------------------
   Stacked columns need tighter vertical rhythm than the desktop
   4-across layout, and the links need real tap targets. The long
   support address also has to be allowed to wrap.
   ------------------------------------------------------------ */
@media (max-width: 767px) {
    .site-footer .footer-main {
        padding: 28px 0 8px;
    }

    .site-footer .footer-logo {
        height: 30px;
        margin: 0 0 16px;
    }

    .site-footer .footer-blurb {
        font-size: 15px;
        line-height: 1.6;
        margin: 0 0 4px; /* the desktop right margin squeezed the text */
    }

    .site-footer .footer-col {
        margin-top: 26px;
    }

    .site-footer .footer-heading {
        font-size: 17px;
        margin-bottom: 8px;
    }

    .site-footer .footer-rule {
        margin-bottom: 12px;
    }

    /* Tap targets: 1-800 number and each link get room to be pressed. */
    .site-footer .footer-contact p,
    .site-footer .footer-legal p {
        margin: 0 0 6px;
    }

    .site-footer .footer-col a {
        display: inline-block;
        padding: 4px 0;
        line-height: 1.5;
    }

    .site-footer .footer-email {
        /* keeps NIPSCO.Savings@TRCcompanies.com inside the viewport */
        overflow-wrap: break-word;
        word-break: break-word;
    }

    .site-footer .footer-legalbar {
        padding: 14px 15px;
    }

        .site-footer .footer-legalbar p {
            font-size: 13px;
            line-height: 1.5;
        }
}
