@media screen and (min-width: 1024px) and (max-width: 1440px) {
    .wp-block-group.middle-header{padding-left:1rem!important; padding-right:1rem!important; gap:20px;}
    .wp-block-group.middle-header .wp-block-navigation__container{gap:40px!important;}
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
    .wp-block-group.is-layout-constrained:not(.wp-block-group.alignfull.is-layout-constrained):not(.blue-top-nav .wp-block-group.is-layout-constrained):not(.wp-block-group.text-container.is-layout-constrained .wp-block-group.is-layout-constrained):not(.wp-block-group.absolute-text.extra-large-text.is-layout-constrained):not(.wp-block-group.is-layout-grid .wp-block-group){padding-left:2rem!important; padding-right:2rem!important;}
    .blue-top-nav .wp-block-social-links{display:none;}
}

@media (max-width:1023px){
    main{margin-top:5rem!important;}

    /* Mobile Menu Improvements */
    /* 1. Align arrows in the same row as the text */
    header .wp-block-navigation__responsive-container li.wp-block-navigation-item.has-child {
        position: relative;
    }

    header .wp-block-navigation__responsive-container li.wp-block-navigation-item.has-child > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    /* 2. Disable clicking on the parent link (Mobile Only) */
    /* This forces the user to use the toggle or prevents navigation on the top-level item */
    header .wp-block-navigation__responsive-container li.wp-block-navigation-item.has-child > a {
        pointer-events: none;
        cursor: default;
    }

    /* 3. Add separator lines between links */
    header .wp-block-navigation__responsive-container li {
        border-bottom: 1px solid #e0e0e0; /* Adjust color to match your branding */
        padding:1rem 0;
    }

    header .wp-block-navigation__responsive-container li:last-child {
        border-bottom: none;
    }

    /* Adjusting padding for a cleaner look with lines */
    header .wp-block-navigation__responsive-container li a {
        padding: 15px 20px;
        display: block;
    }

}


/* Only apply to mobile view (usually 600px or 782px in WP blocks) */
@media (max-width: 1023px) {
   
.wp-block-navigation__responsive-container-close svg, .wp-block-navigation__responsive-container-open svg{
    width: 44px;
  height: 34px;
}

/* Adjust the thickness of the internal lines */
.wp-block-navigation__responsive-container-open svg line, 
.wp-block-navigation__responsive-container-open svg path {
  stroke-width: 3px; /* Increases/decreases line thickness */
}

}

.menu-toggle {
    width: 30px;
    height: 20px;
    cursor: pointer;
    position: relative;
    z-index: 1000;
  }
  

.header-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr; /* Three equal-ish columns */
    align-items: center;
    padding: 1rem;
}

.header-logo {
    grid-column: 2; /* Always stay in middle */
}

/* Visibility Toggles */
.desktop-only { display: block; }
.mobile-only { display: none; }

@media (max-width: 768px) {
    .desktop-only { display: none; }
    .mobile-only { display: flex; }
    
    .header-search { justify-content: flex-start; }
    .header-nav-toggle { justify-content: flex-end; }
    
    /* Center logo on mobile */
    .header-logo {
        text-align: center;
    }
}


.main-custom-logo{
  
      width: 236px!important; /* Initial width */
      height: auto;
  transition: all 0.1s ease;
  z-index: 999999;
  transform-origin: left center; /* Keeps it left-aligned during shrink */
    }

.main-custom-logo img{width:236px;}

    /**HOVER NAVIGATION ON DESKTOP**/
    @media (min-width: 782px) {
        /*PINK BUTTON******************/
        .wp-block-navigation__responsive-container .wp-block-navigation-item.has-pink-background-color{min-width:148px!important;}
        .wp-block-navigation__responsive-container .wp-block-navigation-item.has-pink-background-color a,.wp-block-navigation .wp-block-navigation-item.current-menu-item.has-pink-background-color > a,.wp-block-navigation__responsive-container .wp-block-navigation-item.has-pink-background-color a:hover, .wp-block-navigation__responsive-container .wp-block-navigation-item.has-pink-background-color a:active, .wp-block-navigation__responsive-container .wp-block-navigation-item.has-pink-background-color a:focus {color:#fff;}

        /* Targets the list item containing the submenu */
    .wp-block-navigation-item.has-child:hover > .wp-block-navigation__submenu-container {
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
        /* Ensures the dropdown appears directly below the nav item */
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 9999999;
    }

    /* Optional: Smooth transition for a professional feel */
    .wp-block-navigation__submenu-container {
        transition: opacity 0.2s ease-in-out;
    }
    }    

 
@media (max-width:1023px){
    .main-custom-logo{
          width: 175px!important; /* Initial width */
         
        }




.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container{gap:30px;}       

  /* 1. Offset the menu so the header/logo remains visible */
.wp-block-navigation__responsive-container.is-menu-open {
    top: 65px !important; /* Adjust this value to match your header height */
    height: calc(100vh - 65px) !important;
    animation: menu-reveal-below 0.5s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

/* 2. Adjust Clip-path to start from the top edge instead of the corner */
@keyframes menu-reveal-circle {
    0% {
        clip-path: circle(0% at 90% 5%);
    }
    100% {
        clip-path: circle(150% at 90% 5%);
    }
}

/* 2. Prepare Menu Items for Animation */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
    opacity: 0;
    transform: translateY(20px);
    animation: item-slide-in 0.4s ease forwards!important;
}

/* 3. The Menu Item Slide-In Keyframes */
@keyframes item-slide-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 4. Staggered Delays (The "Waterfall" effect) */
/* This animates each item one after the other */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item:nth-child(1) { animation-delay: 0.1s; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item:nth-child(2) { animation-delay: 0.15s; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item:nth-child(3) { animation-delay: 0.2s; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item:nth-child(4) { animation-delay: 0.25s; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item:nth-child(5) { animation-delay: 0.3s; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item:nth-child(6) { animation-delay: 0.35s; }

/* Smooth transition for the accordion reveal */
.wp-block-navigation-item.has-child.is-menu-open > .wp-block-navigation__submenu-container {
    /* animation: submenu-reveal 0.4s ease-out forwards; */
    transform-origin: top;
}

@keyframes submenu-reveal {
    from {
        opacity: 0;
        transform: scaleY(0.95);
    }
    to {
        opacity: 1;
        transform: scaleY(1);
    }
}



/* 3. Ensure the background doesn't overlap the header */
.wp-block-navigation__responsive-container-content {
    padding-top: 4rem !important;
    padding-left: 2rem;
    padding-right: 2rem;
}

/* Hide the default hamburger when the menu is open */
.has-modal-open .wp-block-navigation__responsive-container-open svg {
   /*  display: none !important; */
    opacity: 0;
    visibility: hidden;
}

/* Style the close button to be visible and positioned correctly */
.wp-block-navigation__responsive-container-close {
    position: fixed;
    top: 18px!important; /* Adjust to align with where your hamburger was */
    right: .44rem!important;
    z-index: 99999999999999!important;
    display: inline-block!important;
    opacity: 1;
    width: 44px;
}

/* If you want to use a CSS-generated X instead of the SVG icon */
/* Force the submenu arrow to display */
.wp-block-navigation-item.has-child .wp-block-navigation__submenu-icon {
    display: inline-block !important;
    visibility: visible !important;
    margin-left: 0.5em;
}

.wp-block-navigation .wp-block-navigation__submenu-icon {
    margin-left: 0em;
    width: 1em!important;
    height:1em!important;
    align-self: end;
}

/* Specific fix for the Mobile Overlay Menu */
.wp-block-navigation__responsive-container-open .wp-block-navigation__submenu-icon {
    display: block !important;
    opacity: 1 !important;
}


/* Slide-up animation for items */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
    opacity: 0;
    transform: translateY(15px);
    animation: item-slide-up 0.4s ease forwards;
    width: 100%;
    align-items: start!important;
}

@keyframes item-slide-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Staggered delays */
.wp-block-navigation-item:nth-child(1) { animation-delay: 0.1s; }
.wp-block-navigation-item:nth-child(2) { animation-delay: 0.2s; }
.wp-block-navigation-item:nth-child(3) { animation-delay: 0.3s; }
.wp-block-navigation-item:nth-child(4) { animation-delay: 0.4s; }


/* 1. Reset Submenu from Floating to Accordion Stack */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    display: none; /* Hidden state */
    visibility: visible !important;
    opacity: 1 !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    overflow: hidden;
    padding-left: 20px !important; /* Visual indent for children */
}

/* 2. Show Submenu with Clip-Path Animation on Click */
.wp-block-navigation-item.has-child.is-menu-open > .wp-block-navigation__submenu-container {
    display: block !important;
   /*  animation: renew-accordion-reveal 0.5s cubic-bezier(0.77, 0, 0.175, 1) forwards; */
}

/* 3. The Clip-Path Expansion Keyframes */
@keyframes renew-accordion-reveal {
    0% {
        clip-path: circle(0% at 50% 0%);
        max-height: 0;
    }
    100% {
        clip-path: circle(150% at 50% 0%);
        max-height: 1200px; /* High value to accommodate all programs */
    }
}

/* 4. Smooth Arrow Rotation */
.wp-block-navigation-item.has-child.is-menu-open .wp-block-navigation-submenu__toggle svg {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}
/* Parent container layout */
.wp-block-navigation-item__container {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 51, 87, 0.1); /* Subtle brand blue tint */
}

/* Link Typography */
.wp-block-navigation-item__content {
    color: #003357; /* Matching Renew360 Primary Blue */
    font-weight: 600;
    font-size: 1.4rem;
}



.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container{width:100%!important; gap:20px;}


/* Enable scrolling in the mobile navigation overlay */
.wp-block-navigation__responsive-container-content {
    max-height: 100vh; /* Limits height to the screen height */
    overflow-y: auto !important; /* Adds a vertical scrollbar when needed */
    padding-bottom: 100px; /* Extra space at the bottom to ensure the last item is reachable */
    -webkit-overflow-scrolling: touch; /* Ensures smooth scrolling on iOS */
}

/* Ensure the wrapper allows for the scrolling behavior */
.wp-block-navigation__responsive-container.is-menu-open {
    display: flex;
    flex-direction: column;
}


}

@media (max-width:768px){

    /*PINK BTN******************************/
    .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item.has-pink-background-color{  background-color: var(--wp--preset--color--pink) !important;}

    .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item.has-pink-background-color a{ color:#fff;  padding-top: calc(0.667em + 2px);
    padding-right: calc(1.333em + 2px);
    padding-bottom: calc(0.667em + 2px);
    padding-left: calc(1.333em + 2px);}

    

    footer .wp-block-navigation-item__content {
        font-size: 1rem;
    }
}

.wp-block-navigation .wp-block-navigation-item a:hover{color:var(--wp--preset--color--secondary);}
/* 1. Ensure only the top-level 'About Us' gets the color when active */
.wp-block-navigation .wp-block-navigation-item.current-menu-item > a,
.wp-block-navigation.current-menu-ancestor > a {
    color:var(--wp--preset--color--secondary); /* Replace with your specific color */
}

.blue-top-nav .wp-block-navigation .wp-block-navigation-item.current-menu-item > a {
    color:var(--wp--preset--color--yellow);
}

/* 2. Reset sub-menu items so they don't inherit the parent's active color */
.wp-block-navigation .wp-block-navigation-submenu li a {
    color:var(--wp--preset--color--primary); /* Replace with your standard menu text color */
}

/* 3. Highlight a sub-menu item ONLY if it is the specific page being viewed */
.wp-block-navigation .wp-block-navigation-submenu.current-menu-item > a {
    color:var(--wp--preset--color--secondary);
}




.middle-header{z-index: 15; position:relative;}



.callout-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

@media (min-width: 600px) {
    .wp-block-navigation__responsive-container-open:not(.always-shown) {
        display: block;
    }
    .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
        display: none!important;
    }

}

@media (min-width: 1024px) {

.wp-block-navigation .wp-block-navigation__submenu-icon{align-self:flex-start!important; margin-top:6px;}
/* WRAP MAIN NAVIGATION - 1. Allow text to wrap and center it */
.middle-header .wp-block-navigation .wp-block-navigation-item__content {
    white-space: normal !important; /* Forces the text to wrap */
    display: flex !important;
    align-items: start;
    justify-content: center;
    text-align: center;
    line-height: 1.2; /* Adjust for better spacing between lines */
   /*  min-height: 2.4em;  *//* Optional: ensures all items have the same height */
}

/* 2. Force the wrap by limiting the width */
.middle-header .wp-block-navigation-item {
 flex-basis: 100px;
 max-width: 110px;
 justify-content: center;
 align-items: center;

}

.middle-header .wp-block-navigation-item.wp-block-button__link.has-pink-background-color.has-background.wp-element-button {
 flex-basis:inherit;
 max-width: 150px;
 justify-content: center;
 align-items: center;
 padding: 1rem 1.5rem;

}

.wp-block-navigation.items-justified-right .wp-block-navigation__container .has-child .wp-block-navigation__submenu-container{left:auto!important; right:auto!important; }



.middle-header .wp-block-navigation-submenu .wp-block-navigation-item {
    max-width: none !important; /* Allow the dropdown to be as wide as the text */
    border-bottom:1px solid #ecf4f5!important;
}

/* 1. Target the last list item in the submenu to remove the border */
.middle-header .wp-block-navigation__submenu-container .wp-block-navigation-item:first-child {
    border-top-left-radius: 14px!important;
    border-top-right-radius: 14px!important;
}

.middle-header .wp-block-navigation__submenu-container .wp-block-navigation-item:last-child {
    border-bottom: none !important;
    border-bottom-left-radius: 14px!important;
    border-bottom-right-radius: 14px!important;
}


/* 3. Ensure the submenu container itself is rounded to match */
.middle-header .wp-block-navigation__submenu-container {
    border-bottom-left-radius: 14px!important;
    border-bottom-right-radius: 14px!important;
    border-top-left-radius: 14px!important;
    border-top-right-radius: 14px!important;
    border-bottom: none;
    overflow: hidden; /* Clips any child element content to the 14px curve */
}

/* 1. Allow text to wrap and center it */
.middle-header .wp-block-navigation-submenu li .wp-block-navigation-item__content {
    white-space:nowrap!important; /* Forces the text to wrap */
    display: flex !important;
    align-items: start;
    justify-content:flex-start;
    text-align: left;
    line-height: 1.2; /* Adjust for better spacing between lines */
    min-height: 2em; /* Optional: ensures all items have the same height */
    padding: 1em 1em!important;
}



    .wp-block-navigation .has-child .wp-block-navigation__submenu-container{
        z-index: 9999999;
    }

/* Sets a minimum width for the submenu dropdown */
.wp-block-navigation .wp-block-navigation__submenu-container {
    min-width: 250px!important; /* Adjust this value until the text fits comfortably */
    width: max-content; /* Allows the box to expand to fit the longest text */
    padding: 15px; /* Adds breathing room around the links */
    box-shadow: 0px 0px 20px rgba(29,31,38,.15); /* Adds a subtle lift */
    border:0px!important;
    overflow: hidden;
}

/* Ensures submenu items don't wrap awkwardly */
.wp-block-navigation-item__content {
    white-space: nowrap; 
}


    .wp-block-navigation__responsive-container-open:not(.always-shown) {
        display: none;
    }
    .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
        display: block!important;
    }

    .wp-block-navigation__responsive-container-content{display:flex;}
}


.callout.success {
    color: #fff;
    position: relative;
    width: 100%;
    min-height: 50px;
    /*background-color: rgba(0, 0, 0, .3);*/
    background-color: var(--wp--preset--color--secondary);
    display: block;
    text-align: center;
    transform: translateY(0%);
    transition: transform .2s, background-color .2s, color .2s, height .4s;
    -webkit-transition: transform .2s, background-color .2s, color .2s, height .4s;
    -moz-transition: transform .2s, background-color .2s, color .2s, height .4s;
    -o-transition: transform .2s, background-color .2s, color .2s, height .4s;
}

.callout.success p {
    margin-bottom: 0px;
}

.callout-container .close-button {
    color: #fff;
    font-size: 2em;
}

.drilldown .is-drilldown-submenu-parent>a::after {
    border-color: transparent transparent transparent #c9b695!important;
    right: 1rem!important;
}

.drilldown .js-drilldown-back>a::before {
    border-color: transparent #c9b695 transparent transparent!important;
}

.home header #top-bar-menu {
    border-bottom: 0px solid rgba(231, 231, 231, 1);
    background-color: #fff;
}

header #top-bar-menu {
    background-color: #fff;
    z-index: 15;
}
header{
position: fixed;
width: auto;
height: auto;
top: 0;
left: 0;
right: 0;
background-color: #fff;
/* box-shadow: 0 0 4px rgb(0 0 0 / .25); */
box-shadow: 0 0 4px rgb(0 0 0 / 0);
z-index: 100;
}

.home .sticky.is-anchored {
    background-color: #fff;
}

.sticky.is-anchored {
    background-color: #fff;
    transform: translateY(0);
}
.header-container {
    z-index: 15;
    transition: transform .2s, background-color .2s, color .2s, height .4s;
    -webkit-transition: transform .2s, background-color .2s, color .2s, height .4s;
    -moz-transition: transform .2s,background-color .2s,color .2s,height .4s;
    -o-transition: transform .2s,background-color .2s,color .2s,height .4s;
}

.header-container .header-search{position: absolute;
    right: 2%;
    top: 70%;
    transform: translateY(-70%); /* Perfectly centers vertically */
    margin: 0;}


.menu-container{padding:0 2%;}

@media screen and (min-width: 40em) and (max-width: 97em){
    .menu-container {padding: 0 0;}
    }


@media screen and (min-width: 40em) {

    #top-bar-menu{transition:transform .2s,background-color .2s,color .2s,height .4s;-webkit-transition: transform .2s,background-color .2s,color .2s,height .4s;  -moz-transition:transform .2s,background-color .2s,color .2s,height .4s;-o-transition:transform .2s,background-color .2s,color .2s,height .4s;}
    /*#top-bar-menu.sticky.is-stuck .blue-top-nav{ overflow: hidden;}*/

}

@media screen and (max-width: 63.9em) {
    #top-bar-menu.sticky.is-stuck, #top-bar-menu.sticky.is-anchored{height:60px; transform: translateY(0%); display: flex; align-items: center;justify-content: center;}
}
@media screen and (max-width: 40em) {
    #top-bar-menu.sticky.is-stuck, #top-bar-menu.sticky.is-anchored{height:60px; transform: translateY(0%); display: flex; align-items: center; justify-content: center;}
}

.main-nav{
    display: flex;
    justify-content: space-between;
    align-items: center;}


.main-nav{width:100%;     
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;}
.is-anchored .main-nav{background-color:transparent!important;}
.is-anchored .main-nav .top-bar ul li a{color:#ffffff;}
.is-anchored .main-nav .top-bar ul li ul li a{color:#000000;}
.is-stuck .main-nav{background-color:#ffffff!important;}
.is-stuck .main-nav .top-bar ul li a{color:#000000;}
.sticky.is-stuck { width: 100% !important;background-color: #fff;}

.last-leftside{margin-right:120px;}
.first-rightside{margin-left:120px;}

.sticky.is-stuck {
    background-color: #fff;
}

#top-nav {
    color: #fff;
    position: relative;
}

#top-nav ul.menu li, ul.menu li{padding-bottom: 0!important;}


.blue-top-nav {
    background: var(--wp--preset--color--primary);
    background-color:var(--wp--preset--color--primary);
    padding: .25rem 0rem;
    z-index: 11;
}

.blue-top-nav p{margin-bottom:0px;}

.blue-top-nav .wp-block-button .wp-block-button__link{margin-bottom:0!important;}

.top-bar, .top-bar ul {
    background-color: transparent;
    align-items: center;
}

.top-bar ul.submenu{ border: 0px;  padding: 1rem 0.75rem;min-width: 275px;}
.is-anchored .top-bar ul.submenu{ background-color:#faf6ee;}
.is-stuck .top-bar ul.submenu{ background-color:#ffffff;}
#main-nav li.menu-item ul.submenu li.menu-item a {padding: .75rem 1.2rem!important; line-height: 1.2; text-transform: none;}

.top-bar ul li a{color:#000000; font-weight: 500;}
.is-anchored .menu .active>a, .is-anchored .offcanvas-full-screen-menu .menu>li.active>a {
    background: transparent;
    color: #c9b695!important;
}

.is-stuck .menu .active>a, .is-stuck .offcanvas-full-screen-menu .menu>li.active>a {
    background: transparent;
    color: #a0814c!important;
}

.menu .active>a, .offcanvas-full-screen-menu .menu>li.active>a {
    background: transparent;
    color: #c9b695;
}

.upper-footer-links .menu .active>a{color:#ffffff!important;}

footer .wp-block-navigation .wp-block-navigation-item.current-menu-item > a{color:var(--wp--preset--color--yellow)}



.dropdown.menu>li.is-dropdown-submenu-parent>a::after {
    display: block;
    width: 0;
    height: 0;
    border: inset 4px;
    content: '';
    border-bottom-width: 0;
    border-top-style: solid;
    right: 0px;
    left: auto;
    margin-top: -3px;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.is-anchored .dropdown.menu>li.is-dropdown-submenu-parent>a::after {
    border-color: #ffffff transparent transparent;
}

.is-stuck .dropdown.menu>li.is-dropdown-submenu-parent>a::after {
    border-color: #a0814c transparent transparent;
}


.menu .current-page-ancestor > a {
    color: #a0814c;
}
#main-nav li.menu-item a{padding: 0.7rem 1rem;}

.is-anchored #main-nav li.menu-item a:hover, .is-anchored #main-nav li.menu-item a:focus{color: #c9b695;}
.is-stuck #main-nav li.menu-item a:hover, .is-stuck #main-nav li.menu-item a:focus{color: #a0814c;}
#main-nav li.menu-item{font-size:1.156rem; font-weight: 500;}
/*#main-nav>.menu-item:last-child {margin-left: 5em;}*/

@media screen and (max-width: 1258px) {
    /*#main-nav>.menu-item:last-child {
        margin-left: 1em;
    }*/
    .top-bar, .top-bar ul {font-size:16px;}
}
@media screen and (max-width: 1199px) {
}

.off-canvas-wrapper.wrapper {
    background-color: #fff;
    position: relative;
    z-index: 120;
    transition: 0.2s;
    overflow-x: hidden;
}

.offcanvas-full-screen.is-transition-overlap {
    z-index: 1005;
}

.offcanvas-full-screen {
    position: fixed;
    z-index: 1;
    transition: -webkit-transform 0.3s ease-in-out;
    transition: transform 0.3s ease-in-out;
    transition: transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    background: rgba(255, 255, 255, 1);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
    transform: translateY(-100%);
    overflow-y: auto;
}

.offcanvas-full-screen.is-transition-overlap.is-open {
    box-shadow: 0 0 0px rgba(10, 10, 10, 0);
}

.offcanvas-full-screen.is-open {
    -webkit-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    transform: translate(0, 0);
}

.offcanvas-full-screen.is-transition-overlap {
    z-index: 1005;
}

.offcanvas-full-screen-inner {
    padding: 1rem;
    text-align: center;
    position: relative;
    min-height: auto;
    max-width: 1360px;
    margin: 80px auto 0px auto;
}
.off-canvas-wrapper.wrapper{padding-top:0px!important;}
.off-canvas-wrapper.wrapper.open {
    transform: translate3d(0px, 100px, 0);
    transition: 0.2s;
}

.off-canvas-wrapper.wrapper {
    background-color: #fff;
    position: relative;
    z-index: 120;
    transition: 0.2s;
    overflow-x: hidden;
}

.off-canvas-wrapper.wrapper.open .overlay {
    content: "";
    position: absolute;
    z-index: 1010;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.2);
    display: block;
}

.js-off-canvas-overlay {
    background: rgba(0, 0, 0, 0.25)!important;
}

.off-canvas-searchbar {
    overflow: hidden;
    transition: 0.2s;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    width: calc(100% - 0px);
    z-index: 100;
}

.hidden {
    display: none !important;
}

.off-canvas-searchbar .form-wrapper {
    position: relative;
}

.off-canvas-searchbar .form-wrapper .fa-search {
    color: #437bbd;
    position: absolute;
    top: 21px;
    left: 20px;
}

.off-canvas-searchbar [type="text"] {
    border: 1px solid #e7e7ea !important;
    border-radius: 50px!important;
    margin: 0 0;
}

.off-canvas-searchbar input {
    background: #fff;
    height: inherit;
    line-height: 40px!important;
    padding: 10px 20px 10px 50px!important;
    display: block;
    width: 100%;
    color: #2a2a2c;
    font-weight: 500;
    text-transform: none;
    font-size: 16px;
    outline: none;
    margin-bottom: 0;
}

.js-drilldown-back {
 font-size: 1.125rem;
 text-transform: none;
  }

  .js-drilldown-back a {
 font-weight: 600;
     } 

#hamburger-1 {
    cursor: pointer;
    margin: auto;
    padding: 0px 2rem;
    position: absolute;
    top: 35%;
    right: 0px;
}

.hamburger .line.line1 {
    width: 28px;
}

.hamburger .line.line2 {
    width: 28px;
}

.hamburger .line {
    width: 28px;
    height: 3px;
    background-color: #1b1b1d;
    display: block;
    margin: 6px auto;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    text-align: center;
}

/*NEW HAMBURGER ICON*/
#hamburger-1 {
    cursor: pointer;
	margin: auto;
	padding: 0px 1.5rem;
	position: absolute;
	top:25%;
	left: auto;
    right:0;
    z-index: 1;
}
#hamburger-1.is-active .line:nth-child(1) {
    -webkit-transform: translateY(10px) rotate(45deg);
    -ms-transform: translateY(10px) rotate(45deg);
    -o-transform: translateY(10px) rotate(45deg);
    transform: translateY(10px) rotate(45deg);
    width: 28px;
}

#hamburger-1.is-active .line:nth-child(2) {
    opacity: 1;
}

#hamburger-1.is-active .line:nth-child(2) {
    -webkit-transform: translateY(0px) rotate(-45deg);
    -ms-transform: translateY(0px) rotate(-45deg);
    -o-transform: translateY(0px) rotate(-45deg);
    transform: translateY(0px) rotate(-45deg);
    width: 28px;
}

#hamburger-1.is-active .line:nth-child(3) {
    opacity: 0;
}


#hamburger-1:hover .line {
    width: 32px;
}

.hamburger .menu-item {
    color: #FFF;
    cursor: pointer;
}

.hamburger .line.line3 {
    width: 28px;
}

.hamburger .line.line2 {
    width: 28px;
}

.hamburger .line.line1 {
    width: 28px;
}
.hamburger .line {
    width: 28px;
    height: 3px;
    background-color: #1b1b1d;
    display: block;
    margin: 6px auto;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
	text-align: center;
}

.menu-icon {
    width: 26px;
    height: 16px;
	opacity: 1;
	outline: none;
}

.menu-icon::after {
    height: 3px;
}

.sticky.is-anchored .menu-icon::after {
	background: #000;
	box-shadow: 0 7px 0 #000, 0 14px 0 #000;
}



.sticky.is-stuck .menu-icon::after {
	background: #000;
	box-shadow: 0 7px 0 #000, 0 14px 0 #000;
}

/*.sticky.is-anchored .menu > li.schedule_appt > a {
    color: #fff!important; 
	text-align: center;
}*/

.menu > li.schedule_appt > a span {
	text-transform: uppercase;
	font-weight: 700;
}

ul.offcanvas-full-screen-menu{list-style-type: none; outline: none; margin:0 0 1.5em 0;}
.offcanvas-full-screen-menu ul {
    font-size: 2.375rem;
    margin: 0em 0px 0em 0px;
    list-style: none;
    list-style-type: none;
}

.offcanvas-full-screen-menu ul li ul {
    margin: 0 0 0 1rem;
    list-style: none;
    list-style-type: none;
}


.offcanvas-full-screen-menu .menu>li>a {
    color: #000000;
    line-height: 1;
    padding: 1.2rem 1.5rem 1.2rem 1rem!important;
    font-size: 1.5em;
    position: relative;
    outline: none;
    font-weight:500;
}

.offcanvas-full-screen-menu #main-nav li {
text-transform: none;
}
.offcanvas-full-screen-menu #top-nav li {
    text-transform: uppercase;
    }

.offcanvas-full-screen-menu .menu>li.menu-item {
font-size:.965rem; 
font-weight: 500; 
}

    .offcanvas-full-screen-menu .menu>li.bg-orange.menu-item a {
        background-color: #ff4438 !important;
        color:#fff!important;
        } 
        .offcanvas-full-screen-menu .menu>li.bg-blue.menu-item a {
            background-color: #005696;
            color:#fff!important;
            }     
        .offcanvas-full-screen-menu .menu>li.bg-purple.menu-item a {
            background-color: #8a1a9b;
            color:#fff!important;
            } 
            .offcanvas-full-screen-menu .menu>li.bg-yellow.menu-item a {
                background-color: #f7be00;
                color:#fff!important;
                }         
/*.offcanvas-full-screen-menu #main-nav>.menu-item:last-child {
    margin-left: auto;
    margin-right:auto;
}*/

ul.social-menu__list{margin: 1.5em 0;}

.social-menu__list > .menu-item {
    display: inline-block;
    vertical-align: top;
}

.social-menu__list > .menu-item:first-child{
    display: block;
    margin-right: 0!important;
}

footer .social-menu__list > .menu-item:first-child{
    display: inline-block;
    margin-right: 0.5em!important;
}
.social-menu__list > .menu-item:not(:last-child){
    margin-right: 0.5em;
    padding-bottom: 0;
}

.social-menu__list > a .menu-item:not(:last-child){
    margin-right: 0.25em;
}

/*#top-nav.menu>li:not(:first-of-type) a {
    color: #fff;
    font-size: 1.125rem;
    font-weight: 500;
    letter-spacing: .5px;
    margin-left: 0px;
    padding-left: 0;
    padding-right: 1.125rem;
}*/

#top-nav.menu>li a {
    color: #fff;
    font-size: .935rem;
    font-weight: 400;
    letter-spacing: .5px;
    margin-left: 0px;
    padding-left: 2.5rem;
    padding-right: 1rem;
}

#top-nav.menu li.search-icon a {
    padding-left: 1.3rem;
    padding-right: 1.3rem;
}

#top-nav.menu>li:last-of-type a {

}

.top-bar-left *{
    margin-bottom: 0;
}

/*#top-nav.menu>li.menu-item > a::before {
    content: '|' !important;
    color: #ffffff;
    padding-right: 1rem;
}*/
#top-nav li.menu-item{
    position: relative;     
    padding-bottom: 0px;
    line-height: 1.2;
    display: inline-block;
    vertical-align: middle;
    align-items: center;}
li.info-icon:before {
    content: '';
    width: 18px;
    height: 20px;
    background-image: url(../images/icons/info-icon.svg);
    display: inline-flex;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    margin: auto 0px;
    vertical-align: middle;
    padding-right: .5rem;
    margin-left:1rem;
    z-index: 1;
}

li.shop-icon:before {
    content: '';
    width: 18px;
    height: 20px;
    background-image: url(../images/icons/shopping-icon.svg);
    display: inline-flex;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    margin: auto 0px;
    vertical-align: middle;
    padding-right: .5rem;
    margin-left:1rem;
    z-index: 1;
}

li.contact-icon:before {
    content: '';
    width: 18px;
    height: 20px;
    background-image: url(../images/icons/mail-icon.svg);
    display: inline-flex;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    margin: auto 0px;
    vertical-align: middle;
    padding-right: .5rem;
    margin-left:1rem;
    z-index: 1;
}

li.donate-icon:before {
    content: '';
    width: 18px;
    height: 20px;
    background-image: url(../images/icons/heart-icon.svg);
    display: inline-flex;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    margin: auto 0px;
    vertical-align: middle;
    padding-right: .5rem;
    margin-left:1rem;
    z-index: 1;
}

li.lead-u-icon a:before{display:none;}

@media screen and (min-width:1024px){
    li.lead-u-icon a{    
        transform: translate(72%, 0);
        position: absolute;
        left: 20%;}

        li.lead-u-icon a:before{
            content: '';
            width: 95px;
            height: 50px;
            background-image: url(../images/icons/lead-u-whale.svg);
            display: inline-flex;
            background-repeat: no-repeat;
            position: absolute;
            top: 0;
            left: 0;
            transform: translate(-110%, 0);
            bottom: 0;
            margin: auto 0px;
            vertical-align: middle;
            margin-right: 1rem;
            margin-left: 1rem;
            text-align: center;
        }
/*#top-nav.menu>li.menu-item:not(:first-child) > a:before, .top-bar-left>li:not(:first-child) > a:before{
    content: '|' !important;
    color: #ffffff;
    padding-right: 1.125rem;
}*/
}


#top-nav ul.contact-social-menu__list {
    font-size: .8em;
    line-height: 1.1;
}

ul.contact-social-menu__list {margin-left: 0rem;margin-top: 0em;margin-bottom: 0rem;}

.contact-social-menu__list>.menu-item:not(:last-child) {
    margin-right: 0.75em;
}
.contact-social-menu__list>.menu-item:last-child {
    max-width: 20px;
}
.contact-social-menu__list>.menu-item {
    display: inline-flex;
    vertical-align: top;
    align-items: center;
    position: relative;
}
.contact-social-menu__list > li.menu-item.phone{padding-right:.75em;}
.contact-social-menu__list > li.menu-item.phone::after{
    content: '|';
    position: absolute;
    top:0;
    right:0;
    margin-left:1em;

}

#top-nav .contact-social-menu__list>.menu-item a {
    color: #ffffff;
}

#top-nav .contact-social-menu__list>.menu-item a:hover {
    color: #ffffff;
    opacity: .8;
}

.contact-social-menu__list>.menu-item a:hover {
    color: #ffffff;
    opacity: .8;
}
.top-bar-left.menu li{font-size:1.125rem;}
.top-bar-left.menu li:not(:last-child){margin-right:1.125rem;}
.top-bar-left.menu li .fas{padding-right:2px;}

.top-bar-left p.translate{color: #fff;font-size: 1rem;font-weight: 400;letter-spacing: .5px;}
.top-bar-left p:not(:first-child){display: none;}
.circle-icon {
    background-color: #3cb4e5;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    text-align: center;
    line-height: 35px !important;
    vertical-align: middle;
    padding: 10px;
    display: inline-flex !important;
    justify-content: center;
    align-items: center;
}
.fas{color:var(--wp--preset--color--primary); font-size:1rem;}
.far,
.fab {
    font-size: 1em !important;
}
/*.phone-bubble a {
    padding: 0px 0px!important;
    color: #ffffff!important;
}*/

a.topphonelink {
    color: #ffffff;
    font-weight: 500;
}
li.search-icon{position:relative;
    background-color: #3BBFAD;
    border-radius: 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0px auto;
    cursor: pointer;}
li.search-icon a {
    visibility: hidden;
    width: 20px;
}

li.search-icon:before {
    content: '';
    width: 17px;
    height: 17px;
    background-image: url(../images/search-icon.svg);
    display: inline-flex;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: auto;
    right: auto;
    justify-content: center;
    align-items: center;
    bottom: 0;
    margin: auto 0px;
    vertical-align: middle;
    cursor: pointer;
}

li.search-icon-mobile a {
    visibility: hidden;
    width: 20px;
}

li.search-icon-mobile:before {
    content: '';
    width: 17px;
    height: 17px;
    background-image: url(../images/search-icon-mobile.svg);
    display: inline-flex;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    margin: auto 0px;
    vertical-align: middle;
    padding-right: 17px;
    cursor: pointer;
}

.search-icon-container {
    cursor: pointer;
	margin: auto;
	padding: 0px 1.5rem;
	position: absolute;
	top:40%;
	right: 0;
}


.home .sticky.is-anchored  .main-logo {
    /* margin-top: 3rem; */
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    display: inline-block;
    background-repeat: no-repeat;
    fill:#ffffff;
}

.main-logo{padding:.35rem 0;}

@media screen and (max-width: 1023px) {
    .home .sticky.is-anchored  .main-logo {
        fill:#000000;
    }

}



.sticky.is-anchored .main-logo {
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    display: inline-block;
    background-repeat: no-repeat;
    z-index: 1;
    fill:#ffffff;
}

.sticky.is-stuck  .main-logo {
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    display: inline-block;
    background-repeat: no-repeat;
    z-index: 1;
    fill:#000000;
}

.logo-container{position: relative;}
.logo-container p{margin:0!important;}
.home .sticky.is-anchored  .secondary-logo {
    /* margin-top: 3rem; */
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    display: inline-block;
    background-repeat: no-repeat;
}

.sticky img.secondary-logo {
    max-height:41px;
    position: relative;
}

.sticky  .divide::before{
    content: '';
    height: 55px;
    width: 2px;
    background-color: #05afda;
    position: relative;
    margin: auto 0px;
    vertical-align: middle;
    display: inline-flex;
    margin-left: 16px;
 
}

.sticky.is-anchored .secondary-logo {
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    display: inline-block;
    background-repeat: no-repeat;
    z-index: 10;
}

.sticky.is-stuck  .secondary-logo {
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    display: inline-block;
    background-repeat: no-repeat;
    z-index: 10;
}





/******************************************
MEDIA QUERIES TO SIZE LOGO AND MAIN NAVIGATION
********************************************/

/*@media screen and (min-width: 64em) and (max-width: 80.5em){
    #main-nav li.menu-item {
        font-size: .965rem;
        font-weight: 500;
        flex-wrap: wrap;
        max-width: 104px;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    #main-nav li.menu-item a {
        padding: 0.7rem .85rem;
    }
 }*/
 @media screen and (max-width: 1366px) {

    .is-drilldown .menu.drilldown.invisible{visibility: visible!important;}

    .offcanvas-full-screen-menu ul {
        -webkit-flex-wrap: nowrap;
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        }
}
@media screen and (max-width: 1489px) {
    #main-nav li.menu-item {font-size: 1rem;}
    .main-logo {width:80px;}
}


@media screen and (min-width: 1490px) {
    .main-logo {width:80px;}
}

 @media screen and (min-width:1353px){
    .offcanvas-full-screen.is-transition-overlap.is-open {
        display:none;
    }
    .js-off-canvas-overlay{display: none !important;} 
}

 @media screen and (max-width: 1341px) {
    #main-nav li.menu-item {font-size: .965rem;}
    .main-logo {width:80px;}
    .sticky img.secondary-logo {
        max-height: 41px;
    }

    .sticky .divide::before {
        height: 52px;
        margin-left: 12px;
    }
    #main-nav li.menu-item a {
        padding: 0.7rem .75rem;
    }
}

@media screen and (max-width: 1185px){
    .main-logo {width:80px;}

    .sticky img.secondary-logo {
        max-height: 40px;
    }
    .sticky .divide::before {
        height: 45px;
        margin-left: 10px;
    }
    #main-nav li.menu-item {font-size: .965rem;

        text-align: center;
    }


}

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

   




}

 @media screen and (max-width: 1100px) {
    #main-nav li.menu-item:not(#main-nav li.menu-item ul li.menu-item) {
        font-size: .965rem;
        max-width: 110px;
    }

    .offcanvas-full-screen-menu #main-nav li.menu-item{max-width: 100%!important;}
    .offcanvas-full-screen-menu #main-nav li.menu-item a{text-align: left!important;}

    #main-nav li.menu-item a:not(#main-nav li.menu-item ul li.menu-item a) {
        padding: 0.7rem .75rem;
        text-align: center;
    }
    .main-logo {width:80px;}

    .sticky img.secondary-logo {
        max-height: 40px;
    }

    .sticky .divide::before {
        height: 45px;
        margin-left: 10px;
    }
}

 @media screen and (max-width: 1024px) {
    .main-logo{width: 75px;}
    .sticky img.secondary-logo {
        max-height:40px;
    }
}
 @media screen and (max-width: 1023px) {
    .search-icon-container {
        display: block;
    }

    #top-nav.menu>li a, #top-nav.menu>li:not(:first-of-type) a{
        color: #003a70;
    line-height: 1;
    padding: 1.2rem 1rem 1.2rem 3rem !important;
    font-size: 1.2em;
    position: relative;
    outline: none;

    }

    .logo-shape-bottom-white {display:none;} 
    
    
}

@media screen and (max-width: 800px) {
    
    #main-nav li.menu-item a:not(#main-nav li.menu-item ul li.menu-item a) {
        text-align: left;
    }

    #main-nav li.menu-item:not(#main-nav li.menu-item ul li.menu-item) {
        max-width: 100%;
    }
    #main-nav li.menu-item {
        text-align: left;
    }
}

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


    .main-logo{width: 75px;}
    .sticky img.secondary-logo {
        max-height:34px;
    }

    .sticky .divide::before {
        height: 36px;
        width: 2px;
        margin-left: 10px;
    }

    .search-icon-container {
        padding: 0px 1.5rem;
        top: 40%;
        right: 0;
    }
}



.logo-shape-bottom-white svg {
    position: relative;
    display: block;
    /*width: calc(100% - 30px);*/
    height: 60px;
    margin-left:-45px;
}

@media screen and (min-width: 65em) {
   .logo-shape-bottom-white svg {
    position: relative;
    display: block;
    /*width: calc(100% - 30px);*/
    height: 60px;
    margin-left:-45px;
}
}



@media screen and (max-width: 84.5rem) {
/*.hide-for-nav{
       display: block!important;
    }*/



/*.show-for-nav{
display: none!important;
}*/
 }
 



.logo-shape-bottom-white .shape-fill {
    fill: #FFFFFF;
}



/*Translate Styles*/
.gtranslate_wrapper .gt_switcher .gt_option{position:absolute!important;}
.gtranslate_wrapper .gt_switcher .gt_selected { background: transparent!important;}
.gtranslate_wrapper .gt_switcher .gt_selected a {border: 0px solid #cccccc!important;color: #fff!important;padding: 3px 5px;width: 145px;}
.gtranslate_wrapper .gt_switcher .gt_selected a:hover{background:transparent!important; color:#3cb4e5!important;}
.gtranslate_wrapper .gt_switcher .gt_selected a:after {background-image: url(/wp-content/themes/OPC/assets/images/carrot.svg)!important;fill:#3cb4e5!important;}

