
#nzsd-header .nzsd-burger {
    display: none;
    background: transparent;
    border: 0;
    width: 40px; height: 40px;
    padding: 0;
}
#nzsd-header .nzsd-shadow {
    box-shadow: 0 6px 24px rgba(0,0,0,.12);
}
#nzsd-header .nzsd-brand img {
    display: block;
    max-height: 36px;
    width: auto;
}
#nzsd-header .nzsd-nav ul {
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    list-style: none;
}
#nzsd-header .nzsd-nav span a {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
    line-height: 1;
    padding: 0px 12px;
    position: relative;
    white-space: nowrap;
}

#nzsd-header .nzsd-nav a:hover::after { 
    opacity: .8; transform: scaleX(1); 
}

#nzsd-header .nzsd-cta .btn {
    margin: 0 0 0 !important;
}
.navbar-toggler {
    justify-self: end; 
}
.navbar-toggler-icon {
    display:inline-flex !important;
    text-align:center;
    align-items:center;
    justify-content:center;

}
#nzsd-header .nzsd-shell {
    height: 68px;
    border-radius: 14px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    padding: 0 16px;
}
#nzsd-header {
    left: 0;
    right: 0;
    z-index: 1030;
    padding-left: 8px;
    padding-right: 8px;
}
#nzsd-header .nzsd-burger span {
    display: block; height: 2px; margin: 7px 0;
    width: 22px;
}
#nzsd-header .nzsd-cta.mobile-only {
    display: none;
}
.nzsd-nav-mobile {
    display: none;
}

#navbarSupportedContent.collapse:not(.show) {
    display: block !important;
}
.dropdown-toggle-mobile {
    display: none !important;
}
.dropdown-item-mobile {
    display: none !important;   
}
@media (min-width: 991px) {
    #nzsd-header .nzsd-nav a::after {
        content: "";
        position: absolute;
        left: 0; right: 0; bottom: -6px;
        height: 2px;
        background: currentColor;
        opacity: 0; transform: scaleX(.4);
        transition: opacity .2s ease, transform .2s ease;
    }
    .dropdown-item {
        padding: 10px 12px !important;
    }
    .nzsd-nav .dropdown-menu:not(.show) {
        opacity: 0;
        transform: translateY(-10px) scale(.95);
        visibility: hidden;
        pointer-events: none;
        transition:
        opacity .18s ease,
        transform .18s ease,
        visibility 0s .18s;
        margin-top: 1em;
    }
    .nzsd-nav .dropdown.show > .dropdown-menu,
    .nzsd-nav .dropdown-menu.show {
        opacity: 1;
        transform: translateY(0) scale(1);
        visibility: visible;
        pointer-events: auto;
        transition:
        opacity .18s ease,
        transform .18s ease,
        visibility 0s;
        margin-top: 1em;
    }

    .nzsd-nav .dropdown .fa-caret-down {
        transition: transform .18s ease;
    }
    .nzsd-nav .dropdown.show .fa-caret-down {
        transform: rotate(180deg);
    }
}
@media (max-width: 991px) {
    .dropdown-toggle-mobile {
        display: block !important;   
        padding : 0 12px !important;
    }
    .mobile-sublink {
        font-weight: 300 !important;
    }
    .dropdown-item-mobile {
        display: block !important;   
    }
    .dropdown-toggle {
        display: none !important;   
    }
    .dropdown-item {
        display: none !important;   
    }
    #nzsd-header .nzsd-burger { 
        display: block;
    }
    #nzsd-header .nzsd-shell { 
        max-height: 58px;
    }
    .navbar-collapse ul {
        flex-direction: column;
        gap: 0;
        align-items: flex-start;
        padding: 20px;
    }
    .navbar-collapse {
        top: 0px;
        position: fixed;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: white;
        z-index: 9999;
        overflow-y: hidden;
    }
    #nzsd-header .nzsd-cta { 
        display: none;
    }
    #nzsd-header .nzsd-cta.mobile-only {
        display: block;
        position: absolute;
        bottom: 0px;
        width:100%;
        padding: 20px;
        text-align:center;
        align-items:center;
        justify-content:center;
        border-top: 1px solid rgba(0,0,0,.1);
    }
    #nzsd-header .nzsd-cta.mobile-only .btn {
        width: 80%;
    }
    .nzsd-nav-mobile .nzsd-burger i{
        top: 20px;
        right: 20px;
        font-size: 24px;
        color: var(--nzsd_black);
        cursor: pointer;
    }
    .nzsd-nav-mobile {
        width: 100%;
        padding: 24px 24px;
        height: 100px;
        display: flex;
        gap: auto;
        align-items: center;
        justify-content: center;
        border-bottom: 1px solid rgba(0,0,0,.1);
        
    }
    .nzsd-nav-mobile img {
        max-height: 60px;
        width: auto;
    }

    #navbarSupportedContent.collapsing {
        transition: all 0.6s ease-in-out;
    }
    
    #navbarSupportedContent.collapse:not(.show) {
        display: none !important;
    }
    #navbarSupportedContent.collapsing.closing  {
        /* Subtract height of nzsd-nav-mobile + it's vertical margin */
        transform : translateY(-100%);
    }

    #navbarSupportedContent.collapse.show {
        transform: translateY(0);
        opacity: 1;
    }
    .nav-scroll {
        display: flex;
        flex-direction: column;
        max-height: calc(100vh - 185px);
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        padding-top: 300px !important;
    }
    #nzsd-header .nzsd-nav ul {
        display: flex !important;
        gap: 0;
    }
    .nav-scroll .nav-item {
        padding-top: 7px !important;
        padding-bottom: 7px !important;
    }
}

.nzsd-toolbar {
    height: 30px;
    left: 0px;
    align-items: center;
    position:fixed;
    width:100%;
    top: 0px;
    z-index: 9999;
}

.header-currency-wrap {
    position: relative;
    display: inline-block;
}

.header-currency {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background: transparent;
    border: none;
    padding: 0.25rem 0.25rem 0.25rem 0.25rem;

    min-width: 4rem;

    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.03em;

    cursor: pointer;

    line-height: 1.2;

    background-repeat: no-repeat;
    background-position: right 0.25rem center;
    background-size: 12px 8px;
}

.header-currency:hover,
.header-currency:focus {
    outline: none;
    opacity: 0.85;
}

