/* Pay4 WalthamForest Branding */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css');

/* OVERRIDE STANDARD STYLES */
body, .grid_title, .form_title, .form_group_title, input[type=text], input[type=tel], input[type=password], input[type=checkbox], input[type=number], select, textarea, div.richify, input[type=button], input[type=submit] {
    background-color: #ffffff;
    font-family: sans-serif;
    border-radius: 0px !important;
    
}

:root {
    --color-primary: #004E3E;
    --color-secondary: #BF3688;
    --color-moss: #8DC640;
    --color-rose: #F170A5;
    --color-black: #231F20;
    --color-white: #FFFFFF;
    --color-hover: #FFCC23;
}

/* Header */

.walthamHeader {
    width: 100%;
    padding: 0px 10px 0 10px;
    height: 100px;
    display: flex;
    align-items: center;
    max-width: 73.3rem;
    margin-inline: auto;
}

.walthamLogo {
    display: block;
    width: 125px;
    height: 70px;
    margin-top: 5px;
}

/* Black SVG logo shown as-is (black on white header) */
img[src$=".svg"] {
    width: 100%;
    filter: invert(0);
}

.walthamTitle {
    margin-left: 50px;
}

/* Footer */

.footer {
    padding: 3em;
    background-color: #000000;
    color: white;
}

    .footer a {
        color: white;
    }

    /* Invert black SVG to white for black footer background */
    .footer img[src$=".svg"] {
        width: 100%;
        filter: invert(1);
    }

.c-wf-logo__img {
    height: auto;
    width: 125px !important;
}

.lgd-container {
    max-width: 73.75rem;
    margin-inline: auto;
    width: 100%;
}

.footer__inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 30px;
    row-gap: 16px;
}

.footer__cell--logo {
    grid-column: 1;
    grid-row: 1;
}

.footer__cell--popular-tasks {
    grid-column: 1;
    grid-row: 2;
}

.footer__cell--contact {
    grid-column: 2;
    grid-row: 2;
}

.footer__cell--a11y {
    grid-column: 4;
    grid-row: 2;
}

.footer__cell--copyright {
    grid-column: 1;
    grid-column-end: 3;
    grid-row: 3;
    font-size: 14px;
}

.footer__cell--bottom-nav {
    grid-column: 3 / 5;
    grid-row: 3;
    font-size: 14px;
    justify-self: end;
    align-self: end;
}

#block-waltham-forest-footerlinks-2-menu {
    display: none;
}

.footer h2 {
    font-size: 27.2px;
    font-weight: 700;
}

.footer-nav__item {
    text-decoration: underline;
    list-style: none;
    padding: 4px;
}

    .footer-nav__item:hover {
        text-decoration-thickness: 3px;
    }

.footer-nav--vertical {
    padding-left: 0px;
}

.footer-nav--horizontal {
    display: flex;
    flex-direction: row;
    padding-left: 0px;
}

    .footer-nav--horizontal .footer-nav__item {
        margin-right: 3rem;
        font-size: 14px;
    }

.footer-nav__item a {
    color: var(--color-white);
}

/* Social Media Icons */

.social-media-link {
    --fa-font-family: "Font Awesome 6 Brands";
    border-radius: var(--border-radius);
    display: inline-block;
    height: 45px;
    margin: 0 1rem 0 0;
    padding: unset;
    position: relative;
    text-decoration: none;
    width: 45px;
}

    .social-media-link:before {
        left: 50%;
        position: absolute;
        top: 50%;
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
    }

    .social-media-link:hover {
        background: var(--color-hover);
        color: #000;
    }

        .social-media-link:hover:visited {
            color: #000;
        }

        .social-media-link:hover:before {
            color: #000;
        }

    .social-media-link:not([class*=toolbar]):focus,
    .social-media-link:not([class*=toolbar]):focus-visible {
        background: var(--color-hover);
        box-shadow: 0 4px var(--color-black);
    }

        .social-media-link:not([class*=toolbar]):focus:before,
        .social-media-link:not([class*=toolbar]):focus-visible:before {
            color: #000;
        }

    .social-media-link:visited {
        color: var(--color-white);
    }

    .social-media-link:last-of-type {
        margin: 0;
    }

.social-media-link--x:before {
    content: "\e61b";
    font-family: var(--fa-font-family);
    font-size: 1.5rem;
    font-weight: 900;
}

.social-media-link--instagram:before {
    content: "\f16d";
    font-family: var(--fa-font-family);
    font-size: 1.5rem;
    font-weight: 400;
}

.social-media-link--facebook:before {
    content: "\f09a";
    font-family: var(--fa-font-family);
    font-size: 1.5rem;
    font-weight: 400;
    left: calc(50% - 1px);
}

.social-media-link--youtube:before {
    content: "\f167";
    font-family: var(--fa-font-family);
    font-size: 1.5rem;
    font-weight: 400;
}

/* Pay4 form overrides */

.app_title {
    margin-top: 0px;
}

.form_title, input[type=button], input[type=submit], .form_group_title {
    background-color: #004E3E;
    font-size: 14pt;
}

.grid_table, .form_table, .mini_form, .midi_form {
    border: 0px;
    padding: 3px;
}

.help {
    text-align: center;
    margin-bottom: 20px;
    margin-top: 20px;
    white-space: pre-line;
    color: #333333;
}

#divHeader {
    font-size: 2.5rem;
    font-weight: bold;
    margin-top: 0px !important;
    margin-bottom: 15px;
    color: #333;
}

.breadcrumb_link {
    font-size: .875rem;
    font-weight: 600;
}

    .breadcrumb_link:hover {
        color: #2B8CC4;
        text-decoration: underline;
    }

.DivWelcomeText2 {
    margin-bottom: 20px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.form_td_label {
    color: #231F20 !important;
}

.walthamTitle h1 {
    color: #231F20;
}

input[type=submit]:hover, input[type=button]:hover {
    background-color: #ffcd00 !important;
    color: #000 !important;
}
.footer-nav__item:hover {
    text-decoration-thickness: 3px;
    background-color: #ffcd00;
}

    .footer-nav__item:hover a {
        color: #000 !important;
    }
    .footer-nav__item:hover a {
        color: #000 !important;
        text-decoration-color: #000;
    }

.footer-nav__item:hover {
    text-decoration-thickness: 3px;
    background-color: #ffcd00;
    text-decoration-color: #000;
}

.footer__cell--a11y a:hover {
    color: #ffcd00 !important;
}

@media (max-width: 768px) {
    div.wf-logo-area {
        padding-left: 15px !important;
    }

    .grid_table, .form_table {
        width: 100% !important;
    }
}