

/*  Page HTML */

/* Body Styling */
body {
    background-image: none !important;
}

    @media (max-width: 768px) {
        .footer-links {
            display: block; /* Stack the links vertically */
            text-align: center; /* Center the text */
            padding-left: 10px;
            padding-right: 10px;
        }

        .footer-links a, .footer-links p {
            padding-right: 0;
            padding-left: 0;
            margin-bottom: 10px; /* Add spacing between items */
            border-right: none; /* Remove border on mobile */
        }
    }

    /* Responsive design for very small screens (like phones in portrait) */
    @media (max-width: 480px) {
        .footer-links {
            padding-left: 15px;
            padding-right: 15px;
        }

        .footer-links a, .footer-links p {
            font-size: 12px !important; /* Reduce font size on smaller screens */
        }
    }

#main_sec_header{
text-align:center;
}

.bdt-content-wrapper-home .container{
    box-shadow: none !important;
}

#healing_header{
    color: #0a3254;
    font-weight: 600;
}

#healing_para{
    color: #0a3254;
    font-weight: 500;
    font-size:45px;
}

.field--name-field-page-banner{
    display:none !important;
}

/* Optional: Ensure text content doesn't overlap with the image */
.bdt-content-wrapper-home > * {
  position: relative;
  z-index: 1;
}

.nav.primary.nav-tabs{
    position: relative;
    top: 6em;
}

.content-box-bg{
    position: relative !important;
}

.top-section{
    position: absolute  !important;
    z-index: 9 !important;
    top: 0 !important;
}

.hs-menu-trigger-btn{
    z-index: 99 !important;
}

.content-box-bg {
    background: #fff;
}

/* Top Section Styling */
.top-section {
    background-color: #fff;
    padding: 28px 0;
    box-shadow: 0px 4px 8px rgba(173, 216, 230, 0.6), 0px 2px 4px rgba(255, 255, 255, 0.9);
    position: absolute;
    z-index: 9;
    width: 100%;
}




#block-iamherefor-menu {
    display: none !important;
}



.menu{
        flex-direction: column;
    }

/* Logo Styling */
.new-logo-class {
display: block;
width: 191px;
  height: 75px;
  background: url(/themes/custom/healing_the_spirit/assets/logo-hs.png) no-repeat;
    background-size: auto;
  background-size: contain;
  position: absolute;
  top: 3px;
  left: 43px;
}

.submenu-container {
  margin-top: 5px; /* Adjust spacing below parent link */
  position: relative; /* Adjust positioning as needed */
}


/* Menu Styling */
.menu-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Ensuring Sidebar content (Dynamic Menu) is formatted */
.menu-container .section {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

/* Menu List Styling */
.menu-container .section ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px; /* Add gap between menu items */
}



.menu-container .section li.menu-item--expanded {
    position: relative;
            margin-bottom: 10px;
        margin-top: 10px;
        max-width:250px !important;
}



/* For smaller screens, adjust the background and padding */
@media (max-width: 768px) {

    #healing_para{
        font-size:20px !important
    }
}

/* Menu Link Styling */
.menu-container .section .nav-link {
    color: #0a3254 !important;
    font-size: 13px !important;
    text-decoration: none;
    padding: 0 10px;
    white-space: nowrap;
}

.menu-container .section .nav-link:hover {
    text-decoration: underline;
}

/* Footer Styling */
.home-logo-bottom {
    background-color: #0a3254;
    text-align: center;
    padding: 50px;
}

.logo-hs{
    display: none !important;
}

.home-logo-bottom img {
    max-width: 150px;
}

/* Main wrapper for content */
.content-wrapper {
  max-width: 1100px; /* Restrict width to align with the text above */
  margin: 0 auto; /* Center the content */
  text-align: center; /* Align the heading and divs */
  padding: 0 20px; /* Reduce padding to remove extra space */
}

/* Section containing the icons */
.icon-section {
  display: flex;
  justify-content: space-between; /* Evenly space items */
  gap: 15px; /* Reduce the gap between the divs */
  align-items: flex-start; /* Align divs at the top */
  margin-top: 10px; /* Reduce space between text and icons */
}

/* Individual icon item */
.icon-item {
  flex: 1;
  text-align: center;
  padding: 5px; /* Reduce padding inside each div */
  margin: 0; /* Remove extra spacing between divs */
}

.menu-container .section .nav-link-{
    font-size: 13px !important;
    font-weight: 700;
}

/* Icon images */
.icon-item img {
  width: 120px !important; /* Adjust image size for better fit */
  height: 120px !important;
  margin-bottom: 5px; /* Reduce space below the icon */
}

/* Headings */
.icon-item h3 {
  font-size: 20px; /* Slightly smaller heading size */
  margin: 5px 0; /* Reduce spacing around heading */
  color: #0a3254;
}

/* Paragraphs */
.icon-item p {
  font-size: 14px;
  color: #0a3254;
  margin-bottom: 10px; /* Reduce space below the paragraph */
}

.newsletter-subscription-form .js-form-type-email strong{
    color:  #ff0033 !important;
    background:rgba(255, 255, 255, 0.6);
     }


.last_link{
    position: relative;
    top: 1.5em;
}

nav ul li .nav-link:hover {
    text-decoration: none !important;
}


/* Links styled as buttons */
.icon-item a {
  display: inline-block;
 background-color: #b2bb1e !important;
  border: 1px solid #b2bb1e !important;
  padding: 10px 40px !important;
  border-radius: 40px !important;
  font-weight: 500 !important;
  font-size: 14pt !important;
  color: #fff !important;
}

.icon-item a:hover {
  background-color: #6fa32c; /* Slightly darker hover color */
}

#hts_footer_links p,#hts_footer_links a{
    font-size: 14px !important;
    font-weight: 400 !important;
}

.field--name-field-yoast-seo.field--type-yoast-seo.field--label-above{
display: none;
}

 @media (min-width: 769px) {
.hs-menu-trigger-btn{
    display: none !important;
}
 }

/* Responsive adjustments */
@media (max-width: 768px) {
  .icon-section {
    flex-direction: column; /* Stack vertically for smaller screens */
    gap: 10px; /* Reduce spacing for mobile */
  }

  .icon-item {
    max-width: 100%; /* Allow full-width items in mobile view */
  }
}



@media (min-width: 1300px) {
.menu-container .section li.menu-item--expanded{
  width: 250px !important;
}
}

@media (min-width: 1250px) {
    #main_sec_header{
        margin-top: 18em !important;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .top-section {
        padding: 15px;
    }

    .row.align-items-center {
        flex-direction: column;
    }

    .menu-container {
        justify-content: center;
        margin-left: 0;
        margin-top: 15px;
    }

    .new-logo-class {
        position: static;
        margin-bottom: 15px;
    }

    .menu-container .section ul {
        flex-direction: column;
        gap: 10px;
    }

    .menu-container .section li:not(:last-child)::after {
        display: none;
    }
}
 @media (min-width: 769px) and (max-width: 1023px) {
    .menu-container .section li {
         max-width:110px !important;
}
 }

 @media (min-width: 768px) and (max-width: 1023px) {
    .menu-container .section .nav-link{
        font-size: 8px !important;
        font-weight: 700;
    }
 }

/* Mobile view styling */
@media (max-width: 768px) { /* Adjust the max-width as needed */
    .menu .nav-item:last-child {
        padding-bottom: 1rem !important; /* Adds space between the last option and the border */
        border-bottom: 0.5px solid rgba(99, 158, 200, 1); /* Adds the border */
        margin-bottom: 1rem; /* Adds some spacing below the border */
    }
    .nav-link.nav-link- { /* Target the specific heading */
        display: block; /* Ensure the element spans the full width */
        border-bottom: 0.5px solid rgba(99, 158, 200, 1); /* Add the border with the specified color */
        padding-bottom: 1rem !important; /* Optional: Space between text and the border */
        margin-bottom: 1rem; /* Optional: Space below the border */
        text-transform: uppercase; /* Optional: Make text uppercase if desired */
        width: 100vw;
        position: relative;
        left: -0.5em !important;

    }
    .top-section nav.menu--menu-healing-the-spirit {
        width: 100vw;
    }
    .menu .nav-item:last-child {
        padding-bottom: 0; /* Remove padding for a clean layout */
        margin-bottom: 0; /* Ensure no extra margin below the last item */
    }
    .nav-item.menu-item--expanded.open .nav-link.nav-link- {
        border-bottom: none !important;
    }
    #hts_footer_links{
        flex-direction: column !important;
    }
    .nav-link--healingthespirit-ways-to-remember{
        display: block; /* Ensure the element spans the full width */
        border-bottom: 0.5px solid rgba(99, 158, 200, 1); /* Add the border with the specified color */
        padding-bottom: 1rem !important; /* Optional: Space between text and the border */
        margin-bottom: 1rem; /* Optional: Space below the border */
        text-transform: uppercase; /* Optional: Make text uppercase if desired */
    }
}

@media (max-width: 1300px) {
.nav.primary.nav-tabs{
    top: 0 !important;
}
}

@media (min-width: 769px) {
.menu-container .section li{
    margin-bottom: 0px !important;
}
.menu-container .section ul{
    gap: 5px !important;
}
.menu-container .section li:not(:last-child)::after{
    right: 33px !important;
}
article.node--type-hs-basic-page{
    margin-top: 7em !important;
}
.nav-link.active {
    position: relative; /* Positioning is needed for the pseudo-element */
}



/* Vertical line for main menu items */
.menu-container ul.nav > li.nav-item > a.nav-link::after {
    content: '';
    position: absolute;
    right: 35px;
    height: 30px; /* Height for the vertical line */
    width: 1px; /* Width for the vertical line */
    background-color: #b2bb1e; /* Vertical line color */
    top: 2px; /* Position adjustment */
  }

  /* Remove the vertical line for submenu items */
  .menu-container ul.nav ul.menu > li.nav-item > a.nav-link::after {
    content: none;
  }

  /* Specific adjustment for "Ways to Remember" (direct link with no submenu) */
  .menu-container ul.nav > li.nav-item:not(.menu-item--expanded) > a.nav-link::after {
    content: '';
    position: absolute;
    right: 35px;
    height: 30px;
    width: 1px;
    background-color: #b2bb1e;
    top: 2px;
  }

  /* Horizontal line for the active main menu item */
  .menu-container ul.nav > li.nav-item.menu-item--active-trail > a.nav-link::before {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 60%;
    height: 2px;
    background-color: rgba(178, 187, 30, 1);
  }



}

@media (max-width: 1300px) {
    .menu-container .section li:not(:last-child)::after{
        right: 0 !important;
    }
}

@media (min-width: 1300px) {
    .menu-container .section li.nav-item {
      width: 250px !important;
    }
  }

  .menu-container .section li.nav-item {
    position: relative;
    margin-bottom: 10px;
    margin-top: 10px;
    position: relative;
    left: -0.3em;
  }


.nav-link--healingthespirit-ways-to-remember{
    font-weight: 700 !important;
}

@media (min-width: 768px) and (max-width: 1200px) {
    .menu-container ul.nav > li.nav-item > a.nav-link::after {
        right: 0px !important;
    }
    .menu-container ul.nav > li.nav-item:not(.menu-item--expanded) > a.nav-link::after {
        right: 0px !important;
    }
    .menu-container ul.nav > li.nav-item.menu-item--active-trail > a.nav-link::before {
        left: 15px  !important;
    }

}

#unique-HTS-top-section{
    top:2em !important
}

.node__content.clearfix{
    margin-top: 0 !important;
}
article.node{
    margin-top: 11em !important;
}
#main.container-fluid{
    height: 100vh !important;
    padding: 0 !important;
}

#block-healing-the-spirit-breadcrumbs{
    position: relative;
    top: 8em !important;
}

#block-healing-the-spirit-breadcrumbs .breadcrumb-item{
    color: #0A3254 !important;
    font-size: 18px !important;
}

#block-healing-the-spirit-breadcrumbs .breadcrumb-item a{
    color: #0A3254 !important;
    font-size: 18px !important;
    text-decoration: underline !important;
}


#block-healing-the-spirit-breadcrumbs .breadcrumb-item::before {
    content: "≫" !important;
    color: #0A3254;
    font-size: 15px !important;
}

/* Remove the '≫' symbol from the first breadcrumb item */
#block-healing-the-spirit-breadcrumbs .breadcrumb-item:first-child::before {
    content: "" !important; /* Remove the symbol for the main menu */
}

#block-healing-the-spirit-breadcrumbs .breadcrumb {
    position: relative; /* Ensures the line is placed correctly */
    padding-bottom: 5px; /* Adds space below the breadcrumb */
}

#block-healing-the-spirit-breadcrumbs .breadcrumb::after {
    content: ""; /* Creates the line */
    display: block;
    width: 100%; /* Full width */
    height: 1px; /* Line thickness */
    background-color: rgba(99, 158, 200, 0.40); /* #639EC8 with 40% opacity */
    position: absolute;
    bottom: 0;
    left: 0;
}

@media (max-width: 768px) {
#block-healing-the-spirit-breadcrumbs .breadcrumb-item a{
    position: relative;
    top: -0.3em;
    font-size: 15px !important;
    }
    #block-healing-the-spirit-breadcrumbs .breadcrumb-item{
        font-size: 15px !important;
    }
    .top-section .col-auto.logo-container{
        width: 100% !important;
    }
    .nav-item.menu-item--expanded > .nav-link.nav-link-::after {
        content: "⌄";
        color: #B2BB1E; /* Arrow color */
        font-size: 16px;
        position: absolute;
        right: 25px;
        top: 50%;
        transform: translateY(-50%);
        transition: transform 0.3s ease, color 0.3s ease;
    }

    /* When expanded: Smooth open upward arrow ⌃ */
    .nav-item.menu-item--expanded.open > .nav-link.nav-link-::after {
        content: "⌃";  /* Open arrow */
        color: #B2BB1E; /* Keep same color */
    }
    #block-healing-the-spirit-breadcrumbs{
        top: 10em !important;
    }
    .menu-container .section li.nav-item{
        width: 100vw !important;
        }
        article{
            padding: 10px !important;
        }
}