#header {
    height: 100px;
    width: 100%;
    background: #FFF;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 69px;
    font-weight: 700;
}

#header .container {
    position: relative;
}

#header .navbar-brand {
    padding-top: 2px;
    display: inline-block;
    width: 246px;
    transition: 0.3s ease;
}

#header div.vertical-divider {
    width: 2px;
    background: #989898;
    height: 44px;
}

#header li.nav-item a.nav-link {
    color: #737373;
}

#header .nav-item a.dropdown-item {
    font-size: 16px;
}

#header .dropdown-menu {
    padding-top: 0;
    padding-bottom: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

#header .nav-item .dropdown-item:last-child {
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

#header #notificationDropdownLink i.fa-bell {
    font-size: 28px;
}

#header #notificationDropdownLink {
    line-height: 0;
}

#notificationDropdown.dropdown-menu {
    text-align: left;
}

#header i.fa-bars:hover {
    color: #737373;
}

#header .user-nav-item i.fas {
    color: white;
}

#header a.dropdown-item i.fas {
    color: #19ACEE;
}

#userSidebar {
    background-color: white !important;
}

#header a.dropdown-toggle::after {
    content: none;
}

#header #userDropdownMenu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.5rem 0.5rem 1rem;
}

#header #userProfileBtn:hover {
    background-color: #0056b3;
}

/* :has is not supported by Firefox, so must exist in a separate selector to above */
#header #userProfileBtn:has(#userDropdownMenu.show) {
    background-color: #0056b3;
}


#header #userProfileBtn {
    background: #19acee;
    border-radius: 32px;
    margin-right: 24px;
}

#header #userDropdownMenu span {
    min-width: 34px;
    background-color: white;
    color: #19ACEE;
    border-radius: 32px;
    padding: 5px;
    margin-left: 15px;
    line-height: 23px;
    font-weight: bold;
    text-align: center;
}

#header #userDropdownMenu i.fa-user-circle {
    font-size: 28px;
    margin-left: -8px;
}

#actionsPanel .dropdown-item {
    text-align: left;
}

#header #userProfileBtn a.dropdown-item i.fas {
    width: 20px;
    text-align: center;
}

#header #myNavbarContainer {
    display: none;
}

#header .dropdown-menu {
    border: none;
}

#header li.nav-item a.dropdown-item:hover, #header div.nav-item a.dropdown-item:hover {
    color: white;
    background: #19ACEE;
    border-color: #19ACEE;
}

#header #userProfileBtn a.dropdown-item:hover i.fas {
    color: white;
}

#header #loginButton {
    color: white;
    border-radius: 4px;
    padding: 10px 10px;
    background: #19ACEE;
    font-weight: bold;
}

#header #loginButton:hover {
    background: #0056B3;
}

#header button.navbar-toggler {
    color: #838383;
}

#header li a.show.nav-link, #header li a.nav-link:hover {
    color: #19ACEE;
}

#sideNavBar, #myNavbar li.nav-item a.dropdown-toggle:after, #header a.hamburger-menu-item:after, #header .hamburger-menu-item a:after {
    border: unset;
}

#notificationDropdown {
    width: 400px;
    max-height: 60vh;
    overflow-y: scroll;
    margin-top: 34px!important;
    border-top: unset;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    box-shadow: unset;
}

.nav-item.upSellLink {
    background-color: #EB0E8C;
    border: unset;
    border-radius: 150px;
}

#header li.nav-item.upSellLink a.nav-link {
    color: white;
}

#header #sideNavBar .navbar-brand {
    width: 260px;
}

.btn-tenant-nz {
    font-family: Arial, Helvetica, sans-serif, Verdana, Geneva;
    background-color: #121619;
    border-color: #121619;
    color: white;
}

.btn-tenant-act,
.btn-tenant-vic {
    font-family: Arial, Helvetica, sans-serif, Verdana, Geneva;
    background-color: #3F2583;
    border-color: #3F2583;
    color: white;
}

.btn-tenant-act:hover,
.btn-tenant-vic:hover {
    background-color: #A23790;
    color: white;
}

.header-btn.btn-tenant-act:active,
.header-btn.btn-tenant-vic:active {
    background-color: #6d2d88;
    color: white;
}

.btn-tenant-sa {
    font-family: 'Lato', sans-serif, Helvetica, Verdana, Geneva, Arial, Helvetica, sans-serif;
    background-color: #D62D27;
    border-color: #D62D27;
    color: white;
}

.btn-tenant-sa:hover {
    background-color: #C74E4A;
    color: white;
}

.header-btn.btn-tenant-sa:active {
    background-color: #a81c17;
    color: white;
}

#header li.nav-item a:not(.dropdown-item) {
    font-size: 0.9rem;
}

@media (min-width: 1400px) {
    #header li.nav-item a:not(.dropdown-item) {
        font-size: 1rem;
    }
}

@media (min-width: 992px) {
    #header .dropdown-menu {
        box-shadow: 0 5px 5px rgb(0 0 0 / 15%);
    }

    .navbar-expand-lg .navbar-nav .nav-link {
        --bs-navbar-nav-link-padding-x: 0.8em;
    }

    #header .dropdown-menu {
        text-align: center;
    }

    #header .dropdown-menu {
        margin-top: 27px;
    }

    #header #userSidebar.dropdown-menu {
        margin-top: 25px;
    }

    .opportunityDropdownMenu + .dropdown-menu {
        transform: translateX(15px);
    }

    #helpDropdownMenu + .dropdown-menu {
        transform: translateX(45px);
    }
}

@media (max-width: 992px) {
    #sideNavBar .dropdown-menu {
        display: block;
        margin-top: 0;
        padding-top: 0;
    }
    #header #sideNavBar .dropdown-menu .dropdown-item {
        padding-left: 1em;
        font-weight: 700;
        color: #737373;
    }
    #header #sideNavBar .nav-item .dropdown-item:hover:hover {
        background: transparent;
        border-color: transparent;
        color: #19ACEE;
    }
    #header ul li:not(.upSellLink) a.nav-link {
        padding-left: 0;
        padding-bottom: 0;
    }

    .upSellLink .nav-link {
        padding-left: 1.2rem;
    }
}

@media (max-width: 1200px) {
    #header {
        padding: 0 20px;
    }

    #header #userProfileBtn {
        margin-right: 10px;
    }

    #header #myNavbar li.nav-item:last-child {
        margin-right: 1.75rem;
    }

    #header #userDropdownMenu i.fa-user-circle {
        margin-left: 14px;
    }

    #header #myNavbar li.nav-item {
        margin: 0 1.5em;
    }

}

@media (min-width: 1200px) {
    body {
        margin-top: -70px;
    }

    #header .navbar-brand {
        width: 260px;
    }

    #header #myNavbar ul:first-child li.nav-item a.dropdown-toggle {
        height: 100%;
        padding: 0;
    }

    #header #notificationDropdownLink {
        margin-left: 24px;
    }

    #header #userDropdownMenu i.fa-bars {
        display: block;
        font-size: 18px;
    }

    #header #userDropdownMenu i.fa-user-circle {
        margin-left: 22px;
    }

    #header #myNavbar li.nav-item {
        margin: 0 1.5em;
    }
}

/* Navigation Menu Styling for screen width narrower than 992 */
@media (max-width: 991px) {
    #header {
        padding: 0 40px;
    }

    #header .navbar-brand {
        width: 216px;
    }

    #header, #myNavbar ul:first-child li.nav-item a.dropdown-toggle {
        padding-bottom: 0;
    }

    #header div.hamburger-menu-item {
        margin: 10px 0px 0px 0px;
        display: inline-block;
        float: right;
    }

    #header button.navbar-toggler i.fas {
        font-size: 26px;
    }

    .navbar-toggler:focus {
        box-shadow: none;
    }

    #header a.hamburger-menu-item {
        margin-right: 1.5em;
    }

    #header #userDropdownMenu i.fa-user-circle {
        margin-left: 12px;
    }

    #header #userSidebarToggle i.fa-user-circle, #header #notificationDropdownLink i.fa-bell {
        font-size: 26px;
    }

    #header div.vertical-divider {
        height: 35px;
    }

    #myNavbar li.nav-item, #header div.nav-item div.dropdown-menu {
        margin: 0;
    }

    #myNavbar li.user-nav-item, #myNavbar #loginButton {
        display: none;
    }

    #myNavbar ul:first-child div.dropdown-menu {
        margin-top: 0;
    }

    #header div.login-btn #loginButton {
        font-weight: bold;
    }

    #notificationDropdown {
        margin-top: 42px!important;
    }
}

@media (min-width: 575px) {
    #notificationDropdownLink {
        margin-left: 10px;
    }
}

/* Navigation Menu Styling for screen width narrower than 576px */
@media (max-width: 575px) {
    #header {
        padding: 0 29px;
        height: 62px;
    }

    #userSidebarToggle {
        padding: 5px;
        line-height: 0;
    }

    #header .navbar-brand {
        width: 150px;
    }

    #header button.navbar-toggler i.fas {
        margin-top: 4px;
    }

    #header #actionsPanel div.dropdown-menu {
        padding: 18px 0 0 0;
    }

    #header #userDropdownMenu {
        padding: 3px 8px;
    }

    #header #notificationDropdownLink {
        margin-left: 5px;
    }

    #notificationDropdown {
        width: 300px;
        margin-left: 29px;
        margin-top: 10px!important;
        padding: 0 10px !important;
        font-size: 12px;
    }

    #notificationDropdown div {
        font-size: 12px;
    }

    #notificationDropdown h3 {
        font-size: 1.5em;
        margin-bottom: 0;
    }

    #header div.login-btn #loginButton {
        font-size: 10px;
        padding: 10px;
    }

    #header div.login-btn {
        margin-top: -5px
    }
}

@media (max-width: 388px) {
    #header .navbar-brand {
        width: 100px;
    }
}