﻿/* 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("https://mde.maryland.gov/programs/crossmedia/Style%20Library/egov/img/agencyheaderbg-generic.jpg");
    }

    /* Default site-wide fixed layout masthead. */
    .mdgov-fixed .mdgov-masthead {
        background-image: url("../../../_layouts/15/MDSharePointToolkit/egov/img/masthead-bg-fixed-1200x250.jpg");
    }

    /* Tall fluid-width masthead. */
    .mdgov-masthead.mdgov-masthead--tall {
        background-image: url("../../../_layouts/15/MDSharePointToolkit/egov/img/masthead-bg-tall-fluid-1920x500.jpg");
    }

    /* Tall fixed-width masthead. */
    .mdgov-fixed .mdgov-masthead.mdgov-masthead--tall {
        background-image: url("../../../_layouts/15/MDSharePointToolkit/egov/img/masthead-bg-tall-fixed-1200x500.jpg");
    }

    /* Full-height, fluid-width masthead. */
    .mdgov-masthead.mdgov-masthead--full {
        background-image: url("../../../_layouts/15/MDSharePointToolkit/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("../../../_layouts/15/MDSharePointToolkit/egov/img/masthead-bg-full-fixed-1200x1020.jpg");
        background-size: auto;
        background-position: top center;
    }

    .mdgov-masthead--angled {
        background-image: url('../../../_layouts/15/MDSharePointToolkit/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;
    }
	.mdgov-section__heading::before {
		height: 1px;
	}
}