.clearfix:before,
.clearfix:after {
  display: table;
  content: "";
  line-height: 0;
}
.clearfix:after {
  clear: both;
}
.hide-text {
  font-size: 0;
  line-height: 0;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
}
.input-block-level {
  display: block;
  width: 100%;
  min-height: 1px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.icemegamenu {
  position: relative;
  z-index: 10;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  top:56px;
}
.icemegamenu > ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  margin:0;
}
/*
.icemegamenu > ul:before,
.icemegamenu > ul:after {
  display: table;
  content: "";
  line-height: 0;
}
.icemegamenu > ul:after {
  clear: both;
}
*/

.icemegamenu > ul > li {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
}
/*
.icemegamenu > ul > li:hover, .icemegamenu > ul > li:focus,.icemegamenu .icemega_active{
  background: #101010;
}

 */
.icemegamenu > ul > li + li {
  margin-left: 0;
}
.icemegamenu > ul > li > a.iceMenuTitle {
  display: block;
  font: 21px / 30px 'bebas_regular', sans-serif;
  letter-spacing: 0.02em;
  padding: 55px 20px 61px;
  position: relative;
  text-transform: uppercase;
  font-weight: normal;
}
.icemegamenu > ul > li > a.iceMenuTitle:hover{
  color:#fff;
}

.icemegamenu > ul > li span.icemega_desc {
  display: block;
  line-height: 1.25em;
  padding: 0;
}
.icemegamenu > ul > li.fullwidth {
  position: inherit;
}
.icemegamenu > ul > li.menu-search {
  border: none;
  margin-top:15px;
}
.icemegamenu > ul > li.menu-search > a.iceMenuTitle {
  display: none;
}
.icemegamenu > ul > li.menu-search > ul.icesubMenu {
  position: static;
  height: auto;
  padding: 0;
  margin-top: 0;
  opacity: 1;
  overflow: visible;
  -webkit-transform: translate(0, 0) !important;
  -moz-transform: translate(0, 0) !important;
  -ms-transform: translate(0, 0) !important;
  -o-transform: translate(0, 0) !important;
  transform: translate(0, 0) !important;
  pointer-events: auto;
}
.icemegamenu > ul > li.menu-search > ul.icesubMenu:before {
  display: none;
}
.icemegamenu > ul > li.menu-search .fa-times {
  display: block;
  font-size: 20px;
}
.icemegamenu .ice-megamenu-toggle {
  display: none;
}
/* when dont have subtitle */
.icemegamenu > ul > li > a.iceMenuTitle > span.icemega_nosubtitle {
  display: inline-block;
  position: relative;
  z-index: 2;
  line-height: 1;
}
.icemegamenu > ul > li > a.iceMenuTitle > span.icemega_nosubtitle::after{
  content:'\e6cd';
  font-family: 'iconmembres', fantasy;
  font-size:12px;
  color:#3dc0f4;
  /*margin-left:5px;*/
  position:relative;
  right:-3px;

}
.icemegamenu > ul > li.Joindre > a.iceMenuTitle > span.icemega_nosubtitle::after{
  content:'';
}
.jmoddiv.jmodinside {
  position: inherit;
}

ul.icesubMenu {
  -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  height: 0;
  left: 50%;
  margin: 0;
  opacity: 0;
  overflow: hidden;
  padding: 20px 0 0;
  pointer-events: none;
  position: absolute;
  text-align: left;
  top: 100%;
  -webkit-transition: all 0.25s ease-out;
  -moz-transition: all 0.25s ease-out;
  -o-transition: all 0.25s ease-out;
  transition: all 0.25s ease-out;
  -webkit-transform: translate(-50%, 30px);
  -moz-transform: translate(-50%, 30px);
  -ms-transform: translate(-50%, 30px);
  -o-transform: translate(-50%, 30px);
  transform: translate(-50%, 30px);
  z-index: 9999;
  border: none;
}

ul.icesubMenu li a.iceMenuTitle {
  display: block;
  font: 19px/22px "bebas_regular", sans-serif;
  padding: 7px 22px;
  font-weight: normal;
  color:#fff;
  letter-spacing: 0.02em;
}
ul.icesubMenu li a.iceMenuTitle:hover{
  background: #f0f2f2;
  color:#101010;
}
ul.icesubMenu.sub_level_1 {
  margin-top: 0;
}
ul.icesubMenu.sub_level_2 {
  margin-top: -15px;
}
li[class*=iceMenuLiLevel] {
  padding: 0;
}
li[class*=iceMenuLiLevel]:before {
  display: none;
}
#icemegamenu li.iceMenuLiLevel_1.hover > ul.icesubMenu {
  opacity: 1;
  overflow: visible;
  pointer-events: auto;
  -webkit-transform: translate(-50%, 0px);
  -moz-transform: translate(-50%, 0px);
  -ms-transform: translate(-50%, 0px);
  -o-transform: translate(-50%, 0px);
  transform: translate(-50%, 0px);
}
#icemegamenu li.iceMenuLiLevel_1.hover.menu-login-form > ul.icesubMenu {
  -webkit-transform: translate(0px, 0px);
  -moz-transform: translate(0px, 0px);
  -ms-transform: translate(0px, 0px);
  -o-transform: translate(0px, 0px);
  transform: translate(0px, 0px);
}
ul.icesubMenu.sub_level_2:before,
ul.icesubMenu.sub_level_2:after {
  border-bottom: 5px solid transparent;
  border-top: 5px solid transparent;
  content: '';
  position: absolute;
  top: 23px;
}
ul.icesubMenu.sub_level_2:before {
  left: -5px;
}
ul.icesubMenu.sub_level_2:after {
  border-right: 5px solid #FFF;
  left: -4px;
}
#icemegamenu li.iceMenuLiLevel_1 li.hover > ul.icesubMenu {
  height: auto;
  opacity: 1;
  overflow: visible;
  pointer-events: auto;
  -webkit-transform: translate(0, 0px);
  -moz-transform: translate(0, 0px);
  -ms-transform: translate(0, 0px);
  -o-transform: translate(0, 0px);
  transform: translate(0, 0px);
}
#icemegamenu ul.icesubMenu.visible {
  height: auto;
}
ul.icesubMenu ul > li {
  position: relative;
  border-bottom: 1px solid #56565c;
}
li.iceMenuLiLevel_2.parent > a:after {
  content: '\e667';
  font-family: 'iconmembres', fantasy;
  font-size: 8px;
  height: 0;
  line-height: 0;
  position: absolute;
  right: 7px;
  top: 50%;
  color:#fff;
}
li.iceMenuLiLevel_2.parent.hover a {
  position: relative;
}
li.iceMenuLiLevel_2.parent.hover a:before {
  content: '';
  height: 100%;
  left: 100%;
  position: absolute;
  top: 0;
  width: 11px;
}
/* when is parent */
ul.icesubMenu > li:before {
  display: none;
}
ul.icesubMenu > li > .iceCols {
  max-width: 100% !important;
}
ul.icesubMenu > li > .iceCols > ul {
  margin: 0;
}
/* Second Level Dropdown */
ul.sub_level_2,
ul.sub_level_3,
ul.sub_level_4,
ul.sub_level_5 {
  left: 100%;
  margin-left: 10px;
  top: 0;
  -webkit-transform: translate(30px, 0);
  -moz-transform: translate(30px, 0);
  -ms-transform: translate(30px, 0);
  -o-transform: translate(30px, 0);
  transform: translate(30px, 0);
  z-index: 99999;
}
ul.icesubMenu ul > li.hover > ul {
  opacity: 1;
  overflow: visible;
  -webkit-transform: translate(0, 0);
  -moz-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  -o-transform: translate(0, 0);
  transform: translate(0, 0);
  visibility: visible;
}
.icesubMenu .icemega_cover_module span.iceModuleTile {
  display: block;
}
.ice_righttoleft {
  left: auto !important;
  right: 0;
}
.nav-collapse .icesubMenu .nav > li > a,
.nav-collapse .icesubMenu .dropdown-menu a {
  margin-bottom: 0;
  padding: 0;
}
.nav-collapse.collapse {
  height: auto;
}
/* Ajustement responsive */
@media (max-width: 1500px) {
  .icemegamenu > ul > li > a.iceMenuTitle{
    font-size: 19px;
    padding:50px 20px 58px;
  }
  #logo{
    width:170px;
    margin-left:20px;
  }
  #logo img{
    width:150px;
    margin:20px 0;
  }
  .icemegamenu > ul > li + li {
    height:160px;
  }
}
@media (max-width: 1200px){
  .icemegamenu > ul{
    align-items:center;
    min-height:150px;
  }
  #logo{
    width:50px;
    height: 149px;
  }
}
@media (max-width: 979px) {
  .icemegamenu {
    overflow: visible !important;
  }
}
