﻿.banner-main {
    text-align: center;
    background-color: #0C6995;
    color: #fff;
    width: 100%;
    padding: 15px 0 20px 0;
    position: relative;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url('../images/background.jpg');
    background-size: cover;
}

.home-logo {
    border: 2px solid #fff;
    padding: 4px 9px 4px 9px;
}


/* -----------------------------------------
   DMHC Custom CSS
----------------------------------------- */

/* ----- Body -----  */
body {
    font-family: Arial, sans-serif;
}

/* ----- Footer -----  */
footer {
    font-size: 1.025rem;
}


/* ----- Table -----  */
.table .thead-light th {
    background-color: #E1ECF7;
    border-color: #5B656B;
}

.table-light-bordered {
    border: 1px solid #5B656B;
}

    .table-light-bordered thead th,
    .table-light-bordered tr td {
        border: 1px solid #5B656B;
    }

/* ----- Focus Outline -----  */
.btn:focus {
    outline: solid 2px #0D84D0;
}

div.active:focus {
    outline: solid 2px #0D84D0;
}

a:focus {
    outline: solid 2px #0D84D0;
}

.accordion-list li:focus {
    outline: solid 2px #0D84D0;
}

.close:hover, .close:focus {
    outline: solid 2px #0D84D0;
}

.btn.close:hover, .btn.close:focus {
    outline: solid 0 #0D84D0;
}

.nav > li > a:focus {
    outline: solid 2px #0D84D0;
}

.mobile-controls .toggle-menu:focus {
    outline: #0D84D0 solid 2px;
}

.mobile-controls .toggle-search:focus {
    outline: #0D84D0 solid 2px;
}

@media (min-width: 768px) {
    .ask-button.btn-primary:focus {
        outline: solid 2px #0D84D0;
    }
}

.nav-tabs > li > a.active:focus {
    outline: solid 2px #0D84D0 !important;
}

.accordion .panel a:focus {
    outline: solid 2px #0D84D0;
}

.btn-more:focus {
    outline: #0D84D0 solid 2px;
}

.service-tile:focus {
    outline: solid 2px #0D84D0;
}

.carousel-video-submenu .item-thumbnail .videoThumb:focus {
    outline: #0D84D0 solid 2px;
}

.banner-control:focus, .banner-control .pause:focus, .banner-control .play:focus, .owl-dot:focus, .owl-prev:focus, .owl-next:focus {
    outline: #0D84D0 solid 2px;
}

/* ----- Global Header -----  */
#skip-to-content a {
    background-color: #07557B;
    min-width: 1px;
    min-height: 1px;
}

/* Change Twitter/X bird logo to the new X variant */
.ca-gov-icon-twitter:before {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1em' viewBox='0 0 512 512'%3E%3C!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --%3E%3Cpath fill='%23ffffff' d='M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z'/%3E%3C/svg%3E");
    padding-left: 3px;
}

/* High contrast styles for X logo */
html.high-contrast .ca-gov-icon-twitter:before,
html.high-contrast .socialsharer-container a:hover > .ca-gov-icon-twitter:before,
html.high-contrast .socialsharer-container a:focus > .ca-gov-icon-twitter:before {
    filter: invert(25%) sepia(96%) saturate(800%) hue-rotate(0deg) brightness(100%) contrast(100%);
}


    #skip-to-content a:focus {
        width: auto;
        padding-left: 15px;
        padding-right: 15px;
        white-space: nowrap;
        outline: solid 2px #FDB81E;
    }

.ca-gov-icon-accessibility:before {
    content: "\e992";
}

#skip-to-content a:focus, #skip-to-content a:hover {
    background-color: #ffffff;
}

/* ----- Branding DMHC Logo -----  */
.fixed.compact .header-organization-banner img {
    max-height: 50px;
}

/* ----- Utility Header -----  */
.utility-header a:hover, .utility-header a:focus, .utility-header a.hovered {
    color: #ffffff;
}

.utility-header a:focus {
    outline: solid 2px #ffffff;
}

/* ----- Settings Bar -----  */
#siteSettings > div.container > div {
    padding: 5px;
}

/* ----- System Maintenance Message -----  */
.system-maintenance-message label {
    font-weight: normal;
    padding-right: 1rem !important;
}

.system-maintenance-message button.close {
    position: relative;
    right: -10px;
    color: #fff;
    text-shadow: none;
    opacity: 0.8;
    font-size: 1.5em;
}

@media (max-width: 767px) {
    .system-maintenance-message button.btn-primary {
        margin-top: 1rem !important;
    }
}

/* ----- Navigation Search Section -----  */
.navigation-search {
    border-bottom: 5px solid #07557b;
}

/* ----- Navigation -----  */
@media (max-width: 767px) {
    #navigation {
        -webkit-transition: max-height 0.5s ease-in-out;
        -moz-transition: max-height 0.5s ease-in-out;
        -o-transition: max-height 0.5s ease-in-out;
        transition: max-height 0.5s ease-in-out;
    }
}

.first-level-link:focus {
    outline-offset: -5px;
}

.first-level-link > span[class^="ca-gov-icon"] {
    /* Navigation icons */
    color: #8C96A2;
}

/* ----- Global Footer -----  */
.global-footer .footer-links li {
    margin-right: 5px;
}

.global-footer .footer-links a:not(.btn):focus {
    color: white;
    outline: solid 2px #ffffff;
    outline-offset: 1px;
    text-decoration: none !important;
}


.global-footer .copyright {
    color: #181818;
}

    .global-footer .copyright a {
        color: #046b99;
    }

        .global-footer .copyright a:focus, .global-footer .copyright a:hover {
            color: #02374e;
            text-decoration: underline;
        }

        .global-footer .copyright a:focus {
            outline: solid 2px #0D84D0;
            outline-offset: 1px;
        }


/* ----- Main Content Link -----  */
.main-content a:not(.btn):hover {
    background-image: linear-gradient(to right, #006400 100%, #006400 100%);
    text-decoration: none !important;
}

.main-content a:not(.btn):active {
    outline: 1px dotted #07557b !important;
    background-image: none !important;
    text-decoration: none !important;
}

.main-content a:not(.btn):focus {
    outline: 2px solid #000000;
    background-image: none !important;
    text-decoration: none !important;
}

/* ----- Form Input Elements -----  */
form#MasterForm input:focus, form#MasterForm select:focus, form#MasterForm textarea:focus, form#MasterForm button:focus {
    box-shadow: 5px 5px 5px #888888;
    outline: solid 2px #000000;
}

/* ----- Link hover color -----*/
a:hover {
    color: #006400;
}


.header-organization-banner a:focus, .top-level-nav a:focus {
    outline: solid 2px #000000;
    background-image: none;
}

.global-footer a:not(.btn) {
    color: white;
    text-decoration: none;
}

    .global-footer a:not(.btn):hover {
        color: white;
        background-image: none !important;
        text-decoration: underline;
    }


    .global-footer a:not(.btn):active {
        color: white;
        outline: 1px dotted #ffffff !important;
        background-image: none !important;
        text-decoration: none !important;
    }


    .global-footer a:not(.btn):focus {
        color: white;
        outline: 1px solid #000000;
        background-image: none !important;
        text-decoration: none !important;
    }

.tab-group a:focus {
    outline: none;
    border: 2px solid black;
}

.nav-tabs > li > a.active:focus {
    outline: solid 2px #000000 !important;
}


div.active:focus {
    outline: solid 2px #000000;
}

.global-footer .half a {
    color: #046B99
}

    .global-footer .half a:hover {
        color: #046B99
    }

    .global-footer .half a:active {
        outline: 1px dotted #046B99 !important;
    }


    .global-footer .half a:focus {
        color: #046B99;
        outline: 1px solid #046B99 !important;
    }
