/*
Theme Name: inspiro-child
Template: inspiro
*/
body {
  overflow-x: hidden !important;

}

a {
  text-decoration: none !important;
}

.navbar {
  width: 100% !important;
}

#menu-menu-sidebar a {
  color: #dd5d09 !important;
}

#menu-menu-sidebar a:hover {
  color: #fff !important;
}

.wp-block-button .wp-block-button__link {
  background-color: #dd5d09 !important;
  font-size: 18px !important;
  border: none !important;
  color: #fff !important;
}

.wp-block-button .wp-block-button__link:hover {
  background-color: #dd5e0986 !important;
}

.deconnexion-btn {
  display: none;
}

.entry-title {
  margin-top: 5% !important;
}

.fls_auth_wrapper {
  display: flex;
  margin-block: 80px;
  justify-content: center;
}
#search-input , #commune-select , #type-objet-select {
  font-size: 14px;
}
.fls_login_wrapper input#wp-submit {
  background: var(--inspiro-primary-color) !important;
}

.tnp-submit {
  width: auto !important;
  background-color: #dd5d09 !important;
}

#fls_submit {
  background: var(--inspiro-primary-color) !important;
}

#fls_reset_pass {
  background: var(--inspiro-primary-color) !important;
}

.apidae_partenaire_reseach {
  width: 100%;
  height: 500px;
  max-height: 850px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  margin-top: 5%;
  margin-bottom: 5%;
  margin-left: 1%;
  margin-right: 1%;
}

.select_block_left {
  margin-right: 2%;
  width: 20%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.25);
  background-color: #f8f8f8;
  align-items: center;
}

.content_block_mid {

  width: 26%;
  display: flex;
  flex-direction: column;
  overflow: auto;
}

.content_block_mid::-webkit-scrollbar {
  width: 12px;
}


.content_block_mid::-webkit-scrollbar-track {
  background-color: #f0f0f0;
}


.content_block_mid::-webkit-scrollbar-thumb {
  background-color: #dd5d09;
  border-radius: 10px;
}


#map {

  width: 50%;
  box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.25);
}

.leaflet-control-zoom-in {
  color: #dd5d09 !important;
}

.leaflet-control-zoom-out {
  color: #dd5d09 !important;
}

.leaflet-top,
.leaflet-bottom {
  z-index: auto;
}

.btn {
  background-color: #dd5d09;
  border: 1px solid;
  border-radius: 1rem;
  padding: 0.5rem;
  text-transform: lowercase;
  color: white !important;
}

.btn:hover {
  background-color: #dd5e0986;
}

.btn--block {
  display: block;
  width: 100%;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
}

.cards__item {
  width: 80% !important;
  display: flex;
  padding: 1rem;
}

.card {
  width: 100% !important;
  background-color: white;
  border-radius: 0.25rem;
  box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;

  &:hover {
    .card__image {
      filter: contrast(100%);
    }
  }
}

.card__content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 1rem;
}

.card__image {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  border-top-left-radius: 0.25rem;
  border-top-right-radius: 0.25rem;
  filter: contrast(70%);
  filter: saturate(180%);
  overflow: hidden;
  position: relative;
  transition: filter 0.5s cubic-bezier(.43, .41, .22, .91);
  &::before {
    content: "";
    display: block;
    padding-top: 56.25%;
  }
}



.card__title {
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.card__text {
  flex: 1 1 auto;
  font-size: 0.675rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

#title_partenaire_search {
  color: #dd5d09;
}

/* Désactive les interactions de zoom pendant le défilement */
.leaflet-map-scroll {
  pointer-events: none;
}

/* Réactive les interactions de zoom */
.leaflet-map-scroll:hover {
  pointer-events: auto;
}

/* Style de base pour la balise select */
select {
  border-radius: 10px;
  /* Arrondi */
  background-color: #f0f0f0;
  /* Couleur de fond */
  color: #333;
  /* Couleur du texte */
  padding: 8px;
  /* Espacement intérieur */
  border: 1px solid #ccc;
  /* Bordure */
  outline: none;
  /* Supprime la bordure bleue lorsqu'il est sélectionné */
  transition: background-color 0.3s, color 0.3s;
  /* Animation de transition */
}

/* Style pour le hover */
select:hover {
  background-color: #e0e0e0;
  /* Couleur de fond au survol */
}

/* Style pour l'option sélectionnée */
select option:checked {
  background-color: #dd5d09;
  /* Couleur de fond de l'option sélectionnée */
  color: #fff;
  /* Couleur du texte de l'option sélectionnée */
}

.select_block_left_selection {
  font-size: 12px;
  width: 100%;
  display: flex;
  height: 100%;
  flex-direction: column;


  justify-content: center;
  align-items: center;
}

.select_block_left_end {
  width: 100%;
  height: 20%;
  margin-top: 10%;
  display: flex;
  align-items: flex-end;
  justify-content: center;

}

#search-input {
  margin-bottom: 0;

}

#search-button {
  margin: 0 !important;
  padding: 0 !important;
  width: 30%;
}

#search-inputMarches {
  margin-bottom: 0;
}


#type-select {
  font-size: 14px;
}

#sub-type-select {
  font-size: 14px;
}

.search_block {
  display: flex;
  width: 80%;
}

.select_block_left_subtitle {
  width: 80%;
  text-align: left;
}

.select_block_left_subtitle h1 {
  margin-top: 5% !important;
  margin-bottom: 5% !important;
}

@media (max-width: 1000px) {
  .apidae_partenaire_reseach {
      flex-wrap: wrap;
      margin-bottom: 320px;
  }
  .select_block_left_end {
    margin-top: 10%;
    margin-bottom: 5%;
  }
  #search-input , #commune-select , #type-objet-select {
    font-size: 12px;
  }
  .leaflet-popup-content h2 {
      font-size: 16px !important;
  }

  .select_block_left {
      width: 35%;
  }

  #map {
      width: 60%;
      /* Largeur maximale */
      margin: 0;
      /* Réinitialiser les marges */
  }

  #map-marches {
      width: 60%;
      /* Largeur maximale */
      margin: 0;
      /* Réinitialiser les marges */
  }


  .content_block_mid {
      margin-top: 2%;
      width: 95%;
      display: grid;
      /* Afficher les cartes en grille */
      grid-template-columns: repeat(auto-fit, minmax(200px, 3fr));
      /* Deux colonnes avec une largeur minimale de 200px */
      gap: 20px;
      /* Espacement entre les cartes */
      max-height: 300px;
      height: 300px;
  }

  .cards__item {
      width: 40% !important;
  }

  .cards__item-template {
      width: 40% !important;
  }
}

#map-adherent {
  width: 300px;
  height: 300px;
}

.card__btn {
  background-color: #dd5d09 !important;
}

.hidden {
  display: none;
}

@media (max-width: 420px) {
  .big-title-slider-content .buttons {
      display: flex;
      flex-direction: column;
      flex-wrap: wrap;
      align-items: center;
      justify-content: center;
  }
.slogan-header {
font-size: 16px !important;
}
.wp-block-button .wp-block-button__link {
  background-color: #dd5d09 !important;
  font-size: 14px !important;
  border: none !important;
  color: #fff !important;
}
  .leaflet-popup-content h2 {
      font-size: 14px !important;
  }

  .select_block_left_selection,
  .form-control {
      font-size: 10px;
  }

  .select_block_left_end {
      font-size: 10px;
  }

  .cards__item {
      width: 90% !important;
  }

  .cards__item-template {
      width: 90% !important;
      list-style: none;
  }

  .card__btn {
      font-size: 10px;
  }

  #title_partenaire_search {
      font-size: 16px !important;
      margin-top: 2% !important;
  }
}

.search-block {
  margin-top: 1%;
}

.cards__container-template {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  list-style-type: none !important;
}

.cards__item-template {
  width: 30%;
  display: flex;
  padding: 1rem;

  list-style-type: none !important;
}

.select_block_left_title {
  height: 20%;
}

label {
  font-weight: normal !important;
  /* Labels dans materiel-wrapper en normal */
}

.carousel-control-prev,
.carousel-control-next {
  background-color: #f0f0f000 !important;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background-color: #f0f0f000 !important;
}

#page {
  height: 100px;
}

.revirada_tools {
  width: 100%;
}

.revirada_grind {
  display: flex;
  margin-left: 10%;
  margin-left: 10%;
  margin-bottom: 10%;
}

.revirada_title {
  width: 50%;
}

.revirada_list {
  width: 50%;
}

.revirada_left {
  margin-right: 5%;
  width: 40%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.revirada_right {
  width: 40%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.revirada_head {
  background-color: #dd5d09;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  border-radius: 5px;
}

.revirada-align {
  display: flex;
}

.colonne-translate {
  width: 10%;
}

.text-to-translate {
  width: 90%;
}

.text-translated {
  width: 90%;
}

.word-counter {
  text-align: end;
}

.trad-btn {
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 600px) {
  .revirada_grind {
    flex-direction: column;
  }
  
  .revirada_left {
    width: 80%;
    align-items: center;
    margin-bottom: 10%;
  }
  #search-input , #commune-select , #type-objet-select {
    font-size: 8px;
  }
  .revirada_right {
    width: 80%;
    align-items: center;
  }
}

@media all and (max-width: 550px) {

  .tnp-subscription-minimal.with-name input.tnp-email,
  .tnp-subscription-minimal.with-name input.tnp-name,
  .tnp-subscription-minimal input.tnp-submit {
    width: 100% !important;
    max-width: 70% !important;
    margin: 0;
    display: inline-block !important;
    margin-bottom: .5rem;
  }

  .tnp-subscription-minimal {
    width: 70% !important;
  }
}

.site-info .copyright {
  flex-wrap: nowrap !important;
}

.site-info .copyright span {
  flex: 20% !important;
  text-align: right;
}

.site-info .copyright span:nth-child(0) {
  flex: 20% !important;
  text-align: left !important;
}

.site-info .copyright span:nth-child(2) {
  flex: 60% !important;
  text-align: center !important;

}

.cards-ress-list {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  width: 100%;
  gap: 20px;
}

.logo-tco-charte {
  width: 100%;
  display: flex;
  justify-content: center;
}

.card-ress {
  flex: 0 0 auto;
  /* Empêche les cartes de rétrécir */
  width: 250px;
  height: 250px;
  margin: 10px;
  /* Optionnel: espace entre les cartes */
  border-radius: 40px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: 0.4s;
}

.card-ress .card_image-ress {
  width: 100%;
  height: 80%;
  /* Ajustez la hauteur pour l'image */
  border-radius: 40px 40px 0 0;
}

.card-ress .card_image-ress img {
  width: 100%;
  height: 100%;
  border-radius: 40px 40px 0 0;
  object-fit: cover;
}

.card-ress .card_title-ress {
  text-align: center;
  font-weight: bold;
  font-size: 16px;
  /* Ajustez la taille de la police si nécessaire */
  height: 20%;
  /* Ajustez la hauteur pour le titre */
  display: flex;
  align-items: center;
  justify-content: center;

}
/* Style de la carte de témoignage */
.card_temoignage {
  width: 100%;
 margin-bottom: 10%;
  display: flex;
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Style de la partie gauche de la carte */
.card_temoignage_left {
  flex: 1;
  width: 50%;
  position: relative;
}

.card_temoignage_left img {
  width: 80%; /* Fait 80% de la largeur de card_temoignage_left */
  height: auto;
  
}

.card-top-descrpt {
  position: absolute;
  color: #f0f0f0;
  top: -30px; /* Ajuste la position verticale */
  left: -10px; /* Ajuste la position horizontale */
  background-color: #dd5d09; /* Arrière-plan semi-transparent */
  padding: 5px;
  border-radius: 5px;
}

/* Style de la partie droite de la carte */
.card_temoignage_right {
  flex: 1;
  display: flex;
  width: 50%;
}

.card_right-content {
  align-content: center;
}

.card-top-descrpt-content {
  margin-bottom: 5px;
  margin-top: 10px;
  margin-right: 20px;
  margin-left: 20px;
}

@media (max-width: 765px) {
  .card_temoignage {
    flex-direction: column;
  }
  .card_temoignage_left {
    width: 100%;
  }
  .card_temoignage_right {
    width: 100%;

  }
}

.card-ress:hover {
  transform: scale(0.9, 0.9);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

}

.title-black-ress {
  color: black;
}

@media all and (max-width: 500px) {
  .cards-ress-list {
    flex-direction: column;
    /* Change la direction en colonne pour les petits écrans */
  }
}

.cards-ress-list::-webkit-scrollbar {
  width: 5px;
}


.cards-ress-list::-webkit-scrollbar-track {
  background-color: #f0f0f0;
}


.cards-ress-list::-webkit-scrollbar-thumb {
  background-color: #dd5d09;
  border-radius: 10px;
}

.cards-emission {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  width: 100%;
  text-align: center;
}

.card-emission {
  position: relative;
  border-radius: 3%;
  overflow: hidden;
  background-position: center center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  width: 28%;
  margin-left: 2%;
  margin-right: 2%;
  margin-bottom: 5%;
  color: white;
  box-shadow: 0 0 9px #9392928f;
}

.card-emission::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: inherit;
  filter: brightness(0.6);
  /* Applique un filtre sombre uniquement à l'image de fond */
  z-index: 0;
}

.card-emission>* {
  position: relative;
  z-index: 1;
  /* Assure que le contenu reste au-dessus du pseudo-élément */
}


.title-emission {
  width: 100%;
  height: 20%;
  align-content: center;
  margin-bottom: 2%;
}

.subtitle-emission {
  width: 100%;
  height: 40%;
  align-content: center;
  margin-bottom: 15%;
}

.audio-emission {
  width: 100%;
  height: 20%;
  display: flex;
  justify-content: center;
  margin-bottom: 5%;
}

@media all and (max-width: 750px) {
  .card-emission {
    width: 40%;
  }
}

@media all and (max-width: 450px) {
  .card-emission {
    width: 80%;
    margin-bottom: 4%;
  }

  .audio-emission {
    margin-bottom: 10%;
    width: 100%;
  }
}

.cardfamille {
  position: relative;
  width: 150px;
  height: 100px;
  margin: 10px;
  perspective: 1000px;
  /* Pour l'effet 3D si nécessaire */
}

.card-contentfamille {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.frontfamille,
.backfamille {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  backface-visibility: hidden;
  transition: transform 0.6s ease;
  /* Ajouter la transition ici */
}

.frontfamille {
  background-color: whitesmoke;
  color: #000000;
}

.backfamille {
  background-color: #dd5d09;
  color: #ffffff;
  transform: translateX(100%);
  /* Masqué par défaut, à droite */
}

.card-contentfamille:hover .frontfamille {
  transform: translateX(-100%);
  /* Cache le front vers la gauche */
}

.card-contentfamille:hover .backfamille {
  transform: translateX(0);
  /* Affiche le back, venant de la droite */
}

.cards-famille {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  width: 100%;
  margin-left: 5%;
  margin-right: 5%;
  text-align: center;
}

.container-artiste {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-wrapper-artiste {
  width: 100%;
  overflow: hidden;
}

.carousel-artiste {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
}

.carousel-item-artiste {
  flex: 0 0 100%;
  box-sizing: border-box;
}


.carousel-item-artiste img {
  width: 100%;
  height: auto;
}

.prev-button,
.next-button {
  cursor: pointer;
}

.prev-button {
  margin-right: 5%;
}

.artistes-buttons {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-bottom: 6vh;
  margin-top: 6vh;

}

.custom-logo-link img {
  max-height: 0px !important;
}

body.wp-custom-logo .headroom--not-top .custom-logo-link img {
  max-height: 100px !important;
}

.icons-recette svg {
  fill: #dd5d09;
}

.prev-button-entree,
.next-button-entree,
.prev-button-dessert,
.next-button-dessert,
.prev-button-plat,
.next-button-plat {
  cursor: pointer;
}

.prev-button-entree,
.prev-button-dessert,
.prev-button-plat {
  margin-right: 5%;
}

.carousel-entree,
.carousel-plat,
.carousel-dessert {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
}

.carousel-item-entree,
.carousel-item-dessert,
.carousel-item-plat {
  flex: 0 0 100%;
  box-sizing: border-box;
}

.carousel-item-plat img,
.carousel-item-dessert img,
.carousel-item-entree img {
  width: 100%;
  height: auto;
}

@media (min-width: 350px) and (max-width: 400px) {
  .wp-block-image.alignfull {
    width: 350px;
    margin-left: -25%;
  }
}

@media (min-width: 300px) and (max-width: 350px) {
  .wp-block-image.alignfull {
    width: 310px;
    margin-left: -45%;
  }
}

.wpcf7-form-control-wrap.materiel-desire .wpcf7-not-valid-tip {
  display: none !important;
}


.entry-title {
  display: none !important;
}

.fls_registration_wrapper {
  display: flex;
  flex-direction: column;
  margin-block: 80px;
  width: 100%;
  justify-content: center;
  max-width: none !important;
}

.press_btn_bottom {
  background: #dd5d09;
  color: white !important;
  padding: 8px 12px;
  text-align: center;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  display: inline-block;
  border-radius: 5px;
}


.press_btn_bottom:hover {
  background: white;
  /* Change la couleur au survol */
  color: #dd5d09 !important;
  transform: scale(1.1);
  /* Effet d'agrandissement */
}


.press_list {
  width: 100%;
  font-family: Arial, sans-serif;
}

.press_items {
  border-bottom: 1px solid #ccc;
  overflow: hidden;
}

.press_item_top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  background: #f8f8f8;
  cursor: pointer;
}

.press_logo {
  width: 15%;
}

.press_logo img {
  max-width: 100%;
  height: auto;
}

.press_date {
  width: 25%;
  text-align: center;
}

.press_titre {
  width: 40%;
  text-align: left;
}

.press_btn {
  width: 5%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.press_btn span {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-left: 2px solid black;
  border-bottom: 2px solid black;
  transform: rotate(-45deg);
  transition: transform 0.3s;
}

.press_item_bottom {
  display: none;
  padding: 10px;
  background: #fff;

}

.press_item_bottom.active {
  display: flex;
  flex-direction: row;
}

.press_couv {
  width: 30%;
}

.press_couv img {
  max-width: 100%;
  height: auto;
}

.press_desc_block {
  width: 70%;
  padding-left: 10px;
}

.press_desc {
  margin-bottom: 5%;
}

.press_btn.active span {
  transform: rotate(135deg);
}

.hidden {
    display: none !important;
}

.wpcf7 input[type="email"] {
  width: 100%;
}

.wpcf7 input[type="tel"] {
  width: 100%;
}

.press_item_bottom.audio_only.active {
    display: flex;
    width: 90%;
    flex-direction: column;
}

.h4orange {
  color: #dd5d09 !important;
}

.wp-block-cover__inner-container has-global-padding is-layout-constrained wp-block-cover-is-layout-constrained