.partenaire-container {
  background: url(../src/bg_partenaire.png) no-repeat center;
  padding-bottom: 2rem;
  background-size: auto auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-content: center;
  align-items: center;
  min-height: 649px;
  gap: 1em;
}

.carousel-partenaire {
  width: 80%;
  margin-top: 5%;
}

.tabs-to-dropdown-partenaire {
  width: 75%;
  justify-content: center;
  display: flex;
}

.partenaire-tab {
  margin: 3.5rem 2px 0 2px;
  border:none;
  outline: none;
}

.partenaire-tab-button {
  width: 310px;
  height: 84px;
  filter: drop-shadow(0px 0px 70px rgba(0, 0, 0, 0.09));
  background: white;
  border: none;
  border-bottom: 4px solid white;
  outline: none;
  font-weight: 500;
}

.partenaire-tab-button:hover, .partenaire-tab .active {
  border-bottom: 4px solid var(--pes-light-blue);
  background-color: #F2F9F7;
  font-weight: 700;
}

.partenaire-tab-button:hover > span, .partenaire-tab-button.active > span {
  color: var(--pes-light-blue);
}

.partenaire-tab-title {
  font-family: 'Archivo', sans-serif;
  font-style: normal;
  line-height: 27px;
  text-align: center;
  color: #0B122D;
  font-size: 15px;
}

.partenaire-card, .partenaire-card-mobile {
  position: relative;
  background: white;
  max-width: 228px;
  min-height: 141px;
  text-align: center;
  margin: 0 0.5em 1rem auto;
}

.partenaire-card-img {
  max-width: 124px;
  max-height: 102px;
  position: absolute;
  height: auto;
  width: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.partenaire-card-mobile {
  display: none;
}

div[class^='partenaire-slider-'] {
  position:relative;
}

.partenaire-slider-container {
  width: 85%;
  max-width: 1190px;
  background: transparent;
  margin: 0 auto;
  overflow: visible;
  position: relative;
}

.dropdown-partenaire {
  margin: -1em auto 1em auto;
  ;
  background: #FFFFFF;
  border-radius: 90px;
  filter: drop-shadow(0px 0px 10px rgba(0, 0, 0, 0.1));
  height: 50px;
  padding: 5px 10px;
  text-align: center;
  vertical-align: middle;
  outline: none;
  text-decoration: none;
  z-index: 999;
}

.dropdown-toggle-partenaire::after {
  color: var(--pes-light-blue);
}

.partenaire-container .dropdown,
.partenaire-container .dropdown-toggle,
.partenaire-container .dropdown-item,
.partenaire-container .dropdown button {
  outline: none;
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 700;
  font-size: 15px;
  line-height: 27px;
  text-align: center;
  text-transform: uppercase;
}

.partenaire-container .dropdown-item {
  text-transform: none;
}

#dropdownMenuButtonPartenaire {
  text-transform: none;
}

.dropdown-toggle-partenaire {
  width: 260px;
  /* width:max-content; */
}

.dropdown-menu-partenaire {
  width: 260px;
  /* width: 225px; */
  /* filter: drop-shadow(0px 0px 10px rgba(0, 0, 0, 0.1)); */
}

.tab-content {
  display: flex;
  width: 75%;
  justify-content: center;
}

.partenaire-container > .tab-content > .tab-pane {
  width: 100%;
}

#dropdownMenuButtonPartenaire {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  height: 100%;
}

.btn.dropdown-toggle.dropdown-toggle-partenaire>.menu-chevron-slider {
  display: flex !important;
}

.partenaire-slider-container .tns-outer .tns-nav .tns-ovh .tns-inner .carousel-partenaire .tns-item {
  width: 238px;
}

.partenaire-card {
  margin-top: 0;
  margin-left: 0;
  margin-right: 0.6em;
  margin-bottom: 0.7em;
}

.partenaire-slider-container .tns-outer .tns-nav {
  text-align: center;
  margin: 0;
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.partenaire-slider-container .tns-outer .tns-nav button {
  height: 7px;
  width: 7px;
  background-color: transparent;
  border: none;
  margin-left: 7px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--pes-purple);
}

.partenaire-slider-container .tns-outer .tns-nav .tns-nav-active {
  background-color: var(--pes-purple);
  border : 4px solid var(--pes-purple);
}

.partenaire-slider-control li.next {
  right: -66px;
  top: 54%;
}

.partenaire-slider-control li.prev {
  left: -68px;
  top: 54%;
}

@media screen and (max-width: 600px) {
  .dropdown-partenaire {
    margin: -1em auto 0.5em auto;
  }

  #dropdownMenuButtonPartenaire {
    font-size: 12px;
  }

  .partenaire-container .dropdown button {
    font-size: 12px;
  }

}

@media screen and (max-width: 992px) {
  .partenaire-container > .tab-content {
    width: 85%;
  }

  .partenaire-card {
    max-width: 164px;
    min-height: 102px;
    margin: 1em auto;
  }

  .tab-content {
    max-width: 100%;
  }

  .partenaire-card-img {
    max-width: 90%;
    max-height: 90%;
  }

  .dropdown-partenaire {
    margin: -1.5em auto 1em auto;
  }

  .partenaire-container {
    background: #F2F9F7;
    padding-top:0;
    margin-top: 5%;
  }

  #dropdownMenuButtonPartenaire.dropdown-toggle::after {
    display: none !important;
  }

  .partenaire-slider-control li.next {
    right: -35px;
  }

  .partenaire-slider-control li.prev {
    left: -35px;
  }
}

@media screen and (max-width: 465px) {
  .partenaire-container > .tab-content {
    width: 95%;
  }
}

@media screen and (max-width: 400px) {
  #block-partenaireblock {
    height: 609px;
  }

  .partenaire-container {
    justify-content: space-evenly;
    margin-top: 0;
    padding-bottom: 0;
  }

  .tabs-to-dropdown-partenaire {
    margin-top: -6.1em;
  }

  .partenaire-container .tab-content {
    margin-top: -5em;
  }

  .partenaire-slider-container {
    width: 100%;
  }

  .partenaire-slider-container .tns-outer .tns-nav .tns-ovh .tns-inner .carousel-partenaire .tns-item {
    width: 164px;
    margin-right: 0.5em;
  }

  .partenaire-card {
      margin: 0 0 0.5em 0.5em
  }

  .partenaire-slider-control li.next {
      top: 50%;
      right: -6px;
  }

  .partenaire-slider-control li.prev {
    top: 50%;
    left: -6px;
  }

  #dropdownMenuButtonPartenaire.dropdown-toggle::after {
    display: none !important;
  }

  .partenaire-container .dropdown-item {
    font-size: 12px;
  }
}
