/*top click*/
html {
    scroll-behavior: smooth;
}
.xmt-3-inner {
  margin-top: 3rem;
}

#topclick2 {
    display: none;
    position: fixed;
    text-align: center;
    right: 5px;
    bottom: 100px;
    color: #fff !important;
    cursor: pointer;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    z-index: 10000;
    height: 40px;
    width: 40px;
    line-height: 40px;
    background-color: rgba(0, 0, 0, 0.6);
    background-repeat: no-repeat;
    background-position: center;
    -webkit-transition: background-color 0.1s linear;
    transition: background-color 0.1s linear;
}

#topclick2:hover {
    background-color: rgba(5, 88, 153, 0.961);
}
@media only screen and (max-width: 1080px) {
    #topclick2 {
        height: 30px;
        width: 30px;
        line-height: 30px;
    }
}

/*fin top click*/
#actprov #contenu-carte hr {
  height: 0;
  margin: 1.25rem auto !important;
  border-top: 0;
  border-right: 0;
  border-bottom: 1px solid #1b75bc !important;
  border-left: 0;
}



.bleu-act-prov {background-color: #055899;}

#actprov h1 {font-size: 2.25rem;
    margin-bottom: 1rem;}

  #actprov  #bienvenue-card {
    background-color: #055899;
    color: white !important;
}
  #actprov  #bienvenue-card hr {
     border: 1px solid white !important;
     width: 100%;
     margin-bottom: 1rem;
}

#actprov .text-bleu{color: #2A5D97 !important;}
#actprov h2 {
    font-size: 2rem !important;}

#actprov .banniere-row {display: inherit;}
  #actprov .flip-1 {order: 2;}
#actprov .flip-2 {order: 1;}
/*mois*/
.ext-link {font-size: 3rem;}
.bordure-titre {border-bottom: 2px solid #2A5D97;}
.bleu-mois {    background-color: #055899;
    color: white;
    text-align: center;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    padding: 2rem 1rem 2rem 1rem;
    font-size: 1.25rem;}

    #actprov .button {
      display: inline-block;
      padding: .85em 1em;
      -webkit-appearance: none;
      border-radius: 0;
      -webkit-transition: background-color .25s ease-out, color .25s ease-out;
      transition: background-color .25s ease-out, color .25s ease-out;
      font-size: 1.125rem;
      line-height: 1;
      cursor: pointer;
      background-color: #055899;
      border: 2px solid #055899 !important;
      color: #fefefe;
      border-radius: 15px;
  }

#actprov .button:hover  {
  background-color: #fff;
  color: #145e98 !important;
  border: 2px solid #055899 !important;
}
#actprov .button:focus  {
  background-color: #fff;
  color: #145e98 !important;
  border: 2px solid #055899 !important;
}


.bordure-row {border-bottom: 1px solid #2A5D97;}
#actprov h3 {font-size: 2rem; color:#2A5D97;
    margin-bottom: 1rem;}
  #actprov h4.titre-act {font-size: 1.375rem; color:#2A5D97;
  }
     #actprov .soustitre {font-size: 1.25rem;}
.mois a p{color: #000; }
.mois .bg-check {padding-top: 0.5rem; padding-bottom: 0.5rem; background-color: #fff; margin-left: 0.75rem; margin-right: 0.75rem; }
.mois  a.bg-check:hover  {background-color: #d5e9f8; }
.mois a:hover p{color: #000; }
.mois a:hover .bleu-mois {background-color: #052c4a; }

/*layout*/
.description-show-hide {display: flex; flex-direction: column;}
.description-show-hide strong {color:#2A5D97; font-weight: bold;}
/* box-sizing global */
*, *::before, *::after {
  box-sizing: border-box;
}

/* Container parent */
.container-parent {
  max-width: 100%;
  overflow-x: hidden; /* empêche le débordement horizontal */
  padding: 0 1rem; /* si tu veux un peu de marge interne */
}

/* Carte activité */
.activite-carte {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 1rem; /* espace entre colonnes */
  text-decoration: none;
  color: inherit;
  margin-bottom: 1.5rem; /* espacement entre cartes */
  padding: 1rem;
}

/* Colonne 1 : 3 parts */
.activite-col1 {
  flex: 2 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0rem;
  border-radius: 6px;
}

/* Colonne 2 : 7 parts */
.activite-col2 {
  flex: 8 1 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0rem 0;
}

/* Colonne 3 : 2 parts */
.activite-col3 {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0rem;
  border-radius: 6px;
}

/* Responsive - mobile (<=768px) */
@media (max-width: 768px) {
.mois .bg-check { margin-left: 0.25rem; margin-right: 0.25rem; }

.bleu-mois {    background-color: transparent;
    color: #055899;
    text-align: center;
    display: flex;
    width: 100%;
    align-items: start;
    justify-content: start;
    border-radius: 0px;
    padding: 0rem 0rem 0rem 0rem;
  font-size: 1.125rem;}

.mois a:hover .bleu-mois {background-color: transparent; }


  .description-show-hide {display: none;}
  #actprov h4.titre-act {
    font-size: 1.25rem;
    color: black;
}
  #actprov .soustitre {font-size: 1.125rem;}
  .activite-carte {
    flex-wrap: wrap;
    margin-bottom: 0.5rem; /* espacement entre cartes */
  }

  .activite-col1 {
    flex: 0 0 100%;
    margin-bottom: 0rem;
  }

  /* Colonne 2 et 3 côte à côte en mobile */
  .activite-col2 {
    flex: 7 1 0;
    min-width: 0; /* pour éviter débordement */
  }

  .activite-col3 {
    flex: 2 1 0;
    min-width: 0;
  }
}



/* Onglets horizontaux et centrés */
.onglets {
  display: flex;
  justify-content: center; /* Centrage */
  flex-wrap: wrap;
  gap: 1rem;
 /* border-bottom: 2px solid #ccc;*/
  margin-bottom: 1rem;
 background-color: #055899;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* Boutons d’onglet */
[role="tab"] {
  background: none;
  border: none;
  padding: 0.5rem 1rem;
  font-size: 1.25rem;
  cursor: pointer;
  border: 2px solid white;
  transition: border 0.2s, color 0.2s;
  color: #fff;
  border-radius: 15px;
}

[role="tab"]:hover,
[role="tab"]:focus {
 border-color: #fff;
  font-weight: bold;
  color: #055899;
  background-color: rgba(255, 255, 255, 0.7)

}

[role="tab"][aria-selected="true"] {
  border-color: #fff;
  font-weight: bold;
  color: #055899;
  background-color: white;
}

/* Panneaux */

.panels > [role="tabpanel"] {
  border: 2px #055899 solid;
    border-radius: 15px;
    background: #055899;
}

.panel-inner {padding: 1rem; margin-top: 1rem; margin-bottom:2rem; background-color: white; border-radius: 15px;}
.panel-titre{padding-top:1rem;  color:white; font-size: 2.5rem; text-align: center ;}

[role="tabpanel"][hidden] {
  display: none;
}

/* Responsif : petit écran 



@media (max-width: 600px) {
  .onglets {
    flex-direction: column;
    align-items: stretch;
    border-bottom: none;
    border-right: 2px solid #fff;
  }

  [role="tab"] {
    border-bottom: none;
    border-right: 2px solid transparent;
    text-align: left;
  }

  [role="tab"][aria-selected="true"] {

  }
}*/

/*media queries pour les écrans plus petit général*/
@media only screen and (max-width: 1024px) {
  #actprov .banniere-row {
   display: flex;
   flex-direction: column;
  }
  .xmt-3-inner {
  margin-top: 0rem;
}
.ext-link {font-size: 1.5rem;}
  #actprov .flip-1 {order: 1;}
#actprov .flip-2 {order: 2;}
#actprov h3 {font-size: 1.5rem; color:#2A5D97;
    margin-bottom: 1rem;}
}
/*fin media queries*/