/*
Theme Name:   CAMLPR Child Theme 03
Theme URI:    https://camlpr.thedev.ca/themes/twentytwenty/
Description:  Twenty Twenty child theme for CAMLPR
Author:       Pete Gray
Author URI:   https://camlpr.thedev.ca/
Template:     twentytwenty
Version:      1.0.0
Text Domain:  CAMLPR03
*/

p, .widget-content p, li {
font-family: "Helvetica Neue", Helvetica, sans-serif !important; 
}

body {
    background-color: #FFFFFF;
}

body.en .widget-fr {
display: none !important;
}
body.fr .widget-en {
display: none !important;
}

/* above two lines got broken. Try these instead: */

html[lang="en-CA"] .widget-fr {
display: none !important;
}
html[lang="fr-CA"] .widget-en {
display: none !important;
}

.color-accent {
    color: #d2232a !important;
} 

.ctct-disclosure {
display: none !important;
}

.ctct-opt-in {
 font-family: "Helvetica Neue", Helvetica, sans-serif !important; 
 color: #000000 !important;
 font-weight: normal !important;
}

.ctct-opt-in label{
 font-family: "Helvetica Neue", Helvetica, sans-serif !important; 
 color: #000000 !important;
 font-weight: normal !important;
}

.ctct-input-container {
 font-family: "Helvetica Neue", Helvetica, sans-serif !important; 
 color: #000000 !important;
 font-weight: normal !important;
}

.ctct-checkbox {
 color: #000000 !important;
}


/* Menu styling for version two of child theme  */

.site-description {
    display: none;
}

.menu-item a {
    font-size: 0.8em !important;
    font-weight: bold;
    color: #333333 !important;
}

.primary-menu span.icon {
    color: #FFFFFF !important;
}

ul.sub-menu {
    background-color: #FFFFFF !important;
    /*border-top: 1px solid #FFBBFF !important;*/
    margin-top: 1px !important;
    margin-bottom: 0 !important; 
    padding-top: 1px !important;
    padding-bottom: 0 !important;

}


ul.sub-menu span.icon {
    color: #FFFFFF !important;
}

ul.sub-menu span.icon a:hover {
    color: #ecfe75 !important;
}

.sub-menu a {
    background-color: #398298 !important;
    color: #FFFFFF !important;
    border-bottom: 1px solid #FFFFFF !important;
    border-right: 1px solid #FFFFFF !important;
    border-left: 1px solid #FFFFFF !important;
}

.sub-menu a:hover {
    background-color: #326776 !important;
    color: #ecfe75 !important;
}


/* styling for new top menu */

.top-navigation-container {
    float: right;
    width: 100%;
    margin: 0;
    padding: 0 2% 0 0;
    order: -1; /* Forces it to appear before other items with default order */
    flex-basis: 100%; /* Forces it to take the full width of the flex container */
    display: block; /* Ensures it's a block-level element */
    clear: both; /* Clears any preceding floats */
    background-color: #398298;
    /* ... other styles ... */
}


.top-navigation {
    margin: 0;
    padding: 0;
    float: right;
    list-style: none;
    display: flex; /* This makes the list items display in a row */
    justify-content: flex-start; /* Align items to the left, adjust as needed (center, flex-end, space-around, space-between) */
}

.top-navigation li {
    margin-right: 0; /* Adjust spacing between menu items */
    margin-top: 0;
}

.top-navigation li:last-child {
    margin-right: 0; /* Remove margin from the last item */
    margin-left: 0;
}

.top-navigation a {
    display: block; /* Makes the entire link clickable */
    padding: 9px 24px; /* Adjust vertical padding */
    text-decoration: none; /* Remove underlines from links */
    font-size: 0.875em;
    color: #FFFFFF !important;
    background-color: #d2232a;
    border-left: 2px solid #FFFFFF;
    /* Add any other link styles here, like color, font-weight, etc. */
}

.top-navigation .lang-item a {
    background-color: #398298 !important;
}

.top-navigation .menu-item-type-post_type a {
    background-color: #398298 !important;
    border: none;
    padding: 9px 6px;
}

.top-navigation a:hover {
    background-color: #770000;
}

.top-navigation .lang-item a:hover {
    background-color: #326776 !important;
}

.top-navigation .menu-item-type-post_type a:hover {
    background-color: #326776 !important;
}

/* end styling for new top menu */

/* h1 black background */

h1 {
   color: #FFFFFF;
   background-color: #000000;
   font-size: 1.5em !important; 
   max-width: 85%;
   padding: 10px 14px 10px 14px;
   display: block;
   float: left;
   margin-right: 0;
}

.entry-header-inner {
    margin-left:337px !important;
}

h2{
    font-size: 1.6em;
    padding-bottom: 11px !important;
    margin-bottom: 11px !important;
}

h3{
    font-size: 1.45em;
    padding-bottom: 11px !important;
    margin-bottom: 11px !important;
}

h4{
    font-size: 1.3em;
    padding-bottom: 11px !important;
    margin-bottom: 11px !important;
}



p {
    font-size: 0.87em;
}

.entry-content li {
    font-size: 0.87em;
}

.entry-content {
    padding-bottom: 48px !important;
}



/* spacing of main content area  */
.post-inner {
    padding-top: 8px !important;
}

.home .entry-content {
    padding-top: 48px;
}



/*  BREADCRUMBS  */

.home #breadcrumbs {
    display: none;
}

#breadcrumbs {
    font-size: 0.6em;
    /*font-weight: bold;
    padding-left: 48px;*/
    padding-top: 12px;
    padding-bottom: 28px
}





/* styling for side menu */

.post-inner {
    background-color: #FFFFFF !important;
}

#site-content {
    background-color: #FFFFFF !important;
}

/* Ensure sidebar and content wrapper uses flex */
.sidebar-content-wrap {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    background-color: #FFFFFF;
    width: 100%; /* Take full width of parent */
}

.sidebar-content-wrap .widget-area {
    padding-right: 40px;
}

/* Style the sidebar */

.wpb_wmca_accordion_wrapper_theme_transparent ul li a {
    border-radius: 0 !important;
}

#secondary.widget-area {
    width: 300px; /* Adjust as needed */
    margin-right: 20px; /* Adjust spacing */
    flex-shrink: 0; /* Don't allow it to shrink */
    padding-top: 0;
    margin-top: -20px;
}

#secondary.widget-area .current_page_item > a {
    background-color: #000000 !important;
    color: #FFFFFF !important;
    border-color: #000000 !important;
}




#secondary.widget-area .sub-menu .current_page_item > a {
    background-color: #000000 !important;
    color: #FFFFFF !important;
}


#secondary.widget-area .sub-menu a {
    color: #FFFFFF !important;
}


#secondary.widget-area .sub-menu a:hover {
    color: #ecfe75 !important;
}




#secondary.widget-area .sub-menu .sub-menu a {
    color: #333333 !important;
    background-color: #f4f4f6 !important;
}

#secondary.widget-area .sub-menu .sub-menu a:hover {
    color: #398298 !important;
    background-color: #f4f4f6 !important;
}

#secondary.widget-area .sub-menu .sub-menu .current_page_item > a {
    /*color: #398298 !important;*/
    background-color: #000000 !important;
    color: #FFFFFF !important;
}


#secondary.widget-area a {
    font-size: 0.7em !important;
}


/* SEARCH results page */

body.search-results .archive-header {
    padding-top: 1.0rem !important;
}

body.search-results #secondary {
    display: none;
}

body.search-results #breadcrumbs {
    display: none;
}

body.search-results .entry-content {
    padding-bottom: 0 !important;
}

body.search-results .entry-content p {
    padding-left: 320px;
}

body.search-results .post-meta-wrapper {
    display: none;
}



a.previous-post, a.next-post {
    font-size: 0.7em !important;
}




/*  FOOTER  */

.footer-widgets .wp-block-image {
    padding-right: 20%;
}

.footer-widgets .wp-block-search {
    padding-left: 24px !important;
    padding-top: 24px !important;
    padding-bottom: 24px !important;
}

.footer-widgets p {
    font-size: 0.7em !important;
}

.footer-widgets li a {
    font-size: 0.7em !important;
}

.footer-widgets-outer-wrapper {
    padding-top: 0;
}

.footer-widgets .current_page_item > a {
    background-color: #000000 !important;
    color: #FFFFFF !important;
    border-color: #000000 !important;
}

.footer-widgets .sub-menu {
    background-color: #F4F4F6 !important;
}

.footer-widgets .sub-menu a {
    color: #FFFFFF !important;
}

.footer-widgets .sub-menu .sub-menu a {
    color: #333333 !important;
    background-color: #f4f4f6 !important;
}

.footer-widgets .sub-menu .sub-menu a:hover {
    color: #398298 !important;
    background-color: #f4f4f6 !important;
}

.footer-widgets .sub-menu .sub-menu .current_page_item > a {
    /*color: #398298 !important;*/
    background-color: #000000 !important;
    color: #FFFFFF !important;
}

.wp-element-button {
    background-color: #d2232a !important;
    /* background-color: #000000 !important; */
}


.wp-block-button__link {
    background-color: #000000 !important;
    color: #FFFFFF !important;
    /*font-size: 0.9em !important;*/
}


.wpb_wmca_accordion_wrapper_theme_transparent > ul > li.current_page_ancestor > a, .wpb_wmca_accordion_wrapper_theme_transparent > ul > li.current_page_parent > a, .wpb_wmca_accordion_wrapper_theme_transparent > ul > li.current_page_item > a, .wpb_wmca_accordion_wrapper_theme_transparent > ul > li.current-menu-parent > a, .wpb_wmca_accordion_wrapper_theme_transparent > ul > li.current-menu-ancestor > a, .wpb_wmca_accordion_wrapper_theme_transparent > ul > li.current-menu-item > a, .wpb_wmca_accordion_wrapper_theme_transparent > ul > li.current-cat > a, .wpb_wmca_accordion_wrapper_theme_transparent > ul > li.wpb-wmca-current-cat-parent > a, .wpb_wmca_accordion_wrapper_theme_transparent > ul > li.wpb-submenu-indicator-minus > a {
    background-color: #f4f4f6;
  }

.footer-nav-widgets-wrapper {
    margin-top: 0 !important;
    background-color: #f4f4f6;
}

/* Remove Powered By Wordpress at bottom of page */
.powered-by-wordpress {
    display: none;
}




/* Responsive adjustments */
@media (max-width: 768px) {
    .sidebar-content-wrap {
        flex-direction: column;
        flex-wrap: wrap;
    }

    .post-inner {
        margin-left: 0;
        margin-top: 20px;
    }
}


@media (max-width: 1000px) {

.top-navigation a {
    padding: 9px 12px; /* Adjust vertical padding */
    font-size: 0.875em;
    /* font-weight: normal; */
    color: #FFFFFF !important;
    background-color: #d2232a;
    border-left: 2px solid #FFFFFF;
}

.header-inner .toggle {
    /* padding-top: 20px !important; */
    
}

.toggle {
    margin-top: 30px !important;
}

    h1 {
        color: #FFFFFF;
        background-color: #000000;
        font-size: 1.5em !important; 
        max-width: 85%;
        padding: 10px;
        display: block;
        float: left !important;
        margin-right: 0;
}

.entry-header-inner {
    margin-left:10% !important;
}

    .top-navigation-container {
        margin-bottom: 16px;
    }

    .header-inner {
        padding-bottom: 2.0rem !important;
    }

    #secondary.widget-area {
        /*width: 100%;
        margin-right: 0;
        margin-bottom: 20px;*/
        display: none;
    }

    body.search-results .entry-content p {
    padding-left: 20px;
    }
}