/*
 Theme Name:   Hestia Child
 
 Description:  Hestia Child Theme
 Author:       Votre Nom
 Template:     hestia
 Version:      1.0.0
*/

/* Importation du style du thème parent */
@import url("../hestia/style.css");




.header-filter-gradient {
    background-size: cover !important; /* Assure que l'image couvre toute la zone */
    background-repeat: no-repeat !important; /* Empêche la répétition de l'image */
    background-position: center !important; /* Centre l'image dans l'élément */
}

.hestia-title {
    text-transform: uppercase;
} 


.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: #F5541E;
    border-radius: 10px; 
  }
  
  
  #map {
    
    width: 50%;
    box-shadow: 0 20px 40px -14px rgba(0,0,0,0.25);
  }

  #map-marches {
    
    width: 50%;
    box-shadow: 0 20px 40px -14px rgba(0,0,0,0.25);
  }
  
  .leaflet-control-zoom-in {
  color: #F5541E !important;
  }
  .leaflet-control-zoom-out {
  color: #F5541E !important;
  }
  .leaflet-top, .leaflet-bottom {
    z-index: auto;
  }
   
  .cards {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
  }

  .cardsMarches {
    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: 1.25rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
  }
  
  .card__text {
    flex: 1 1 auto;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
  }
  
  #title_partenaire_search {
    color: #F5541E;
  }
  
  /* 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: #F5541E; /* 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: 80%;
    flex-direction: column;

    
    justify-content: center;
    align-items: center;
  }
  
  .select_block_left_end {
    width: 100%;
    
    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;
  }
  #search-buttonMarches {
    margin: 0 !important;
    padding: 0 !important;
    width: 30%;
  }

  #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: 720px) {
    html {
      overflow-x: hidden;
    }
  }
    /* À partir de 660px de largeur d'écran */
  /* À partir de 660px de largeur d'écran */
  @media (max-width: 1000px) {
    .apidae_partenaire_reseach {
      flex-wrap: wrap;
      margin-bottom: 320px;
    }
    .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: #f5541E !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;
  }
  .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;
  }
  .big-title-slider-content .buttons a {
width: 60%;
margin-left: 0% !important;
  }
  #title_partenaire_search {
    font-size: 16px !important;
    margin-top: 2% !important;
  }
}

.forminator-ui#forminator-module-125.forminator-design--default .forminator-button-submit {
  background-color: #f5541E !important;

}

.icon svg {
  fill:#f5541E !important;
}

.navbar-brand img {
  max-height: 90px !important;
}

.form-group {
  padding-bottom: 0px !important;
  margin-bottom: 0 !important;
}

.search-block {
  margin-top: 1%;
}



.select_block_left_end {
  margin-bottom: 1%;
  margin-top: 1%;
}

.section-image .container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
}

.section-image .container img {
  max-width: 39%;  /* Ajustez la largeur maximale selon vos besoins */
  max-height: 60%;      /* Maintenir les proportions de l'image */
  margin: 1%;      /* Ajoute un espacement entre les logos */
}

.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;
}
.col-md-8 .page-content-wrap  .col-md-offset-2 {
  margin: 0 !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;
}

.loader {
  border: 8px solid #f3f3f3;
  border-top: 8px solid #dd5d09; /* ta couleur orange */
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}