/* ======== 1. Start Menu Styling [Theme Setup Steps - Customise Styles per Theme Design] =========== */
.nav-standard__link-item {
  background: transparent !important;
}

@media screen and (max-width: 960px) {
    .nav-standard__parent-wrapper {
        width: 100%;
        position:relative;
    }
}


.nav-standard__list-item {
  list-style-type: none;
  position: relative;
  overflow: hidden;
}
.nav-standard__list-item.menu__item--open {
  overflow: visible;
}

.nav-standard__link-item {
    /* These styles are optional */
    border: 1px solid red;
    border: none;
    background-color: var(--global-nav-background);

    /* These sizes ensure the link size is minimum 48 x 48px, required for accessibility size standards */
    width: 100%;
    line-height: 24px;
    padding: 12px 8px;
}

.menu-standard__bg-colour--invert .nav-standard__link-item {
    background-color: var(--global-nav-background--invert);
    color: var(--global-nav-background-text-color--invert);
}



/* .nav-standard__link-item:hover {
    text-decoration: underline;
} */
li.nav-standard__list-item svg.redline{
  position: absolute;
  top: 10px;
  width: 70px;
	pointer-events: none;
}
li.nav-standard__list-item.submenu__list-item svg.redline{
  top: 0px;
  width: 50px;
}
li.nav-standard__list-item svg.redline path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
}
li.nav-standard__list-item:hover > svg.redline > path {
  animation: dash .75s linear forwards;
}
@keyframes dash {
  to {
    stroke-dashoffset: 0;
  }
}
.nav-standard__list-wrapper {
    margin-top: 0;
    margin-bottom: 0;
}
a.nav-standard__link-item{
  text-decoration: none;  
  font-style: normal;
  font-size: 18px;
  font-weight: bold;
  text-transform: lowercase;
  padding: 20px;
}

@media screen and (max-width: 1080px) {
  a.nav-standard__link-item{
    font-size: 14px;
    padding:20px 16px;
  }
}

/*a.nav-standard__link-item:hover, li.submenu__list-item a.nav-standard__link-item:hover{
    color: inherit !important;
}* /
.menu--full-height {
  padding-top: 30px;
}
/*.header-partials__inner-wrapper div.menu-standard__outer-wrapper{
  margin-right: auto;
}*/
ul.nav-standard__submenu-list-wrapper {
  background-color: var(--white);
  padding: 20px;
}

li.submenu__list-item a.nav-standard__link-item{
  font-size: 16px;  
  font-weight: 400;
  padding: 3px 8px;
  transition: all .5s ease;
  max-width: 100%;
  width: 100%;
  text-transform: inherit;
  color: #262626;  
  white-space: nowrap;
}
.nav-standard__button,
.nav-standard__search-button,
.nav-standard__submenu-button {
    background: unset;
    background: none;
    padding: unset;
    margin: unset;
    color: inherit;
    border: none;
    width: 48px;
    height: 48px;
    text-align: center;

    /* Hamburger button positioning */
    margin-left: auto;
    justify-content: flex-start;
}
.nav-standard__button{
  margin-left: auto;
  justify-content: flex-end;
  display: flex;
}
.nav-standard__submenu-button {
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-standard__submenu-icon-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.nav-standard__submenu-list-wrapper {
    padding: 0;
    font-weight: bold;
    padding-left: 0;
}

.submenu__list-item {
    margin-top: 0;
}

.nav-standard__submenu-list-wrapper .nav-standard__submenu-list-wrapper {
    font-weight: normal;
    padding-left: 0;
}

.nav-standard__list-wrapper {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.menu-standard__content-wrapper {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.menu-standard__scroll-progress-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: transparent;
    z-index: 1000;
}

/* Theme Update */
.menu-standard__scroll-progress-bar {
    width: 0%;
    height: 0;
    background-color: var(--global-scroll-progress-bar);
}

.menu-standard__bg-colour--invert .menu-standard__scroll-progress-bar {
    background-color: var(--global-scroll-progress-bar--invert);
}

.nav-standard__search-list-item {
    color: var(--grey-800);
}

@media screen and (max-width: 960px) {
   [data-menu="level-1"] svg.redline{
      width: 57px;
      height: 40px;
      position: absolute;
      left: 10px;
    }
  
   [data-menu="level-1"]:hover svg.redline{
     display: initial;
     stroke-dasharray: 1000;
     stroke-dashoffset: 1000;
     animation: dash 1s linear alternate forwards;
     animation-delay: 0s;
     animation-delay: 1s;
    }
     ul.nav-standard__submenu-list-wrapper li.nav-standard__list-item.submenu__list-item:hover [data-menu="level-1"]:hover svg.redline{
      display: initial;
    }
    ul.nav-standard__submenu-list-wrapper li.nav-standard__list-item.submenu__list-item svg.redline{
      display:none
    }
      /* On mobile place the search field at the top of the list using flex order */
    .nav-standard__list-item {
        order: 2;
    }

    .nav-standard__search-list-item {
        order: 1;
    }


    .nav-standard__list-wrapper {
        min-height: 80vh;
        justify-content: flex-start;
        margin: 40px 0;
    }
}

/* ======== 1. END Menu Styling =========== */

/* 2. Search Styling */
.nav-standard__search-wrapper,
.nav-standard__search-input,
.nav-standard__search-form {
    height: 100%;
    width: 100%;
}

.nav-standard__search-results-wrapper {
    display: none;
    border: 1px solid var(--grey-300);
    background-color: var(--grey-000);
    padding: 16px 32px;
    box-shadow: var(--shadow-medium);
    list-style-type: disc;
}

@media screen and (max-width: 960px) {
    .nav-standard__search-results-wrapper {
        display: none;
    }
}

.nav-standard__search-results-title {
    font-weight: bold;
    list-style-type: none;
    padding: 4px 8px;
    display: block;
}

.nav-standard__search-results-item-link {
    display: block;
    padding: 4px 8px;
}

.nav-standard__search-results-item-link:hover {
    background-color: var(--secondary-100);
    width: fit-content;
}

.nav-standard__search-button {
    justify-content: center;
}
.nav-standard__search-button {
  display: none;
}
.nav-standard__list-item {
  padding: 0 8px;
}

@media screen and (min-width: 960px) {

    /* Theme Setup: Customise where search input sits */
    .nav-standard__search-list-item {
        display: flex;
        flex-direction: row;
        right: 24px;
        top: 24px;
        top: 72px;
        position: absolute;
        z-index: 55;
        height: 50px;
        width: 618px;
        margin-top: 8px;
    }

    .nav-standard__search-wrapper--hidden,
    .nav-standard__search-icon--hidden,
    .nav-standard__search-x--hidden {
        display: none;
    }
}
@media screen and (max-width:1200px){
  .nav-standard__img-wrapper img{
    max-width: 110px;
  }
}
@media screen and (max-width: 960px) {

    .nav-standard__search-button {
        display: none;
    }

    .nav-standard__search-wrapper {
        height: 50px;
    }

    .nav-standard__search-input {
        width: 100%;
    }
}

/* 2. END Search Styling */

/* ======== 3. Start Menu Open/Close Behaviour ============ */

@media screen and (min-width: 960px) {
    .submenu__flyout-list {
        position: absolute;
        left: 100%;
        top: 0;
    }

    .nav-standard__submenu-list-wrapper {
        opacity: 0;
        position: absolute;
        z-index: -1;
        -webkit-transition: opacity .4s;
    }

    .submenu__last-list-submenu>.nav-standard__submenu-list-wrapper {
        right: 0;
      
    }
    .nav-standard__submenu-list-wrapper:before {
      content: "";
      width: 100%;
      height: 64px;
      display: block;
      position: absolute;
      top: -64px;
      left: 0;
    }

    .menu__item--open>.nav-standard__submenu-list-wrapper {
        opacity: 1;
        z-index: 60;
    }

    .nav-standard__list-wrapper {
        display: flex;
        flex-direction: row;
    }

    .nav-standard__button {
        display: none;
    }

    .nav-standard__submenu-button {
        display: none;
    }

    .nav-standard-submenu__link-item-icon {
        display: none;
    }

    .nav-standard__link-item-icon {
        display: none;
    }
}

@media screen and (max-width: 960px) {

    .menu--full-height {
      padding: 0;
    }
     .feather-menu{
      stroke: var(--white);
    }

    .content-wrapper.header-partials__inner-wrapper{
      padding-top: 30px;
      padding-bottom: 30px;
      background: #182d4c;
     /* margin: 0 auto !important; */
      max-width: 1247px !important;
    }
    /*
    .header-partials__inner-wrapper {
      margin-top: 20px;
      margin-bottom: 20px;
    }
    */
    .nav-standard__submenu-toggle--status > .nav-standard-submenu__list-wrapper--hidden {
      background: var(--white);
      font-size: 16px;      
      font-weight: 400;
      transition: all .5s ease;
  
    }
   .nav-standard__submenu-toggle--status > .nav-standard-submenu__list-wrapper--hidden a {
       color: #262626;
    }

    /* Hide the desktop specific submenu icon, reveal mobile icon */
    .nav-standard__submenu-chevron {
        display: none;
    }

    .nav-standard__submenu-button>.nav-standard__submenu-chevron {
        display: block;
    }

    .nav-standard__list-wrapper--hidden {
        display: none;
    }

    .nav-standard-submenu__list-wrapper--hidden {
        display: none;
    }

    .nav-standard__submenu-toggle--status>.nav-standard-submenu__list-wrapper--hidden {
        /*display: block;*/
      transition: none;
    }

    .nav-standard__submenu-toggle--status>span>.nav-standard__submenu-button {
        transform: rotate(180deg);
    }

    .nav-standard__button-x--hidden {
        display: none;
    }
  .nav-standard__button-x {
    position: absolute;
    z-index: 101;
    right: 0;
    opacity: 0;
  }
  .nav-standard__button-hamburger svg line {
    transition: all .5s ease-in-out;
  }
  .nav-standard__button-hamburger--hidden.nav-standard__button-hamburger svg line:nth-child(1) {
    opacity: 0;
  }
  .nav-standard__button-hamburger--hidden.nav-standard__button-hamburger svg line:nth-child(2) {
    transform: translate(6px,0px) rotate(45deg);
  }
  .nav-standard__button-hamburger--hidden.nav-standard__button-hamburger svg line:nth-child(3) {
    transform: translate(-11px,8px) rotate(-45deg);
  }
  .nav-standard__search-wrapper {
    display: none;
  }
  a.nav-standard__link-item {
    padding: 10px 15px;
    font-size: 16px;
    line-height: 1;
  }
  .nav-standard__button-hamburger--hidden {
    z-index: 100;
    position: relative;
}
  ul.nav-standard__list-wrapper.js-nav-standard__list-wrapper {
    background: #182d4c;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background: #182d4c;
    z-index: 99;
    display: flex;
    justify-content: left;
    transition: left ease 1s;
    padding-top: 107px;
    padding-bottom: 20px;
    height: 100%;
    overflow: auto;
    margin: 0;
    line-height: 1;
  }
  ul.nav-standard__list-wrapper.js-nav-standard__list-wrapper.nav-standard__list-wrapper--hidden {
    left: -100%;
  }
  
  .nav-standard__list-item {
    border-bottom: 1px solid #05162e !important;
    padding: 0;
  }
  .nav-standard__list-item::fist-child{
    border-bottom: 0px solid #05162e !important;
  }
  li.nav-standard__list-item.submenu__list-item{
    border-bottom: 0px solid #05162e !important;
  }
  .nav-standard__submenu-button svg {
    stroke: var(--white);
  }
  .nav-standard__button, .nav-standard__search-button, .nav-standard__submenu-button {
    height: 44px;
    min-height: 44px;
  }
  li.nav-standard__list-item.submenu__list-item {
    border: none;
    padding-bottom: 10px;
  }
  ul.nav-standard__submenu-list-wrapper {
    padding: 27px 20px;
  }
}
@media screen and (max-width:768px){
  
  }

/* ======== End Menu Open/Close Behaviour ============ */