@layer theme-overrides {

    .clb-test23423-file {
        background: var(--cfha-orange);
        border-radius: 3px;
    }

    .entry-content p a:hover {
        text-decoration: underline;
        background: var(--ironwood-primary-color-95);
        border-radius: 3px;
    }

    h1, h2, h3, h4 {
        font-weight: 300;
    }

    h1.entry-title {
        font-size: var(--ironwood-font-size-l-5);
    }

    .genesis-nav-menu a {
        font-weight: 400;
    }

    .footer-widgets {
        background: var(--cfha-light-blue);
        color: var(--ironwood-black);
        border-top: none;
    }

    .site-footer, .site-footer a, .site-footer p {
        color: var(--ironwood-white);
    }

    .entry-content ul li {
        margin-bottom: 12px;
    }

    .single-post .entry-header h1 {
        margin-bottom: 12px;
    }

    .single-post .entry-header p.entry-meta {
        text-align: center;
        font-style: italic;
        margin-bottom: 60px;
    }

    .clb-hello-bar-wrapper {
        background: var(--cfha-red);
        font-size: var(--ironwood-font-size-sm);
        padding: 4px;
    }


    .clb-key-contacts-wrapper .widget-title {
        padding: 20px;
        margin: 0;
        border-top-left-radius: var(--ironwood-border-radius);
        border-top-right-radius: var(--ironwood-border-radius);
        background: var(--dhm-navy);
        color: var(--ironwood-white);
    }

    .clb-key-contacts-inner-wrapper {
        padding: 20px;
    }

    .clb-person-name-wrapper {
        font-weight: 700;
    }

    .clb-person-email, .clb-person-office-phone, .clb-person-cell-phone {
        font-size: var(--ironwood-font-size-sm);
    }

    .clb-key-contacts-inner-wrapper {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .after-entry {
        display: none;
    }

    .after-entry:has(.clb-has-key-contacts) {
        display: block;
    }

    .clb-single-key-contact-wrapper.clb-has-thumbnail {
        display: grid;
        grid-template-columns: 5fr 1fr;
        gap: 20px;
    }

    .clb-single-key-contact-wrapper.clb-has-thumbnail img {
        border-radius: var(--ironwood-border-radius);
    }

    .footer-widgets .widget-title {
        font-size: var(--ironwood-font-size-l-2);
    }

    .footer-widgets a {
        text-decoration: none;
        font-weight: 700;
        color: var(--ironwood-white);
    }

    .footer-widgets a:hover {
        text-decoration: underline;
    }

    .clb-footer-2-chalice-wrapper {
        display: flex;
        justify-content: center;
        margin-bottom: 20px;
    }

    .clb-footer-2-chalice-wrapper img {
        max-width: 100px;
    }

    .clb-footer-2-dhm-text {
        font-size: var(--ironwood-font-size-sm);
    }


    .breadcrumb {
        padding: 8px 14px;
        margin-left: 0;
        background: var(--ironwood-light-gray);
        border-bottom: none;
        display: inline-block;
        width: fit-content;
        border-bottom-left-radius: var(--ironwood-border-radius);
        border-bottom-right-radius: var(--ironwood-border-radius);
        font-size: var(--ironwood-font-size-xs);
        background: var(--dhm-teal);
        color: var(--ironwood-white);
        margin-bottom: 0;
    }

    .breadcrumb a {
        color: var(--ironwood-white);
    }

    .after-entry .widget {
        padding: 0;
        margin: 0;
    }

    .after-entry.widget-area {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 30px;
    }

    #media_image-2 {
        display: none;
    }

    .page-id-126 #media_image-2,
    .page-id-171 #media_image-2 {
        display: block;
    }

    #media_image-2 img {
        width: 90%;
        margin-top: 20px;
        margin-bottom: 20px;
        margin-left: auto;
        margin-right: auto;
    }

    #media_image-2 .widget-title {
        padding: 20px;
        margin: 0;
        border-top-left-radius: var(--ironwood-border-radius);
        border-top-right-radius: var(--ironwood-border-radius);
        background: var(--dhm-teal);
        color: var(--ironwood-white);
    }

    figcaption, .gallery-caption, .wp-caption-text {
        font-weight: 300;
        font-size: var(--ironwood-font-size-sm);
    }

    .clb-has-featured-image .clb-single-page-featured-img-wrapper img {
        filter: url(#wp-duotone-367ca2-fff-2) !important;
    }

    .footer-widgets p,
    .footer-widgets .textwidget {
        font-weight: 300;
    }


    .clb-webinar-embed-wrapper {
        display: flex;
        justify-content: center;
        margin-bottom: 30px;
        background: var(--ironwood-black);
        border-radius: var(--ironwood-border-radius);
    }

    .clb-webinar-attachment-section-wrapper {
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
    }

    .clb-filetype-icon-wrapper {
        margin-left: 8px;
    }

    

    .single-webinars .clb-webinar-metabox-wrapper {
        padding: 20px 24px;
        background: var(--cfha-highlighter);
        margin-bottom: 30px;
        border-radius: var(--ironwood-border-radius);
        font-size: var(--ironwood-font-size-md);
    }

    .page .site-inner {
        padding-top: 0;
    }


    /* --- Updated May 16 Styling --- */

    .page .entry-header h1,
    .single-resources .entry-header h1,
    .single-webinars .entry-header .clb-custom-webinar-header-wrapper {
        text-align: center;
        background: var(--cfha-page-accent-color, var(--cfha-white));
        padding: 20px 60px;
        width: 100vw;
        margin-left: calc(50% - 50vw);
    }

    .clb-webinar-listings-to-publish .clb-resource-wrapper {
        background: var(--resource-accent-color, #eee);
        background: var(--ironwood-white);
        box-shadow: var(--ironwood-box-shadow-light);
        padding: 30px;
        border-radius: var(--ironwood-border-radius);       
    }

    .clb-resource-wrapper .clb-resource-infoline {
        font-size: var(--ironwood-font-size-md);
    }

    .clb-resource-wrapper .clb-resource-body-wrapper a {
        text-decoration: none;
        font-size: var(--ironwood-font-size-l-2);
        color: var(--cfha-black);
    }

    .clb-resource-wrapper h3 {
        margin-top: 12px;
        text-decoration: none;
        font-size: var(--ironwood-font-size-l-2);
    }

    .single-webinars .site-inner {
        padding-top: 0;
    }

    .single-webinars .clb-custom-webinar-header-wrapper {
        display: flex;
        gap: 12px;
        justify-content: center;
        align-items: center;
    }

    .single-webinars .clb-webinar-single-title {
        text-align: center;
        margin-top: 60px;
        margin-bottom: 60px;
    }

    .single-webinars .clb-view-all-btn {
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100%;
    }

    .single-webinars .clb-view-all-btn a {
        font-size: var(--ironwood-font-size-sm);
        color: var(--ironwood-black);
        padding: 6px 12px;
        background: transparent;
        border: 1px solid var(--ironwood-black);
        margin-left: 12px;
    }

    .single-webinars h1.entry-title {
        margin-bottom: 0;
    }

    .clb-webinar-attachment-wrapper a.button {
        text-transform: uppercase;
        font-size: var(--ironwood-font-size-md);
    }

    @media screen and (min-width: 960px) {

        .site-title a {
            color: var(--ironwood-white);
            text-transform: uppercase;
        }

        .title-area {
            display: flex;
            padding-top: 12px;
            padding-bottom: 12px;
            justify-content: flex-start;
            align-items: center;
            gap: 20px;
            transition: all ease-in-out .5s;
            margin-top: -46px;
        }

        .ironwood-scrolled .title-area {
            padding: 4px 0;
            max-width: 240px;
            margin-top: 0;
        }

        .ironwood-scrolled #sitelogo,
        .ironwood-scrolled #sitelogo-transparent {
            max-width: 75px;
        } 

        .genesis-nav-menu a {
            text-wrap: pretty;
            /* font-weight: 400;
            color: var(--ironwood-white); */
        }

        .genesis-nav-menu .current-menu-item a,
        .genesis-nav-menu a:hover {
            text-decoration: underline;
        }

        .genesis-nav-menu .menu-highlight a {
            background: var(--ironwood-primary-color);
            border-radius: var(--ironwood-border-radius);
        }

        .genesis-nav-menu .menu-highlight a:hover {
            color: var(--ironwood-white);
            background: var(--ironwood-secondary-color);
            text-decoration: none;
        }

        .genesis-nav-menu .sub-menu {
            border: none;
            box-shadow: 0 0 20px rgba(0,0,0,.1);
        }

        .genesis-nav-menu .sub-menu a {
            background: var(--cfha-light-blue);
            text-decoration: none;
            font-weight: 400;
            border: none;
            border-top: none;
        }

        .genesis-nav-menu .sub-menu a:hover {
            text-decoration: none;
            background: var(--ironwood-primary-color);
            color: var(--ironwood-white);
        }

        .genesis-nav-menu .sub-menu .sub-menu {
            margin: 0;
        }

        a.clb-on-page-nav-link.clb-sidebar-item-active {
            /* color: var(--ironwood-secondary-color); */
        }

        .clb-on-page-nav-wrapper li {
            border-top: 1px solid var(--ironwood-medium-gray);
        }

        .clb-on-page-nav-wrapper li a {
            display: block;
            width: 100%;
        }

        .clb-on-page-nav-wrapper li:has( a:hover ) {
            background: var(--cfha-page-accent-color, var(--ironwood-primary-color));
        }

        .clb-on-page-nav-wrapper li:has( a.clb-sidebar-item-active:hover ) {
            background: var(--cfha-page-accent-color, var(--ironwood-primary-color));
        }

        .clb-on-page-nav-wrapper ul {   
            border-radius: var(--ironwood-border-radius-small);
        }

        .clb-on-page-nav-wrapper li:first-of-type,
        .clb-on-page-nav-wrapper li:first-of-type a {
            border-top-left-radius: var(--ironwood-border-radius-small);
            border-top-right-radius: var(--ironwood-border-radius-small);
        }

        .clb-on-page-nav-wrapper li:last-of-type {
            border-bottom: 1px solid var(--ironwood-medium-gray);
            border-bottom-left-radius: var(--ironwood-border-radius-small);
            border-bottom-right-radius: var(--ironwood-border-radius-small);
        }

        .clb-on-page-nav-wrapper li:last-of-type a {
            border-bottom-left-radius: var(--ironwood-border-radius-small);
            border-bottom-right-radius: var(--ironwood-border-radius-small);
        }

        .genesis-nav-menu:has( ul#menu-above-header-area ) {
            background: linear-gradient(to right, var(--ironwood-white) 33%, var(--cfha-light-blue));
            float: right;
            padding-right: 30px;
        }

        .genesis-nav-menu ul#menu-above-header-area {
            width: fit-content;
            margin-left: auto;
        }

        .genesis-nav-menu ul#menu-above-header-area li {
            padding: 0 8px;
        }

        .after-entry:has(.clb-has-key-contacts) {
            padding: 0;
            border-radius: var(--ironwood-border-radius);
        }

        .ironwood-scrolled .site-header {
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
        }

        .clb-has-featured-image .clb-single-page-title-wrapper {
            background: rgba(0,0,0,.667);
            backdrop-filter: blur(4px);
            border-radius: var(--ironwood-border-radius);
        }

        #menu-above-header-area {
            display: flex;
            justify-self: flex-end;
            align-items: center;
        }

        #menu-above-header-area a:hover {
            opacity: .667;
            color: var(--cfha-black);
        }

        #menu-above-header-area .clb-top-menu-action-btn a {
            font-size: var(--ironwood-font-size-sm);
            border: 1px solid var(--ironwood-black);
            border-radius: var(--ironwood-border-radius);
            padding: 4px 8px;
        }

        .entry-content .wp-block-create-block-clb-collapse {
            border-radius: var(--ironwood-border-radius);
        }

        #menu-above-header-area .clb-top-menu-action-btn a:hover {
            opacity: 1;
            text-decoration: none;
            background: var(--cfha-black);
            color: var(--cfha-white);
        }

        /* footer work --- */

        .footer-widgets .wrap:before, .footer-widgets .wrap:after {
            display: none;
        }

        .footer-widgets .wrap {
            max-width: 90%;
            display: grid;
            grid-template-columns: 2fr 1fr 1fr;
            gap: 30px;
        }

        .footer-widget-area {
            width: 100%;
        }

        #menu-main-menu-1 {
            display: flex;
            flex-wrap: wrap;
            gap: 30px;
            row-gap: 12px;
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
        }

        #menu-main-menu-1 a {
            color: var(--ironwood-black);
            font-size: var(--ironwood-font-size-sm);
            margin: 0;
            padding: 0;
            font-family: "Open Sauce Sans Bold", sans-serif;
        }

        #menu-main-menu-1 li {
            line-height: 1;
            margin-left: 0;
            margin-bottom: 0;
        }

        #menu-main-menu-1 .sub-menu a {
            font-family: var(--ironwood-font-primary);
            font-weight: 300;
        }

        .page-id-202.page-template-on_page_sidebar_navigation .entry-content {
            max-width: 765px;
        }

        .clb-custom-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
            padding-top: 12px;
            padding-bottom: 12px;
        }

        .clb-custom-header .clb-header-middle {
            display: flex;
            justify-content: center;
            width: 100%;
        }

        .clb-custom-header .clb-header-middle img {
            max-width: 400px;
        }

        .clb-header-btn {
            background: transparent;
            color: var(--cfha-black);
        }

        .clb-header-btn:hover {
            color: var(--cfha-blue);
        }

        
        .clb-off-canvas-nav-menu {
            display: flex;
            flex-wrap: wrap;
            gap: 24px;
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
        }

        .clb-off-canvas-nav-menu a {
            color: var(--cfha-white);
            font-size: var(--ironwood-font-size-l-1);
            margin: 0;
            padding: 0;
            font-family: "Open Sauce Sans Bold", sans-serif;
            text-decoration: none;
        }

        .clb-off-canvas-nav-menu li {
            line-height: 1.4;
            margin-left: 0;
            margin-bottom: 0;
        }

        .clb-menu-featured-item-custom-large-tile-wrapper {
            display: flex;
            border-radius: var(--ironwood-border-radius);
            background: var(--cfha-red);
        }

        .clb-menu-featured-item-custom-large-tile-wrapper .clb-menu-tile-body {
            padding: 20px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            position: relative;
            z-index: 10;
            background: var(--cfha-red);
            border-top-right-radius: var(--ironwood-border-radius);
            border-bottom-right-radius: var(--ironwood-border-radius);
        }

        .clb-menu-featured-item-custom-large-tile-wrapper .clb-featured-item-title-wrapper {
            font-family: "Open Sauce Sans Bold", sans-serif;
            font-weight: 700;
            line-height: 1.3;
            margin-bottom: 8px;
        }

        .clb-menu-featured-item-custom-large-tile-wrapper .clb-featured-item-description-wrapper {
            font-size: var(--ironwood-font-size-sm);
        }

        .clb-featured-image-wrapper {
            aspect-ratio: 1 / 1;
            position: relative;
            z-index: 5;
            height: 100%;
        }

        .clb-featured-image-wrapper img {
            height: 100%;
            object-fit: cover;
            border-top-left-radius: var(--ironwood-border-radius);
            border-bottom-left-radius: var(--ironwood-border-radius);
        }

        .clb-featured-item-btn-wrapper a.button {
            padding: 8px 12px;
            margin-top: 8px;
        }

        .clb-off-canvas-nav-menu .clb-menu-featured-item-custom-large-tile-wrapper a {
            font-family: var(--ironwood-font-primary);
            font-weight: 300;
        }
    
        .clb-off-canvas-nav-menu .clb-menu-featured-item-custom-large-tile-wrapper a:hover {
            text-decoration: none;
        }

        .clb-off-canvas-nav-menu .sub-menu a {
            font-family: var(--ironwood-font-primary);
            font-weight: 300;
        }

        .offcanvas-header {
            box-shadow: 0 0 20px rgba(0,0,0,.1);
            margin-left: -30px;
            margin-right: -30px;
            margin-bottom: 20px;
            padding-top: 0;
            padding-bottom: 0;
        }

        .offcanvas .clb-header-middle {
    
        }

        .offcanvas .clb-header-middle img {
            max-width: 300px;
        }

        .clb-offcanvas-actions-wrapper {
            display: flex;
            gap: 12px;
            justify-content: flex-end;
            align-items: center;
        }

        .clb-offcanvas-actions-wrapper .clb-social-icon {
            color: var(--cfha-white);
        }

        .clb-offcanvas-actions-wrapper .button {
            border: 2px solid var(--cfha-white);
            background: transparent;
            padding: 8px 14px;
            font-size: var(--ironwood-font-size-md);
        }

        .clb-remove-menu-link > a:hover {
            cursor: default;
            text-decoration: none !important;
        }

        .site-header {
            background: #fcfaee;
        }

        .clb-webinar-listings-to-publish {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            gap: 30px;
        }

        .clb-metabox-and-video-wrapper {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 30px;
        }

        .clb-webinar-facet-wrapper {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            gap: 30px;
            margin-bottom: 30px;
        }

        .clb-webinar-facet-wrapper .facetwp-input-wrap {
            display: block;
        }

        .clb-webinar-facet-wrapper .facetwp-facet {
            margin-bottom: 0;
        }
        
    }


    @media screen and (max-width: 959px) {

        /* --- Mobile Styles here, incl fixes --- */

        h1.entry-title {
            font-size: var(--ironwood-font-size-l-3);
        }

        .footer-widgets a {
            color: var(--cfha-black);
        }

        #menu-main-menu-1 li {
            line-height: 1;
        }

       #menu-main-menu-1 a {
        font-weight: 400;
        font-size: var(--ironwood-font-size-sm);
       }

       .clb-header-left.clb-custom-search-icon {
        display: none;
       }

       .clb-custom-header {
        display: flex;
        gap: 12px;
       }

       .site-header {
        padding-left: 8px;
        padding-right: 8px;
       }

       .clb-header-right .clb-header-btn {
        background: transparent;
        color: var(--cfha-black) !important;
       }

       .offcanvas-header {
        flex-direction: column;
        padding: 0;
       }

       .off-canvas-menu-wrapper a {
        color: var(--cfha-white);
        text-decoration: none;
        font-size: var(--ironwood-font-size-sm);
       }

       .offcanvas-title {
        display: none;
       }

       .offcanvas {
        padding-left: 12px !important;
        padding-right: 12px !important;
       }
    }

}



.has-cfha-blue-color {
    color: var(--cfha-blue);
  }
  
  .has-cfha-blue-background-color {
    background-color: var(--cfha-blue);
  }
  
  .has-cfha-light-blue-color {
    color: var(--cfha-light-blue);
  }
  
  .has-cfha-light-blue-background-color {
    background-color: var(--cfha-light-blue);
  }
  
  .has-cfha-orange-color {
    color: var(--cfha-orange);
  }
  
  .has-cfha-orange-background-color {
    background-color: var(--cfha-orange);
  }
  
  .has-cfha-red-color {
    color: var(--cfha-red);
  }
  
  .has-cfha-red-background-color {
    background-color: var(--cfha-red);
  }
  
  .has-cfha-purple-color {
    color: var(--cfha-purple);
  }
  
  .has-cfha-purple-background-color {
    background-color: var(--cfha-purple);
  }
  
  .has-cfha-highlighter-color {
    color: var(--cfha-highlighter);
  }
  
  .has-cfha-highlighter-background-color {
    background-color: var(--cfha-highlighter);
  }
  
  .has-cfha-gray-color {
    color: var(--ironwood-medium-gray);
  }
  
  .has-cfha-gray-background-color {
    background-color: var(--ironwood-medium-gray);
  }
  
  .has-light-gray-color {
    color: var(--ironwood-light-gray);
  }
  
  .has-light-gray-background-color {
    background-color: var(--ironwood-light-gray);
  }
  
  .has-black-color {
    color: var(--ironwood-black);
  }
  
  .has-black-background-color {
    background-color: var(--ironwood-black);
  }
  
  .has-white-color {
    color: var(--ironwood-white);
  }
  
  .has-white-background-color {
    background-color: var(--ironwood-white);
  }

  .has-black-color {
    color: var(--ironwood-black);
  }
  
  .has-black-background-color {
    background-color: var(--ironwood-black);
  }