/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

a.skip-link.screen-reader-text:focus {
    clip: auto !important;
    clip-path: none !important;
    height: auto !important;
    width: auto !important;
    overflow: visible !important;
    position: fixed !important;
    top: 10px !important;
    left: 10px !important;
    z-index: 2147483647 !important;
    background: #fff !important;
    color: #000 !important;
    padding: 12px 20px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    border-radius: 4px !important;
    box-shadow: 0 0 0 3px #005fcc !important;
}
/* navigation to be accessible */
@media (min-width: 1310px)  {

    .awb-menu__main-li_regular {
        position: relative;
    }

    /* 1. KILL the hover/focus-within auto-trigger */
    .awb-menu_em-hover .awb-menu__li:focus-within > .awb-menu__mega-wrap,
    .awb-menu_em-hover .awb-menu__li:hover > .awb-menu__mega-wrap {
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    /* 2. New click-controlled state */
    .awb-menu_em-hover .awb-menu__li.js-mega-open > .awb-menu__mega-wrap {
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        z-index: 2147483647 !important;
    }

    /* 3. Invisible clickable overlay button, no duplicate caret */
    .awb-menu__open-nav-submenu_mobile {
        display: block !important;
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        background: transparent;
        border: 0;
        padding: 0;
        margin: 0;
        cursor: pointer;
        z-index: 3;
    }

    .awb-menu__open-nav-submenu_mobile:focus-visible {
        outline: 2px solid var(--awb-color1, #fff);
        outline-offset: 2px;
    }

 
    .awb-menu__open-nav-submenu_mobile:focus-visible {
        outline: 3px solid #e8edff !important;
        outline-offset: -3px !important;
        background-color: rgba(255, 204, 0, 0.15) !important;
    }


    .menu-trigger-column {
        position: relative;
    }

    /* Kill the hover auto-reveal */
    
.menu-trigger-column .dropdown-sub-links {
        transition: none !important;
    }

    .menu-trigger-column.js-sub-open .dropdown-sub-links {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        max-height: none !important;
        height: auto !important;
        overflow: visible !important;
        pointer-events: auto !important;
        position: static !important;
    }
    /* Remove the caret from the link itself */
    .caret-parent-link::after {
        content: none !important;
    }

    /* Move the same caret onto the new button instead */
    .scog-submenu-toggle {
        display: inline-block;
        background: transparent;
        border: 0;
        color: inherit;
        font: inherit;
        cursor: pointer;
        padding: 0;
        margin-left: 8px;
        vertical-align: middle;
    }

    .scog-submenu-toggle::after {
        content: "\f107";
        font-family: awb-icons;
        display: inline-block;
        font-size: 0.85em;
        vertical-align: middle;
        transition: transform 0.25s ease-in-out;
        transform: rotate(0deg);
    }

    .menu-trigger-column.js-sub-open .scog-submenu-toggle::after {
        transform: rotate(180deg);
    }

    .scog-submenu-toggle:focus-visible {
        outline: 2px solid #ffcc00;
        outline-offset: 2px;
    }
	
    /* Always hidden, regardless of hover */
    .menu-trigger-column .dropdown-sub-links {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    /* Only shown when JS adds this class via click */
    .menu-trigger-column.js-sub-open .dropdown-sub-links {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

}
/* Home Page Adjustments */

body.home h4.blog-shortcode-post-title  {font-size:15px!important; line-height:1.2;}
body.home .mec-event-list-classic .mec-event-detail {
      line-height: 15px;
    font-size: 14px;}

body.home .col-title h3{margin-top:0!important;}
body.home .fusion-blog-shortcode .entry-title {
  margin-bottom: 0px !important;
}

@media (max-width: 1567px) {
  body.home .col-section-header .fusion-column-wrapper {
    padding-top: 0px!important; /* reduce this until icon/heading sit back within the image */
  }
body.home .col-title h3 {font-size:18px;!important;}
}
@media (min-width: 1568px) and (max-width: 2300px) {
 body.home  .fusion-text.col-title  { margin-bottom: 10%!important;}
body.home .col-title h3 {font-size:24px;!important; }

}
@media (min-width: 2301px) {
   body.home  .fusion-text.col-title {
        margin-bottom: 15% !important;
    }
}
/* Modern Event calendar styles */
body.home .mec-event-loc-place, body.page-id-9354 .mec-event-loc-place {color:#fff!important;}
body.home .mec-wrap .mec-event-list-classic .mec-event-title a, body.page-id-9354 .mec-wrap .mec-event-list-classic .mec-event-title a {
    color: #fff!important;
}

body.home .mec-wrap.colorskin-custom .mec-color,body.page-id-9354  .mec-wrap.colorskin-custom .mec-color {color:#d3e6ff!important; font-size: .9em;}
body.home  span.mec-start-date-label {
    margin-left: 5px;
}
.mec-breadcrumbs.mec-breadcrumbs-modern {
    text-align: right;
}
/* event popup */

body.home .mec-wrap.colorskin-custom .mec-event-export-module.mec-frontbox a.mec-color, body.page-id-9354  .mec-wrap.colorskin-custom .mec-event-export-module.mec-frontbox a.mec-color {color: #174f80!important;}
body.home .mec-wrap.colorskin-custom .mec-event-export-module.mec-frontbox a.mec-color:hover, body.page-id-9354  .mec-wrap.colorskin-custom .mec-event-export-module.mec-frontbox a.mec-color:hover {color: #fff!important;}

.mec-event-list-classic .mec-event-title {
    font-size: 18px;
    margin: 10px 0 12px;
    font-weight: 600!important;
    text-transform: none!important;
}

.mec-event-list-classic .mec-event-article {
    padding: 10px 0;
    margin-bottom: 0px;
}

article::after {
    border: .5px dotted #99b6dd;
    width: 100%;
    margin-top: 15px;
}

span.mec-totalcal-listview.mec-totalcalview-selected,span.mec-totalcal-dailyview.mec-totalcalview-selected,span.mec-totalcal-weeklyview.mec-totalcalview-selected,span.mec-totalcal-monthlyview.mec-totalcalview-selected,span.mec-totalcal-gridview.mec-totalcalview-selected,span.mec-totalcal-tileview.mec-totalcalview-selected {
    color: #fff !important;
}
.mec-wrap .mec-totalcal-box .mec-totalcal-view span:first-child {
       display: none;
}

@media only screen and (max-width: 480px) {
    .mec-event-list-classic .mec-event-detail {
        float: none!important;
       width: auto!important;
    }
}
.blog .recent-posts-content p a,
.archive .recent-posts-content p a {
    margin-left: 5px;
}
div.photo-credit {  display:inline-block; position: relative; color:rgba(255,255,255,0.95);font-size:12px;font-style:italic; background-color:rgba(0,0,0,0.55);padding:2px 6px;border-radius:1px;z-index:254000;}
.fusion-text ul {padding-inline-start:15px!important;}
.icon_with_title_link {margin-top:-10px;}
/* Only target content boxes WITHOUT a title */
.fusion-content-box-hover .content-box-wrapper:not(:has(.content-box-heading)) .heading.heading-with-icon {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    line-height: 1;
}
.biking-column .fusion-column-wrapper {
  --awb-bg-image: url('/wp-content/uploads/bike-walk-guides-colum-bg.webp'), url('/wp-content/uploads/wildflowers-wash.webp') !important;
  --awb-bg-position: center top, center bottom !important;
  --awb-bg-size: contain, cover !important;
}
.fusion-text.white-wash{
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  padding: 10px 15px;
}

.fontawesome-icon.fa-file-pdf.far {color: #174f80!important; font-size: 16px; margin-right: 7.5px;}
.mysite-breadcrumbs {text-align:right; font-size:13px;}
.mysite-breadcrumbs, .mysite-breadcrumbs a {color:#434549}
.fusion-breadcrumbs.mysite-breadcrumbs a:hover {color: #99b6dd; text-decoration:underline;}


/* post sidebar styling */
#recent-posts-2 {
    margin-bottom: 0 !important;
	border-bottom:0!important;
  
}

#text-2 {
    background-color: var(--awb-custom_color_1) !important;
    border: 1px solid var(--awb-color4) !important;
    border-top: none !important;
   
    padding: 15px !important;
    margin: 0 0 30px 0 !important;
}

/* Mobile - pseudo-element approach */
@media (max-width: 640px) {
  .biking-column .fusion-column-wrapper {
    position: relative;
    overflow: hidden;
  }

  .biking-column .fusion-column-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 79%;
    background-image: url('/wp-content/uploads/wildflowers-wash.webp');
    background-size: cover;
    background-position: center top;
    z-index: 0;
  }

  .biking-column .fusion-column-wrapper > * {
    position: relative;
    z-index: 1;
  }
}
}

.fusion-text.white-wash {padding: 10px 15px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  
}
.embed-container {
    position: relative;
    padding-bottom: 80%;
    height: 0;
    max-width: 100%;
}

/* footer */
ul li ul li ul.awb-menu__sub-ul li {margin-left: 12px;!important}