/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

.liens-footer a {
  text-decoration: none !important;
  color: #00004f;
}

.liens-footer a:hover {
  text-decoration: underline !important;
  color: #00004f; /* ou une autre couleur si tu veux un effet */
}


/* Styles pour cartes membres*/
#membres-par-lettre {
  font-family: "Open Sans", sans-serif;
}
.lettre-section {
  margin-bottom: 3rem;
  position: relative;
}
.grille-lettre-cartes {
   display: grid;
  grid-template-columns: 100px 1fr;
  gap: 2rem;
  align-items: stretch;
  position: relative;
}
.colonne-lettre {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.lettre-wrapper {
  margin-right: 12px;
  z-index: 2;
  margin-bottom: 1rem;
  margin-left: -1rem;
}
.lettre {
 font-size: 40px;
  font-weight: bold;
  color: #00004F;
  text-align: center;
  margin-right: 50px;
}
.barre-verticale {
  position: absolute;
  left: 100px;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: #00004F;
  z-index: 1;
}
.cartes-membres {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  position: relative;
}
.carte-membre {
  background: white;
  border-radius: 15px;
  padding: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  font-family: "Open Sans", sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
.logo-membre {
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
  margin-bottom: 1rem;
  align-self: flex-start;
}
.titre-membre a {
  font-weight: 600;
  font-size: 20px;
  color: #00004F;
  text-decoration: none !important;
}
.tel-membre {
  color: #00004F;
  margin: 0.5rem 0;
  text-decoration: none !important;
}
.site-web {
  color: #00004F;
  text-decoration: underline !important;
}
.voir-plus-wrapper {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-left: 130px;
  margin-top: 2rem;
}
#voir-plus-lettres {
  background-color: #00004F;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-family: "Open Sans", sans-serif;
  cursor: pointer;
}
@media screen and (max-width: 768px) {
  .cartes-membres {
    grid-template-columns: 1fr;
  }
  .grille-lettre-cartes {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .colonne-lettre {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .lettre-wrapper {
    margin: 0;
    margin-bottom: 0.5rem;
  }
  .barre-verticale {
    position: relative;
    width: 100%;
    height: 2px;
    background-color: #00004F;
    left: 0;
    top: 0;
    bottom: auto;
  }
  .voir-plus-wrapper {
    margin-left: 0;
    justify-content: center;
  }
}

/* css pour liste évènements */
.evenements-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin-bottom: 4rem;
}

/* Container général */
.evenements-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
    width: 100%;
    max-width: 1280px;
    padding: 2rem 1rem;
    box-sizing: border-box;
}

/* Nouvelle section regroupant les boutons et le détail */
.liste-et-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

/* Liste des événements */
.liste-evenements {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 300px;
}

.evenement-btn {
    background: transparent;
    border: none;
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    color: #00004F;
    opacity: 0.3;
    text-align: left;
    padding: 8px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.evenement-btn.active {
    opacity: 1;
    font-weight: 700;
}

.line-separator {
    width: 100%;
    height: 1px;
    background-color: #00004F;
    margin: 2px 0 6px;
}

/* Détail de l’événement */
.detail-evenement {
    width: 100%;
}

.fiche-evenement {
    background-color: #00004F;
    color: white;
    border-radius: 20px;
    padding: 3rem 2rem 2rem;
    max-width: 100%;
    margin: 0 auto;
}

.fiche-evenement.hidden {
    display: none;
}

.content-wrapper {
    display: flex;
    gap: 2.5rem;
    max-width: 100%;
}

.fiche-evenement .img img {
    border-radius: 10px;
    width: 285px;
    height: auto;
}

.infos {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.top {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.calendrier-icon img {
    width: 90px;
    height: auto;
}

.texte {
    line-height: 1.4;
}

.white-title {
    color: #ffffff !important;
    margin: 0 0 0.2rem;
    line-height: 1.3;
}

.event-date,
.event-lieu,
.event-heure {
    margin: 0;
    line-height: 1.3;
    font-size: 14px;
}

.description {
    margin-top: 1rem;
    font-size: 14px;
    line-height: 1.6;
}

/* Formes décoratives */
.decorations-colonne {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    pointer-events: none;
}

.shape-vert {
    margin-top: -3rem;
    margin-right: 0rem;
}

.shape-rouge {
    margin-right: 20rem;
    margin-top: -100px;
    z-index: 2;
}

.shape-jaune {
    margin-top: -1rem;
    z-index: 1;
}

@media screen and (max-width: 767px) {
  .decorations-colonne {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  .content-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .fiche-evenement .img img {
    width: 100%;
    max-width: 320px;
    height: auto;
    margin-bottom: 1rem;
  }

  .top {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .calendrier-icon img {
    width: 60px;
  }

  .texte {
    text-align: center;
  }

  .infos {
    align-items: center;
  }
}

/*----- FORMS ----- */
input, textarea {
	padding: 0 !important;
}

.fusion-form-form-wrapper .fusion-form-field .fusion-form-input-with-icon .fusion-form-input {
	margin-left: -10px !important;
}

.fusion-form-form-wrapper .fusion-form-field .fusion-form-input-with-icon>i {
	top: 50% !important;
	left: 0 !important;
}

.fusion-form-form-wrapper .fusion-form-field .fusion-form-upload-field-container .fusion-form-upload-field {
	padding-top: 40px !important;
}

.fusion-form-form-wrapper .fusion-form-field .fusion-form-input-with-icon>i.fa-upload {
	top: 35% !important;
	left: 0 !important;
}

form h3 {
	font-weight: 600 !important;
	margin-top: 30px !important;
}





