.flags-container {
  display: flex;
  justify-content: left;
  gap: 10px; /* Espace entre les drapeaux */
  margin-top: 20px; /* Marge supérieure pour espacer les drapeaux du contenu */
}

.flag {
  width: 40px; /* Largeur des drapeaux */
  height: auto;
  transition: transform 0.3s;
}

.flag:hover {
  transform: scale(1.1); /* Zoomer légèrement au survol */
}

.spip_doc_legende {font-size: 0.85em;}


.exposition-container {
	border-top: solid;
    border-width: 1px 0 0px;
	padding-bottom: 2.5rem;
    margin-bottom: 3rem;
    margin-top: 2rem;
}
.date {font-size:16px;font-weight: 600;color: grey}

a.nav-toggle {
    text-align: center;
    font-size: 1.2em;
    background-color: #db1762;
    color: white;
    text-decoration: none;
}

.event-button {
    text-align: center;
    margin-bottom: 20px;
}

.btn-propose-event {
    display: inline-block;
    padding: 10px 20px; /* Plus équilibré */
    background-color: #c60303; /* Couleur du bouton */
    color: #ffffff; /* Couleur du texte */
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.btn-propose-event:hover {
    background-color: #7f7d7d; /* Couleur du bouton au survol */
}

.btn-gold {
    display: inline-block;
    padding: 5px 15px;
    color: #d4a017; /* Texte doré */
    background-color: #ffffff; /* Fond blanc */
    border: 1px solid #d4a017; /* Bordure dorée */
    border-radius: 5px; /* Coins arrondis */
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-gold:hover {
    background-color: #d4a017; 
    border-color: #d4a017; 
    color: #ffffff; /* Texte blanc lors du survol */
}


.subtitle::before {
    content: "[";
	color: red;
}

.subtitle::after {
    content: "]";
	color: red;
}

h3 a:active {
        background-color: #C90;
    }

/* Container de la grille */
.events-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Espace entre les items */
    justify-content: space-between;
	margin-bottom: 30px;
	text-align: center;
	padding: 0 2px;
}

/* Chaque item de la grille */
.event-item {
    border-radius: 8px;
    overflow: hidden;
    width: calc(25% - 20px); /* 3 items par ligne, avec espace entre */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

/* Réduction de la taille de la vignette */
.event-logo img {
    width: 100%; /* S'adapte à la largeur de son conteneur */
    height: auto;
    display: block;
    border-radius: 4px;
}

/* Titre de l'événement */
.event-title {
    font-size: 1em;
    margin: 12px 0;
    color: #333;
	font-weight: 600;
}

/* Lien vers l'article */
.event-link a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

/* Date de l'événement */
.date {
    font-size: 0.85em;
    color: #C90;
}

/* Effet hover sur les items */
.event-item:hover {
    transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 768px) {
    .event-item {
        width: calc(50% - 20px); /* 2 items par ligne */
    }
}

@media (max-width: 480px) {
    .event-item {
        width: 45%; /* 1 item par ligne */
    }
}

.btn-secondary {
    display: inline-block;
    padding: 10px 20px;
    color: #c60303; /* Doré */
    background-color: #fff; /* Fond blanc */
    border: 1px solid #c60303; /* Bordure dorée */
    border-radius: 5px; /* Coins arrondis */
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: background-color 0.3s ease, color 0.3s ease;
	margin-bottom: 15px;
}

.btn-secondary:hover {
    background-color: #c60303; /* Fond doré au survol */
    color: #fff; /* Texte blanc au survol */
}
#parent-element {
  display: flex;
  justify-content: center;
  align-items: center;
  max-height: 325px; /* ou une hauteur fixe, selon les besoins */
}

#adngin-in_content-0 {
  /* Vous pouvez ajouter des styles spécifiques à la pub ici */
  max-width: 600px; /* Exemple de largeur de la pub */
  height: 325px; /* Exemple de hauteur de la pub */
  background-color: #f0f0f0; /* Exemple de fond pour la pub */
}

.page-container {
    display: flex;
    justify-content: center;
    width: 1648px;
    max-width: 95%;
    margin: 1em auto;
    background-color: #fff;
}



/* Sidebar gauche */
.sidebar-left {
    position: sticky;
    top: 220px; /* Reste à 20px du haut de la fenêtre */
    align-self: flex-start; /* Assure que le sticky fonctionne dans un conteneur flex */
    width: 300px;
    margin-right: 0px; /* Espace entre la sidebar et le contenu */
    height: auto;
}

/* Sidebar droite */
.sidebar-right {
    position: sticky;
    top: 220px; /* Reste à 20px du haut de la fenêtre */
    align-self: flex-start; /* Assure que le sticky fonctionne dans un conteneur flex */
    width: 160px;
    margin-left: 0px; /* Espace entre la sidebar et le contenu */
    height: auto;
}

/* Cacher les sidebars sur les écrans plus petits */
@media (max-width: 1200px) {
    .sidebar-left, .sidebar-right {
        display: none;
    }
}

.sujets-title {
  font-size: 2rem;
  text-align: center;
  margin: 20px 0;
  font-weight: bold;
  color: #333;
}

/* Style de base pour le conteneur */
.sujets-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px; /* Espace entre les articles */
  padding: 10px;
}

/* Style pour chaque article */
.sujet {
  flex: 1 1 calc(50% - 20px); /* Deux colonnes sur grand écran */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s;
}

.sujet img {
  width: 100%; /* Image en pleine largeur */
  height: auto;
}

.sujet h3 {
  font-size: 1.1rem;
  font-weight: 600;
  padding: 10px;
}

/* Effet au survol */
.sujet:hover {
  transform: scale(1.05);
}

/* Ajustement pour les écrans mobiles (une colonne) */
@media (max-width: 768px) {
  .sujet {
    flex: 1 1 100%; /* Une colonne pour les écrans plus petits */
  }
}

/* Conteneur principal de la recherche */
.search-container {
  display: flex;
  justify-content: center; 
  align-items: center;
  gap: 10px; 
  margin: 20px 0;
  width: 100%; 
  height: 90px;
  border-top: 1px solid #ccc; 
  border-bottom: 1px solid #ccc; 
  padding: 10px 0;
}

/* Style du champ de recherche */
.gsc-input-box {
  border: 2px solid #ccc;
  border-radius: 10px;
  padding: 10px;
  width: 300px;
  font-size: 16px;
  transition: border-color 0.3s;
}

.gsc-input-box:focus {
  border-color: #d30404;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

/* Style du bouton de recherche */
.gsc-search-button {
  border-radius: 10px;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.gsc-search-button:hover {
  background-color: #d30404 !important;
	
}

/* Texte "Optimisé par Google" */
.gsc-branding {
  font-size: 12px;
  color: #888;
  display: block;
  text-align: center;
  margin-top: 10px;
}

/* Bouton Google */
.gsc-control-cse .gsc-search-button-v2, .gsc-control-cse .gsc-input-box {
  border-radius: 10px;
}

/* Ajout du texte "Rechercher" dans le bouton de recherche */
.gsc-search-button-v2 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  padding-left: 20px;
  padding-right: 20px;
  height: 40px; /* Ajuste la hauteur si nécessaire */
  border-color: #d30404 !important;
  background-color: #d30404 !important;
}

/* Si le texte Rechercher a besoin d'un ajustement de taille */
.gsc-search-button-v2::after {
  content: 'Rechercher';
  color: white;
  font-size: 16px; /* Ajuste la taille du texte */
  font-weight: bold;
}

@media (max-width: 375px) {
    .search-container {
        flex-direction: column; /* Mettez les éléments en colonne sur petit écran */
    }

    .gsc-input-box {
        width: 100%; /* Champ de recherche plus grand sur mobile */
        max-width: 100%;
    }

    .gsc-search-button {
        width: 100%; /* Bouton plus large sur mobile */
        max-width: 100%;
    }
	.gsc-search-button-v2 {
    padding: 6px 10px;
	}
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0;
}

.spip_logo_site {
  flex-shrink: 0; /* Assure que le logo garde sa taille */
}

#slogan {
  text-align: right; /* Aligne le slogan à droite */
  flex-grow: 1;
  padding-right: 20px; /* Ajoute un peu d'espace à droite */
}

header a {
  text-decoration: none;
  color: inherit;
}

.subtitle {
	clear: both;
    font-size: 1.4rem; /* Taille de la police pour "La confluente" */
    display: block; /* Forcer l'affichage en bloc */
    text-align: left; /* Assure l'alignement à gauche, ou 'center' si souhaité */
    margin-top: 0.2rem; /* Ajuste l'espace entre Lyon et La confluente */
    color: #000; /* Ajuste la couleur si besoin */
}

#slogan {
    margin-top: 1rem; /* Espace en haut du slogan */
}

a.spip_in { text-decoration: underline; } /* liens internes */