/****************************************/
/****************************************/
/** Recruitment, Consulting and Staffing Association **/
/* * *  Author: CAUSEIS PTY LTD - * *  Version: 1 - * * *  Document contains changes to Sticky NAV * * */
/****************************************/
/****************************************/
/****************************************/
/*** Desktop Nav ***/
/****************************************/
@media (min-width: 768px) {
    header#hd.prepresticky * {
         transition: all 0.3s cubic-bezier(0.46, 0.03, 0.52, 0.96);
    }

    header#hd>.header-bottom-container div#navbar-collapse .rmLink + .rmSlide {
        margin-top: 0;
        top: 0 !important;
    }

    header#hd.presticky>.header-top-container>.header-container {
        /* padding: 1.5rem 1.5rem; */
    }

    header#hd.prepresticky>.header-bottom-container>div>div>div>div:nth-of-type(2)>div:nth-of-type(1) ul.rmRootGroup>li.rmFirst>a.rmLink>span {
        max-width: 13rem;
        height: 3.5rem;
        transition: all 0.3s cubic-bezier(0.46, 0.03, 0.52, 0.96);
    }

    header#hd {
        transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        position: fixed;
    }

    header#hd.prepresticky .header-bottom-container {
        top: -10rem;
    }

    header#hd.sticky .header-bottom-container {
        top: 0;
    }

    header#hd .header-bottom-container {
        transition: all 0.6s 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        top: 0;
    }

    header#hd.prepresticky>.header-bottom-container div#navbar-collapse .rmLink.rmExpanded + .rmSlide {
        max-height: 0;
    }

    header#hd.sticky>.header-bottom-container div#navbar-collapse .rmLink.rmExpanded + .rmSlide {
        max-height: 108rem;
        top: -60px !important;
    }

    header#hd.prepresticky {
        top: 0 !important;
    }

    header#hd.prepresticky .header-top-container {
        margin-top: -5.6rem;
    }

    header#hd .header-top-container {
        margin-top: 0;
    }header#hd.presticky>.header-top-container>.header-container {
}

header#hd.presticky>.header-top-container>.header-container ul.rmRootGroup.rmToggleHandles.rmHorizontal>li.rmItem.rmFirst {
    padding: 1.5rem 0;
}

header#hd.presticky>.header-top-container>.header-container ul.rmRootGroup.rmToggleHandles.rmHorizontal>li.rmItem.rmFirst>a.rmLink.home.icon>span {
    height: 4rem;
    width: 13rem;
}

header#hd.presticky>.header-top-container>.header-container .UtilitySection.UtilityNavigationToggle {
    min-height: 3rem;
    margin: 1.5rem 0;
}

header#hd.presticky>.header-top-container ul.rmRootGroup.rmToggleHandles.rmHorizontal>li.rmItem:not(.rmFirst)>a.rmLink {
}
}

/****************************************/
/*** Mobile Nav ***/
/****************************************/
@media (max-width: 767px) {

         header#hd {
         top: 0px !important;
         }

}


#read-progress {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  height: 0.3rem;
  background-color: transparent;
  z-index: 100000000;
  position: fixed;
}
#read-progress>.read-progress-bar {
  height: 0.3rem;
  width: 0px;
  background-color: #3ab1e5;
  transition: width 0.2s ease-out;
}


@media (min-width: 768px) {
    .presticky .rmSlide {
        /**the height of the nav bar**/
        top: 7.5rem !important;
    }

   .presticky  .rmSlide ul.rmVertical.rmGroup.rmLevel1 {
        top: -7.5rem !important;
        opacity: 0;
        transition: opacity 0.5s ease-in-out, top 0.5s ease-in-out !important;
    }

  .presticky   .rmExpanded + .rmSlide ul.rmVertical.rmGroup.rmLevel1 {
        opacity: 1;
        top: 0px !important;
    }
}



