@media (min-width: 765px) { #lang-mob { display: none; } }

.hhs-header-mod {
  position: absolute;
  left: 0;
  display: inline-table !important;
  width: 100%;
  z-index: 10;
}

.hhs-nav {
  padding-right: 0 !important;
  padding-left: 0 !important;
}

/** LOGO HIDE/SHOW **/
.hhs-alt-nav .hhs-header-logo .logo-sticky,
.hhs-header-logo .logo-standard {
  display: block;
}

.hhs-alt-nav .hhs-header-logo .logo-standard,
.hhs-header-logo .logo-sticky {
  display: none;
}
.sticky-menu .hhs-header-logo .logo-standard {
  display: none;
}
.sticky-menu .hhs-header-logo .logo-sticky {
  display: block;
}

.hhs-header-logo,
.hhs-nav-opt-items {
  display: table-cell;
  vertical-align: middle;
}

.hhs-header-logo {
  position: relative;
  z-index: 10;
}

.hhs-header-menu {
  float: right !important;
}


/****** Custom CSS IMPACK *******/



.mega-drop-1::parent { background-color: red;} 

@media screen and (min-width: 769px) {
.hhs-header-menu .hs-menu-item {
  height: 30px;
  display: flex;
  align-items: center;
}
}
.mega-menu .mega-nav-con ul li {
height:unset;
}

.mega-menu .mega-text-con {
      margin-bottom: 35px !important;
  }



/* stylisation du dernier onglet dans le menu */

.hhs-header-menu .hs-menu-item:last-of-type {
  border-radius: 20px;
  padding: 0 15px;
  border: 1px solid white;
  line-height: unset;
  transition: all.3s;
}
.hhs-header-menu .hs-menu-item:last-of-type:hover {
  background:white;
}

.hhs-header-menu .hs-menu-item:last-of-type > a:hover {
  color:black !important;
}

#hhs-main-nav.sticky-menu .hhs-header-menu .hs-menu-item:last-of-type{
  border-radius: 20px;
  padding: 0 15px;
  border: 1px solid #2362A5;
  line-height: unset;
  transition: all.3s;
}

#hhs-main-nav.sticky-menu .hhs-header-menu .hs-menu-item:last-of-type:hover{
  //background:#2362A5;
}

#hhs-main-nav.sticky-menu .hhs-header-menu .hs-menu-item:last-of-type > a{
  color:#2362A5 !important;
}

#hhs-main-nav.sticky-menu .hhs-header-menu .hs-menu-item:last-of-type > a:hover{
  color:#9FC5E8 !important
}

.mega-menu .mega-nav-con ul li {
height:unset;
border: unset !important;


}

@media only screen and (max-width: 768px) {
  .hhs-header-menu .hs-menu-item:last-of-type {
    border-radius: 0;
    padding: 0;
    }
}

/* END--------stylisation du dernier onglet dans le menu */



.hhs-header-menu .hhs-nav-links {
  {# position: absolute;
  right: 50%;
  transform: translate(10%, 0); #}
  
}

@media only screen and (max-width: 600px) {
  .hhs-header-menu .hhs-nav-links {
      position: static;
      right: unset;
  }
}

@media only screen and (min-width: 1200px) {
  .hhs-nav{
  position:relative !important;
  }

  .hhs-nav>a:first-of-type{
  display: inline-block !important;
  position: absolute !important;
  top:0 !important;
  }

  .hhs-nav .hhs-nav-opt-items{
  width:100% !important;
  }

  .hhs-nav .hhs-header-menu.custom-menu-primary{
  width:100% !important;
  }

  .hhs-nav .hs-menu-wrapper{
      width: 100% !important;
      display: flex !important;
      justify-content: center;
      position:relative;
      top:-20px;
  }

@media only screen and (max-width: 768px) {
  .hhs-header-menu .hs-menu-item {
      width: 100% !important;
      display: block!important;
      justify-content: center;
      position:relative;
      top:-20px;
  }
}
  .mega-menu .mega-nav-con #hs_menu_wrapper_global_header_{
      justify-content: start !important;
  }

}

@media only screen and (max-width: 992px) {
  .hhs-header-logo .logo-standard {
  max-width: 100px;
  }
}





/*-----------------*/


/****** END Custom CSS *******/

/****** LANGUAGE SWITCHER ******/

.hhs-lang-switch,
.hhs-header-search,
.hhs-header-cta {
  float: right;
  margin-left: 15px;
  z-index: 1000;
  position: relative;
  height: 30px;
  display: flex;
  align-items: center;
  {# top: 13px; #}
}
@media only screen and (max-width: 1200px) {
  .hhs-lang-switch,
  .hhs-header-search,
  .hhs-header-cta {
    top: 0;
  }
}
.hs-content-id-38380198263 .hhs-header-search{
      top: -5px;
  }
@media only screen and (min-width: 1200px){
  .hs-content-id-38380198263 .hhs-lang-switch{
      top: 5px;
  }
  .hhs-header-search{
      top: 0px;
  }
  .hs-content-id-38380198263 .hhs-lang-switch{
      top: 10px;
  }
  .hs-content-id-38380198263 .hhs-header-search{
      top: 5px;
  }
}

.hhs-lang-switch a,
.hhs-header-search a {
  padding: 10px 5px;
  display: block;
}
.sticky-menu .hhs-header-search a i,
.sticky-menu .hhs-lang-switch .globe_class:before {
  font-size: 14px;
}

.hhs-header-search a i {
  vertical-align: bottom;
}

.hhs-lang-switch .globe_class:before {
  vertical-align: middle;
  {# top: 50%;
  position: absolute;
  transform: translateY(-50%); #}
}

.hhs-header-mod
  .hs-menu-wrapper.hs-menu-flow-horizontal
  > ul
  li.hs-item-has-children
  ul.hs-menu-children-wrapper
  li {
  width: 100%;
  display: block;
  clear: both;
  padding-left: 10px;
}

.hhs-header-menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li a {
  max-width: none;
  overflow: visible;
  padding: 10px 6px;
}
.hhs-header-hat {
  position: relative;
  z-index: 100;
}

.hhs-header-hat .col-12 {
  padding-left: 0px;
  padding-right: 0px;
}

.hhs-hat-menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul {
  float: right;
}

.hhs-hat-menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul {
  float: right;
}
.hhs-header-menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li a span {
  padding: 10px 0;
}

/** MEGA MENU STYLE **/

.hhs-header-menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li .mega-menu a {
  color: #555555 !important;
  padding: 5px;
  text-transform: none;
}

.hs-menu-wrapper.hs-menu-flow-horizontal
  .mega-menu
  ul
  li.hs-item-has-children
  ul.hs-menu-children-wrapper {
  display: block;
  opacity: 1;
  visibility: visible;
  position: static;
}

.mega-menu {
  padding: 50px 0;
}

.mega-text-con {
  white-space: normal;
}
.mega-text-con ul {
  padding-left: 20px !important;
}
.mega-text-con li {
  list-style-type: disc;
  width: 100%;
}

.custom-menu-primary .hs-menu-wrapper > ul .mega-menu ul {
  background: transparent !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
}

/** HEADER HAT STYLE **/

.hhs-hat-menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul {
  margin-right: 0px;
}

.hhs-hat-menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li a {
  max-width: none;
  overflow: visible;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 11px;
  text-align: right;
  padding: 0px 0px 0 20px;
}

.hhs-hat-menu .hhs-header-search,
.hhs-hat-menu .hhs-lang-switch {
  display: none;
}

.hhs-hat-pull-down {
  visibility: hidden;
  position: absolute;
  bottom: -15px;
  right: 0px;
  padding: 3px 12px 3px 12px;
  z-index: 2;
  -webkit-border-radius: 0 0 2px 2px;
  border-radius: 0 0 2px 2px;
  outline: none;
  border: none;
}

.hhs-hat-pull-down i {
  color: #fff;
}

.hhs-hat-pull-down.is-open i.fa-angle-double-up,
.hhs-hat-pull-down i.fa-angle-double-down {
  display: block;
}

.hhs-hat-pull-down i.fa-angle-double-up,
.hhs-hat-pull-down.is-open i.fa-angle-double-down {
  display: none;
}

/* Parent List */
.custom-menu-primary .hs-menu-wrapper {
  overflow: visible !important;
}

.custom-menu-primary .hs-menu-wrapper > ul {
  float: right;
}

.custom-menu-primary .hs-menu-wrapper > ul > li {
  font-weight: normal;
  margin-left: 0px !important;
  margin-bottom: 0px;
}

.custom-menu-primary .hs-menu-wrapper > ul > li > a {
  padding: 10px 15px;
  position: relative;
  display: block;
}

.custom-menu-primary a:hover {
  color: #000000;
}

/** STICKY HEADER STYLE **/
.hs-menu-children-wrapper .hs-menu-item.active,
.custom-menu-primary
  .hs-menu-wrapper
  .hs-menu-children-wrapper
  li.active
  a:hover,
.sticky-menu .hs-menu-item.active,
.sticky-menu .custom-menu-primary .hs-menu-wrapper > ul li.active a:hover {
  background-color: transparent !important;
  cursor: default !important;
}
.sticky-menu {
  visibility: hidden;
  -webkit-transform: translateY(-100%);
  -ms-transform: translateY(-100%);
  -o-transform: translateY(-100%);
  transform: translateY(-100%);
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  opacity: 0;
  -webkit-box-shadow: 0 2px 3px 1px rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 3px 1px rgba(0, 0, 0, 0.1);
}

.sticky-menu.active {
  z-index: 999;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  visibility: visible;
  -webkit-transform: translateY(0);
  -ms-transform: translateY(0);
  -o-transform: translateY(0);
  transform: translateY(0);
  transition: all 0.3s ease;
  opacity: 1;
}

.sticky-menu .widget-type-logo img {
  height: 35px !important;
  width: auto !important;
  margin: 10px 0;
}

.hhs-header.sticky-menu.active {
  padding: 5px 0px !important;
}

.custom-menu-primary.js-enabled .hamburger {
  display: none;
}

@media (max-width: 768px) {
  .sticky-menu.active {
    position: static !important;
  }
  .sticky-menu .widget-type-cta {
    display: none;
  }
  .sticky-menu .widget-type-logo img {
    margin: 0;
  }
  .sticky-menu .page-center {
    padding: 0 10px !important;
  }
  .hhs-nav {
    position: relative;
  }
  /*
  .hhs-header-mod .hhs-nav {
    padding: 0 15px !important;
  }*/
  .hhs-nav-opt-items {
    padding-right: 40px;
  }
  .custom-menu-primary.js-enabled {
    float: none;
    position: absolute;
    top: 0px;
    left: 0px;
  }
  .custom-menu-primary .hs-menu-wrapper,
  .custom-menu-primary.js-enabled .hs-menu-wrapper,
  .custom-menu-primary.js-enabled .hs-menu-children-wrapper {
    display: none;
  }
  
  .custom-menu-primary.js-enabled .hamburger {
    display: inline-block;
  }
  .hhs-header-menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li a {
    padding: 0px 15px;
  }
  .hhs-header-logo {
    position: relative;
    z-index: 1000;
  }
  .custom-menu-primary.js-enabled .hs-menu-wrapper > ul > li {
    margin-left: 0px !important;
  }
}

@media (max-width: 575px) {
  nav {
    overflow: hidden;
    height: 0;
    transition: height 0.5s ease-in-out;
  }
  nav.is-open {
    overflow: visible;
  }
  .hhs-hat-pull-down {
    visibility: visible;
  }
  .hhs-hat-menu {
    position: relative;
  }
  .hhs-nav-opt-items .hhs-lang-switch,
  .hhs-nav-opt-items .hhs-header-search {
    display: none;
  }
  .hhs-hat-menu .hhs-header-search,
  .hhs-hat-menu .hhs-lang-switch {
    display: block;
    position: absolute;
    top: 0px;
    z-index: 10;
    margin-top: 0px;
  }
  .hhs-hat-menu .hhs-header-search {
    right: 0px;
  }
  .hhs-hat-menu .hhs-lang-switch {
    left: 0px;
    margin-left: 0px;
  }
  .hhs-hat-menu .hhs-lang-switch .lang_switcher_class {
    padding: 7px 10px 7px 0;
  }
  .hhs-hat-menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li a {
    text-align: center !important;
    padding: 0 !important;
  }
  .hhs-hat-menu .hhs-header-search a {
    padding: 5px 0px 5px 10px;
  }

  .hhs-hat-menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul,
  .hhs-hat-menu > ul {
    width: 100% !important;
    margin: 15px auto !important;
    float: none !important;
  }
  .sticky-menu.active {
    display: none !important;
    height: 0px !important;
  }
}

.hamburger {
  padding: 15px 0px 15px 12px;
  cursor: pointer;
  transition-property: opacity, filter;
  transition-duration: 0.15s;
  transition-timing-function: linear;
  font: inherit;
  color: inherit;
  text-transform: none;
  background-color: transparent;
  border: 0;
  margin: 0;
  overflow: visible;
  float: right;
  margin-right: 0px;
  margin-top: 3px;
}
.hamburger:hover {
  opacity: 0.7;
}
.hamburger.is-active:hover {
  opacity: 0.7;
}
.hamburger:focus {
  outline: none;
}

.sticky-menu .hamburger {
  padding: 3px 0 3px 12px;
}

.hamburger-box {
  width: 30px;
  height: 24px;
  display: inline-block;
  position: relative;
}

.hamburger-inner {
  display: block;
  top: 50%;
  margin-top: -2px;
}
.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
  width: 30px;
  height: 3px;
  border-radius: 4px;
  position: absolute;
  transition-property: transform;
  transition-duration: 0.15s;
  transition-timing-function: ease;
}
.hamburger-inner::before,
.hamburger-inner::after {
  content: "";
  display: block;
}
.hamburger-inner::before {
  top: -10px;
}
.hamburger-inner::after {
  bottom: -10px;
}

/*
   * 3DX
   */
.hamburger--3dx .hamburger-box {
  perspective: 80px;
}

.hamburger--3dx .hamburger-inner {
  transition: transform 0.15s cubic-bezier(0.645, 0.045, 0.355, 1),
    background-color 0s 0.1s cubic-bezier(0.645, 0.045, 0.355, 1);
}
.hamburger--3dx .hamburger-inner::before,
.hamburger--3dx .hamburger-inner::after {
  transition: transform 0s 0.1s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.hamburger--3dx.is-active .hamburger-inner {
  background-color: transparent !important;
  transform: rotateY(180deg);
}
.hamburger--3dx.is-active .hamburger-inner::before {
  transform: translate3d(0, 10px, 0) rotate(45deg);
}
.hamburger--3dx.is-active .hamburger-inner::after {
  transform: translate3d(0, -10px, 0) rotate(-45deg);
}

/*
   * 3DX Reverse
   */
.hamburger--3dx-r .hamburger-box {
  perspective: 80px;
}

.hamburger--3dx-r .hamburger-inner {
  transition: transform 0.15s cubic-bezier(0.645, 0.045, 0.355, 1),
    background-color 0s 0.1s cubic-bezier(0.645, 0.045, 0.355, 1);
}
.hamburger--3dx-r .hamburger-inner::before,
.hamburger--3dx-r .hamburger-inner::after {
  transition: transform 0s 0.1s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.hamburger--3dx-r.is-active .hamburger-inner {
  background-color: transparent !important;
  transform: rotateY(-180deg);
}
.hamburger--3dx-r.is-active .hamburger-inner::before {
  transform: translate3d(0, 10px, 0) rotate(45deg);
}
.hamburger--3dx-r.is-active .hamburger-inner::after {
  transform: translate3d(0, -10px, 0) rotate(-45deg);
}

/*
   * Spring
   */
.hamburger--spring .hamburger-inner {
  top: 2px;
  transition: background-color 0s 0.13s linear;
}
.hamburger--spring .hamburger-inner::before {
  top: 10px;
  transition: top 0.1s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1),
    transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}
.hamburger--spring .hamburger-inner::after {
  top: 20px;
  transition: top 0.2s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1),
    transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger--spring.is-active .hamburger-inner {
  transition-delay: 0.22s;
  background-color: transparent !important;
}
.hamburger--spring.is-active .hamburger-inner::before {
  top: 0;
  transition: top 0.1s 0.15s cubic-bezier(0.33333, 0, 0.66667, 0.33333),
    transform 0.13s 0.22s cubic-bezier(0.215, 0.61, 0.355, 1);
  transform: translate3d(0, 10px, 0) rotate(45deg);
}
.hamburger--spring.is-active .hamburger-inner::after {
  top: 0;
  transition: top 0.2s cubic-bezier(0.33333, 0, 0.66667, 0.33333),
    transform 0.13s 0.22s cubic-bezier(0.215, 0.61, 0.355, 1);
  transform: translate3d(0, 10px, 0) rotate(-45deg);
}

/*
   * Spring Reverse
   */
.hamburger--spring-r .hamburger-inner {
  top: auto;
  bottom: 0;
  transition-duration: 0.13s;
  transition-delay: 0s;
  transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}
.hamburger--spring-r .hamburger-inner::after {
  top: -20px;
  transition: top 0.2s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1),
    opacity 0s linear;
}
.hamburger--spring-r .hamburger-inner::before {
  transition: top 0.1s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1),
    transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger--spring-r.is-active .hamburger-inner {
  transform: translate3d(0, -10px, 0) rotate(-45deg);
  transition-delay: 0.22s;
  transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}
.hamburger--spring-r.is-active .hamburger-inner::after {
  top: 0;
  opacity: 0;
  transition: top 0.2s cubic-bezier(0.33333, 0, 0.66667, 0.33333),
    opacity 0s 0.22s linear;
}
.hamburger--spring-r.is-active .hamburger-inner::before {
  top: 0;
  transform: rotate(90deg);
  transition: top 0.1s 0.15s cubic-bezier(0.33333, 0, 0.66667, 0.33333),
    transform 0.13s 0.22s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.hs-menu-wrapper.hs-menu-flow-horizontal .mega-menu ul li.hs-item-has-children ul.hs-menu-children-wrapper{ display: none;}
.hhs-header-menu ul.hs-menu-children-wrapper{
  top: 30px;
}
.hhs-header-menu ul.hs-menu-children-wrapper .hs-menu-item:last-of-type{
  border: none;
  padding: 0;
  border-radius: 0;
}
#hhs-main-nav.sticky-menu .hhs-header-menu ul.hs-menu-children-wrapper .hs-menu-item:last-of-type {
  border: none;
  padding: 0;
  border-radius: 0; 
}
#hhs-main-nav.sticky-menu .hhs-header-menu ul.hs-menu-children-wrapper .hs-menu-item:last-of-type>a {
    color: #444444 !important;
}
.custom-menu-primary .hs-menu-wrapper > ul li.hs-item-has-children ul.hs-menu-children-wrapper li.hs-menu-item a:hover,
.custom-menu-primary .hs-menu-wrapper > ul li.hs-item-has-children ul.hs-menu-children-wrapper li.hs-menu-item a:active{
    color: #2362A5 !important;
    background: none;
}
.mega-menu {
    transition: all .2s ease-in-out;
}
