/*
Theme Name: Divi-child
Description: Theme enfant de Divi.
Author: WPMarmite
Author URI: https://wpmarmite.com
Template: Divi
Version: 1.0
*/

.contain-btn-pdts,
.logo-header-custom {
  width: fit-content;
}

.contain-btn-pdts p,
.contain-btn-pdts svg,
.mega-menu {
  pointer-events: none;
}

.main-nav ul li a:hover,
.mega-menu-content.groupe a:hover,
.mega-menu-content.ressources .sub-menu-list li a:hover,
.nav-products li a:hover,
.nav-products ul li a:hover::after {
  color: #1d71b8;
}

body {
  overflow-x: hidden;
}

.container-header {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 40px;
  padding: 50px;
}

.contain-btn-pdts {
  background-color: #ff6f61;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px;
  cursor: pointer;
}

.contain-btn-pdts p {
  color: #fff;
  font-weight: 700;
  font-size: 16px;
}

.contain-search-esp a,
.main-nav ul li a {
  color: #000;
  text-transform: uppercase;
}

.main-nav ul {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.contain-search-esp a {
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 5px;
}

.search-bar {
  background-color: #b8b8b8;
  width: 250px;
  display: flex;
}

.btn-search,
.search-bar input {
  background-color: #e0e0e0;
  border: none;
}

.search-bar input {
  width: 100%;
  padding: 8px 15px !important;
}

.mega-menu-content.ressources .sub-menu-list,
.nav-products ul,
.sub-mega .sub-nav ul {
  list-style: none;
  padding-left: 0;
}

.btn-search {
  padding: 3px 5px !important;
  display: flex;
  align-items: center;
}

.choice-lang-espace {
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
}

.box-logo-btn-pdt {
  display: flex;
  align-items: center;
  gap: 90px;
}

.mega-menu {
  box-shadow: inset 0 15px 10px -5px rgba(0, 0, 0, 0.17);
  padding: 50px;
  background-color: #fff;
  z-index: 800;
  width: 100%;
  position: absolute;
  opacity: 0;
  visibility: hidden;
  display: block;
  transition: opacity 0.4s, transform 0.4s !important;
}

#mega-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mega-menu-content {
  display: none;
  opacity: 0;
}

.mega-menu-content.active {
  display: flex !important;
  opacity: 1;
  transform: translateY(0) !important;
}

.mega-menu-content.pdts {
  flex-direction: row;
}

.mega-menu-content.pdts .sub-mega .sub-nav ul li {
  margin-bottom: 10px;
}

.nav-mega {
  border-right: 1px solid #bebebe;
  padding-right: 20px;
  width: 15%;
  display: flex;
  flex-direction: column;
}

.wrapper-verres {
  width: fit-content;
  margin: 30px 0;
}

.box-verres {
  color: #fff;
  padding: 0 10px 0 0;
  font-weight: 700;
  display: flex;
}

.box-verres.eco {
  background-color: #35b81d;
  margin-bottom: 5px;
}

.box-verres-txt {
  padding: 5px;
}

.box-verres-txt a {
  color: white;
}

.box-verres.innov {
  background-color: #1d71b8;
}

.picto-box-verres {
  background-color: #000;
  display: flex;
  align-items: center;
  padding: 0 5px;
}

.nav-products li {
  margin-bottom: 15px;
}

.nav-products li a {
  color: #000;
  line-height: 1.2;
  display: flex;
  align-items: center;
  position: relative;
  text-decoration: none;
}

.nav-products ul li a::after {
  content: "▶";
  font-size: 10px;
  color: #bfbfbf;
  position: absolute;
  right: 0;
}

.all-products-link {
  color: #000;
  font-weight: bolder;
  position: relative;
}

.all-products-link:hover,
.all-products-link:hover::after,
.link-emel:hover {
  color: #1d70b8;
}

.all-products-link::after {
  content: "▶";
  font-size: 10px;
  color: #000;
  position: absolute;
  right: 0;
}

.sub-mega {
  display: flex;
  justify-content: space-evenly;
  width: 85%;
}

.sub-mega .sub-nav ul li a {
  color: #000;
  flex-wrap: wrap;
  text-decoration: none;
}

.sub-mega .sub-nav ul li a:is(:hover, :focus) {
  color: #1d71b8;
}

.title-sub-col {
  font-weight: 700;
  text-transform: uppercase;
  color: #1d71b8 !important;
  margin-bottom: 5px !important;
}
.title-sub-col.doc{
  margin-bottom:5px !important;
}

.mega-menu-content.ressources {
  gap: 20px;
  padding: 40px;
  justify-content: space-evenly;
}

.mega-menu-content.ressources .sub-menu-list li {
  margin-bottom: 8px;
}

.mega-menu-content.groupe a,
.mega-menu-content.ressources .sub-menu-list li a {
  color: #000;
  text-decoration: none;
}

.mega-menu-content.groupe {
  gap: 15px;
  padding: 40px;
  justify-content: space-evenly;
}

.header-desktop {
  display: block;
}

.header-mobile {
  display: none;
}

.wrapper-footer {
  display: flex;
  justify-content: center;
  gap: 120px;
  padding: 30px 0 30px;
}

.column-footer.left,
.column-footer.left a,
.wrapper-network {
  display: flex;
  gap: 3px;
}

.column-footer p,
.nav-footer li a {
  text-transform: uppercase;
  color: #000;
}

.wrapper-link-footer {
  text-align: center;
  padding: 20px 50px 10px;
}

.wrapper-link-footer a {
  color: #000;
  text-transform: uppercase;
  font-size: 12px;
}
.wrapper-index {
    padding: 30px;
}
.wrapper-index p{
color:black;
font-weight: bold;
text-align: center;
}
/* -------------------- Mobile -------------------- */
@media screen and (max-width: 991px) {
  .mobile-menu li button,
  .secondary-nav li a,
  button {
    background-color: transparent;
    text-align: left;
    font-size: 14px;
  }

  #subMenuContent ul li a,
  .mobile-menu li button {
    color: #000;
    font-weight: 500;
  }

  .column-footer.middle,
  .header-desktop {
    display: none;
  }

  .header-mobile {
    display: block;
    padding: 20px;
  }

  .wrapper-header-mobile {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .box-burger-mobile {
    width: 30px !important;
    display: flex;
    flex-direction: column;
    gap: 7px;
  }

  .line-burger {
    background-color: #000;
    height: 2px;
  }

  .box-search-mobile,
  .container-mobile-nav,
  .search-bar-mobile {
    background-color: #fff;
    width: 100%;
  }

  .box-account-search {
    width: fit-content;
    display: flex;
    gap: 5px;
  }

  .account-wrap a,
  .search-wrap {
    display: flex;
  }

  .box-search-mobile {
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s, transform 0.3s;
    position: absolute;
    top: 90px;
    left: 0;
    z-index: 999;
    padding: 15px;
  }

  .box-search-mobile.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }

  .search-bar-mobile {
    display: flex;
    padding: 0;
    border: 1px solid #ccc;
    overflow: hidden;
    border-radius: 30px;
  }

  .search-bar-mobile input {
    flex: 1;
    padding: 10px;
    font-size: 16px;
    border: none;
    outline: 0;
  }

  .search-bar-mobile .btn-search {
    background: transparent;
    border: none;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  .container-mobile-nav {
    padding: 20px;
    position: absolute;
    top: 0;
    left: 0;
    transform: translateX(-100%);
    transition: transform 0.4s;
    overflow-y: auto;
    z-index: 9999;
    height: 100%;
  }

  .container-mobile-nav.active,
  .sub-menu-mobile.active {
    transform: translateX(0);
  }

  .cta-verres {
    display: flex;
    flex-direction: column;
    margin: 15px 0;
  }

  .wrapper-logo-single-mobile {
    border-bottom: 1px solid rgba(0, 0, 0, 0.187);
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    padding: 10px;
  }

  #subMenuContent ul li,
  .secondary-nav {
    margin-bottom: 10px;
  }

  .mobile-menu li button {
    border: none;
    text-transform: uppercase;
    margin: 5px 0;
    padding-left: 0;
  }

  .secondary-nav li a,
  button {
    border: none;
    color: #000;
    font-weight: 400;
    padding: 0;
  }

  .secondary-nav {
    border-bottom: 1px solid #000;
    padding-bottom: 10px;
  }

  .secondary-nav li {
    margin: 5px 0;
  }

  .mobile-menu li button::after,
  .secondary-nav li button::after {
    content: "›";
    font-size: 24px;
    margin-left: auto;
    color: #000;
    display: inline-block;
    transition: transform 0.3s;
    font-weight: 400;
  }

  .mobile-menu li button,
  .secondary-nav li button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .btn-cross,
  .sub-menu-header {
    display: flex;
    align-items: center;
  }

  .btn-cross {
    width: 30px;
    height: 30px;
    position: absolute;
    right: 20px;
    cursor: pointer;
    z-index: 10000;
    justify-content: center;
  }

  .line-cross {
    position: absolute;
    width: 15px;
    height: 2px;
    background-color: #000;
    transition: 0.3s;
  }

  .line-cross:first-child {
    transform: rotate(45deg);
  }

  .line-cross:last-child {
    transform: rotate(-45deg);
  }

  .sub-menu-mobile,
  .sub-menu-mobile.closing {
    transform: translateX(-100%);
  }

  .sub-menu-mobile {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    transition: transform 0.3s ease-in-out;
    z-index: 9999;
    padding: 20px;
  }

  .sub-menu-header {
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
  }

  .sub-menu-header p {
    margin: 0;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    padding: 0;
    color: #000;
    cursor: pointer;
  }

  #subMenuContent ul {
    margin-top: 40px;
  }

  #backSubMenu {
    font-size: 24px;
    position: relative;
    top: -2px;
    margin-right: 5px;
  }

  .box-verres.eco.mob,
  .box-verres.innov.mob {
    width: 185px;
  }


  .wrapper-footer {
    gap: 80px;
    align-items: center;
  }
}