.nav-wrapper {position: sticky; z-index: 99; width: 100%; top: 0; transition: transform 0.4s, background-color 0.4s, color 0.4s; color: #fff;background-color: #fff}



.nav-wrapper.nav-change { }
.nav-wrapper.nav-change.nav-move-down { transform: translateY(-100%) }
.nav-wrapper nav { height: 130px; z-index: 99; transition: height 0.4s 0s; }
.nav-wrapper.nav-change nav { height: 80px; transition: height 0.4s 0.5s; }
.nav-container { display: flex; height: 100%; /* padding-left: 10em;padding-right: 10em;  */ position: relative;justify-content: space-between}

  /* Spacer */
  .nav-spacer { height: 130px; }
  .logo { display: flex; align-items: center;width: 140px;  margin-left:calc(4vw + 40px);}
  .container-outer { padding-left:calc(4vw + 40px);padding-right:calc(4vw + 40px);}

  .logo img, .logo a, 
  .logo svg, .logo img { display: block; width: 140px; overflow: hidden }

  .logo path {transition: fill 0.4s}


  .navigation { list-style: none; padding: 0;margin: 0; margin-right:calc(4vw + 40px); margin-left:40px; display: flex; align-items: center; z-index: 5; width: 100%;}
  .navigation > li { line-height: 1.3; display: inline-block; /* position: relative; */ display: flex; align-items: center; height: 100%; padding: 0 15px }
  .navigation > li > a {font-family: AeonikProMedium;  position: relative; display: inline-block; text-decoration: none; color: inherit;font-size: 16px; padding: 12px 0; display: flex; height: 100%; align-items: center; text-transform: uppercase;}
  


  .navigation > li.menu-item-has-children > a {cursor:default;}
  .navigation > li:last-child > a { padding-right: 0; }
  .navigation > li.current-menu-item > a { color: #8854FC }
  .navigation > li:hover {z-index: 2}
  .navigation > li:hover > a {}
  .navigation > li.current-menu-parent > a { color: red; cursor: default }
  
  @media (min-width: 992px) {

    .navigation > li.menu-item-has-children > a:after { content: ''; display: inline-block; width: 10px; height: 6px;
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E %3Cpath id='Path_139' data-name='Path 139' d='M5%2C0l5%2C6H0Z' transform='translate(10 6) rotate(180)'/%3E %3C/svg%3E ");
background-size: 10px 6px; background-repeat: no-repeat; margin-left: 6px; transition: all 0.3s; position: relative; top: -1px }
    .navigation > li.menu-item-has-children.menu-hovered > a:after { transform: rotate(180deg) }
    .navigation > li.menu-item-has-children > a:before {content: ''; position: absolute; z-index: 9; height: 5px; background-color: #000; width: 0; bottom: -3px; transition: width 0.4s }
    .navigation > li.menu-item-has-children.menu-hovered > a:before { width: 100%; }
    
    .navigation > li.menu-item-has-children > ul, 
    .nav-move-down .navigation > li.menu-item-has-children > ul {padding: 0;padding-left:calc(4vw + 40px); border-top:1px solid #eee; left: 0; right: 0; margin: 0; list-style: none; position: absolute; top: 100%; width: 100%; left: 0; right: 0; transition: transform 0.4s, opacity 0.4s; background-color: #fff; /* transform: rotateX(-30deg); */ transform-origin: 0% 0%; backface-visibility: hidden; pointer-events: none; opacity: 0;/*padding-bottom: calc(4vw + 20px);padding-top: calc(4vw + 20px)*/}
    .navigation > li.menu-item-has-children.menu-hovered > ul { perspective:1000px; transition: all 0.4s; /* transform: rotateX(0); */ pointer-events: visible; opacity: 1; }
    
    .navigation > li:not(.menu-item-has-children) > a{ height: auto }
    .navigation > li:not(.menu-item-has-children) > a:hover {}
    .navigation > li:not(.menu-item-has-children) > a:before {content: ''; position: absolute; z-index: 9; height: 5px; background-color: #000; width: 0; bottom: 6px; transition: width 0.4s }
    .navigation > li:not(.menu-item-has-children) > a:hover:before { width: 100%; }



    .navigation > li.menu-item-has-children > ul:before { content: ''; background-color: transparent; position: absolute; top: -50px; left: 0; right: 0; height: 50px; }
    .nav-change .navigation > li.menu-item-has-children > ul:before {top: -30px; height: 30px; }
    .nav-change .navigation > li.menu-item-has-children > ul { /* top: 100px; */ }
    .nav-change.nav-move-down .navigation > li.menu-item-has-children > ul { transform-origin: 0% 0%; backface-visibility: hidden; pointer-events: none; }
  
    .navigation > li.menu-item-has-children > ul > li {
      opacity: 0;
        transition: opacity 0.4s 0s;
        transition-delay: 0s;
    }
    .navigation > li.menu-item-has-children.menu-hovered > ul > li {
        opacity: 1;
        transition: opacity 0.8s ease;
        transition-delay: 0s;
    }

    .navigation > li.menu-item-has-children.menu-hovered > ul > li:nth-child(1) {
        transition-delay: 0.05s;
    }
    .navigation > li.menu-item-has-children.menu-hovered > ul > li:nth-child(2) {
        transition-delay: 0.1s;
    }
    .navigation > li.menu-item-has-children.menu-hovered > ul > li:nth-child(3) {
        transition-delay: 0.15s;
    }
    .navigation > li.menu-item-has-children.menu-hovered > ul > li:nth-child(4) {
        transition-delay: 0.2s;
    }

     .navigation > li.menu-item-has-children.menu-hovered > ul > li:nth-child(5) {
        transition-delay: 0.25s;
    }

   .navigation > li.menu-item-has-children.menu-hovered > ul > li:nth-child(6) {
          transition-delay: 0.3s;
      }

   .navigation > li.menu-item-has-children.menu-hovered > ul > li:nth-child(7) {
          transition-delay: 0.35s;
      }

   .navigation > li.menu-item-has-children.menu-hovered > ul > li:nth-child(8) {
          transition-delay: 0.4s;
      }




    .navigation > li.menu-item-has-children > ul > li > a:not(:first-child) span { margin-top: 40px; }

    .navigation > li.menu-item-has-children > ul > li > a {padding-top:calc(2vw + 20px);padding-bottom:calc(2vw + 20px);padding-right:calc(1vw + 15px);}
    .navigation > li.menu-item-has-children > ul > li > div > a {padding-top:calc(2vw + 20px);padding-bottom:calc(2vw + 20px);padding-left:calc(2vw + 20px);display: block;}

    .nav-cta {background-color: #F2F2F2}
    .nav-cta-left {max-width: calc(7vw + 150px)}


  }




  .navigation > li.menu-item-has-children > ul > li > a { text-decoration: none; display: block; width: 100%;}

  .navigation > li.menu-item-has-children > ul > li span { display: block; color: #000; list-style: none; font-weight: 500; font-size: 17px; padding: 10px 0;line-height: 1.2 }
  .navigation > li.menu-item-has-children > ul > li a:hover span {text-decoration: underline;}

  .navigation > li.menu-item-has-children > ul > li > a span.small {font-size: 16px; font-size: 20px; font-weight: 500; margin-top: 15px !important; }
  
  .navigation > li.menu-item-has-children > ul > li > a:hover { /* color: red */ }
  .navigation > li.menu-item-has-children > ul > li.current-menu-item > a { color: red; cursor: default }
  .menu-opener { display: none }
  .navigation > li.menu-item-has-children > ul > li a span:after {
    content: ''; display: inline-block; width: 10px; height: 10px; 
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9.008' height='9.184' viewBox='0 0 9.008 9.184'%3E %3Cpath id='Path_140' data-name='Path 140' d='M9.856-4.608%2C5.248-9.2%2C4.176-8.112%2C6.928-5.376H.848v1.568h6.1L4.176-1.088%2C5.248-.016Z' transform='translate(-0.848 9.2)' fill='%238854fc'/%3E %3C/svg%3E ");
    background-size: 10px 10px; background-repeat: no-repeat; margin-left: 10px; transition: transform 0.3s; position: relative; top: 0px;margin-right: -20px;}
  
  .navigation > li.menu-item-has-children > ul li a:hover span:after { transform: translateX(4px); }
  .navigation > li.menu-item-has-children > ul > li strong {font-size: 15px; display: block; margin: 10px 0; font-weight: 400; color: #45474D;max-width: 24ch}
  .navigation > li.menu-item-has-children > ul li small {font-size: 18px; display: block; margin-top: 10px; margin-bottom: 8px; font-size: 17px; font-weight: 400; color: #45474D }
  .navigation > li.menu-item-has-children > ul > li > ul { list-style: none; padding: 0; margin: 0; }
  .navigation > li.menu-item-has-children > ul > li > ul > li > a {display: inline-block;font-size: 17px;  font-weight: 500; color: #17171D; text-decoration: none; padding: 4px 0 }
  
  .navigation > li.menu-item-has-children > ul > li > ul > li > a:after { content: ''; display: inline-block; width: 6px; height: 12px; background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8.414' height='14.828' viewBox='0 0 8.414 14.828'%3E %3Cpath id='Path_172' data-name='Path 172' d='M0%2C0%2C6%2C6%2C0%2C12' transform='translate(1.414 1.414)' fill='none' stroke='%23faa61a' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'/%3E %3C/svg%3E "); background-size: 6px 12px; background-repeat: no-repeat; margin-left: 10px; transition: transform 0.3s, opacity 0.3s; position: relative; top: 0px; opacity: 0; }
  .navigation > li.menu-item-has-children > ul > li > ul > li > a:hover:after { transform: translateX(4px); opacity: 1 }



.overlay {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    visibility: hidden;
    background-color: rgba(49,39,128,0.8);
    mix-blend-mode: multiply;
    transition: opacity 0.5s, visibility 0s 0.5s;
    z-index: 6;
    opacity: 0;
}

.menu-open .nav-overlay {
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
    transition: opacity 0.5s;
}


  @media only screen and (max-width:1300px) {
    .nav-wrapper nav {height: 120px}
    .nav-spacer {height: 120px}

    .navigation > li.menu-item-has-children > ul:before { top: -46px;height: 46px; }
    .nav-change .navigation > li.menu-item-has-children > ul:before {top: -30px; height: 30px; }

    .navigation > li:not(.menu-item-has-children) > a:after{left: -10px;right: -10px; height: 40px;}



    .logo {width: 120px;  margin-left: 30px;}
      .container-outer { padding-left:30px;padding-right:30px;}


    .logo img, .logo a, 
    .logo svg, .logo img { width: 120px }
    .navigation { margin: 0 30px}
    .navigation > li {padding:0 8px;}
    .navigation > li > a {font-size: 14px;}

    .navigation > li.menu-item-has-children > a:after {margin-left: 10px}
    .navigation > li.menu-item-has-children > a:after {top: 0;}
   }
  @media (max-width: 991.98px) { 
    .nav-wrapper nav { height: 80px; white-space: inherit; }
    .nav-spacer { height: 80px; }
    .logo { }
    .logo img, .logo a, .logo svg, .logo img { width: 110px }
    .body-menu-opened { overflow: hidden }
    .menu-opener { display: block; width: 44px; margin-left: 0; height: 44px; top: 17px; right: 30px; position: absolute; cursor: pointer; overflow: hidden }
    .menu-opener span { position: absolute; left: 10px; display: block; width: 30px; height: 2px; background-color: #000; transition: top .3s 0.3s, transform .3s; transform-origin: center center }
    .menu-opened .menu-opener span { transition: top .3s, transform .3s 0.3s; transform-origin: center center }
    .menu-opener span:first-child { top: 11px; transform: rotate(0deg) }
    .menu-opener span:nth-child(2) { top: 21px; transition: width 0.3s, opacity 0.4s }
    .menu-opener span:last-child { top: 32px }
    .menu-opened .menu-opener span:first-child { top: 21px; transform: rotate(45deg) }
    .menu-opened .menu-opener span:nth-child(2) { opacity: 0; width: 0 }
    .menu-opened .menu-opener span:last-child { top: 21px; transform: rotate(-45deg) }
    .navigation { visibility: hidden; opacity: 0; position: absolute; top: 0; bottom: 0; left: 0; right: 0; height: calc(100vh - 79px); margin-right: 0 !important; transition: opacity 0.2s linear, visibility 0.4s 0s !important; background-color:#fff; padding:20px 0 0 0; margin: 79px 0 0 0; overflow-y: scroll; display: block; background-position: right -45px bottom 60px; padding-bottom: 60px; background-repeat: no-repeat; background-size: contain }
    .menu-opened .navigation {opacity: 1; visibility: visible; transition: opacity 0.2s linear, visibility 0s 0s, height 0.5s !important }
    .navigation > li { height: auto; display: block; padding: 0;}
    .navigation > li > a {height: 80px;  font-size: 22px;margin: 0 30px; transition:font-size 0.3s  }
    .navigation > li.menu-hovered > a { font-size: 16px;font-weight: 400;}

    .navigation > li > a { padding: 25px 0; border-top: 1px solid #ccc; color: #000; }
    .navigation > li.nav-login > a { border-bottom: 1px solid #ccc }

    .navigation > li:first-child > a { border-top:none}

    .navigation > li.nav-social {margin-top: 10px;}
    .navigation > li.nav-social a { border: none; display: inline-block;}

    .navigation > li.menu-item-has-children { margin-right: 0 }
    .navigation > li.menu-item-has-children > a:after { content: ''; display: inline-block; width: 10px; height: 6px;

background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E %3Cpath id='Path_139' data-name='Path 139' d='M5%2C0l5%2C6H0Z' transform='translate(10 6) rotate(180)'/%3E %3C/svg%3E ");

background-size: 10px 6px;  background-repeat: no-repeat; margin: 0 10px; transition: all 0.3s }
    .navigation > li.menu-item-has-children.menu-hovered > a:after { transform: rotate(180deg);/*  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11.353' height='7.507' viewBox='0 0 11.353 7.507'%3E %3Cg id='icon-down' transform='translate(327.629 -503.227) rotate(90)'%3E %3Cpath id='Path_2206' data-name='Path 2206' d='M0%2C8.536%2C5.1%2C4.268%2C0%2C0' transform='translate(504.635 317.684)' fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'/%3E %3C/g%3E %3C/svg%3E "); */ }
    .navigation > li.menu-item-has-children.menu-hovered > a { /* background-color: #000; color: #fff  */ }
    .navigation > li.menu-item-has-children > ul {padding: 0 30px; list-style: none; max-height: 0; transition: all 0.5s;  margin: 0; list-style: none; width: 100%; /* background-color: red; */ position: relative; overflow: hidden; }
    .navigation > li.menu-item-has-children.menu-hovered > ul { max-height: 800px;  overflow: hidden; }
    /*.navigation > li.menu-item-has-children > ul:before { content: ''; display: block; position: absolute; top: 6px; left: 40px; width: 0; height: 0; border-left: 8px solid transparent; border-right: 8px solid transparent; border-bottom: 6px solid red; margin-top: -6px; transition: top 0.4s }
    .navigation > li.menu-item-has-children > ul.open:before { top: 0; }*/
    .navigation > li.menu-item-has-children > ul li a { padding: 0; font-size: 18px; display: block;margin: 0;}
    .navigation > li.menu-item-has-children > ul > li a span:after {display: none;}

    .navigation > li.menu-item-has-children > ul > li span {color: #000;font-size: 22px;}
    .navigation > li.menu-item-has-children > ul > li > a span.small {margin-top: 0!important; font-weight: 700}

    .navigation > li.menu-item-has-children > ul li small {color: aquamarine; display: none;}
    .navigation > li.menu-item-has-children > ul > li > ul > li > a {color: burlywood; margin: 0; display: none;}
    .navigation > li.menu-item-has-children > ul > li > ul > li:last-child > a {  /* padding-bottom: 30px */  }
    .navigation > li.menu-item-has-children > ul > li strong {
      /*color: pink;
      margin: 0;
      padding: 0;
      display: initial;*/
      display: none;
    }

    .navigation > li.menu-item-has-children > ul > li:first-child > a { }
    .navigation > li.menu-item-has-children > ul > li:last-child {  padding-bottom: 30px  }

    .nav-cta-left, .overlay {display: none;}

     .search-mobile {position: absolute;right: 90px;top: 25px;}

  }
  @media (max-width: 575.98px) {
    .navigation > li.mobile-login > a { border: none; justify-content: center; background: #63bbc3; color: #fff; margin: 30px 30px; padding: 20px 20px; }
    .navigation > li.mobile-contact > a { border: none; background-color: #fff; color: red; justify-content: center; margin: 20px 30px; padding: 20px 20px; }
  }


