﻿/* Only display masthead background images on larger screens. */
@media (min-width: 992px) {

    /*
        1. Edit the .mdgov-masthead rule's background-image to your own default site-wide image.
        2. Use the .mdgov-fixed .mdgov-mastead rule to override your default if using a combination of fluid and fixed width layouts.
        3. Use masthead modifier classes "--tall, --full. REMOVE or COMMENT any not in use.
    */

    /* Default site-wide masthead. */
    .mdgov-masthead {
        background-image: url("/Style Library/egov/img/masthead-bg-fluid-1920x250.jpg");
    }

    /* Default site-wide fixed layout masthead. */
    .mdgov-fixed .mdgov-masthead {
        background-image: url("/Style Library/egov/img/masthead-bg-fixed-1200x250.jpg");
    }

    /* Tall fluid-width masthead. */
    .mdgov-masthead.mdgov-masthead--tall {
        background-image: url("/Style Library/egov/img/masthead-bg-tall-fluid-1920x500.jpg");
    }

    /* Tall fixed-width masthead. */
    .mdgov-fixed .mdgov-masthead.mdgov-masthead--tall {
        background-image: url("/Style Library/egov/img/masthead-bg-tall-fixed-1200x500.jpg");
    }

    /* Full-height, fluid-width masthead. */
    .mdgov-masthead.mdgov-masthead--full {
        background-image: url("/Style Library/egov/img/masthead-bg-full-fluid-1920x1020.jpg");
        overflow: hidden;
    }

        /* 
        For displaying angled card background effect.
        Note that background color is specified as the primary brand in the core CSS already.
    */
        .mdgov-masthead.mdgov-masthead--full:before {
            content: "";
            backface-visibility: hidden;
            transform: skew(0deg,-3deg);
            height: 50%;
            width: 100vw;
            position: absolute;
            z-index: 0;
            transform-origin: bottom left;
            left: 0;
            bottom: -110px;
        }

    /* Full-height, fixed-width masthead. */
    .mdgov-fixed .mdgov-masthead.mdgov-masthead--full {
        background-image: url("/Style Library/egov/img/masthead-bg-full-fixed-1200x1020.jpg");
        background-size: auto;
        background-position: top center;
    }

    .mdgov-masthead--angled {
        background-image: url('/Style Library/egov/img/masthead-bg-angled.jpg');
    }


    /* Online Services Widget Container */
    .svc_filterForm {
        background-color: #e9ecef;
        padding: 1rem 1rem 0 1rem;
        margin-bottom: 1rem;
    }
    /*Button Code*/
    .btn-primary {
        color: #fff;
        background-color: #000000;
        border-color: #000000;
    }

        .btn-primary:hover {
            color: #fff;
            background-color: #959595;
            border-color: #000000;
        }

        .btn-primary:focus, .btn-primary.focus {
            box-shadow: 0 0 0 0.2rem rgba(44, 98, 158, 0.5);
        }

        .btn-primary.disabled, .btn-primary:disabled {
            color: #fff;
            background-color: #000000;
            border-color: #000000;
        }

        .btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active,
        .show > .btn-primary.dropdown-toggle {
            color: #fff;
            background-color: #000000;
            border-color: #000000;
        }

            .btn-primary:not(:disabled):not(.disabled):active:focus, .btn-primary:not(:disabled):not(.disabled).active:focus,
            .show > .btn-primary.dropdown-toggle:focus {
                box-shadow: 0 0 0 0.2rem rgba(44, 98, 158, 0.5);
            }

    btn-light {
        color: #000;
        background-color: #000000;
        border-color: #f8f9fa;
    }

    .btn-light:hover {
        color: #000;
        background-color: #707070;
        border-color: #dae0e5;
    }

    .btn-light:focus, .btn-light.focus {
        box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5);
    }

    .btn-light.disabled, .btn-light:disabled {
        color: #000;
        background-color: #f8f9fa;
        border-color: #f8f9fa;
    }

    .btn-light:not(:disabled):not(.disabled):active, .btn-light:not(:disabled):not(.disabled).active,
    .show > .btn-light.dropdown-toggle {
        color: #000;
        background-color: #000000;
        border-color: #d3d9df;
    }

        .btn-light:not(:disabled):not(.disabled):active:focus, .btn-light:not(:disabled):not(.disabled).active:focus,
        .show > .btn-light.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5);
        }


    /* CSS for Resuable content */
    html.has-ribbon #reusableContentMainDiv01 a:link {
        color: #000;
    }

    html.has-ribbon #reusableContentMainDiv01 a:visited {
        color: #000;
    }

    .reusableContentMainDiv01 .nav-link[data-toggle="collapse"] {
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }

    html.has-ribbon #reusableContentMainDiv02 a:link {
        color: #000;
    }

    html.has-ribbon #reusableContentMainDiv02 a:visited {
        color: #000;
    }

    .reusableContentMainDiv02 .nav-link[data-toggle="collapse"] {
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }

    html.has-ribbon #reusableContentMainDiv03 a:link {
        color: #000;
    }

    html.has-ribbon #reusableContentMainDiv03 a:visited {
        color: #000;
    }

    .reusableContentMainDiv03 .nav-link[data-toggle="collapse"] {
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }

    html.has-ribbon #reusableContentMainDiv04 a:link {
        color: #000;
    }

    html.has-ribbon #reusableContentMainDiv04 a:visited {
        color: #000;
    }

    .reusableContentMainDiv04 .nav-link[data-toggle="collapse"] {
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }

    /* Numbers being shown under the Carousel. This fix would be incorporated by Mike in core files… */
    .carousel-indicators li {
        text-indent: -4000px;
    }

    /* IE 11 is not showing the angled dividers correctly. Height property for SVG is missing. */
    .mdgov-divider--diag {
        height: 4vw;
    }
}

/* Mobile Styles */
@media (max-width: 991.98px ) {
    .mdgov-entNav__btn:active, .mdgov-entNav__btn:hover {
        background-color: transparent;
        border-color: transparent;
    }

    #mdgovLeftNav {
        background-color: #C8122C;
    }
}
/*hide 3 dots on social icons */
a:not([href]):not([tabindex]) {
    color: inherit;
    text-decoration: none;
    display: none;
}

/* NEW FOOTER STYLES */
/*footer-2024-css*/
:root {
    --mdgov-footer-bg-color: #000;
}

[data-mdgov-theme=dark] {
    --mdgov-footer-bg-color: #000;
}

.mdgov-footer-2024 {
    padding-top: 56px;
    padding-bottom: 56px;
    background-color: var(--mdgov-footer-bg-color);
    color: #fff;
}

    .mdgov-footer-2024 a {
        color: #fff;
        text-decoration: none;
    }

        .mdgov-footer-2024 a:hover, .mdgov-footer-2024 a:focus {
            text-decoration: underline;
        }

.mdgov-footer-2024__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-flow: column;
    gap: 16px;
}

@media (min-width: 992px) {
    .mdgov-footer-2024__top {
        flex-flow: row;
        gap: 32px;
    }
}

.mdgov-footer-2024__nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

    .mdgov-footer-2024__nav > li + li:before {
        padding-right: 1rem;
        padding-left: 1rem;
        color: rgba(255, 255, 255, 0.5);
        content: "-";
    }

.mdgov-footer-2024__agency {
    display: flex;
    align-items: center;
    flex-flow: column;
    gap: 16px;
}

.mdgov-footer-2024__agency__logo img {
    max-width: 90px;
}

.mdgov-footer-2024__agency__address {
    text-align: center;
}

    .mdgov-footer-2024__agency__address address {
        max-width: 350px;
        margin: 0;
        background-color: transparent;
        border: 0;
        padding: 0;
    }

        .mdgov-footer-2024__agency__address address:before {
            content: none;
        }

        .mdgov-footer-2024__agency__address address strong {
            font-size: 1.2rem;
            line-height: 1;
        }

@media (min-width: 992px) {
    .mdgov-footer-2024__agency__address {
        text-align: left;
    }
}

.mdgov-footer-2024__agency__links {
    display: flex;
    flex: 1 0 0%;
    flex-flow: column;
    justify-content: center;
}

@media (min-width: 992px) {
    .mdgov-footer-2024__agency {
        flex-flow: row;
        align-items: flex-start;
    }
}

.mdgov-footer-2024__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 48px;
    padding-top: 48px;
}

    .mdgov-footer-2024__bottom a {
        color: #fff;
    }

.mdgov-footer-2024__bottom__heading {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.mdgov-footer-2024__bottom h3 {
    font-size: 1.25rem;
}

.mdgov-footer-2024__bottom__links {
    display: flex;
    flex-flow: column;
    gap: 24px;
}

    .mdgov-footer-2024__bottom__links a {
        display: block;
        line-height: 1;
    }

    .mdgov-footer-2024__bottom__links ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .mdgov-footer-2024__bottom__links ul li {
            margin-bottom: 0.75em;
        }

.ewf-footer__heading {
    color: #fff;
}

.ewf-footer__links h3 {
    color: #fff;
    margin-bottom: 20px !important;
}

@media (min-width: 992px) {
    .mdgov-footer-2024__bottom__links {
        flex-flow: row;
    }

        .mdgov-footer-2024__bottom__links > div {
            flex: 1 1 auto;
        }
}
