/* ------------------------------------------------
    FONTS - settings
--------------------------------------------------*/

@font-face {
    font-family: "OpenDyslexic3";
    src: url("/fonts/OpenDyslexic3-Regular.ttf");
    font-weight: normal;
}

@font-face {
    font-family: "OpenDyslexic3";
    src: url("/fonts/OpenDyslexic3-Bold.ttf");
    font-weight: bold;
}

/* ------------------------------------------------
    GLOBAL OVERRIDES -- all pages
--------------------------------------------------*/

@media (min-width: 992px) {
    .container,
    .branding,
    .main-navigation {
        max-width: 1440px;
    }

    .full-width-nav .nav-item .first-level-btn {
        text-align: center;
    }
}

/* override the default colors of nav links in state template
    needed to keep the nav from flashing the default color on load */
.full-width-nav .top-level-nav:not(.branding-level-nav-items) .nav-item a.first-level-link {
    background-color: #194949 !important;
    color: #ffffff !important;
}

    .full-width-nav .top-level-nav:not(.branding-level-nav-items) .nav-item a.first-level-link:hover {
        background-color: #447766 !important;
    }

/* allow mobile menu stretch the width of the screen */
.navigation-search.visible {
    max-width: 100% !important;
}

/* color-gray-dark for texts */
.color-gray-dark,
.color-grey-dark {
    color: #3b3a48 !important;
}

/* hover class for text-danger */
.text-danger-hover:hover {
    color: #58151C !important; /* Bootstrap text-danger-emphasis color */
}

/* cagov uses .row>*, but that messes up lists */
.row > ul,
.row > ol {
    padding-left: calc(var(--bs-gutter-x)*2.5);
}

/* add bottom margin back to paragraphs inside a card body */
.card .card-body p:not(:last-child) {
    margin-bottom: .7rem;
}

/* ------------------------------------------------
    GLOBAL DROPDOWNS -- many pages
--------------------------------------------------*/
cagov-accordion details summary {
    background: #447766; /* template primary color */
    color: #E9F2EF; /* slightly lighter than template secondary color for accessibility */
}

    cagov-accordion details summary::before {
        background: #447766; /* template primary color */
        color: #E9F2EF; /* slightly lighter than template secondary color for accessibility */
    }

    cagov-accordion:hover details summary {
        color: #FFF !important; /* white */
    }

        cagov-accordion:hover details summary::before,
        cagov-accordion:defined details[open] summary::before,
        cagov-accordion:defined details summary:focus:before {
            background: #345C4F; /* a bit darker than primary color */
            color: #FFF !important;
        }

/* ------------------------------------------------
    GLOBAL HEADER -- all pages
--------------------------------------------------*/
/*Utility Header*/
.standout.utility-header {
    background: #194949;
    color: #fff;
}

    .standout.utility-header .flex-row .settings-links {
        margin-left: .25rem;
    }

    /* social media link icons */
    .standout.utility-header .flex-row .social-media-links + div {
        margin-left: auto;
    }

.x-share-icon:hover svg {
    fill: #E8F1EE;
}

.x-share-icon-footer:hover svg {
    fill: #194949;
}

.standout.utility-header .flex-row .social-media-links + div a:not(:first-child) {
    margin-left: 10px;
}

    .standout.utility-header a {
        color: rgba(255, 255, 255, 1);
        text-decoration: none;
        transition: all 200ms ease-out;
    }

        .standout.utility-header a:hover {
            color: rgba(255, 255, 255, .7);
            text-decoration: underline;
        }

.site-settings button.close {
    background: none;
    border: none;
    transform: scale(1);
    transition: all 100ms ease-out;
}

    .site-settings button.close:hover {
        color: rgba(255, 255, 255, .7) !important;
        transform: scale(1.2);
    }

/* header logo */
.branding .header-organization-banner img {
    max-height: 75px;
    max-width: 400px;
}
/* remove min-width, since we have buttons on the right */
.branding .header-organization-banner a {
    min-width: 400px !important;
}

/* Navigation */
.global-header .section-default {
    min-height: 92px;
}

.second-level-nav.flex a {
    transition: all 200ms ease-out;
}

.second-level-nav.flex:not(:first-child) a {
    margin-top: 0;
}

.top-level-nav:not(.branding-level-nav-items) .first-level-btn > span:first-child {
    font-size: 1.25rem !important;
    margin-right: .5rem;
}


@media(max-width: 1199px) {
    .top-level-nav:not(.branding-level-nav-items) .first-level-btn {
        text-align: center;
    }
}

/* if bigger than mobile breakpoint - i.e. desktop navigation */
@media(min-width: 991px) {
    /* fix top of search container when on desktop */
    .search-container {
        margin-top: -26px !important;
    }

    /*  set color of nav icons  */
    .top-level-nav:not(.branding-level-nav-items) .first-level-btn {
        color: #fff;
        font-size: 1.25rem;
        border-top: 0;
        border-bottom: 0;
        border-left: 1px solid #447766;
    }

    .top-level-nav:not(.branding-level-nav-items):hover .first-level-btn span:last-child {
        color: #fff !important;
    }

    .first-level-btn:hover {
        background: #447766 !important;
        transition: background 200ms ease-out;
    }

    .first-level-btn:focus {
        background: #447766 !important;
    }

    /* second level nav icons */
    .second-level-link [class^=ca-gov-icon-] {
        color: #194949;
        font-size: 1.25rem;
    }

    /* set the color of bottom navigation bar */
    header.global-header {
        background: #194949;
    }

    /* add border to left and right of nav buttons */
    .top-level-nav:not(.branding-level-nav-items) {
        border-right: 1px solid #447766;
    }

    /* make the navigation stretch the whole container */
    .main-navigation.megadropdown {
        padding: 0;
    }

        .main-navigation.megadropdown .top-level-nav:not(.branding-level-nav-items) {
            width: 100%;
            padding: 0 !important;
        }

    .branding-level-nav-items {
        position: absolute;
        top: -91px;
        right: 0;
    }

    /* first level nav hover color */
    .first-level-link:hover {
        background-color: #fafafa !important;
    }
    /* second level nav hover color */
    .second-level-nav.flex a:hover {
        background: #F2F2F2;
    }

    .branding-level-nav-items .first-level-link {
        display: flex !important;
        flex-flow: column nowrap;
        align-items: center;
        justify-content: center;
        transition: all 200ms ease-out;
    }

        .branding-level-nav-items .first-level-link:not(.nav-item-standout) {
            padding: 13px 18px !important;
        }

            .branding-level-nav-items .first-level-link:not(.nav-item-standout) span:first-child {
                font-size: 1.5rem !important;
                color: #ccc !important;
                transition: color 200ms ease-out;
            }

        .branding-level-nav-items .first-level-link:hover:not(.nav-item-standout) span:first-child {
            color: #194949 !important;
        }

    .branding-level-nav-items .nav-item-standout {
        background: #F2F2F2;
        padding: 16px !important;
    }

        .branding-level-nav-items .nav-item-standout:hover {
            background: #447766 !important;
            color: #fff !important;
        }

        .branding-level-nav-items .nav-item-standout span:first-child {
            font-size: 1.25rem !important;
        }
}

/* if smaller than mobile breakpoint - i.e. mobile navigation */
@media(max-width: 991px) {
    .main-navigation {
        padding-left: 0;
        text-decoration: none !important;
    }

    .first-level-btn,
    .first-level-link {
        color: #fff;
        display: flex !important;
        justify-content: center;
        align-items: center;
        font-size: 2rem;
        padding: .25rem !important;
    }

        .first-level-btn span:first-child,
        .first-level-link span:first-child {
            color: rgba(255,255,255,1) !important;
            font-size: 2rem !important;
            display: inline-block;
            margin-right: 1rem;
        }

    .second-level-nav.flex a {
        background: #F2F2F2;
        color: #194949;
        text-align: center;
    }

    .standout.utility-header .flex-row .social-media-links + div {
        display: none !important;
    }

    .header-organization-banner a {
        z-index: 0 !important;
    }

    .settings-links {
        text-align: center;
    }
}

/* ------------------------------------------------
    SEARCH -- all pages
--------------------------------------------------*/

/*search animation*/
.search-container {
    height: 0px;
    opacity: 0;
    transition: all 200ms ease-in-out;
    z-index: 26;
}

    .search-container.play-animation {
        height: 78px;
        opacity: 1;
    }

/* ------------------------------------------------
    FOOTER -- all pages
--------------------------------------------------*/
/* align the icon with the text */
.copyright span.ca-gov-icon-certificate {
    text-align: right;
    position: relative;
    top: 5px;
}

/* ------------------------------------------------
    Side navigation -- many pages
--------------------------------------------------*/

/* add padding to the right of sidenav sub-nav links */
.side-subnav li a {
    padding-right: .7rem;
    border-bottom: 1px solid rgba(255,255,255,1);
    display: flex;
}

/* ------------------------------
    GENERAL -- many pages
------------------------------ */

/* add space between underline and words */
.main-content {
    text-underline-offset: 4px;
}

/* add some space between list items */
.comfy-list li {
    margin-top: .25rem;
}

.comfy-list.extra-comfy li {
    margin-top: .5rem;
}

.comfy-list.super-comfy li {
    margin-top: 1rem;
}

/* ------------------------------------------------
    PRINTING -- all pages
--------------------------------------------------*/

@media print {
    html {
        font-size: 12px !important;
    }

    .container {
        max-width: 100% !important;
    }

    .hide-print {
        display: none !important;
    }

    .print-outline {
        border: 1px solid #ccc;
        border-radius: 5px;
    }

    .show-print {
        display: block !important;
    }

    cagov-accordion details {
        height: auto !important;
        overflow: visible !important;
    }

    cagov-accordion details[open] {
        display: block;
    }

    cagov-accordion summary ~ * {
        display: block !important;
    }
}

/* ------------------------------------------------
    HOME PAGE -- /
--------------------------------------------------*/

/* images at the bottom of the homepage above the footer */
.home-icon {
    max-width: 175px;
}

/* triple section for executive profiles */
.executive-profile {
    background-color: #f5f5f5;
}

/* ------------------------------------------------
    ABOUT PAGE -- /about/
--------------------------------------------------*/

.img-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------------------------------
    MEETINGS -- /about/meetings
--------------------------------- */

/* make a square date */
.event-date {
    float: left;
    height: 96px;
    width: 96px;
    border: solid 1px #1f5c5c;
    padding: 7.2px 6px 0 6px;
    text-align: center;
    color: #1f5c5c;
    line-height: 1;
    display: block;
    background: #FFF;
}

    .event-date .date-day {
        font-size: 3.25rem;
        display: block;
    }

    .event-date .date-month {
        font-size: 1.25rem;
        text-transform: uppercase;
        display: block;
        padding-top: .15rem !important;
    }

    .event-date .date-year {
        display: none;
    }

.upcoming-meeting > .card-body {
    transition: all 200ms ease-out;
    background: #e8f1ee !important; /* bg-s1 color */
}

.upcoming-meeting:hover > .card-body {
    background: #F2FCF9 !important; /* very light version of bg-s1 */
}

.upcoming-meeting-link {
    text-decoration: none !important;
}

.meeting-materials:focus > .card-body {
    outline: 2px solid #2ea3f2 !important;
    background: #e8f1ee !important;
}

/* ------------------------------------------------
    COMMITTEES -- /about/committees/
--------------------------------------------------*/

.card-overstated .card-body a:not(.btn) {
    color: #447766;
}

    .card-overstated .card-body a:not(.btn):hover {
        color: #194949;
    }

.card-overstated > .card-body {
    background-color: rgba(255, 255, 255, 0.9);
}

/* ------------------------------------------------
    LAWS -- /about/laws/
--------------------------------------------------*/

table.table tbody td a[class*=mbc-tooltip] {
    text-decoration: none !important;
}

    table.table tbody td a:hover {
        text-decoration: underline !important;
    }

    table.table tbody td a span[class^=ca-gov-icon-] {
        font-size: 3rem;
        transition: all 200ms ease-out;
    }

.mbc-tooltip.tooltip-pdf {
    border-bottom: none;
}

/* ------------------------------------------------
    NEWS -- /news/
--------------------------------------------------*/

.social-feed-container .callout.callout-warning {
    display: none;
}

    .social-feed-container .callout.callout-warning.show {
        display: block;
    }

article.bg-s1 {
    border: 1px solid transparent;
}

    article.bg-s1:hover {
        background-color: #fafafa !important;
        border: 1px solid #194949; /* standout color */
    }

/* add bottom margin back to paragraphs within news story */
.news-item .description p {
    margin-bottom: .7rem;
}

/* ------------------------------------------------
    PSA -- /news/public-service-announcements
--------------------------------------------------*/

@media screen and (max-width: 661px) {
    /* remove the margin on second checkup button (they're aligned) */
    h1.loud.resize-title-md {
        font-size: 16px !important;
    }
}

/* ------------------------------------------------
    News Releases -- /news/news-releases
--------------------------------------------------*/

#MainContent_newsreleaseContent_TbSearchNewsReleases {
    border: 1px solid black;
    z-index: 1;
}

#MainContent_newsreleaseContent_BtnSearchNewsReleases {
    z-index: 0;
}

    #MainContent_newsreleaseContent_BtnSearchNewsReleases:hover {
        color: #fff;
        box-shadow: none;
        background-color: #194949; /* standout color */
        transition: all 200ms ease-out;
    }

article.news-release-list-item:hover {
    background-color: #E8F1EE; /* secondary color */
}

/* ------------------------------------------------
    Resources -- /resources/
--------------------------------------------------*/

.horizontal-card-link:hover .card-body {
    text-decoration: none !important;
    text-underline-offset: 10px !important;
    background-color: #E8F1EE; /* secondary color */
}

/* ------------------------------------------------
    LVS -- /resources/lvs
--------------------------------------------------*/

.nav.nav-tabs .nav-link {
    color: #447766; /* primary color */
}
    .nav.nav-tabs .nav-link:hover {
        color: #194949; /* standout color */
    }

/* ------------------------------------------------
    TOOLTIPS
--------------------------------------------------*/

/* Tooltip container */
.mbc-tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted gray;
}

    /* Tooltip text */
    .mbc-tooltip .mbc-tooltiptext {
        visibility: hidden;
        background-color: #194949;
        color: #fff;
        text-align: center;
        padding: 5px 0;
        border-radius: 6px;
        position: absolute;
        z-index: 1000;
        width: 200px;
        top: 100%;
        left: 50%;
        margin-left: -100px;
    }

    /* Show the tooltip text when you mouse over the tooltip container */
    .mbc-tooltip:hover .mbc-tooltiptext {
        visibility: visible;
    }

/* ------------------------------
    CALLOUTS
------------------------------ */

.callout {
    padding: 1.25rem;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
    border: 1px solid #e9ecef;
    border-left-width: 0.25rem;
    border-radius: 0.25rem;
}

    .callout h1,
    .callout h2,
    .callout h3,
    .callout h4,
    .callout h5,
    .callout h6 {
        margin-top: 0;
        margin-bottom: .25rem;
    }

    .callout p:last-child {
        margin-bottom: 0;
    }

    .callout code {
        border-radius: .25rem;
    }

    .callout + .bs-callout {
        margin-top: -.25rem;
    }

.callout-brd-white {
    border-top: 1px solid #f0ad4e;
    border-right: 1px solid #f0ad4e;
    border-bottom: 1px solid #f0ad4e;
}

.callout-inline {
    display: inline-block;
    width: auto;
}

.callout-default {
    border-left-color: #e9ecef;
}

    .callout-default.callout-highlight {
        border-color: #e9ecef;
    }

.callout-primary {
    border-left-color: #447766;
}

    .callout-primary.callout-highlight {
        border-color: #447766;
    }

.callout-success {
    border-left-color: #5cb85c;
}

    .callout-success.callout-highlight {
        border-color: #5cb85c;
    }

.callout-danger {
    border-left-color: #d9534f;
}

    .callout-danger.callout-highlight {
        border-color: #d9534f;
    }

.callout-warning {
    border-left-color: #f0ad4e;
}

    .callout-warning.callout-highlight {
        border-color: #f0ad4e;
    }

.callout-info {
    border-left-color: #5bc0de;
}

    .callout-info.callout-highlight {
        border-color: #5bc0de;
    }

/* -------------------------------------
    MAIN HERO BANNERS -- many pages
------------------------------------- */

#main-content #main-banner,
#main-content #main-banner a {
    color: #fff;
}

    #main-content #main-banner h1.display-3 {
        font-family: "Public Sans", sans-serif;
        font-weight: 700;
        line-height: 1;
        margin-top: 0;
    }

.home-image {
    min-height: 430px;
    background-color: white;
    background-image: url(/images/content/banner/homepage-banner-tall.png);
    background-position: center top;
    background-repeat: no-repeat;
}

@media (max-width: 768px) {
    .home-image {
        background-image: none;
    }
}

#main-banner.contact {
    background: url("/images/content/backgrounds/contact-background.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

@media (min-width: 480px) and (max-width: 767px) {
    #main-banner.contact {
        background-image: url("/images/content/backgrounds/contact-background-mobile.jpg");
    }
}

#main-banner.subscribe {
    background: url("/images/content/backgrounds/subscribe-background.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

@media (min-width: 480px) and (max-width: 767px) {
    #main-banner.subscribe {
        background-image: url("/images/content/backgrounds/subscribe-background-mobile.jpg");
    }
}

#main-banner.about {
    background: url("/images/content/backgrounds/about-background.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center bottom;
}

@media (min-width: 480px) and (max-width: 767px) {
    #main-banner.about {
        background-image: url("/images/content/backgrounds/about-background-mobile.jpg");
    }
}

#main-banner.meetings {
    background: url("/images/content/backgrounds/meetings-background.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

@media (min-width: 480px) and (max-width: 767px) {
    #main-banner.meetings {
        background-image: url("/images/content/backgrounds/meetings-background-mobile.jpg");
    }
}

#main-banner.news {
    background: url("/images/content/backgrounds/news-background.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center left;
}

@media (min-width: 480px) and (max-width: 767px) {
    #main-banner.news {
        background-image: url("/images/content/backgrounds/news-background-mobile.jpg");
    }
}

#main-banner.consumers {
    background: url("/images/content/backgrounds/consumers-background.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center left;
}

@media (min-width: 480px) and (max-width: 767px) {
    #main-banner.consumers {
        background-image: url("/images/content/backgrounds/consumers-background-mobile.jpg");
    }
}

#main-banner.enforcement {
    background: url("/images/content/backgrounds/enforcement-background.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center left;
}

@media (min-width: 480px) and (max-width: 767px) {
    #main-banner.enforcement {
        background-image: url("/images/content/backgrounds/enforcement-background-mobile.jpg");
    }
}

#main-banner.resources {
    background: url("/images/content/backgrounds/resources-background.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center left;
}

@media (min-width: 480px) and (max-width: 767px) {
    #main-banner.resources {
        background-image: url("/images/content/backgrounds/resources-background-mobile.jpg");
    }
}

#main-banner.FAQs {
    background: url("/images/content/backgrounds/FAQs-background.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center left;
}

@media (min-width: 480px) and (max-width: 767px) {
    #main-banner.FAQs {
        background-image: url("/images/content/backgrounds/FAQs-background-mobile.jpg");
    }
}

#main-banner.index {
    background: url("/images/content/backgrounds/index-background.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center left;
}

#main-banner.laws {
    background: url("/images/content/backgrounds/laws-background.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center left;
}

@media (min-width: 480px) and (max-width: 767px) {
    #main-banner.laws {
        background-image: url("/images/content/backgrounds/laws-background-mobile.jpg");
    }
}

#main-banner.licensing {
    background: url("/images/content/backgrounds/licensing-background.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center left;
}

@media (min-width: 480px) and (max-width: 767px) {
    #main-banner.licensing {
        background-image: url("/images/content/backgrounds/licensing-background-mobile.jpg");
    }
}

#main-banner.mobile-app {
    background: url("/images/content/backgrounds/mobile-app-background.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
}

@media (min-width: 480px) and (max-width: 767px) {
    #main-banner.mobile-app {
        background-image: url("/images/content/backgrounds/mobile-app-background-mobile.jpg");
    }
}

.overlay-effect {
    background-color: rgba(68, 119, 102, 0.72);
}

/*# sourceMappingURL=custom.css.map */
