.sub-menu a {
    color: #100aaa !important;
}
.sub-menu li a {
    background: transparent;
    color: #ff5722;
		border-radius: 10px;
    padding: 8px 12px;
}


.user-header-menu {
    display: flex;
    align-items: center;
    margin: 8px;
}

.main-header-menu {
  display: flex; /* Affiche les éléments en ligne */
  align-items: center; /* Aligne verticalement les éléments */
  list-style: none; /* Supprime les puces si c'est une liste */
  padding: 0;
  margin: 0;
}

.main-header-menu .menu-item {
  position: relative;
  padding: 0 10px; /* Espacement interne pour éviter que le texte touche les séparateurs */
  display: flex; /* Assure un alignement correct */
  align-items: center; /* Centre verticalement le contenu */
  height: 100%; /* Prend toute la hauteur disponible */
}

.main-header-menu .menu-item:not(:last-child)::after {
  content: "|";
  margin: 0 12px;
  color: #ffffff;
  opacity: 0.6;
  position: absolute; /* Positionnement absolu par rapport au parent */
  right: -12px; /* Place le séparateur à droite de l'élément */
  top: 50%; /* Centre verticalement */
  transform: translateY(-50%); /* Ajuste la position verticale */
}

/* suppression bloc détails + ... + map en bas de page*/
.tribe-events-event-meta,
.tribe-events-single-section-map {
    display: none !important;
}
.tribe-events-c-subscribe-dropdown,
.tribe-events-c-subscribe-dropdown__container {
    display: none !important;
}

/* suppression du bloc entre le titre et les onglets */
.tribe-events-schedule,
.tribe-events-meta-group,
.tribe-events-event-meta,
.tribe-events-c-subscribe-dropdown {
    display: none !important;
}

/* suppression du lien "tous les événements" du haut de la page */
.tribe-events-back {
    display: none !important;
}

.user-header-menu a {
    display: flex;
    align-items: center;
    margin: 5px;
    text-decoration: none;
    color: inherit;
}

.user-header-menu img {
    border-radius: 50%;
}

.user-login .dashicons {
    font-size: 20px;
}

.pods-form input[type="submit"] {
    background-color: #100aaa;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    font-size: 15px;
    cursor: pointer;
}

.pods-form input[type="submit"]:hover {
    background-color: #0d0888;
}
	
		}/* suppression bloc détails + ... + map en bas de page*/
.tribe-events-event-meta,
.tribe-events-single-section-map {
    display: none !important;
}
.tribe-events-c-subscribe-dropdown,
.tribe-events-c-subscribe-dropdown__container {
    display: none !important;
}

/* suppression du bloc entre le titre et les onglets */
.tribe-events-schedule,
.tribe-events-meta-group,
.tribe-events-event-meta,
.tribe-events-c-subscribe-dropdown {
    display: none !important;
}

#jp-relatedposts {
    display: none !important;
}

/* espace de 20px entre titre et onglets */
.tribe-events-single-event-title {
    margin-bottom: 20px !important;
		font-family: 'Roboto';
		font-size: 24px;
}


.tabs-buttons {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
}

/* ligne horizontale */
.tabs-buttons::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #100aaa;
	font-family: 'Roboto';
    z-index: 1;
}

.tab-btn {
    position: relative;
    padding: 10px 15px;
    border: none;
	font-size: 15px;
	font-family: 'Roboto';
    cursor: pointer;
    background: transparent;
    margin-right: 5px;
    border-radius: 5px 5px 0 0;
    z-index: 2;
}

/* onglet actif */
.tab-btn.active {
    background: #100aaa;
    color: white;
    font-weight: bold;
	font-size: 15px;
	font-family: 'Roboto';
    border-bottom: 2px solid #100aaa; /* masque la ligne */
}
.tab-content {
    display: none !important;
	font-size: 14px;
	font-family: 'Roboto';
}

.tab-content.active {
    display: block !important;
}

	
@media (max-width: 768px) {
  .tabs-buttons {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .tab-btn {
    width: 100%;
    margin-right: 0;
    margin-bottom: 5px;
    border-radius: 5px;
  }
	.tabs-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .tabs-container button {
    width: 100%;
  }
}



/* fond en bleu ciel */
.single-tribe_events {
  background-color: #E7F6FF;
}

/* cadre blanc des onglets */
.single-tribe_events .tabs-container {
	/* cadre en blanc */
  background-color: #ffffff;
  border-radius: 12px;
	margin: 10px;
	padding: 10px;
	border: 1px solid #e0e0e0;
	font-size: 14px;
	font-family: 'Roboto'
	box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
}

/* bouton "pour s'inscrire" */
.btn-inscription, .button {
  background-color: #100aaa;
  color: white !important;
  padding: 12px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
	font-size: 14px;
  display: inline-block;
	margin-bottom: 5px;
}


.events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.event-card {
  display: flex;
  gap: 15px;
  text-decoration: none;
  background: #f5f7fb;
  padding: 15px;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
	box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);

  align-items: center;
}

.event-image img {
  width: 120px;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}

.event-content h3 {
  margin: 0;
  font-size: 16px;
  color: #100aaa;
}

.event-meta {
  font-size: 14px;
  color: #555;
}

.events-page {
  background-color: #E7F6FF;
  padding: 30px;
}
	
@media (max-width: 768px) {
  .events-grid {
    grid-template-columns: 1fr;
  }

	.event-card {
  	align-items: flex-start;
	}

	.event-image img {
    width: 80px;
    height: 110px;
  }
}

.events-grid a.event-card {
  text-decoration: none !important;
  color: inherit;
}

.event-content h3 {
  color: #100aaa;
}

/* désactive l'affichage de "image mise en avant" en haut de la page détail de l'événement */
.single-tribe_events .tribe-events-event-image {
  display: none;
}

/* "image mise en avant" à droite dans l'onglet détails de l'événement */
.details-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
}

.details-text {
  flex: 1;
}

.tab-content#tab-details {
  display: flex;
  gap: 20px;
}

.event-detail-image {
  flex-shrink: 0;
}

.event-detail-image img {
  width: 200px;
  height: auto;
  border-radius: 10px;
}

.event-image {
  margin-right: 10px !important;
}

.tab-content#tab-details > *:not(.event-detail-image) {
  flex: 1;
}

@media (max-width: 768px) {
  #tab-details {
    flex-direction: column;
  }

  .event-detail-image img {
    width: 100%;
  }
}



.events-tab-content {
  display: none;
}

.events-tab-content.active {
  display: block;
}

.events-tabs {
  display: flex;
  align-items: center;
  position: relative;
  margin-bottom: 20px;
}

/* ligne horizontale */
.events-tabs::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #100aaa;
  z-index: 1;
}

.events-tabs .tab-btn {
  position: relative;
  padding: 10px 15px;
  border: none;
  cursor: pointer;
  background: transparent;
  margin-right: 5px;
  border-radius: 5px 5px 0 0;
  z-index: 2;
}

.events-tabs .tab-btn.active {
  background: #100aaa;
  color: white;
  font-weight: bold;
  border-bottom: 2px solid #100aaa; /* masque la ligne */
}

/* image sous le texte pour les mobiles */
@media (max-width: 768px) {
  .details-wrapper {
    flex-direction: column;
  }
  .event-detail-image {
    order: 2; /* image en dessous */
	  margin-top: 15px;
  	text-align: center;
  }
  .details-text {
    order: 1;
  }
  .event-detail-image img {
    width: 100%;
    height: auto;
		text-align: center;

  }
	.ast-container {
		padding-left: 0px;
		padding-right: 0px;
	}
	
	.events-page {
		padding-left: 15px;
		padding-right: 15px;
	}
}

/* recherche par mots clé */
/*------------------------*/
.events-search {
  width: 400px;
	max-width: 100%;
  padding: 8px;
  border-radius: 5px;
  border: 1px solid #100aaa;
	margin-bottom: 20px;
}

/* CSS pour tri */
/*--------------*/
.events-sort {
  display: flex;
  align-items: center;
  flex-wrap: wrap;	
}

.events-sort label {
  margin-right: 10px;
  cursor: pointer;
}

.tri-groupe {
  margin-left: 20px;
}

.tri-label {
  margin-left: 20px;
}

@media (max-width: 768px) {
  .tri-nom {
		width: 100%;
		margin-bottom: 5px;
		margin-left: 0;
  }

.tri-label {
    display: none;
  }
.tri-container {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
	  margin-left: 10px;
	}
.tri-groupe {
    display: flex;
    white-space: nowrap;
    margin-left: 0px;
  }
/*  .events-sort {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }*/
}

/* filtre par catégorie */
/*----------------------*/
.events-filter {
	width: auto;
  display: inline-block;
  padding: 8px;
  border-radius: 5px;
  border: 1px solid #100aaa;
  margin-bottom: 10px;
	height: 35px;
  line-height: 35px;
  padding: 0 10px;
}
.events-controls {
  display: flex;
  flex-direction: column;
}

/* CSS menu choix catégories */
/*---------------------------*/
.custom-dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-btn,.dropdown-btn:hover,.dropdown-btn:active,.dropdown-btn:focus {
  padding: 8px 12px;
  border-radius: 5px;
  border: 1px solid #100aaa;
	color: white;
	font-size: 14px;
	font-family: 'Roboto';
  background: #100aaa;
  cursor: pointer;
	margin-bottom: 10px;
}

.dropdown-content {
  display: none;
  position: absolute;
  background: white;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 10px;
  margin-top: 5px;
  z-index: 1000;
  min-width: 180px;
  color: #333;
}

.dropdown-content label {
  display: block;
  margin-bottom: 5px;
  cursor: pointer;
}

#dropdown-futurs .cat-all,
#dropdown-passes .cat-all {
  display: block;
  padding-bottom: 6px;
  margin-bottom: 6px;
  border-bottom: 1px solid #ddd;
}

.cat-all {
  display: block;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid #ddd;
}

.um-button, .um-button:hover,.um-button:active,.um-button:focus{
    color: #ffffff !important;
    background-color: #100aaa !important;
		
		font-size: 14px;
		font-family: 'Roboto';
}

#tribe-events-pg-template {
	padding: 0px !important;
	margin-bottom: 10px !important;
	background-color: #e7f6ff;
}

.tribe-events-single-event-title {
	padding: 20px !important;
	margin-bottom: 10px !important;
background-color: white;
border-radius: 14px;
}

.ast-article-single {
	padding: 0px !important;
}

.single-tribe_events .tabs-container {
	margin: 0px !important;
	padding: 20px !important;
}

.tribe-events-notices {
  display: none !important;
	}

@media (max-width: 768px) {
	.tri-label {
    display: none;
  }
	.tri-container {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
	}
	.tri-groupe {
    white-space: nowrap;
    margin-left: 0px;
  }

  .events-sort {
    display: flex;
    align-items: flex-start;
  }
}
	/* swiper (slider) */
/* --------------- */
/* SLIDER PRINCIPAL */
.mainSwiper {
  max-height: 500px;
}

.mainSwiper .swiper-slide {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mainSwiper .swiper-slide img {
  max-height: 500px;
}


.video-wrapper {
    height: 500px;
}

.video-wrapper iframe {
    width: 100%;
    height: 500px;
	  aspect-ratio: 16 / 9;
}
/* THUMBNAILS */


.thumbSwiper .swiper-slide {
  height: 100%;
  opacity: 0.5;
  cursor: pointer;
	object-fit: cover;
}

.thumbSwiper .swiper-slide-thumb-active {
  opacity: 1;
  border: 2px solid #fff;
}

.thumbSwiper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

iframe {
  border: none;
}
.thumb-wrapper {
  position: relative;
	padding-top: 10px;
	}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 20px;
  color: white;
  background: rgba(0,0,0,0.5);
  border-radius: 50%;
  padding: 5px 8px;
}

.video-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.video-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-wrapper .play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 40px;
  color: white;
  background: rgba(0,0,0,0.6);
  border-radius: 50%;
  padding: 10px 15px;
}

.thumbSwiper .swiper-button-next,
.thumbSwiper .swiper-button-prev {
  color: #fff; /* couleur flèche */
  background: rgba(0, 0, 0, 0.6); /* fond sombre */
  width: 35px;
  height: 35px;
  border-radius: 50%;
}

.thumbSwiper .swiper-button-next::after,
.thumbSwiper .swiper-button-prev::after {
  font-size: 16px; /* taille de la flèche */
  font-weight: bold;
}

	
@media (max-width: 520px) {
  .um-members.um-members-grid.masonry .um-member {
    width: 50% !important;
    position: relative !important;
    left: auto !important;
    top: auto !important;
  }

  .um-members.um-members-grid.masonry {
    height: auto !important;
  }
}
	
/* Force les slides à prendre toute la largeur */
.elementor-swiper .swiper-slide {
  width: 100% !important;
}

/* Corrige le conteneur interne */
.elementor-swiper .swiper-slide-inner {
  width: 100% !important;
}

/* Supprime les espaces entre slides */
.elementor-swiper .swiper-wrapper {
  gap: 0 !important;
}

/* Optionnel : évite les débordements */
.elementor-swiper {
  overflow: hidden;
}
	
/* Style pour la lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

/* ==========================
 * MESSAGE FORMULAIRE MODIFIE 
   ========================== */
.pods-success-message {
    background: #dff0c8;
    border: 1px solid #7cad43;
    color: #4F8A10;
    padding: 35px 40px;
    margin: 40px auto;
    max-width: 1500px;
    font-size: 18px;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 25px;
    box-sizing: border-box;
}
.pods-success-icon {
    font-size: 32px;
    font-weight: bold;
    line-height: 1;
}
.pods-success-text {
    font-weight: 500;
}