/****************************************/
/****************************************/
/** Company **/
/*
 * 
 *  Author: CAUSEIS PTY LTD
 * 
 *  Version: 1 - 
 *
 * 
 *  Document contains changes to Sticky NAV
 *
 *
*/
/****************************************/
/****************************************/
@media (min-width: 1025px) {
    header#hd {
        position: fixed;
        width: 100%;
        z-index: 100;
        transition: opacity 0.6s ease-in-out, top 0.6s ease-in-out;
        top: 0;
    }

    header#hd.prepresticky.presticky.sticky .header-bottom-container {
        /* margin-top: -5.6rem; */
        padding: 0;
        transition: 0.4s opacity ease-in-out, 0.4s 0.4s margin-top ease-in-out;
        opacity: 1;
    }

    header#hd .header-bottom-container {
        margin-top: 0rem;
        transition: 0.4s opacity ease-in-out, 0.4s 0.4s margin-top ease-in-out;
    }

    header#hd.prepresticky {
    }

    header#hd.prepresticky a.rmLink.rmRootLink + .rmSlide {
        top: 9rem !important;
        transition: opacity 0.5s ease-in-out, top 0.4s ease-in-out !important;
        opacity: 0;
    }

    header#hd.prepresticky a.rmLink.rmLink.rmExpanded + .rmSlide {
        top: 7rem !important;
        opacity: 1;
    }

    header#hd.prepresticky {
        position: fixed;
    }

    header#hd.prepresticky.presticky.sticky {
        top: 0;
        opacity: 1;
    }

    header#hd.prepresticky.presticky {
        /* opacity: 1; */
    }

    header#hd.presticky> .pre-header {
        display: none;
    }

    header#hd.prepresticky ~ div#masterContentArea {
        transition: 0.4s margin-top ease-in-out;
    }

    header#hd.prepresticky.presticky .header-bottom-container div.primary-navigation-area >.navbar-collapse {
        width: 100%;
        padding: 5rem 0;
        transition: 0.8s padding ease-in-out;
    }

    header#hd.prepresticky.presticky.sticky .header-bottom-container div.primary-navigation-area >.navbar-collapse {
        width: 100%;
        padding: 1rem 0;
    }

    header#hd.prepresticky.presticky .header-bottom-container li.rmItem > a.rmLink.home.icon > span {
        transition: 0.8s height ease-in-out, 0.8s width ease-in-out;
    }

    header#hd.prepresticky.presticky.sticky .header-bottom-container li.rmItem > a.rmLink.home.icon > span {
        height: 5rem;
        width: 16rem;
    }
    
    header#hd.prepresticky.presticky.sticky .header-bottom-container div#ste_container_ciPrimaryNavigation {
        padding: 0;
    }
}