/* Déclarer la police Suez One */
@font-face {
  font-family: 'Suez One';
  src: url('../fonts/suezone-regular.woff2') format('woff2'),
       url('../fonts/suezone-regular.woff') format('woff'),
       url('../fonts/suezone-regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

* {
  box-sizing: border-box;
  /* SUPPRESSION DU Z-INDEX GLOBAL QUI CAUSAIT DES CONFLITS */
}

body {
  font-family: "Open Sans", sans-serif;
  background-color: #f8f8f8;
  margin: 0;
  padding: 0;
}

/* Espace pour la navbar fixe */
body {
  padding-top: 70px;
}

body.no-scroll {
  overflow: hidden;
}

/******* color **********/

#menuPE .color_jaune {
  color: #ffff00;
  font-size: 22px;
}
#menuPE .color_vert {
  color: #55da21;
  font-size: 22px;
}

#menuPE .color_vertSP {
  color: #55da21;
}


/* ==================== MODERN NAVBAR SIPEJ ==================== */

:root {
  --primary-color: #0a5a7d;
  --primary-dark: #083d52;
  --primary-light: #0d7aa8;
  --accent-color: #f0ad4e;
  --text-light: #ffffff;
  --text-dark: #2c3e50;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
  /* RÉDUCTION DES TRANSITIONS POUR AMÉLIORER LA PERFORMANCE */
  --transition-smooth: all 0.2s ease;
  --nav-height: 70px;
}

/* ==================== HEADER CONTAINER ==================== */
.headerS {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  /* Fond blanc pour toute la largeur */
  background: #ffffff;
  box-shadow: var(--shadow-md);
  /* SUPPRESSION DU BACKDROP-FILTER QUI RALENTIT */
}

/* Effet de contraste renforcé pour toutes les pages */
.headerS::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0);
  pointer-events: none;
}

/* ==================== MAIN NAVIGATION ==================== */
.navS {
  max-width: 1400px;
  margin: 0 auto;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  position: relative;
}

/* ==================== LOGO SECTION ==================== */
#navLogo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  transition: var(--transition-smooth);
  z-index: 2;
}

#navLogo:hover {
  transform: translateY(-2px);
}

#navImgLogo {
  height: 50px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  transition: var(--transition-smooth);
}

#navLogo:hover #navImgLogo {
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
  transform: scale(1.05);
}

/* ==================== BURGER MENU (Mobile) ==================== */
#menuBurger {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: var(--transition-smooth);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 500;
  color: var(--text-light);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

#menuBurger:hover {
  background: rgba(255, 255, 255, 0.1);
}

#menuBurger i {
  font-size: 22px;
  color: var(--text-light);
  transition: transform 0.2s ease;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3));
}

#menuBurger:hover i {
  transform: rotate(90deg);
}

#menuBurger span {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-light);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* ==================== CONTACT ICON ==================== */
.navS > a[href="contact.php"] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--primary-color);
  transition: var(--transition-smooth);
  box-shadow: 0 2px 8px rgba(240, 173, 78, 0.3);
}

.navS > a[href="contact.php"]:hover {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 4px 16px rgba(240, 173, 78, 0.5);
}

.navS > a[href="contact.php"] i {
  font-size: 20px;
  color: var(--text-light);
}

/* ==================== DESKTOP NAVIGATION LINKS ==================== */
.linkNavbox {
  display: none;
}

.linkNavbox a {
  position: relative;
  color: #5a7a8f !important;
  text-decoration: none;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 15px;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: var(--transition-smooth);
  letter-spacing: 0.3px;
  /* Amélioration de la visibilité du texte */
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.linkNavbox a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--accent-color);
  transition: width 0.2s ease;
  border-radius: 3px 3px 0 0;
}

.linkNavbox a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.linkNavbox a:hover::before {
  width: 80%;
}

/* ==================== MOBILE MENU (SIDEBAR) ==================== */
.navBox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 999;
}

.sousMenuBox {
  position: fixed;
  top: 0;
  left: -100%;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: linear-gradient(180deg, #0d7aa8 0%, #0a5a7d 100%);
  box-shadow: var(--shadow-lg);
  transition: left 0.3s ease;
  overflow-y: auto;
  pointer-events: all;
  z-index: 1001;
}

.sousMenuBox.transitionMenu {
  left: 0;
}

/* Close button */
.retour {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 1.5rem 1rem;
  margin-top: 0;
  color: var(--text-light);
  background: rgba(0, 0, 0, 0.15);
  cursor: pointer;
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.retour i {
  font-size: 28px;
  color: var(--text-light);
  transition: var(--transition-smooth);
}

.retour:hover i {
  transform: scale(1.2);
}

.retour h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Menu items */
.sousMenuBox ul {
  list-style: none;
  padding: 0.5rem 1rem 2rem;
  margin: 0;
}

.sousMenuBox li {
  list-style: none;
  margin-bottom: 0.25rem;
}

.sousMenuBox a {
  display: block;
  color: #ffffff;
  text-decoration: none;
  padding: 0.875rem 1.25rem;
  border-radius: 10px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.sousMenuBox a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--accent-color);
  transform: scaleY(0);
  transition: transform 0.2s ease;
}

.sousMenuBox a:hover {
  background: rgba(255, 255, 255, 0.25);
  padding-left: 1.5rem;
  transform: translateX(3px);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.sousMenuBox a:hover::before {
  transform: scaleY(1);
}

/* Special colored links */
.color_jaune {
  background: rgba(255, 193, 7, 0.25) !important;
  border-left: 4px solid #ffc107 !important;
}

.color_jaune:hover {
  background: rgba(255, 193, 7, 0.35) !important;
}

.color_vert {
  background: rgba(76, 175, 80, 0.25) !important;
  border-left: 4px solid #4caf50 !important;
}

.color_vert:hover {
  background: rgba(76, 175, 80, 0.35) !important;
}

.color_vertSP {

  background: rgba(0, 150, 136, 0.25) !important;
  border-left: 4px solid #009688 !important;
}

.color_vertSP:hover {
  background: rgba(0, 150, 136, 0.35) !important;
}

/* Backdrop overlay */
.navBox::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  pointer-events: none;
  transition: background 0.2s ease;
}

.navBox.active::before {
  background: rgba(0, 0, 0, 0.5);
  pointer-events: all;
}

/* ==================== RESPONSIVE - DESKTOP ==================== */
@media (min-width: 1025px) {
  .navS {
    padding: 0 3rem;
  }

  #menuBurger,
  #menu {
    display: none;
  }

  #navLogo {
    margin-right: 2rem;
  }

  .linkNavbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    justify-content: center;
  }

  /* Desktop submenu styling */
  .sousMenuBox {
    position: absolute;
    top: -500px;
    left: 0;
    width: 100%;
    max-width: 100%;
    height: auto;
    background: linear-gradient(135deg, rgba(13, 122, 168, 0.97) 0%, rgba(10, 90, 125, 0.97) 100%);
    box-shadow: var(--shadow-lg);
    transition: top 0.2s ease, opacity 0.15s ease;
    border-radius: 0 0 12px 12px;
    border-top: 3px solid var(--accent-color);
    opacity: 0;
    pointer-events: none;
  }

  .sousMenuBox.transitionMenuLaptop {
    top: var(--nav-height);
    opacity: 1;
    pointer-events: all;
  }

  .sousMenuBox ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0.75rem;
    padding: 2rem 3rem;
    max-width: 1400px;
    margin: 0 auto;
  }

  .sousMenuBox li {
    margin-bottom: 0;
  }
  
  .sousMenuBox a {
    font-size: 14px;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  }
  
  .sousMenuBox a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
  }

  .retour {
    display: none;
  }
}

/* ==================== RESPONSIVE - TABLET ==================== */
@media (max-width: 1024px) and (min-width: 768px) {
  .navS {
    padding: 0 1.5rem;
  }

  .sousMenuBox {
    width: 350px;
  }
}

/* ==================== RESPONSIVE - MOBILE ==================== */
@media (max-width: 767px) {
  .navS {
    padding: 0 1rem;
  }

  #navImgLogo {
    height: 40px;
  }

  .sousMenuBox {
    width: 90vw;
  }

  .sousMenuBox a {
    font-size: 14px;
    padding: 0.75rem 1rem;
  }

  .sousMenuBox a:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
  }

  .retour {
    display: none;
  }

  #menuActiviteP {
    background: rgba(255, 255, 255, 0.1);
  }
}

@media (min-width: 1200px) {
  .linkNavbox {
    gap: 1rem;
  }

  .linkNavbox a {
    font-size: 16px;
    padding: 0.625rem 1.25rem;
  }
}

/* ==================== ANIMATIONS ==================== */
@keyframes slideInFromLeft {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.sousMenuBox.transitionMenu {
  animation: slideInFromLeft 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== ACCESSIBILITY ==================== */
.navS a:focus,
.linkNavbox a:focus,
.sousMenuBox a:focus,
#menuBurger:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* ==================== LEGACY NAVBAR STYLES (Optional to keep) ==================== */
.navbar-default .navbar-brand {
  font-size: 2.5em;
}

.margeT {
  margin-left: -15px;
}

.margeNav {
  margin-left: 30px;
  margin-right: -400px;
}

.navbar {
  padding: 12px;
  transition: background 0.8s ease-out, padding 0.8s ease-out;
}

.navbar-pad-original {
  padding: 5px;
}

.navbar a {
  margin-right: 5px;
}

.img-responsive {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.img-responsive:hover {
  transform: scale(1.02);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

img[src*="logo_sipej"] {
  transition: transform 0.3s ease;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
}

img[src*="logo_sipej"]:hover {
  transform: rotate(5deg) scale(1.1);
}

.img {
  margin-left: 50px;
}

.text {
  text-align: center;
}

.navbar-default .navbar-nav .active a,
.navbar-default .navbar-nav .active a:hover {
  color: #555;
  background-color: rgba(255, 255, 255, 0);
  border-bottom: 2px solid #f0ad4e;
}

@media (min-width: 768px) {
  .navbar-default .navbar-nav a:hover {
    border-bottom: 2px solid #f0ad4e;
  }
}

.navbar-default {
  background-color: #f8f8f8;
}

/* ==================== UTILITIES ==================== */
.no-scroll {
  overflow: hidden;
}
/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/* BLOC -> Créaton d'une fonction bloc pour gérer les espaces, j'aurais pu utiliser .container,
mais plusieurs blocs peuvent se trouver dans un container */

.bloc {
  padding-top: 5px;
  padding-bottom: 20px;
}

.bloc-lien a {
  
  color: black;
}








/* A partir des écrans medium et plus, on centre verticalement blocs liens et textes, et les marges entre
les blocs sont plus grandes */
@media (min-width: 992px) { 
    .vcenter {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -webkit-align-items: center;
            -ms-flex-align: center;
                align-items: center;  
    }
    .bloc {
  padding-top: 40px;
  padding-bottom: 50px;
  }
}

/* Ajout d'un padding en mode mobile pour que le texte ne soit pas caché par le menu fixe */
@media screen and (max-width: 767px){ 
   .premierblocaccueil{
     padding-top: 70px;
    }
}

@media screen and (max-width: 767px){ 
   .premierbloc{
     padding-top: 70px;
    }
}

@media screen and (min-width: 768px) and (max-width: 992px){ 
   .premierbloc{
     padding-top: 150px;
    }
}

@media screen and (min-width: 993px){ 
   .premierbloc{
     padding-top: 100px;
    }
}
/* Style pour les blocs de liens dans l'accueil */
/* Meilleur espacement général */
.container.bloc {
    padding-top: 60px;
    padding-bottom: 60px;
    animation: fadeIn 0.6s ease-out;
}
/* Animation fade-in au chargement */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.container.bloc:nth-child(even) {
    animation-delay: 0.2s;
}
/* Responsive global */
@media (max-width: 768px) {
    .container.bloc {
        padding: 30px 15px;
    }
    
    .premierblocaccueil {
        padding-top: 90px !important;
    }
    
    /* Ajuster les colonnes Bootstrap sur mobile */
    .col-sm-7, .col-sm-5 {
        margin-bottom: 20px;
    }
}
.bloc-lien
{
  background-color: #CCCCCC;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
}
.container.bloc.premierbloc .titre-bloc {
    font-size: 2.2em;
    text-align: center;
    border-left:none;
    border-bottom: 3px solid #094c69;
    width: fit-content+1px;
    margin: auto;
    /* 0 pour le haut/bas, 15px pour la gauche/droite */
    padding: 0 5px 15px; 
}
.recensementP{
  font-size: 20em;
}

/* Titres des différents blocs */

.titre-bloc {
    letter-spacing: -1px;
    font-size: 2.5em;
    margin-bottom: 30px;
    padding-left: 30px;
    border-left: 5px solid #094c69;
    position: relative;
    transition: all 0.3s ease;
}

.titre-bloc::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 30px;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #094c69, transparent);
}

.titre-bloc:hover {
    transform: translateX(5px);
    color: #094c69;
}

/* Responsive */
@media (max-width: 768px) {
    .titre-bloc {
        font-size: 1.8em;
        padding-left: 15px;
        border-left-width: 3px;
    }
}
.titre-bloc-form{
    font-size: 2.2em;
    text-align: center;
    border-left:none;
    border-bottom: 3px solid #094c69;
    width: 500px;
    margin: auto;
    padding: 0 5px 15px; 
  
}


/* Création de couleurs pour utilisation bandeaux */

/* Bandeaux avec dégradés subtils */
.gris {
    background: linear-gradient(135deg, rgba(121,128,129,0.6), rgba(121,128,129,0.4));
    padding: 60px 0;
}

.mauve {
    background: linear-gradient(135deg, rgba(177,135,123,0.7), rgba(177,135,123,0.5));
    padding: 60px 0;
}
.bleufonce{

}

.blanc {
    background: #ffffff;
    padding: 60px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .gris, .mauve, .blanc {
        padding: 40px 0;
    }
}

.mauve table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.mauve table td,
.mauve table th {
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.mauve table tr {
    transition: background-color 0.3s ease;
}

.mauve table tr:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.mauve table h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: #333;
}

/* Responsive tableau */
@media (max-width: 768px) {
    .mauve table {
        font-size: 12px;
    }
    
    .mauve table h3 {
        font-size: 13px;
    }
    
    .mauve table td {
        padding: 10px;
    }
}
/* Carte Google Maps avec style */
.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}



.bleu {
	background-color: rgb(119, 200, 215)
}

.blanc {
	background-color:white;
}

footer
{
  border-top: 1px dotted gray;
  width: 100%;
}

.form-horizontal {
  margin: 0 30px;
}

.activite {
  padding: 10px 30px;
}

.activite h2{
  margin-bottom: 30px;
  text-decoration: underline;
  letter-spacing: -1px;
}

.button {
  width: 150px;
  margin-top: 20px;
  font-size: 18px;
}
.prix {
    background-color:#f0ad4e;
    color: white;
    padding: 7px 10px;
}

.info {
  font-size:1.4em;
  text-transform:uppercase;
  display: inline-block;
  margin-bottom: 20px;
}


.table-hover > tbody > tr:hover {
  background-color: #dddddd;
}.transparent{opacity : 0.6; }



.date, .auteur {
    font-weight: 900 !important;
    -webkit-font-smoothing: antialiased;
}

#menu-deroulant, #menu-deroulant ul {
    padding: 0;
    margin: 0;
    list-style: none;
}
#menu-deroulant {
/* on centre le menu dans la page */
    text-align: center;
}
#menu-deroulant li {
/* on place les liens du menu horizontalement */
    display: inline-block;
}
#menu-deroulant ul li {
/* on enlève ce comportement pour les liens du sous menu */
    display: inherit;
}
#menu-deroulant a {
  
    text-decoration: none;
    display: block;
  color:#000;
}
#menu-deroulant ul {
    position: absolute;
/* on cache les sous menus complètement sur la gauche */
    left: -999em;
    text-align: left;
    z-index: 1000;
}
#menu-deroulant li:hover ul {
/* Au survol des li du menu on replace les sous menus */
    left: auto;
}

.square{
 margin-top:85px;
}
.alignement{
margin-left:498px;
font-size:25px;
}

.tructoggle{
display: none;
}
.alignement2{
margin-left:308px;
font-size:25px;
}

.tructoggle2{
display: none;
}
.alignement3{
margin-left:80px;
font-size:15px;
}

.test
{
  /* Double-sized Checkboxes */
  -ms-transform: scale(2); /* IE */
  -moz-transform: scale(2); /* FF */
  -webkit-transform: scale(2); /* Safari and Chrome */
  -o-transform: scale(2); /* Opera */
  padding: 10px;
}

/* Might want to wrap a span around your checkbox text */
.checkboxtext
{
  /* Checkbox text */
  font-size: 110%;
  display: inline;
}
.bouttonFiche{
  width: 150px;
  height: 50px;
  font-size:18px;
}
.justify {
    text-align: justify;
    line-height: 1.8;
}

.justify p {
    text-align: justify;
    text-justify: inter-word;
    margin-bottom: 20px;
    color: #333;
}

.justify i {
    font-style: normal;
}

/* Signature en valeur */
.alignright {
    text-align: right;
    margin-right: 5%;
    margin-top: 30px;
    font-size: 1.2em;
    color: #094c69;
}



/* Menu livret */

#Menu {
  padding: 15px;
  margin-bottom: 20px;
}

nav{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background: #fff;
	box-shadow: 0 3px 10px -2px rgba(0,0,0,.1);
	border: 1px solid rgba(0,0,0,.1);
}
nav ul{
    list-style: none;
    position: relative;
    float: right;
    margin-right: 100px;
    display: inline-table;
}
nav ul li{
	float: left;
	-webkit-transition: all .2s ea
  -in-out;
	-moz-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
}

nav ul li:hover{background: rgba(0,0,0,.15);}
nav ul li:hover > ul{display: block;}
nav ul li{
	float: left;

	-webkit-transition: all .2s ease-in-out;
	-moz-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
}
nav ul li a{
  
	display: block; 
	padding: 30px 20px;
	color: #222; 
	font-size: .9em;
	letter-spacing: 1px;
	text-decoration: none;
	text-transform: uppercase;
}
nav ul ul{
	display: none;
	background: #fff;
	position: absolute; 
	top: 100%;
	box-shadow: -3px 3px 10px -2px rgba(0,0,0,.1);
	border: 1px solid rgba(0,0,0,.1);
}
nav ul ul li{float: none; position: relative;}
nav ul ul li a {
  
	padding: 15px 30px; 
	border-bottom: 1px solid rgba(0,0,0,.05);
}

nav ul ul ul {
	position: absolute; 
	left: 100%; 
	top:0;
}

/* slider 2 images */

div.slider2 {
  width: 90%;
  height: 75%;
  overflow: hidden;
  margin: 0 auto;
}

div.slider2 figure {
  position: relative;
  width: 300%;
  margin: 0;
  padding: 0;
  font-size: 0;
  text-align: left;
  animation: 102s slidy2 infinite;
}

div.slider2 figure img{
  width: 33.33333333333%;
  height: auto;
  float: left;
}

@keyframes slidy2{
  0% { left : 0%; }
  34% { left : 0%; }
  50% { left : -100%; }
  84% { left : -100%; }
  100% { left : -200%; }
}

/* slider 3 images */

div.slider3 {
  width: 80%;
  overflow: hidden;
  margin: 0 auto;
}

div.slider3 figure {
  position: relative;
  width: 400%;
  margin: 0;
  padding: 0;
  font-size: 0;
  text-align: left;
  animation: 18s slidy3 infinite;
}

div.slider3 figure img{
  width: 25%;
  height: auto;
  float: left;
}

@keyframes slidy3 {
  0% { left : 0%; }
  22% { left : 0%; }
  33% { left : -100%; }
  56% { left : -100%; }
  67% { left : -200%; }
  89% { left : -200%; }
  100% {left : -300%; }
}

/* slider 4 images */

div.slider4 {
  width: 80%;
  overflow: hidden;
  margin: 0 auto;
}

div.slider4 figure {
  position: relative;
  width: 500%;
  margin: 0;
  padding: 0;
  font-size: 0;
  text-align: left;
  animation: 10s slidy4 infinite;
}

div.slider4 figure img{
  width: 20%;
  height: auto;
  float: left;
}

@keyframes slidy4 {
  0% { left : 0%; }
  17% { left : 0%; }
  25% { left : -100%; }
  42% { left : -100%; }
  50% { left : -200%; }
  67% { left : -200%; }
  75% { left : -300%; }
  92% { left : -300%; }
  100% { left : -400%; }
}

/* slider 5 images */

div.slider5 {
    width: 80%;
    overflow: hidden;
    margin: 0 auto;
}

div.slider5 figure {
    position: relative;
    width: 600%;
    margin: 0;
    padding: 0;
    font-size: 0;
    text-align: left;
    animation: 30s slidy5 infinite;
}

div.width5 {
    max-width: 500px;
}

div.slider5 figure img{
    width: 16.666666666%;
    height: auto;
    float: left;
}

@keyframes slidy5 {
    0% { left : 0%; }
    14% { left : 0%; }
    20% { left : -100%; }
    34% { left : -100%; }
    40% { left : -200%; }
    54% { left : -200%; }
    60% { left : -300%; }
    74% { left : -300%; }
    80% { left : -400%; }
    94% { left : -400%; }
    100% { left : -500%; }
}

/* taille slider */

.taille-zoom {
  max-width: 500px;
}

.taille-index {
  max-width: 800px;
}

.taille-bafa {
  max-width: 500px;
}

/* les display du zoom */

#RAMM, #MGrillons, #MPetitPas, #MCalin, #MLoup, #SIPEJ, #Senartaise2017, #Senartaise2017T,
#Incendie, #IncendieT, #Cueillette, #CueilletteT, #Repas, #RepasT, #Equipe, #EquipeT, #ActiviteMotriciteT, 
#ActiviteMotricite, #GymEntreprise, #GymEntrepriseT, #Dessin, #DessinT, #Colle, #ColleT, #Trans, #TransT, #Piscine, #PiscineT,
#Senior, #SeniorT, #Biblio, #BiblioT, #Anniv, #AnnivT, #Musique, #MusiqueT, #Spectacle1, #Spectacle2, #SpectacleT,
#Chandeleur, #ChandeleurT, #Peinture, #PeintureT, #Senartaise2018, #Senartaise2018T,
#PiscinePP, #PiscinePPT, #MotricitePP, #MotricitePPT, #MusiquePP, #MusiquePPT, #MotriciteSeniorPP, #MotriciteSeniorPPT, #SortiePP, #SortiePPT,
#EvacPG, #EvacPGT {
   display: none;
}

/* Page livret police */

.vertBleu {
    color:#088A4B;
}

.cadre {
    padding:5%;
}

.decalage {
    margin-left:5%;
}

.rouge {
  color:red;
}

/* Connexion */

.star {
	position:fixed;
	right:0;
	text-align:right;
}

.star a img {
	padding-bottom:3%;
}

.blocLogin {
	margin-left:20%;
	padding-top:70px;
}

.btnLogin{
	margin-top:20px;
	width: 150px;
	height: 50px;
	font-size:18px;
	margin-left:200px;
}

.ecart {
	margin-left:5%;
}

.horaire {
	text-align:center;
	margin: 0% 3% 0% 3%;
}

.miniEcart {
	margin-left:2em;	
}

.infos-role .lead center li {
  font-size: 25px;
  color: blue;
}

/********* contact new style ****************/

.ccenter {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1000px;
}

.ccenter h2 {
  width: 90%;
}

#form_contact {
  width: 90%;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#form_contact input:nth-child(2),
#form_contact input:nth-child(4),
#form_contact textarea,
#form_contact label {
  width: 100%;
  border: 0.2 solid #b3b3b3;
}

#form_contact label {
  text-align: start;
}




/* Ajustements pour mobile */
    @media (max-width: 768px) {
        .infoFiche b[style*="font-size: 24px"] {
            font-size: 19px !important; /* Réduit la taille pour éviter les retours à la ligne brusques */
            display: block;
        }
        .titre-bloc {
            font-size: 1.2em !important;
        }
        .container.bloc {
            width: 100% !important;
            padding: 10px !important;
        }
    }

/* Lead text plus attrayant */
.lead {
    font-size: 1.3em;
    line-height: 1.6;
    color: black;
    margin-bottom: 25px;
}

/* Ajustement de la grille */
.row.vcenter {
    align-items: center;
    gap: 30px;
}