:root {
    --dmm-background-color: none;
    --dmm-font-size: 16px;
    --dmm-submenu-background-color: #14426E;
    --dmm-submenu-border-color: #09B6E0;
    --dmm-text-color: #fff;
    --dmm-link-color: #09B6E0;
    --dmm-child-font-size: 14px;
    --dmm-box-shadow-color: #ccc;
    --dmm-border-color: #2d626f;
    --dmm-paragraph-bg-color: #14426E;
    --dmm-menu-item-color: #14426E;
    --color-black: #000;
    --color-white: #fff;
    --color-blue: #14426E;
    --color-light-blue: #09B6E0;
    --color-gray: #ccc;
    --color-dark-gray: #2d626f;
}

header.header-offset {
    /*box-shadow: 0px -11px 19px var(--color-black);*/
    /*height: 84px;*/
    /*display: flex;*/
    /*align-items: center;*/
    /*width: 100vw;*/
}

/*header.header-offset img.logo {*/
/*    width: 180px;*/
/*    height: 44px;*/
/*}*/

.get-in-touch.desktop a {
    font-size: 14px;
    font-weight: 600;
    line-height: 16.94px;
    padding: 12px;
}

.digital-mega-menu {
    background: var(--dmm-background-color);

    .tbm-link-container span,
    .tbm-link-container a {
        font-size: 20px;
        font-family: Noto Sans;
        font-weight: 500;
        /* line-height: 21.79px; */
        text-align: left;
        display: block;
        width: max-content;
        display: flex;
        /* padding: 20px; */
        position: relative;
        padding: 0px 20px;
        color: var(--dmm-menu-item-color);
    }

    .tbm-item--has-dropdown .tbm-link-container a::after {
        content: " ";
        font-size: 1rem;
        margin-left: 0.5rem;
        display: inline-block;
        vertical-align: middle;
        background: url('../images/caret-down-sm.svg');
        width: 30px;
        height: 30px;
        background-position: center;
        background-size: contain;
        background-repeat: no-repeat;
        position: absolute;
        right: -5px;
        top: 0px;
    }

    .tbm-item--has-dropdown .tbm-link-container a:hover {
        text-decoration: none;
    }

    .tbm-item.level-1 {
        border-right: none;
    }

    .tbm-link.level-1 a {
        font-size: 20px;
    }

    .tbm-link.level-1:hover,
    .tbm-link.level-1:focus {
        background: var(--dmm-background-color);
    }



    .tbm-item.level-1.open>.tbm-submenu {
        width: 100vw;
        position: fixed;
        z-index: 99;
        top: 80px;
        padding: 0;
        padding: 30px 15px 30px 30px;
        border: 0;
        background: none;
        box-shadow: none;
        background: var(--dmm-submenu-background-color);
        border-top: 4px solid var(--dmm-submenu-border-color);
        box-shadow: 1px 2px 10px var(--dmm-box-shadow-color);
        margin-top: 28px;
    }

    /* handle admin item top position */
    .gin--vertical-toolbar .tbm-item.level-1.open>.tbm-submenu {
        top: 170px;
    }

    .block-inner div {
        color: var(--dmm-text-color);
        font-weight: bold;
        text-transform: uppercase;
        flex-direction: column;
        font-size: 16px;
    }

    .child-wrapper a {
        border: none;
        background: var(--dmm-background-color);
        font-size: var(--dmm-child-font-size);
        text-transform: capitalize;
        padding: 0;
        color: var(--dmm-link-color);
    }

    .child-wrapper a:hover {
        text-decoration: underline;
    }

    .mega-menu-technologies-block div {
        box-sizing: border-box;
        display: inline-block;
        width: 18%;
    }

    .mega-menu-technologies-block .paragraph {
        align-items: center;
        padding: 20px;
        border: 1px solid var(--dmm-border-color);
        margin: 15px;
        border-radius: 17px;
        display: flex;
        width: 100%;
        margin-left: 0;
        /* margin: 0; */
        padding: 8px !important;
    }

    .paragraph--type--megamenu-technologies div {
        width: 100% !important;
        display: flex !important;
        justify-content: center;
        align-items: center;
    }

    .paragraph--type--megamenu-technologies a {
        font-size: 14px;
    }

    .paragraph--type--megamenu-technologies a:hover {
        color: inherit;
    }

    .paragraph--type--megamenu-technologies div img {
        width: 25px;
        margin-bottom: 15px;
    }

    .mega-menu-industries-block div {
        font-size: 11px;
        text-transform: Capitalize !important;
        color: var(--color-gray) !important;
    }

    .mega-menu-industries-block > div {
        width: 33.33%;
        overflow: hidden;
        display: block;
        float: left;
        margin: 15px 0px;
        padding: 0px 15px;
    }

    .mega-menu-industries-block div a {
        display: block;
        color: var(--dmm-link-color);
    }

    .mega-menu-industries-block a {
        text-transform: uppercase;
    }
}


/* // Tablet (up to 768px) */
@media (max-width: 768px) {
    .header-wrapper {
        display: flex;
        flex-direction: row; //
    }
    .logo-wrapper {
        order: 2;
        justify-content: flex-end;
        display: flex;
    }
    .menu-wrapper {
        order:1;
        padding: 15px;
        display: flex;
        align-items: center;
        /* height: 50px; */
        padding-left: 0;
        justify-content: flex-start;
    }

    .menu-wrapper .tbm-button{
        margin: 0;
    }
    .contact-wrapper {
        order:3;
    }

    .tbm.tbm--mobile .tbm-nav {
    width: 100vw;
    margin-left: -16px !important;
    /* height: 100vh; */
}

.tbm.tbm--mobile .tbm-nav .tbm-item--has-dropdown .tbm-link-container a::after{
    background: none;
    width: 0;
    height: 0;
    position: unset;
}
    .tbm.tbm--mobile .tbm-nav .tbm-item--has-dropdown  .tbm-link-container a {
        border-right: none;
    }
    .tbm--mobile .tbm-item.level-1 {
    border-top: none;
    border-bottom: 1px solid var(--dmm-border-color);
    padding: 10px 15px;
    }

    .tbm.tbm--mobile .tbm-submenu-toggle {
        border-left: none;
    }

    /* Technologies menu */

    .tbm-item.level-1.open>.tbm-submenu {
        width: 100vw !important;
        padding: 15px !important;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mega-menu-technologies-block {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        flex-direction: row !important;
        justify-content: center;
    }

    .mega-menu-technologies-block > div {
        flex-basis: calc(33% - 12px);
        /* Adjust based on gap size */
        max-width: calc(33% - 12px);
        box-sizing: border-box !important;
        width: 33% !important;
        display: flex !important;
        align-items: center;
    }

    .mega-menu-technologies-block .paragraph {
        margin: 0 !important;
        padding: 15px !important;
    }

    .mega-menu-services-block {
        display: flex;
        align-items: flex-start;
        flex-direction: column !important;
        /* height: 250px; */
        overflow-y: auto;
        /* border-bottom: 2px solid #ccc; */
        /* min-height: 250px; */
        /* max-height: 250px; */
    }
    .tbm-block {
        padding: 0px !important;
    }
    .tbm.tbm--mobile .tbm-row {
        /* display: flex; */
        width: 100%;
        /* gap: 20px !important; */
    }
    .tbm-item.level-1.open>.tbm-submenu {
        flex-direction: column;
    }

    header.header-offset {
        box-shadow: 0px -4px 9px #000;
    }
    .tbm-column.span3 a {
    font-size: 13px !important;
    line-height: 15px;
}

.paragraph--type--action-link div {
    margin: 10px 0px;
}

    .mega-menu-industries-block > div {
        padding: 5px !important;
        margin: 0px !important;
    }

    .mega-menu-industries-block div a {
        font-size: 15px;
        line-height: 20px;
        /* height: 43px; */
    }

    .mega-menu-industries-block div {
        display: flex;
        justify-content: space-between !important;
        height: 223px;
        margin-bottom: 15px !important;
    }
}

@media (max-width: 425px) {
    .mega-menu-technologies-block > div , .mega-menu-industries-block > div{
        flex-basis: calc(50% - 12px);
        /* Adjust based on gap size */
        max-width: calc(50% - 12px);
        width: 50% !important;
    }


}
