.theme-dark-au .navbar-brand>img {
    filter: invert(1) brightness(1000%);
}

#menu-primary-menu {
    font-size: 1.125rem !important;
}

#menu-primary-menu .lang-default-en::before,
#menu-primary-menu .languages .lang-fr::before,
#menu-primary-menu .languages .lang-it::before {
    content: "";
    width: 1.9rem;
    height: 1.9rem;
    background: transparent;
    background-image: url("images/langs/gb.svg");
    display: inline-block;
    background-size: cover;
    background-position: center;
}

#menu-primary-menu .languages .lang-fr::before {
    background-image: url("images/langs/fr.svg");
}

#menu-primary-menu .languages .lang-it::before {
    background-image: url("images/langs/it.svg");
}

#menu-primary-menu .subtitle {
    font-size: 1rem;
    font-weight: 400;
    color: var(--bs-nav-link-color);
}

#menu-primary-menu .fa-magnifying-glass,
#menu-primary-menu .fa-search {
    text-shadow: 0.03rem 0 rgb(var(--bs-austabilitythemeone-rgb)), 0 0.03rem rgb(var(--bs-austabilitythemeone-rgb)), -0.03rem 0 rgb(var(--bs-austabilitythemeone-rgb)), 0 -0.03rem rgb(var(--bs-austabilitythemeone-rgb));
}

@media (min-width: 1400px) {
    #menu-primary-menu .menu-item a.customoff {
        border-top: 3px solid transparent;
        border-bottom: 3px solid transparent;
        /* color: rgb(var(--bs-austabilitythemeone-rgb)) !important; */
        font-weight: bold;
        letter-spacing: .05rem;
    }
    #menu-primary-menu .current-menu-item a.customoff,
    #menu-primary-menu .menu-item:hover a.customoff,
    #menu-primary-menu .menu-item.dropdown:hover a.customoff {
        border-bottom: 3px solid transparent;
    }
    .theme-dark-au #menu-primary-menu .current-menu-item a.customoff.search,
    .theme-dark-au #menu-primary-menu .menu-item:hover a.customoff.search,
    #menu-primary-menu .current-menu-item a.customoff.search,
    #menu-primary-menu .menu-item:hover a.customoff.search,
    #menu-primary-menu .dropdown-menu a.customoff,
    #menu-primary-menu .menu-item:hover .dropdown-menu a.customoff {
        border-bottom: 3px solid transparent;
    }
    #menu-primary-menu .lang-default-en {
        font-size: 0;
    }
    #menu-primary-menu .languages .col-xxl-6 {
        width: 100%;
    }
    #menu-primary-menu .languages .english {
        display: none;
    }
    #menu-primary-menu .languages .lang-fr,
    #menu-primary-menu .languages .lang-it {
        font-size: 0;
    }
    #menu-primary-menu .languages .dropdown-menu {
        background: transparent;
        border: 0;
        padding: 0 !important;
        min-width: auto;
        margin-top: 0 !important;
        box-shadow: unset !important;
        width: auto !important;
    }
    #menu-primary-menu .mobile-search {
        display: none;
    }
    #menu-primary-menu .dropdown-menu.show {
        width: 290px;
        padding: 2rem;
        margin-top: 0.9rem;
        border: 0;
        border-radius: 0;
        z-index: 9999;
    }
    #menu-primary-menu .dropdown-menu li {
        position: relative;
    }
    #menu-primary-menu .dropdown-menu li.li-active a.customoff,
    #menu-primary-menu .dropdown-menu li a.customoff:hover {
        color: rgb(var(--bs-primary-rgb)) !important;
    }
    body.theme-dark-au #menu-primary-menu>li>.nav-link,
    body.theme-dark-au #menu-primary-menu>li.li-active>.nav-link {
        color: white !important;
    }
    body.theme-dark-au #menu-primary-menu .current-menu-item a.customoff,
    body.theme-dark-au #menu-primary-menu .menu-item:hover a.customoff,
    body.theme-dark-au #menu-primary-menu .menu-item.dropdown:hover a.customoff {
        border-bottom-color: white;
    }
    body.theme-dark-au #menu-primary-menu>li.current-menu-item>a.customoff,
    body.theme-dark-au #menu-primary-menu>li.menu-item:hover>a.customoff,
    body.theme-dark-au #menu-primary-menu>li.menu-item.dropdown:hover>a.customoff {
        color: white !important;
    }
    #menu-primary-menu>.dropdown>a::after {
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        content: "\f0d7";
        padding-left: 0.3rem;
        font-size: 0.8rem;
        vertical-align: 0.1rem;
    }
}

@media (max-width: 1399px) {
    .theme-dark-au .navbar-toggler {
        color: white !important;
        border-color: var(--bs-gray-600) !important;
    }
    .navbar-toggler {
        padding: 0.5rem 1.3rem;
    }
    #menu-primary-menu {
        padding: 0 2rem;
        position: relative !important;
        overflow-x: hidden;
        overflow-y: scroll;
    }
    #menu-primary-menu .english a {
        color: rgb(var(--bs-primary-rgb));
    }
    #menu-primary-menu .languages .lang-en::before {
        content: "";
        width: 1.9rem;
        height: 1.9rem;
        background: transparent;
        background-image: url("images/langs/gb.svg");
        display: inline-block;
        background-size: cover;
        background-position: center;
    }
    #menu-primary-menu .lang-default-en::before,
    #menu-primary-menu .languages .lang-en::after {
        display: none;
    }
    #menu-primary-menu .languages .lang-en::before,
    #menu-primary-menu .languages .lang-fr::before,
    #menu-primary-menu .languages .lang-it::before {
        margin-right: 1.5rem !important;
    }
    #menu-primary-menu .languages .lang-en,
    #menu-primary-menu .dropdown-menu li.li-active a.customoff {
        color: rgb(var(--bs-primary-rgb)) !important;
    }
    #menu-primary-menu .languages li a {
        -webkit-box-align: center !important;
        -ms-flex-align: center !important;
        align-items: center !important;
        display: -webkit-box !important;
        display: -ms-flexbox !important;
        display: flex !important;
    }
    #menu-primary-menu .subtitle {
        font-size: 1rem;
    }
    .mobile-nav #menu-primary-menu {
        background-color: #fff;
        padding-bottom: 2rem;
    }
    #menu-primary-menu div {
        font-size: 1.125rem !important;
    }
    #menu-primary-menu #search-icon {
        display: none;
    }
    #menu-primary-menu .get-started {
        padding: 0.5rem 0;
    }
    #menu-primary-menu li {
        position: unset !important;
    }
    #menu-primary-menu .dropdown-menu {
        position: absolute !important;
        top: 0 !important;
        min-height: 100%;
        padding: 2rem;
        padding-top: 0;
        border: 0;
        box-shadow: unset !important;
        width: 100%;
        margin-top: 0;
    }
    #menu-primary-menu .dropdown-menu li {
        position: relative !important;
        font-size: 1.125rem;
    }
    #menu-primary-menu li.menu-item-has-children a::after {
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        content: "\f061";
        font-size: 0.8rem;
        padding-left: 1rem;
        color: var(--bs-nav-link-color) !important;
        top: -0.1rem;
        position: relative;
    }
    #menu-primary-menu li.menu-item-has-children.li-active a::after {
        color: rgb(var(--bs-primary-rgb)) !important;
    }
    #menu-primary-menu .dropdown-menu li a::after {
        /* content: "\e802";
        font-family: "austabilityfont";
        font-size: 1rem;
        position: absolute;
        top: 0.5rem;
        right: 0;
        color: rgb(var(--bs-primary-rgb)) !important; */
    }
    #navbar-main [aria-expanded="true"] {
        color: rgb(var(--bs-primary-rgb)) !important;
    }
    #menu-primary-menu li.menu-item-has-children .menu-nav-header a::after {
        display: none;
    }
    #menu-primary-menu li.menu-item-has-children .menu-nav-header a {
        cursor: pointer;
    }
    #menu-primary-menu .search .form-control {
        border: 0;
        border-bottom: 1px solid var(--bs-gray-900);
        border-radius: 0;
    }
    #menu-primary-menu .search .btn {
        background: transparent !important;
        color: var(--bs-nav-link-color);
        border: 0 !important;
        border-bottom: 1px solid var(--bs-gray-900) !important;
        border-radius: 0 !important;
    }
    #menu-primary-menu .search .form-control:focus,
    #menu-primary-menu .search .btn,
    #menu-primary-menu .search .btn:focus .navbar-toggler,
    .navbar-toggler:focus {
        box-shadow: none !important;
    }
    #menu-primary-menu .nav-item.languages {
        order: 1;
    }
    #menu-primary-menu .nav-item.get-started {
        order: 2;
    }
    #menu-primary-menu .nav-item.search {
        order: 3;
    }
}