/* Menu */
header.header {
  /*position:fixed; */
  transition:0.5s ease all;
  -webkit-transition:0.5s ease all;
}
header.header.scrolled {
  transition:0.6s ease all;
  -webkit-transition:0.5s ease all;
}
@media (max-width:991px){
  header.header {
    transition:0.5s ease all;
    -webkit-transition:0.5s ease all;
  }
  header.header.scrolled {
    transition:0.5s ease all;
    -webkit-transition:0.5s ease all;
  }
}
header.header {
  /*position:fixed; */
  width:100vw;
}
.menu--desktop {
  display: block;
}

.menu--mobile {
  display: none;
}

@media (min-width: 992px) {
  .header__cta .button {
    font-size: 15px;
  }
}

@media (max-width: 991px) {
  header.header { 
   /* position:fixed; */ position:relative; z-index:9999;
  }  
  .menu--desktop {
    display: none;
  }

  .menu--mobile {
    display: block;
  }
  
  .menu--mobile .menu__wrapper { padding-left:25px }
}

/* Menu items */

.menu__item {
  position: relative;
}

.menu__link:hover,
.menu__link {
  /*   font-size: 0.917rem;
  line-height: 1.667rem; */
  text-decoration: none;
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
  line-height: 230.769%; /* 230.769% */
  /*   text-transform: uppercase; */
}

.menu__link:hover,
.menu__link:focus,
.menu__link:active {
  text-decoration: none;
}

.menu__link--active-link,
.menu__link--active-branch {
  font-weight: bold;
}

@media (min-width: 768px) and (max-width: 1150px) {
  .menu__link {
    font-size: 0.833rem;
  }
}

@media (max-width: 991px) {
  .menu__item {
    display: block;
    width: 100%;
  }

  .menu__link {
    display: block;
    font-size: 13px;  /* 1.083rem; */
  }
}

/* Menu items - top level */

.menu__item--depth-1 {
  display: inline-block;
  padding: 0px 15px;
  /*   text-transform: uppercase; */
}


.menu__item--depth-1 > .menu__link--active-link:after {
  bottom: -3px;
  content: '';
  height: 2px;
  left: 0;
  position: absolute;
  width: 100%;
}

@media (max-width: 991px) {
  .menu__item--depth-1 {
    border-top: 2px solid #CED4DB;
    padding: 0;
  }

  .menu__item--depth-1 > .menu__link {
    padding: 0.35rem 1.225rem;
  }

  .menu__item--depth-1 > .menu__link--active-link:after {
    content: none;
  }
}

/* Menu items - submenus */

.menu__submenu {
  box-shadow: 0 2px 9px 0 rgba(0, 0, 0, 0.2);
  border-radius: 3px;
  display: none;
  left: 0;
  position: absolute;
  text-align: left;
  text-transform: none;
  top: 100%;
  width: 270px;
  z-index: 99;
}

.menu__item--open > .menu__submenu {
  display: block;
}

.menu__submenu--level-2 {
  transform: translateX(-50%);
}

/* Keeps the first menu item's drop down menu aligned to the left of the top level menu item */

.menu__item--depth-1:first-child .menu__submenu--level-2 {
  transform: unset;
}

.menu__submenu .menu__item {
  border-bottom: 1px solid #D1D6DC;
  padding: 0;
  width: 100%;
}

.menu__submenu .menu__link {
  display: block;
  padding: 0.7rem 1.05rem;
  transition: background-color 0.3s;
  width: 100%;
}

.menu__submenu--level-3 {
  left: 100%;
  top: 0;
}

/* Flyouts for the last two top level menu items go left to keep page responsive */

.menu__item--depth-1:nth-last-child(-n+2) .menu__submenu--level-3 {
  left: auto;
  right: 100%;
  top: 0;
}

/* Accounts for child toggle */

.menu__submenu .menu__item--has-submenu > .menu__link {
  padding-right: 3rem;
}

/* Creates the triangle at the top of the submenu drop down */

@media (min-width: 768px) {
  .menu__submenu--level-2 > .menu__item:first-child:before {
    border-radius: 6px;
    box-shadow: 0 2px 9px 0 rgb(0 0 0 / 20%);
    content: '';
    display: block;
    height: 30px;
    left: 125px;
    margin-left: 1rem;
    overflow: hidden;
    position: absolute;
    top: -12px;
    transform: rotate(45deg);
    transition: background-color .3s;
    width: 30px;
    z-index: 2;
  }

  /* Keeps triangle to the left for the first menu item's drop down menu */

  .menu__item--depth-1:first-child > .menu__submenu--level-2 > .menu__item:first-child:before {
    left: 0;
  }

  .menu__submenu--level-2 > .menu__item:first-child > .menu__link {
    position: relative;
    z-index: 2;
  }
}

@media (max-width: 991px) {
  .menu__submenu {
    border: none;
    border-radius: 0;
    box-shadow: none;
    position: static;
    transform: unset;
    width: 100%;
  }

  .menu__submenu .menu__item {
    background-color: #FFF;
    border-bottom: none;
    border-top: 2px solid #EBEFF3;
    padding: 0;
  }

  .menu__submenu .menu__link {
    display: block;
    padding: 0.7rem 2rem;
    transition: none;
    width: 100%;
  }

  .menu__submenu .menu__item .menu__link:hover,
  .menu__submenu .menu__item .menu__link:focus {
    background-color: inherit;
    transition: none;
  }

  .menu__item--has-submenu > .menu__link {
    width: 70%;
  }

  .menu__submenu--level-3 .menu__item .menu__link {
    padding: 0.7rem 3rem;
  }
}

/* Menu icons */

@media(min-width: 768px) {
  .menu__submenu .menu__child-toggle {
    margin-left: auto;
    padding: 0 1.05rem;
  }

  .menu__child-toggle {
    position: absolute;
    right: 5px;
    top: 30px;
    z-index: 2;
  }

  .menu__item--depth-1 > .menu__child-toggle {
    position: static;
    right: 0;
    top: 0;
    vertical-align: middle;
  }

  .menu__child-toggle-icon {
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top-style: solid;
    border-top-width: 7px;
    display: block;
    height: 0;
    margin-left: 1px;
    width: 0;
  }
}

@media (max-width: 1200px) and (min-width: 992px) {
  .menu__item--depth-1 {
    display: inline-block;
    padding: 0px 7px;
    /*     text-transform: uppercase; */
  }
}

@media (max-width: 991px) {
  .menu__child-toggle {
    background-position: center right 30px;
    background-repeat: no-repeat;
    background-size: 20px;
    border: none;
    cursor: pointer;
    height: 55px;
    padding: 15px 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 30%;
  }

  .menu__child-toggle-icon {
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTkiIGhlaWdodD0iMTkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgc3Ryb2tlPSIjOTc5ODlGIiBzdHJva2Utd2lkdGg9IjIuNCIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cmVjdCB4PSIxLjIiIHk9IjkuNiIgd2lkdGg9IjE2LjgiIGhlaWdodD0iMSIgcng9Ii41Ii8+PHJlY3QgdHJhbnNmb3JtPSJyb3RhdGUoOTAgOS42IDkuNikiIHg9IjEuMiIgeT0iOS42IiB3aWR0aD0iMTYuOCIgaGVpZ2h0PSIxIiByeD0iLjUiLz48L2c+PC9zdmc+);
    background-repeat: no-repeat;
    display: block;
    height: 20px;
    margin-left: auto;
    margin-right: 1.05rem;
    transition: transform 0.4s;
    width: 20px;
  }

  .menu__item--open > .menu__child-toggle .menu__child-toggle-icon {
    transform: rotate(45deg);
    transition: transform 0.4s;
  }
}


/* MEGA MENU */
@media (min-width:992px){
  .main-header-container {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
  }
  .menu__item--depth-1 {
    padding-top:30px;
    padding-bottom:30px;
  }
  header.header span.menu__link:after,
  header.header a.menu__link:after {
    content: "";
    position: absolute;
    width: calc(100% + 40px);
    transform: translateX(-50%);
    height: calc(100% + 60px);
    left: 50%;
    top: -30px;
  }
}
.menu__item {
  position: static;
}

.megaMenu-content-desktop {
  /*   display:none; */
  max-height:calc(100vh - 140px);
  overflow-y:auto;
}


.megaMenu-content-desktop-inner {
  max-width:1200px;
  margin:0px auto;
  padding:0px 1rem;
}
.megaMenu-content-desktop {
  box-shadow: 0px 15px 30px 0px rgba(0, 0, 0, 0.10);
  border-top: 1px solid #CED4DE;
  left: 50%;
  position: absolute;
  top: 99%; /*FR */
  width: 100vw;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  z-index: 999;
  background: #FFF;
}
.menu--desktop .menu__item--depth-1 span.menu__link,
.menu--desktop .menu__item--depth-1 a.menu__link {
  position:relative;
}
.menu--desktop .menu__item--depth-1 span.menu__link:before,
.menu--desktop .menu__item--depth-1 a.menu__link:before {
  content:"";
  width:0%;
  bottom: -8px;
  position:absolute;
  z-index:2;
  height:2px;
  background-color:#004963;
  transition:0.5s ease width;
  -webkit-transition:0.5s ease width;
}
.menu--desktop .menu__item--depth-1:hover span.menu__link:before,
.menu--desktop .menu__item--depth-1:hover a.menu__link:before {
  width:100%;
}
.megaMenu-content-desktop {
  /*   display:none; */
  /*   transition:.5s ease all;
  -webkit-transition:.5s ease all; */
  opacity:0;
  height:0px;
  z-index:-4;
}
.trigger-desktop-menu:hover .megaMenu-content-desktop {
  /*   display:block; */

  /*   transition:0.3s ease all;
  -webkit-transition:0.3s ease all; */
  opacity:1;
  height:auto;
  z-index:24;
}

header.header.scrolled .megaMenu-content-desktop {
  display:none !important;
}


.megaMenu-content-desktop > div {
  opacity:0;
  transition:0.6s ease all;
  -webkit-transition:0.6s ease all;
}

.trigger-desktop-menu:hover .megaMenu-content-desktop > div {
  transition:0.8s ease all;
  -webkit-transition:0.8s ease all;
  opacity:1;
}

.megaMenu-content-desktop .content-menu-item-inner {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
.megaMenu-content-desktop .content-menu-item-inner > div {
  padding:40px 36px;
}

.megaMenu-content-desktop .content-menu-item-inner > div:first-child {
  padding-left:0px;
}
.megaMenu-content-desktop .content-menu-item-inner > div:last-child {
  padding-right:0px;
}

.megaMenu-content-desktop .content-menu-item-title {
  color: #004963;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 155%;
  /*text-transform: uppercase; */
  margin-bottom:10px;
}

.megaMenu-content-desktop .content-menu-links-item {
  margin-bottom:0px;
}
.megaMenu-content-desktop .content-menu-links-item.has-image {
  margin-bottom:20px;
}
.megaMenu-content-desktop .mega-menu-link-title {
  /*color: #162432; */
  font-size: 13px;
  font-style: normal;
  text-transform: none;
  /*  font-weight: 400;
   line-height: 214.286%;  */
  
  line-height: 133%;
  /*padding-top: 8px; */
  padding-bottom: 8px;
}

.content-menu-links  { margin-bottom:15px }

@media (min-width: 992px) {
  
  .trigger-desktop-menu.menu__item--depth-1:hover,
  .trigger-desktop-menu.menu__item--depth-1:hover, .trigger-desktop-menu.menu__item--depth-1 a:hover { color:#49940c !important } 

  
  .trigger-desktop-menu.menu__item--depth-1.has-children { }

  .trigger-desktop-menu.menu__item--depth-1.has-children:after{
      content:"";
      position:absolute;
      background-image:url('data:image/svg+xml,<svg width="16" height="10" viewBox="0 0 16 10" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8.47043 9.125C8.27043 9.125 8.07043 9.045 7.95043 8.885L1.15043 2.085C0.87043 1.805 0.87043 1.365 1.15043 1.085C1.43043 0.805 1.87043 0.805 2.15043 1.085L8.47043 7.365L14.7504 1.085C15.0304 0.805 15.4704 0.805 15.7904 1.085C16.0704 1.365 16.0704 1.805 15.7904 2.085L8.95043 8.885C8.83043 9.045 8.63043 9.125 8.47043 9.125Z" fill="%23162432"/></svg>');
      background-size:contain;
      height:8px; width:12px; margin-left:9px; background-repeat:no-repeat; background-position:top right;
      display:inline-block;
      /*right:calc(1rem + 6px); */ margin-right:-20px;
      top:70px; 
      transition:0.3s ease transform;
      -webkit-transition:0.3s ease transform;
      transform:rotate(0deg);
      -webkit-transform:rotate(0deg);
    }
    .trigger-desktop-menu.menu__item--depth-1.has-children:hover:after {
      transform:rotate(180deg);
      -webkit-transform:rotate(180deg);
    }

}

.megaMenu-content-desktop .content-menu-links-item.has-description .mega-menu-link-title {
  color: #162432;
  font-size: 14px;
  font-style: normal;
  text-transform: none;
  font-weight: 400;
  line-height: 142.857%; /* 142.857% */
}
.megaMenu-content-desktop .mega-menu-link-description {
  /*color: #8C99AC;*/
  font-size: 13px;
  font-style: normal;
  text-transform: none;
  /*font-weight: 400; */
  line-height: 153.846%; /* 153.846% */
}
.megaMenu-content-desktop .content-menu-links-item.has-image > span,
.megaMenu-content-desktop .content-menu-links-item.has-image > a {
  display: flex;
  flex-direction: row;
  text-transform: none;
  align-items:center;
  flex-wrap: nowrap;
  gap: 8px;
}
.megaMenu-content-desktop .mega-menu-link-image {
  display:inline-flex;
}
.megaMenu-content-desktop .content-menu-cta > span > span,
.megaMenu-content-desktop .content-menu-cta > a > span {
  display:inline-flex;
  align-items:center;
}
.megaMenu-content-desktop .content-menu-cta > span,
.megaMenu-content-desktop .content-menu-cta > a {
  color: #004963;
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
  line-height: 230.769%; /* 230.769% */
  text-transform: uppercase;
  display:inline-flex;
  align-items:center;
  gap:10px;
}
.megaMenu-content-desktop .content-menu-links-item.has-description.has-image > span,
.megaMenu-content-desktop .content-menu-links-item.has-description.has-image > a {
  display: flex;
  flex-direction: row;
  text-transform: none;
  align-items:center;
  flex-wrap: nowrap;
  gap: 14px;
}
.megaMenu-content-desktop  .content-menu-item-column.border-right {
  border-right:1px solid #CED4DE;
}
.megaMenu-content-desktop .content-menu-featured-item {
  max-width:350px;
  margin-bottom:10px;
}
.megaMenu-content-desktop .content-featured-image {
  margin:0px auto 8px; /*xx*/ text-align:center;
}
.megaMenu-content-desktop .content-featured-title {
  /*color: #162432; */
  font-size: 13px;
  font-style: normal;
  /*font-weight: 400; */
  text-transform: none;
  margin-bottom:10px;
  line-height: 110%; /* 18.2px */
}
.megaMenu-content-desktop .content-menu-links-item .mega-menu-link-title {
  transition:0.3se ease all;
}
.megaMenu-content-desktop .content-menu-links-item:hover .mega-menu-link-title {
  color:var(--color_secondary);
}

.megaMenu-content-desktop .content-menu-cta > span,
.megaMenu-content-desktop .content-menu-cta > a {
  transition:0.3s ease all;
}
.megaMenu-content-desktop .content-menu-featured-item:hover .content-menu-cta > span,
.megaMenu-content-desktop .content-menu-cta > span:hover,
.megaMenu-content-desktop .content-menu-featured-item:hover .content-menu-cta > a,
.megaMenu-content-desktop .content-menu-cta > a:hover {
  column-gap:15px;  
}
@media (max-width:1200px) and (min-width:992px){
  .megaMenu-content-desktop .content-menu-item-inner>div {
    padding: 40px 20px!important;
    width: auto!important;
  }
}
.megaMenu-content-desktop .content-menu-item.content-desktop-menu {
  position:relative;
}
.megaMenu-content-desktop .close-desktop-menu-item {
  position:absolute;
  top:18px;
  right:18px;
  z-index:24;
  cursor:pointer;
}

@media (max-width:991px){
  .megaMenu-content-mobile {
    /*     padding:0px 1rem; */
    display:none;
  }
  {# ???? #}
  /*
  .trigger-mobile-menu.menu__item--depth-1.open-menu .megaMenu-content-mobile {
  display:block;
} 
  */
  
  .megaMenu-content-mobile .content-menu-item-column {
    width:100% !important;
  }
  .trigger-mobile-menu  {
    position:relative;
    border-bottom:1px solid #CED4DE;
    border-top:none;
    padding:0px 1rem;
  }
  /*   header.header .header__container {
  border-bottom:1px solid #CED4DE;
} */
  /*   .trigger-mobile-menu:first-child */
  header.header .header__navigation {
    border-top:1px solid #CED4DE;
  }
  .trigger-mobile-menu.has-children:after{
    content:"";
    position:absolute;
    background-image:url('data:image/svg+xml,<svg width="16" height="10" viewBox="0 0 16 10" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8.47043 9.125C8.27043 9.125 8.07043 9.045 7.95043 8.885L1.15043 2.085C0.87043 1.805 0.87043 1.365 1.15043 1.085C1.43043 0.805 1.87043 0.805 2.15043 1.085L8.47043 7.365L14.7504 1.085C15.0304 0.805 15.4704 0.805 15.7904 1.085C16.0704 1.365 16.0704 1.805 15.7904 2.085L8.95043 8.885C8.83043 9.045 8.63043 9.125 8.47043 9.125Z" fill="%23162432"/></svg>');
    background-size:contain;
    height:10px;
    width:16px;
    display:inline-block;
    right:calc(1rem + 6px);
    top:25px;
    transition:0.3s ease transform;
    -webkit-transition:0.3s ease transform;
    transform:rotate(0deg);
    -webkit-transform:rotate(0deg);
  }
  .trigger-mobile-menu.open-menu:after {
    transform:rotate(180deg);
    -webkit-transform:rotate(180deg);
  }
  .trigger-mobile-menu .menu__link {
    padding:0px;
    font-size: 16px;
    font-style: normal;
    /*font-weight: 700; */
    line-height: 375%; /* 375% */
    text-transform: uppercase;
    display:inline-flex;
  }
  .megaMenu-content-mobile .content-menu-item-title {
    /*color: #8C99AC;*/
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    /*line-height: 285.714%; 
    text-transform: uppercase; 
    border-bottom: 1px solid #CED4DE;*/
    margin-top:5px;
  }
  .megaMenu-content-mobile .mega-menu-link-title {
    /*color: #162432; */
    font-size: 14px;
    text-transform:none;
    font-style: normal;
    /* font-weight: 400; line-height: 266.667%;  */
    line-height: 130%;
    padding-top: 4px;
    padding-bottom: 4px;
  }
  .megaMenu-content-mobile .mega-menu-link-description {
    display:none;
    text-transform:none;
  }
  .megaMenu-content-mobile .content-menu-links-item {
    /*margin-bottom:10px; */
  }
  .megaMenu-content-mobile .content-menu-links-item.has-image:not(.has-description)  > span,
  .megaMenu-content-mobile .content-menu-links-item.has-image:not(.has-description)  > a {
    display: flex;
    flex-direction: row;
    text-transform: none;
    align-items:center;
    flex-wrap: nowrap;
    gap: 8px;
  }
  .megaMenu-content-mobile .hide-mobile,
  .megaMenu-content-mobile .content-menu-featured .content-featured-title,
  .megaMenu-content-mobile .content-menu-featured .content-featured-image{
    /*display:none; */  margin:0px auto 8px; /*xx*/ text-align:center;
  }
  .megaMenu-content-mobile .content-menu-links-item.has-image.has-description  > span,
  .megaMenu-content-mobile .content-menu-links-item.has-image.has-description  > a {
    display: flex;
    flex-direction: row;
    text-transform: none;
    align-items:center;
    flex-wrap: nowrap;
    gap: 14px;
  }
  .megaMenu-content-mobile .content-menu-links-item.has-image.has-description {
    line-height: 133.333%; /* 133.333% */
    margin-bottom:20px;
  }
  .megaMenu-content-mobile .content-menu-cta {
    margin-bottom:20px;
  }

  .megaMenu-content-mobile .content-menu-cta > span > span,
  .megaMenu-content-mobile .content-menu-cta > a > span {
    display:inline-flex;
    align-items:center;
  }
  .megaMenu-content-mobile .content-menu-cta > span,
  .megaMenu-content-mobile .content-menu-cta > a {
    color: #004963;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 285.714%; /* 285.714% */
    text-transform: uppercase;
    display:inline-flex;
    align-items:center;
    gap:10px;
  }

  .megaMenu-content-mobile .mega-menu-link-image {
    display:inline-flex;
  }
  .header__navigation.open {
    min-height: calc(100vh - 80px);
    max-height: calc(100vh - 80px);
    padding-bottom:150px;
  }
  header.header.scrolled .header__navigation.open {
    /*     min-height: calc(100vh - 180px);
    max-height: calc(100vh - 180px); */
    min-height: calc(100vh - 50px);
    max-height: calc(100vh - 50px);
    padding-bottom:150px;
  }
  header.header .header__row-2 .translate-links-container {
    position: absolute;
    top: 14px;
    left: 50%;
    z-index: 999;
    transform: translateX(-50%);
  }
  header.header .header__row-2 .triangle-top {
    text-align:center;
  }
  .login-item .menu__link > span{
    display:inline-flex;
  }
  .login-item .menu__link {
    display:inlline-flex;
    align-items:center;
    gap:10px;
  }
  header.header .header__row-2 .translate-links-container:hover,
  header.header .header__row-2 .translate-trigger .translate-icon:hover + .translate-links-container {
    display:block !important;
  }
  header.header .header__row-2 .translate-links-container a{
    color: #162432;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
  }
  header.header .header__row-2 .translate-links {
    margin-top:-10px;
    border-radius: 10px;
    background: #FFF;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.15);
    padding:10px;
  }
  .trigger-mobile-menu.cta-item,
  .trigger-mobile-menu.search-item {
    width:100%;
  }
  .trigger-mobile-menu.cta-item:after,
  .trigger-mobile-menu.search-item:after{
    display:none !important;
  }

  .mobile-menu-cta-container,
  .mobile-menu-search-container {
    padding:20px 0px;
    position:relative;
  }
  .trigger-mobile-search {
    position:absolute;
    display:inline-flex;
    right:15px;
    top:35px;
    z-index:22;
  }
  /*
  .mobile-menu-search-container input{
    padding:10px 15px;
    width:100%;
    border-radius: 30px;
    border: 1px solid #8C99AC;
    background: #FFF;

    color: #162432;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 166.667%; 
  }
  */
  .mobile-menu-search-container input::-ms-input-placeholder{
    color: #676767;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 166.667%; /* 166.667% */
  }

  .mobile-menu-search-container input::placeholder{
    color: #676767;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 166.667%; /* 166.667% */
  }  
  header.header .header-search-container {
    display:none !important;
  }
  .trigger-mobile-menu.cta-item {
    border-bottom:none;
    padding-bottom:40px;
  }
}
