/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */


/* reset default elementor gaps */
.elementor-widget-container p {
    margin-block-end: 0 !important;
    margin-block-start: 0 !important;
}

.elementor-icon-list-items:not(.elementor-inline-items) .elementor-icon-list-item:not(:last-child) {
    padding-bottom: 0 !important;
}

/* reverse direction of icon and text in footer*/
.privacy-policy .elementor-icon-list-item:nth-child(3) {
    display: flex;
    flex-direction: row-reverse;
}

.e-con-boxed.e-con.e-child[data-tab-index]:not(.full-width-megamenu) {
  justify-content: center !important;
}

/* Prevent hamburger menu*/
@media (max-width: 1024px) {
    /* Hide the hamburger toggle button */
    .elementor-menu-toggle {
        display: none !important;
    }

    /* Hide the mobile dropdown menu */
    .elementor-nav-menu--dropdown {
        display: none !important;
    }

    /* Ensure the main menu remains visible */
    .elementor-nav-menu--main {
        display: flex !important;
        flex-direction: column; /* Maintain vertical layout; use 'row' for horizontal */
        justify-content: flex-start; /* Align items to the top */
        align-items: flex-start; /* Align items to the left */
    }

    /* Style menu items for tablet and mobile */
    .elementor-nav-menu--main .elementor-nav-menu {
        width: 100%; /* Full width for better fit */
        font-size: 14px; /* Smaller font size */
        padding: 0; /* Remove excess padding */
    }

    /* Style individual menu items */
    .elementor-nav-menu--main .elementor-item {
        display: block !important;
        padding: 8px 15px; /* Adjust padding for spacing */
        text-align: center; /* Align text to the left */
    }
}


/* Custom Dropdown for footer */
.custom_dropdown_container {
    font-family: 'DM Sans', sans-serif;
    color: #ffffff;
}

.custom_dropdown_container nav {
    width: 100%;
}

.custom_dropdown_container button {
    font-size: 16px;
    font-weight: 400;
    text-align: center;
    cursor: pointer;
    display: flex;
    align-items: left;
    justify-content: flex-start;
    background-color: transparent !important;
    border-color: transparent !important;
}
.custom_dropdown_container button:hover {
    background-color: transparent !important;
    border-color: transparent !important;
}
.custom_dropdown_container button:active {
    background-color: transparent !important;
    border-color: transparent !important;
}

.custom_dropdown_container button .chevron {
    margin-left: 12px;
    font-size: 16px;
    transition: transform 250ms ease;
}

.custom_dropdown_container button.active .chevron {
    transform: rotate(180deg);
}


.custom_dropdown_container .main_menu {
    list-style: none;
    padding-left: 8px;
    margin: 0;
    width: 100%;
    height: 0;
    overflow: hidden;
    transition: height 250ms ease;
    color: #ffffff;
}

.custom_dropdown_container .main_menu.active {
    height: 425px; /* 9 items * 40px per item (adjust based on item height) */
}

.custom_dropdown_container .main_menu li {
    display: block;
}

.custom_dropdown_container .main_menu a {
    display: inline-block;
    line-height: 40px;
    width: 90%;
    height: 30px;
    padding: 5px 5%;
    font-size: 14px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    text-decoration: none;
    color: #90a5b1;
}

.custom_dropdown_container .main_menu a:hover {
    color: #ffffff;
}
#menu-footer-direct-integrations-1, #menu-footer-microsoft-365-integrations-1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    list-style: none; /* Removes default bullets if they reappear */
    padding: 0;      /* Removes default padding */
}