/****************************************/
/****************************************/
/** Australian Institute of Project Management **/
/*
 * 
 *  Author: CAUSEIS PTY LTD 
 * 
 *  Version: 1 - 
 *
 * 
 *  Document contains changes to Sticky NAV
 *
 *
*/
/****************************************/
/****************************************/
/****************************************/
/*** Desktop Nav ***/
/****************************************/
@media (min-width: 1025px) {
    header#hd {
        position: fixed;
        width: 100%;
        z-index: 100;
        top: 0 !important;
    }

    header#hd.prepresticky {
        padding-top: 0;
        padding-bottom: 0;
        background: #fff;
        box-shadow: 0 0 12px -2px rgb(0 0 0 / 15%);
    }

    header#hd.prepresticky.navy {
        background: #fff;
    }

    header#hd.prepresticky > div > .header-top-container > div > div > div {
        display: flex;
        align-items: center;
    }

    header#hd.prepresticky > div > .header-top-container > div > div > div >div:nth-of-type(1) ul.NavigationUnorderedList > li > a {
        color: #080f40;
    }
    header#hd.prepresticky > div > .header-top-container > div > div > div >div:nth-of-type(1) ul.NavigationUnorderedList > li.search > a:before {
        filter: none;
    }

    header#hd.prepresticky > div > .header-top-container > div > div > div >div:nth-of-type(1) ul.NavigationUnorderedList > li {
        border-color: #080f40;
    }
    header#hd.prepresticky > div > .header-top-container > div > div > div >div:nth-of-type(1) .UtilityAuthentication > a {
        color: #080f40
    }

    header#hd.prepresticky > div > .header-top-container > div > div > div >div:nth-of-type(1) {
        margin-bottom: 0;
    }

    header#hd.prepresticky > div > .header-bottom-container #ste_container_ciPrimaryNavigation ul.rmHorizontal.rmRootGroup > li.rmItem > a.rmLink {
        color: #080f40;
    }

    header#hd.prepresticky > div > .header-bottom-container > div > #masterLogoArea a#masterHeaderImage > span:nth-of-type(1) {
        max-height: 0;
    }

    header#hd.prepresticky > div > .header-bottom-container > div > #masterLogoArea a#masterHeaderImage > span:nth-of-type(2) {
        top: 0;
        margin: 0;
    }

    header#hd.prepresticky > div > .header-top-container > div > div > div >div:nth-of-type(2) ul.NavigationUnorderedList > li.Secondary > a {
        color: #080f40;
    }

    header#hd.prepresticky > div > .header-bottom-container > div > #masterLogoArea a#masterHeaderImage > span:nth-of-type(2) > img {
        filter: none;
    }

    header#hd.prepresticky > div > .header-bottom-container > div > div:nth-of-type(2) {
        padding-top: 20px;
    padding-bottom: 10px;
    }

    header#hd.prepresticky > div > .header-top-container {
        display: flex;
        align-items: center;
    }

    header#hd.prepresticky > div > .header-bottom-container > div > #masterLogoArea {
        top: 2rem;
}

    header#hd.prepresticky > div > .header-top-container > div > div > div >div:nth-of-type(1) ul.NavigationUnorderedList > li.nav-aux-account > a > span:before {
    background-image: url(/App_Themes/AIPM-Member-Responsive/images/SVG/icon-user-navy.svg);
    }
    header#hd.prepresticky > div > .header-top-container > div > div > div >div:nth-of-type(1) ul.NavigationUnorderedList > li.nav-aux-account > a > span:after {
    background-image: url(/App_Themes/AIPM-Member-Responsive/images/SVG/icon-chevron-down-navy.svg);
    }
}

@media (max-width: 1024px) {
    header#hd.prepresticky {
        background: #080f40;
    }
}

@media (max-width: 1244px) and (min-width: 1025px) {
    header#hd.prepresticky > div > .header-top-container > div > div > div {
        flex-direction: column;
        align-items: flex-end;
        padding-bottom: .5rem;
        
    }

    header#hd.prepresticky > div > .header-top-container > div > div > div >div:nth-of-type(1) {
        padding: .5rem 0;
    }

   
}