/* NOT ORGANIZED */
/* Hamburger Menu Icon Styling */
.hamburger-menu {
    position: fixed;
    bottom: 20px;
    /* Adjust to position correctly in your header */
    left: 20px;
    /* Adjust to position correctly in your header */
    z-index: 9999999;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Align bars center in the button */
    align-items: center;
    /* Center bars horizontally */
    width: 60px;
    /* Adjust to your preference for a circle */
    height: 60px;
    /* Adjust to your preference for a circle */
    padding: 10px;
    /* Padding inside the button */
    background-color: #4dad41;
    /* Background color of the button */
    border-radius: 50%;
    /* Full circle */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    /* Shadow for depth */
    transition: background-color 0.3s ease;
    /* Smooth background color transition */
    overflow: hidden;
    /* Prevents bars from overflowing */
}

.hamburger-menu .bar {
    height: 4px;
    /* Thickness of each bar */
    width: 80%;
    /* Adjust to fit within the circle */
    background-color: #fff;
    /* Color of the bars */
    transition: transform 0.3s ease;
    /* Smooth transition for bar transformation */
    margin: 3px 0;
    /* Adjust the space between bars */
}

/* Hamburger to X toggle */
.hamburger-menu.open .top {
    transform: rotate(45deg) translate(7px, 7px);
    /* Adjust for centering the X */
    color: black;
}

.hamburger-menu.open .middle {
    opacity: 0;
    /* Hide the middle bar */
}

.hamburger-menu.open .bottom {
    transform: rotate(-45deg) translate(7px, -7px);
    /* Adjust for centering the X */
}

/* For better control of the X */
.hamburger-menu .top,
.hamburger-menu .bottom {
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: block;
    /* Ensures bars are block level for transform */
}

.hamburger-menu.open {
    background-color: #dc3545;
    /* Background for open state */
}


/* Style for the "See Main Navigation" Button */
#toggle-nav-button {
    background-color: #333;
    /* Or your preferred color */
    color: white;
    border: none;
    padding: 10px 20px;
    text-align: center;
    display: block;
    margin: 10px auto;
    cursor: pointer;
}


/* Overlay Menu Styling */
.menu-overlay {
    position: fixed;
    max-width: 768px;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.99);
    z-index: 999999;
    overflow-y: auto;
    transform: translateX(-100%);
    box-shadow: 4px 0 4px rgba(0, 0, 0, 0.1);

    /* Smooth transition */
}

.with-sidebar {
    width: 100%;
    max-width: 640px;
}

.no-sidebar {
    width: 100%;
    max-width: 420px;
}

.menu-mobile-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.menu-scrollable-content {
    overflow-y: auto;
    flex: 1;
}

.menu-fixed-top {
    display: flex;
    z-index: 12;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    /* Allows items to wrap on smaller screens */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    /* Horizontal offset, Vertical offset, Blur radius, Color */

}

.mobile-menu-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
}

.ttb-mobile-logo {
    max-width: 100%;
    max-width: 250px;
    height: auto;
}

.menu-social-media {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex: 1;
    padding: 15px 0px;
}


@media screen and (max-width: 768px) {
    .menu-fixed-top {
        flex-direction: column;
        align-items: start;
    }

    .menu-logo {
        width: 100%;
        justify-content: center;
        /* Center horizontally */
        align-items: center;
        /* Center vertically */
        flex: 1;
        /* Take up available space */
    }

    .menu-social-media {

        margin-top: 10px;
        justify-content: center;
        /* Center horizontally */
        align-items: center;
        /* Center vertically */
        /* Add some space between logo and icons */
    }
}


.menu-fixed-bottom {
    margin-bottom: auto;
    /* Pushes the element to the bottom */
}

.menu-overlay-visible {
    visibility: visible;
    opacity: 1;
}

.menu-overlay ul {
    list-style-type: none;
    padding: 0;
    text-align: left;
}

.menu-overlay ul li a {
    color: black;
    padding: 10px;
    display: block;
    text-decoration: none;
}


/* Styling for each column */
.menu-column {
    flex: 1;
    /* Each column takes equal width */
    padding: 10px;
}

/* Navigation Menu Styling */
.menu-nav {
    /* Additional styles for navigation column if needed */
}


/* Top-level menu items */
#main-menu-mobile>.menu-item {
    font-size: 18px;
    /* Size for top-level items */
    text-align: left;
    /* Center-aligned text */
    border-bottom: 2px solid #ddd;
    /* Bottom border */
    padding: 10px 0;
    /* Padding for spacing */
}

/* Second-level menu items */
#main-menu-mobile .sub-menu>.menu-item {
    font-size: 15px;
    text-align: left;
    padding: 5px 0;
    padding-left: 40px;
    position: relative;
    animation-name: slideInFromLeft;
    animation-duration: 0.5s;
    animation-fill-mode: both;
    --base-delay: 0.1s;
    /* Define the base delay as a CSS variable */
}


/* Dash for second-level menu items */
#main-menu-mobile .sub-menu>.menu-item:before {
    content: '';
    position: static;
    transform: none;
}

#main-menu-mobile .sub-menu>.menu-item>a:before {
    content: '— ';
    /* Dash character */
    position: absolute;
    left: -20px;
    /* Position the dash to the left of the link */
    top: 50%;
    transform: translateY(-50%);
}

/* Third-level menu items */
#main-menu-mobile .sub-menu .sub-menu>.menu-item {
    font-size: 14px;
    /* Even smaller font size */
    padding-left: 40px;
    /* Greater indentation for third-level items */
}

#main-menu-mobile .sub-menu>.menu-item>a {
    position: relative;
}

/* Remove the third-level specific double dash code */
#main-menu-mobile .sub-menu .sub-menu>.menu-item:before {
    content: '';
    /* No content for third-level items */
}


/* Chevron styles */
.sub-menu-toggle {
    cursor: pointer;
    display: inline-block;
    margin-left: 20px;
}

.sub-menu-toggle.expanded i {
    transform: rotate(180deg);
    transition: transform 0.3s ease;

}


/* Hide sub-menu items initially */
.sub-menu {
    display: none;
    list-style-type: none;
}

/* Style when sub-menu is expanded */
.sub-menu.expanded {
    display: block;
}

.menu-item-has-children {
    position: relative;
}

/* Style when sub-menu is expanded */
.menu-item-has-children>.sub-menu.expanded {
    display: block;
}

/* Style for top-level menu items */
#main-menu-mobile .menu-item {
    font-size: 18px;
    padding: 10px 15px;
}


#toggle-all {
    cursor: pointer;
    width: 100%;
    padding: 10px 20px;
    margin: 5px;
    border: 1px solid #ddd;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}


#toggle-all .fa {
    margin-left: 10px;
    /* 10px space to the left of the chevron icon */
}

#toggle-icon.rotated {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}


/* Content Column Styling */
.menu-content {
    /* Additional styles for content column if needed */
}



/* Menu Overlay Animation */
.overlay-open {
    display: block;
}

/* Style for the search area */
.menu-search {}

.menu-search-inner {
    background-color: #d5e9f2;
    text-align: center;
    display: block;
    margin: 10px 0px 20px 50px;
    padding: 20px;
    border: 1px solid #54b9c8;
    border-radius: 12px 0px 0px 12px;
}

.menu-search form {
    display: flex;
    justify-content: center;
}

#menu-search-input {
    flex-grow: 1;
    /* Allows input to take up available space */
    padding: 8px 15px;
    font-size: 16px;
    /* Larger font size */
    border: 2px solid #ddd;
    /* Custom border */
    border-right: none;
    /* Remove right border to merge with button */
}

#menu-search-button {
    padding: 8px 15px;
    background-color: #4dad41;
    /* Example color */
    color: white;
    border: 2px solid #4dad41;
    cursor: pointer;
}

/* Optionally, style the button on hover */
#menu-search-button:hover {
    background-color: #0056b3;
}

/* Style for Row of Buttons/Icons */
.menu-buttons {
    text-align: center;
    padding: 10px;
}

.menu-buttons button {
    margin: 5px;
    padding: 5px 10px;
}

/* Style for Social Media Icons */
.menu-social-media {
    /* position: absolute; */
    bottom: 10px;
    width: 100%;
    text-align: center;
}

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

    /* Full width for the overlay menu on mobile */
    .menu-overlay {
        width: 100%;
    }

    /* Position the hamburger menu at the bottom left on mobile */
    .hamburger-menu {
        position: fixed;
        bottom: 5px;
        left: 5px;
        top: auto;
        transform: scale(1);
        /* Scale down by 25% */

    }

}

/* For Desktop */
@media screen and (min-width: 992px) {

    /* Adjust the breakpoint as needed */
    .menu-scrollable-content {
        display: flex;
        flex-direction: row;
    }

    .menu-column {
        flex: 1;
        padding: 10px;
    }

    .menu-fixed-bottom {
        position: absolute;
        bottom: 0;
        width: 100%;
    }

    .menu-overlay {
        padding: 50px 0px;
        /* Space for fixed bottom elements */
    }

    .menu-search-inner {
        background-color: #d5e9f2;
        text-align: center;
        display: block;
        margin: 10px 0px 20px 100px;
        padding: 20px;
        border: 1px solid #54b9c8;
        border-radius: 12px 0px 0px 12px;
    }

}

/* For Mobile */
@media screen and (max-width: 768px) {

    .menu-mobile-inner {
        flex-direction: column;

    }
}


#toggle-nav-visibility {
    cursor: pointer;
    padding: 10px 20px;
    margin: 5px;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
}

#toggle-nav-visibility .fa {
    margin-left: 10px;
    /* Space to the left of the icon */
}

.scroll-indicator {
    position: absolute;
    bottom: 15px;
    right: 0px;
    /* transform: translateX(-50%); */
    cursor: pointer;
}

.scroll-indicator-inner {
    font-size: 40px;
    padding: 2px 20px 2px 10px;
    border: 1px solid #ddd;
    border-radius: 50% 0 0 50%;
    background-color: rgba(255, 255, 255, 0.8);
    /* Slightly transparent */
    color: black;
}

.scroll-indicator-inner i {
    animation: pulse 2s infinite;
}


.mm-circle-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding-right: 20px;
    /* Adjust spacing between buttons */
}


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

    .mm-circle-buttons {
        display: flex;
        justify-content: flex-end;
        gap: 10px;
        /* Adjust spacing between buttons */
    }
}

.mm-circle-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    /* Diameter of the circle */
    height: 50px;
    /* Diameter of the circle */
    border-radius: 50%;
    /* Makes the button circular */
    border: none;
    /* Removes default border */
    background-color: #007bff;
    /* Adjust button color */
    color: white;
    /* Adjust icon color */
    cursor: pointer;
    font-size: 20px;
    /* Adjust icon size */
    transition: background-color 0.3s;
    /* Smooth transition for hover effect */
}

.mm-circle-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
    /* Slightly transparent */
    /* Darker shade for hover effect */
}

.mm-circle-button a {
    color: #fff;
}

.mm-home {
    color: #fff;
    background: #df6b50;
}

.mm-search {
    color: #fff;
    background: #4dad41;
}

.mm-contact {
    color: #fff;
    background: #54b9c8;
}

.mm-help {
    color: #fff;
    background: #a11b22;
}

.close-search-button {
    border: none;
    background: none;
    color: #333;
    /* Or any color that suits your design */
    font-size: 15px;
    cursor: pointer;
}




/* Slide-in from Left Animation */
@keyframes slide-in-from-left {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(0);
    }
}

/* Slide-out to Left Animation */
@keyframes slide-out-to-left {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

.menu-overlay {
    animation-fill-mode: forwards;
}


@keyframes fade-in-slide {
    0% {
        opacity: 0;
        transform: translateX(-10px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}


.menu-overlay.full-width {
    width: 100%;
    /* Or any other width you prefer when there's no sidebar */
}

.menu-nav.full-width {
    width: 100%;
    /* Adjust the menu navigation width when there's no sidebar */
}

@media screen and (max-width: 768px) {
    .menu-fixed-top {
        /* Center the logo and social icons on mobile */
        justify-content: center;
        text-align: center;
    }

    .mobile-menu-logo,
    .menu-social-media {
        /* Ensure full width and center alignment */
        width: 100%;
        justify-content: center;
    }

    .mm-circle-buttons {
        /* Right align the bottom navigation buttons on mobile */
        justify-content: flex-end;
    }
}

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

    /* Styles when there's no sidebar on desktop */
    .menu-overlay.no-sidebar .menu-fixed-top {
        /* Center the logo and social icons when there's no sidebar */
        justify-content: center;
        text-align: center;
    }

    .menu-overlay.no-sidebar .mobile-menu-logo,
    .menu-overlay.no-sidebar .menu-social-media {
        /* Ensure the logo and social icons take full width and are centered */
        width: 100%;
        justify-content: center;
    }

    .menu-overlay.no-sidebar .mm-circle-buttons {
        /* Right align the bottom navigation buttons */
        justify-content: flex-end;
    }
}


/* Social Media Icons */
.ttb-mobile-nav-button {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    background: rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease-in-out;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin-left: 5px;
    cursor: pointer;
}

.ttb-mobile-nav-button:hover {
    transform: scale(1.1);
}

.ttb-mobile-nav-button-social {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    background: rgba(255, 255, 255, 0.5);
    transition: transform 0.3s ease-in-out;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    margin-left: 5px;
    cursor: pointer;
    border: 1px solid #ddd;
}

.ttb-mobile-nav-button-social:hover {
    transform: scale(1.1);
}

.mobile-menu-expand-btn {
    background-color: var(--main-nav-bg-color);
    color: var(--main-nav-text-color);
}

.mobile-menu-expand-btn:hover {
    background-color: var(--main-nav-dropdown-bg-color);
  }
