/* RÃƒÂ©initialisation des styles et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.body-no-scroll {
    overflow: hidden;
    /* Ajoutez ceci si vous voulez fixer la position de la page même sur les appareils iOS */
    position: fixed; 
    width: 100%;
}
.fixed-header {
    position: fixed;
    top: 50;
    left: 0;
    right: 0;
    background-color: #fff; /* Fond blanc pour correspondre ÃƒÂ  votre en-tÃƒÂªte */
    padding: 10px;
    z-index: 999; /* Ajustez la valeur si nÃƒÂ©cessaire pour empÃƒÂªcher le chevauchement */
}
body {
    font-family: Arial, sans-serif;
    background-color: #fff; /* Fond blanc cassÃƒÂ© */
    color: #333; /* Couleur du texte */
    background-image: url('../img/fond.jpg');
}
body, html {
    height: 100%;
    margin: 0;
  }
  
  body {
    display: flex;
    flex-direction: column;
  }
  
  main {
    flex: 1; /* This will make the main content to expand and push the footer down */
  }
  
/* En-tÃƒÂªte */
header {
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: -11px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    /*background-color: whitesmoke;*/
  z-index: 2000;
}
.footer {
    text-align: center;
    margin-bottom: 20px;
    background-color: #EE7202;
    border-radius: 10px;
    color: white;
    margin-top: 3%;
}

.footer-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    margin-left: -66px;
}
@media screen and (max-width: 600px) {
    .footer-table, .footer-cell, .footer-cell2 {
        width: 100%;
        display: block;
        margin-left: 0;
        padding: 5px;
    }

    .footer-cell, .footer-cell2 {
        text-align: center; /* Centrer le texte pour les petits écrans */
    }

    .social-icons img {
        width: 20px; /* Taille réduite des icônes pour les petits écrans */
        height: 20px;
    }
}
.footer-cell {
    padding: 5px;
    text-align: left;
    vertical-align: middle;
    border: none; /* Supprime les bordures du tableau */
}
.footer-cell2 {
    padding: 5px;
    text-align: right;
    vertical-align: top;
    border: none; /* Supprime les bordures du tableau */
}
.footer-cell a {
    color: white;
    text-decoration: none; /* Supprime le soulignement des liens */
}

.footer-cell a:hover {
    text-decoration: underline; /* Style au survol des liens */
}

.social-icons img {
    width: 24px;
    height: 24px;
    margin-right: 5px;
}
.content {
    margin: 20px;
    margin-top: 5%;
}
img {
max-width: 200px;
}
.scrollable-table {
    overflow-x: auto;
    max-height: 300px;
}
.logo {
    background-color: #fff; /* Fond blanc cassÃƒÂ© pour le logo */
    padding: 10px;
    display: flex;
    flex-direction: column; /* Place le logo au-dessus de la barre de navigation */
    align-items: flex-start; /* Aligner le contenu en haut ÃƒÂ  gauche */
    border-radius: 5px;
}
.logos {
    display: flex;
    /*align-items: top;*/
    /* margin-bottom: 10px; */
    justify-content: space-around;
    background-color: white;
}
.logo-image {
    max-width: 400px; /* Double de la taille d'origine */
    height: auto;
    cursor: pointer; /* Curseur main pour indiquer que le logo est cliquable */
}
.logo-asr {
    display: flex;
    align-items: flex-start; /* Aligner le contenu en haut ÃƒÂ  gauche */
    margin: 10px; /* Marge autour du deuxiÃƒÂ¨me logo */
}
.logo, .logo-asr {
    background-color: #fff; /* Fond blanc cassÃƒÂ© pour les logos */
    padding: 10px;
    border-radius: 5px;
}


.logo-asr .logo-image {
    max-width: 100px; /* Ajustez la taille du deuxiÃƒÂ¨me logo selon vos besoins */
    height: auto;
    cursor: pointer; /* Curseur main pour indiquer que le logo est cliquable */
}
.logo-image, .logo-asr .logo-image {
    max-width: 400px; /* Ajustez la taille des logos selon vos besoins */
    height: auto;
    cursor: pointer; /* Curseur main pour indiquer que les logos sont cliquables */
    max-height: 80px;
}
nav {
    background-color: #EE7202; /* Fond orange pour la barre de navigation */
    border-radius: 10px; /* Coins arrondis */
    width: 100%;
    padding: 10px; /* Marge intérieure pour le menu */
   
}

.orange-strong {
    color: #ee7202;
    font-size: 135%;
    margin-top: 3%;
}
nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    margin: 0;
}

nav ul li {
    /*display: flex;*/
    align-items: center;
    margin-right: 20px;
    position: relative;
    border-radius: 10px; /* Coins arrondis pour chaque élément du menu */
    transition: background-color 0.3s, color 0.3s; /* Transition de couleur */
}

nav ul li:last-child {
    margin-right: 0; /* Supprime la marge à droite pour le dernier élément */
}

nav ul li a {
    display: block;
    padding: 10px 20px;
    color: #fff; /* Couleur du texte */
    text-decoration: none;
    font-weight: bold; /* Texte en gras */
    font-size: 17px;
    transition: color 0.3s; /* Transition de couleur */
}

/* Change la couleur et le fond au survol */
nav ul li:hover {
    background-color: orange; /* Fond orange au survol */
    color: #fff; /* Texte blanc au survol */
}

/* Sous-menus */
nav ul ul {
    display: none; /* Masquer les sous-menus par défaut */
    position: absolute;
    background-color: #EE7202;
    border-radius: 0 0 10px 10px;
}

nav ul ul ul {
    display: none; /* Masquer les sous-sous-menus par défaut */
    position: absolute;
    left: 100%;
    top: 0;
    background-color: #F5A962;
}


nav ul li:hover > ul {
    display: block; /* Afficher les sous-menus lors du survol */
}
/* CSS pour le calendrier */
main {
	
    margin-top: 180px; /* Espacement pour ÃƒÂ©viter de chevaucher l'en-tÃƒÂªte */
    padding: 20px;
    
}
h1, h2 {
    color: #333; /* Couleur du texte */
    margin: 10px 0; /* Marge en haut et en bas */
    font-size: 24px; /* Taille de police */
    font-weight: bold; /* Texte en gras */
    text-align: center; /* Aligner le texte au centre */
}
h1 {
    font-size: 24px; /* Taille de la police pour le titre */
    font-weight: bold; /* Texte en gras */
    margin-bottom: 10px; /* Espacement en bas du titre */
}

h2 {
    font-size: 20px; /* Taille de la police pour le sous-titre */
    font-weight: bold; /* Texte en gras */
    margin-bottom: 20px; /* Espacement en bas du sous-titre */
}


th.vide {
    border: none; /* Pas de bordure pour la premiÃƒÂ¨re colonne */
}

#fixedBottom{
  position: sticky;
  bottom: 0;
  width: 100%;
}

#fixedBottom2{
  position: sticky;
  /*bottom: la taille de fixedBottom;*/
  width: 100%;
  background-color: #e9e9e9;
  margin-top: 10px;
}

#fixedBottom > *{
  margin-top: 0px;
}


#fixed {
    background-color: rgba(233,233,233,0.7); /* Making it slightly transparent to visualize overlap */
    border: 2px dashed red; /* Adding a border to visualize the element */
}

/* Styles for week navigation in footer */
.week-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    background-color: #e9e9e9;
    border-top: 1px solid #ccc;
}

.week-navigation a {
    margin: 0 15px;
    padding: 5px 15px;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.week-navigation a:hover {
    background-color: #555;
}

.current-week {
    margin: 0 15px;
    font-weight: bold;
}

/* Improved table styles */
table {
    border-collapse: collapse;
    width: 100%;
    margin: 20px 0;
}

table th, table td {
    border: 1px solid #e0e0e0;
    padding: 10px 15px;
    text-align: center;
}

table th {
    background-color: #f7f7f7;
    font-weight: bold;
}

table tr:nth-child(even) {
    background-color: #fafafa;
}

/*table tr:hover {
    background-color: #f5f5f5;
}*/

.week-navigation {
    margin-top: 30px;
}

/* Responsive table styles */
table-container {
    width: 90%; /* Use 90% of the viewport width */
    max-width: 1200px; /* Maximum width for the table */
    margin: 0 auto; /* Center the table horizontally */
    overflow-x: auto; /* Allow horizontal scrolling if needed */
}

/* Improved styles based on feedback */


/* ce qu'il y a dans styles.css.txt est à replacer ici ci jamais */

  
/* Specific style for the title with an ID */
#pageTitle {
    text-align: center; /* Centrer le titre */
    font-size: 2em; /* Rendre le texte plus grand */
    font-weight: bold; /* Texte en gras */
    color: #EE7202; /* Couleur orange spécifiée */
    margin: 20px 0; /* Ajouter un peu d'espace autour du titre */
}

/* Sidebar menu styles */
.sidebar-menu {
    position: fixed; /* Position the menu next to the table */
    left: 10px; /* Position the menu to the right of the table */
    top: 50%; /* Center the menu vertically */
    transform: translateY(-50%); /* Adjust for perfect centering */
    width: 180px; /* Fixed width for the menu */
    background-color: #f9f9f9; /* Light background for the menu */
    border: 1px solid #e0e0e0; /* Border for the menu */
    border-radius: 5px; /* Rounded corners for the menu */
    padding: 10px; /* Padding around the menu */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
	z-index: 1000;
}

.sidebar-menu h3 {
    text-align: center; /* Center the title */
    color: #EE7202; /* Theme orange color for the title */
    margin-bottom: 10px; /* Spacing below the title */
}

.sidebar-menu a {
    display: block; /* Make the links block level */
    padding: 5px 10px; /* Padding for the links */
    text-decoration: none; /* Remove the underline */
    color: #333; /* Default text color */
    border-radius: 3px; /* Rounded corners for the links */
    margin-bottom: 5px; /* Spacing between the links */
    transition: background-color 0.3s; /* Transition effect for hover */
}

.sidebar-menu a:hover {
    background-color: #EE7202; /* Theme orange color for hover */
    color: #fff; /* White text on hover */
}

/* Reste du CSS existant... */

/* Styles spécifiques pour chaque ville */
.city-tables {
    display: flex;
    justify-content: space-evenly; /* Centrer les tableaux horizontalement avec un espacement égal */
    flex-wrap: wrap; /* Permettre aux tableaux de passer à la ligne sur les petits écrans */
    gap: 20px; /* Espacement entre les tableaux */
    margin-top: 20px; /* Espacement en haut */
}

.city-table {
    border: 1px solid #ddd; /* Bordure pour chaque tableau */
    border-radius: 8px; /* Coins arrondis pour les tableaux */
    overflow: hidden; /* Cache tout débordement et respecte les coins arrondis */
    box-shadow: 0 4px 8px rgba(0,0,0,0.05); /* Ombre douce pour donner de la profondeur */
    width: calc(33% - 20px); /* Répartir uniformément sur trois colonnes, en tenant compte de l'espacement */
    min-width: 300px; /* Largeur minimale pour la responsivité */
}

/* Styles de couleur pour chaque ville */
.oyonnax {
    border-top: 4px solid #ff6666; /* Rouge */
}

.bourg-en-bresse {
    border-top: 4px solid #6666ff; /* Bleu */
}

.amberieux-en-bugey {
    border-top: 4px solid #66ff66; /* Vert */
}

/* Styles pour les titres des villes */
.city-table h3 {
    margin: 0; /* Retire les marges par défaut */
    padding: 10px; /* Ajoute un peu d'espace intérieur */
    text-align: center; /* Centre le texte */
    font-size: 1.25em; /* Taille de la police légèrement plus grande */
    background-color: #f7f7f7; /* Fond différent pour le titre */
    color: #333; /* Couleur de texte */
}

/* Amélioration de la présentation des tableaux */
.city-table table {
    width: 100%; /* Les tableaux prennent toute la largeur de leur conteneur */
}

.city-table th, .city-table td {
    border: 1px solid #ddd; /* Légère bordure pour les cellules */
    padding: 8px; /* Espacement intérieur */
    text-align: center; /* Alignement du texte à gauche */
}


.city-table th {
    background-color: #e7e7e7; /* Fond différent pour les en-têtes */
}

.city-table tr:nth-child(even) {
    background-color: #f9f9f9; /* Couleur de fond alternée pour les rangées */
}

.city-table tr:hover {
    background-color: #e7e7e7; /* Couleur de fond au survol */
}

/* Rendre les tableaux plus présentables et centrés */
.main {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

/* Centrer le contenu principal */
.main .table-container {
    width: 80%; /* Ajuster en fonction de la largeur souhaitée */
    margin: 0 auto; /* Centrer dans la page */
}

/* Ajustement pour les petits écrans */
@media (max-width: 768px) {
    .city-tables {
        flex-direction: column;
        align-items: center;
    }

    .city-table {
        width: 90%; /* Utiliser plus d'espace sur les petits écrans */
    }
   
}

#inscriptionModalContainer {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    inset: 0;
    z-index: 2000;
}
/* Style pour le fond sombre (overlay) du popup */
#inscriptionOverlay {   
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

/* Style pour le formulaire d'inscription lui-même */
/* Style pour le formulaire d'inscription lui-même */
#inscriptionForm {
    display: flex;
    position: relative;
    max-width: 600px;
    height: unset;
    max-height: 100%;
    background-color: #f5f5f5;
    padding: 20px;
    margin-inline: auto;
    border-radius: 10px;

}

button#btnSuivant {
    justify-self: end;
    left: 439px;
    /* top: 10px; */
    position: sticky;
}
    
#partie1, #partie2, #partie3 {
    display: flex;
    flex-wrap: wrap; /* Permet aux éléments de passer à la ligne si nécessaire */
    justify-content: space-between; /* Espace entre les colonnes */
}



.colonne {
    flex: 0 0 41%; /* Chaque colonne prend environ la moitié de l'espace, avec un peu d'espace entre */
    margin-bottom: 20px;
}

/* Styles pour le champ de l'adresse postale */
.fieldset-address {
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
}

.address-col {
    margin-bottom: 10px;
}

.icone-bouton {
    width: 1.3em;
    height: auto;
    margin-right: 0.5em;
}

/* Styles pour les champs du formulaire */
#inscriptionForm input[type="text"],
#inscriptionForm input[type="date"],
#inscriptionForm input[type="email"],
#inscriptionForm input[type="tel"],
#inscriptionForm input[type="number"],
#inscriptionForm select {
    display: block;
    width: 100%;
    padding: 5px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}
#inscriptionForm legend {
    float: none;
    font-size: larger;
}
.city-table .icone-bouton {
    margin: 0;
}
.bouton-avec-icone {
    position: relative; /* Nécessaire pour positionner correctement le pseudo-élément */
    padding-left: 30px; /* Faire de la place pour l'icône */
}

.bouton-avec-icone::before {
    content: url('https://asr.gretacfa-ain.fr/img/val.png'); /* Chemin de votre icône */
    position: absolute;
    left: 10px; /* Ajuster en fonction de la taille de votre icône */
    top: 50%;
    transform: translateY(-50%); /* Centrer verticalement */
}
.city-table button {
    /* padding: 10px 20px; */
    /* border: none; */
    /* border-radius: 15px; */
    display: flex;
    background-color: #EE7202;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    /* margin-top: 20px; */
    align-self: center;
    align-items: center;
}
/* Styles pour le bouton de soumission */
#inscriptionForm input[type="submit"] {
    background-color: #EE7202;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    align-self: center; /* Centrer le bouton */

    display: block;
    margin-block: 0;
    width: fit-content;
}

#inscriptionForm input[type="submit"]:hover {
    background-color: #cc5a02;
}
.page-accueil-container {
    display: flex;
    margin-left: 7%;
    margin-right: 7%;
    max-width: 84%;
}

.liste-accueil2 {
    color: #ee7202;
    font-size: larger;
    font-weight: bold;
}
.contenu-textuel {
    flex: 2;
    padding: 10px;
    font-size: large;
    padding-top: 2%;
    margin-left: 5%;
    text-align: left;
}

.contenu-textuel p {
    /*text-align: justify;*/
    margin-bottom: 41px;
}

.liste-accueil {
    list-style-type: disc;
   /* margin-left: 20px;*/
}

/*.colonne-images {
    flex: 1; /* Prend 1/3 de l'espace 
    display: flex;
    flex-direction: column;
    align-items: center;  Centre les images verticalement 
    padding: 10px;
} 

.colonne-images img {
    width: 60%;
    max-width: 223px;
    margin-bottom: 20px;
}
*/
@media (max-width: 768px) {
    .page-accueil-container {
        flex-direction: column;
        margin: auto;
    }
    .contenu-textuel {
        margin: auto;
    }
    .colonne-images img {
       /* width: 50%; /* Réduit la taille des images sur les petits écrans */
        margin: auto; /* Centre les images horizontalement */
    }
}
/* Styles supplémentaires pour le formulaire */
form {
    /* background-color: #f9f9f9; */
    /* padding: 20px; */
    /* border-radius: 8px; */
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
    /* width: 100%; */
   /* max-width: 500px;*/
    margin: auto;
}

form input, form select {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

form input[type="submit"] {
    background-color: #EE7202;
    color: white;
    cursor: pointer;
    border: none;
}

.form__action-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 2rem;
}

#formTitle {
    text-align: center;
    color: #EE7202; /* Couleur orange spécifiée */
    /* Autres styles que vous souhaitez appliquer au titre */
}
.pageTitle2 {
    text-align: center;
    font-size: 1.8em;
    font-weight: bold;
    color: #EE7202;
    margin: 20px 0;
    padding: 10px;
    margin-block: 0;
}
/*@media (max-width: 768px) {
    form {
        width: 95%; /* Plus large sur les petits écrans 
        margin: 10px auto;
    }
}
*/

.custom-divider {
    border-top: 8px solid #6E5138; /* Couleur de la bordure */
    margin: 20px 0; /* Espacement autour du séparateur */
}

button, input[type="submit"] {
    background-color: #EE7202; /* Choisissez une couleur de fond */
    color: white; /* Texte blanc pour un bon contraste */
    border: none; /* Pas de bordure pour un look épuré */
    transition: background-color 0.3s; /* Transition douce lors du survol */
    font-size: 16px; /* Taille de police plus grande pour une meilleure lisibilité */
    padding: 10px 20px; /* Plus de padding pour un bouton plus grand */
    border-radius: 5px; /* Coins légèrement arrondis pour un look moderne */
    cursor: pointer; /* Curseur en forme de main pour indiquer la fonctionnalité cliquable */
}
button, button[type="button"] {
    background-color: #EE7202; /* Choisissez une couleur de fond */
    color: white; /* Texte blanc pour un bon contraste */
    border: none; /* Pas de bordure pour un look épuré */
    transition: background-color 0.3s; /* Transition douce lors du survol */
    font-size: 16px; /* Taille de police plus grande pour une meilleure lisibilité */
    padding: 10px 20px; /* Plus de padding pour un bouton plus grand */
    border-radius: 5px; /* Coins légèrement arrondis pour un look moderne */
    cursor: pointer; /* Curseur en forme de main pour indiquer la fonctionnalité cliquable */
}

button:hover, input[type="submit"]:hover {
    background-color: #6E5138; /* Un peu plus foncé lors du survol */
}

.form-row {
    margin-bottom: 15px;
  }
.legend {
    float: none;
}

.progress {
    width: 100%; /* Largeur totale de la barre de progression */
    background-color: #e0e0e0; /* Couleur de fond */
    border-radius: 5px; /* Arrondir les coins */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); /* Ombre optionnelle */
    margin: 20px 0; /* Espacement autour de la barre de progression */
}

.progress-bar {
    height: 20px; /* Hauteur de la barre de progression */
    background-color: #4caf50; /* Couleur de la barre de progression */
    text-align: center; /* Alignement du texte (si vous ajoutez du texte) */
    line-height: 20px; /* Hauteur de ligne pour centrer le texte verticalement */
    color: white; /* Couleur du texte */
    border-radius: 5px; /* Arrondir les coins */
    transition: width 0.5s ease-in-out; /* Transition douce pour le changement de largeur */
}
.image1 {
    float: right;
    margin-left: 4%;
    max-width: 23%;
}
p.paraf-taille {
    font-size: 120%;
    font-style: italic;
}
strong.titre-secondaire {
    font-size: 120%;
    font-style: italic;
}
p.titre-secondaire2 {
    font-size: 147.55%;
    text-align: center;
    margin-left: 9%;
    margin-right: 6%
}
img.image2 {
    float: left;
    text-align: center;
    /* margin-top: -2%; */
    margin-right: 5%;
    max-width: 23%;
}
li.marge-droite {
    margin-right: 5%;
}
li.paraf-espace {
    margin-top: 1%;
    margin-right: 7%;
    font-style: italic;
    /* margin-bottom: 4%;*/
}
li.paraf-espace2 {
    margin-top: 1%;
    /* margin-left: 7.0%; */
    font-style: italic;
}
p.paraf-Italique {
    font-style: italic;
    font-size: 150%;
}





























































