/*
 * Main menu, every page. With Services and Partners added the menu has eight items, so on
 * desktop the labels stay on one line and the spacing (--nav-x) narrows step by step as the
 * container does, so the logo, menu and "Let's Talk" all fit inside the header.
 *
 * The theme puts each dropdown arrow absolutely at the right of its item, inside the link's
 * padding. Links with a dropdown get 16px more right padding and the arrow sits in it, so there
 * is always a gap between the label and its arrow.
 */
@media (min-width: 992px) {
    .attonce-navbar {
        --nav-x: 16px;
    }

    .navbar-expand-lg .navbar-nav.attonce-navbar > li > .nav-link {
        padding-left: var(--nav-x);
        padding-right: var(--nav-x);
        white-space: nowrap;
    }

    .navbar-expand-lg .navbar-nav.attonce-navbar > li.has-submenu > .nav-link {
        padding-right: calc(var(--nav-x) + 16px);
    }

    .attonce-navbar > li.has-submenu > .dropdown_icon {
        right: calc(var(--nav-x) - 2px);
    }

    .attonce-header .navbar-brand,
    .sticky-header .navbar-brand {
        flex-shrink: 0;
    }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
    .attonce-navbar {
        --nav-x: 5px;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .attonce-navbar {
        --nav-x: 2px;
    }

    .navbar-expand-lg .navbar-nav.attonce-navbar > li > .nav-link {
        font-size: 13px;
    }

    .attonce-header .navbar-brand img,
    .sticky-header .navbar-brand img {
        max-width: 130px;
    }

    .attonce-header .header-btns,
    .sticky-header .header-btns {
        margin-left: 12px !important;
    }

    .attonce-header .header-btns .btn-outline,
    .sticky-header .header-btns .btn-outline {
        padding-left: 12px;
        padding-right: 12px;
    }
}
