/* menu produit */
li.sub .a-niveau1 .advtm_menu_span::after {
  content: "";
  display: inline-block;
  width: 0.6em;
  height: 0.6em;
  margin-left: 5px;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
li.advtm_menu_3 tr {
  display: flex;
  flex-wrap: wrap;
}

li.advtm_menu_3 td {
  flex: 0 0 50%;
}

li.advtm_menu_3 td:last-child {
  flex: 0 0 100%;
}

#adtm_menu li.advtm_menu_3 .adtm_column ul.adtm_elements {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
#adtm_menu li.advtm_menu_3 .adtm_column ul.adtm_elements li {
  border: 1px solid #dddddd;
  border-radius: 0.5rem;
  position: relative;
  overflow: hidden;
  flex: 0 0 calc(25% - 20px);
}
#adtm_menu li.advtm_menu_3 .adtm_column ul.adtm_elements li a {
  text-align: center;
  display: block;
  padding: 0 5px 5px 5px;
}
#adtm_menu li.advtm_menu_3 .adtm_column ul.adtm_elements li a img {
  margin: 0 -5px 5px -5px;
  max-width: inherit;
  width: 140px;
  height: 95px;
}
/*dernière colonne pleine largeur*/
#adtm_menu li.advtm_menu_3 td:last-child .adtm_column ul.adtm_elements li {
  flex: 0 0 calc(33.333% - 20px);
}
#adtm_menu li.advtm_menu_3 td:last-child .adtm_column ul.adtm_elements li a {
  text-align: left;
  display: inline-flex;
  align-items: center;
  padding: 0 5px 0 0;
}
#adtm_menu li.advtm_menu_3 td:last-child .adtm_column ul.adtm_elements li a img {
  width: auto;
  height: auto;
  margin: 0 5px 0 0;
}

/* menu mobile */
@media (max-width: 992px) {
  #adtm_menu ul li.advtm_menu_toggle {
    position: fixed;
    top: 15px;
    left: 0;
    width: 50px;
  }
  #adtm_menu ul li.advtm_menu_toggle a.adtm_toggle_menu_button span.adtm_toggle_menu_button_text {
    color: rgba(255, 255, 255, 0);
    background-color: rgba(255, 255, 255, 0);
  }
  li.sub .a-niveau1 .advtm_menu_span::after {
    display: none;
  }
  #adtm_menu.adtm_menu_toggle_open ul#menu li.li-niveau1.sub a.a-niveau1 span {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m6 9 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
  }
  #adtm_menu.adtm_menu_toggle_open ul#menu li.li-niveau1.sub.adtm_sub_open a.a-niveau1 span {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m18 15-6-6-6 6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
  }
  #adtm_menu li.advtm_menu_3 td:not(:last-child) .adtm_column ul.adtm_elements li {
    border: 1px solid #dddddd;
    border-radius: 0.5rem;
    position: relative;
    overflow: hidden;
    flex: 0 0 calc(50% - 20px);
  }
}
@media (min-width: 992px) {
  #adtm_menu ul#menu {
    justify-content: flex-end;
  }
  #adtm_menu .li-niveau1 a.a-niveau1 .advtm_menu_span {
    font-weight: 600;
    letter-spacing: 1px;
  }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  #adtm_menu .li-niveau1 a.a-niveau1 .advtm_menu_span {
    font-size: 1rem;
    padding: 0 15px;
  }
}
