/* CSS */
@charset "UTF-8";

/* TRANSITION vers SCSS - a garder le temps de déplacer les éléments dans le fichier SCSS - janvier 2025*/
:root {
  --section-padding-block: 60px;
  --section-padding-inline: 0;
  --section-padding-block-start: var(--section-padding-block);
  --section-padding-block-end: var(--section-padding-block);
  --section-padding-inline-start: var(--section-padding-inline);
  --section-padding-inline-end: var(--section-padding-inline);

}

/* MARK: GENERALS */
/*--------------------------------------------------------------
# Généralité - General thinks
--------------------------------------------------------------*/

.v-hidden {visibility: hidden;}
.clearboth {clear: both;}

h1, h2, h3, h4, h5, h6 {font-family: var(--font-primary);}
.font-secondary {font-family: var(--font-secondary);}
svg {overflow: hidden;}
:lang(fr) {
  quotes: auto;
}
a:hover {text-underline-offset: .25em;}
a.underline {
  text-decoration-line: underline;
  text-decoration-color: var(--bs-link-color);
  text-decoration-thickness: 1px;
  text-underline-offset: .25em;
}
.place-content-center {place-content: center;}
.justify-items-center {justify-items: center;}

/* Replay et vidéo */
.replay { position: relative;}
.watchonyoutube a::after {
  --taille: 65px;
  content: "\F4F0";
  font-family: var(--font-icon);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: var(--taille);
  height: calc(var(--taille) / 2);
  width: calc(var(--taille) / 2);
  position: absolute;
  left: calc(50% - (var(--taille) / 2));
  bottom: calc(50% - (var(--taille) / 2));
  color: rgb(255,16,0);
  background-color: rgb(255,255,255);
}

/* Texte souligné spécifique */
.text-highlighted {
  position: relative;
  padding-inline: .2em;
  font-weight: 400;
  text-wrap: nowrap;
}
.text-highlighted::before {
  content: "";
  position: absolute;
  top: 0;
  left: -1%;
  bottom: 5%;
  width: 100%;
  height: 100%;
  transform: skew(-5deg);
  background-color: rgba(var(--bs-primary-rgb), .3);
  z-index: -1;
}

/*--------------------------------------------------------------
# BOOSTRAP CSS OVERRIDE 2024
--------------------------------------------------------------*/
.nav-link:hover {--bs-nav-link-hover-color: var(--bs-primary);}

/* Accordeon */
.accordion-button:focus {
  border-color: var(--bs-orange-light);
  box-shadow: 0 0 0 0.25rem rgb(var(--bs-secondary-for-opacity), .25);
}
.accordion-button:not(.collapsed) {
  color: var(--bs-primary);
  background-color: var(--grey-light);
}
.accordion-button:not(.collapsed)::after {
  background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='inherit'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");transform:rotate(180deg);
}
/* Badges */
.badge {border-radius: var(--border-radius);}
/* Pagination */
.pagination{justify-content: center;}
.pagination .page-item {margin-right: .325em;}
.page-item .page-link {color: var(--bs-secondary);}
.page-item.active .page-link {color: var(--bs-white);}
.page-link:focus {box-shadow: 0 0 0 .25rem rgba(var(--bs-primary-rgb), 25%);}
/* ____ Cards - Cartes ____ */
.card-title {color: var(--bs-heading-color, var(--bs-dark));}
/* ____ Forms */
.form-select:focus {
  --bs-bg-opacity: 25%;
  box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb),var(--bs-bg-opacity));
}
/* ____ Figure */
.figure-caption {margin-top: 1em;}
/* ____ Carousel */
.carousel-control-next, .carousel-control-prev {width: 5%;}


/*--------------------------------------------------------------
# En-tête _ Header
--------------------------------------------------------------*/
#header {
  padding: 15px 0;
  padding: 0;
  color: rgb(0, 0, 0);
  background-color: rgba(255, 255, 255, .9);
  width: 100%;
  transition: all .5s;
  transition-delay: 0.01s;
  backdrop-filter: blur(10px);
  z-index: 1030;
}
#header .logo {margin-right: 1em;}
#header .logo a {color: var(--link-dark);}
#header .logo a span {color: var(--bs-primary);}
#header .logo img {
  height: 70px;
  transition: .3s;
}
#header navbar {
  height: 100dvh;
  align-items: flex-start;
}
@media (min-width: 992px) {
  #header.header-scrolled {
    background-color: rgba(255, 255, 255, .3);
    transition: background-color .15s ease-in-out;
  }
  #header:hover,
  #header:focus-within {background-color: rgba(255, 255, 255, 1);}
  #header.header-scrolled .logo img {
    height: 50px;
    overflow: hidden;
    transition: height .3s ease-out;
  }
  #header.header-scrolled,
  #header .header-scrolled .show {box-shadow: 0px 2px 15px rgba(0, 0, 0, .1);}
  .header-scrolled a {font-size: .9em;}
}
#header .get-started-btn {
  font-size: .9em;
  margin-left: 25px;
  padding: 3px 10px;
}
#header .get-started-btn:hover {
  color: rgb(255,255,255);
  background-color: var(--bs-primary);
  border: 1px solid var(--bs-secondary);
}

/* MARK: NAVIGATION */
/*--------------------------------------------------------------
# Menu Navigation Principale / Main navigation menu
--------------------------------------------------------------*/
/* Desktop Navigation */
.dropdown-mega {position: static}
.dropdown-mega .dropdown-menu {top: auto;left: 0%;}
.dropdown-mega .mega-content {
  margin-top:.5rem;
  margin-bottom:1rem;
}
.dropdown-mega .nav-dropdown-label {
  color: var(--bs-gray-900);
  font-size: .8em;
  text-transform: uppercase;
  margin-left: 1rem;
  margin-bottom: 5px;
}

.dropdown-mega .dropdown-menu h6 {padding-left: 1rem;}
.dropdown-mega .dropdown-item {white-space: normal;}
.dropdown-mega .dropdown-mega-sub-item {margin-top: 0;}
.dropdown-mega .list-group-item {border: 0;}
  @media (min-width: 992px) {
    .nav-item.dropdown.dropdown-mega .dropdown-menu {
      width: 85%;
      left: 10%;
    }
  }

.dropdown .data-icon--hover {--data-icon--color: var(--bs-primary);}

/* ____ Supprime la flèche de l'icone recherche */
.dropdown-menu-no-arrow:after {display: none; visibility: hidden;}
#navbarDropdownMenuSearch:hover i {transform: rotate(-5deg);}

/* ____ Bouton évènement */
@media screen and (width >= 992px) {
  .nav-item--header-event {margin-inline-start: 1rem;}
}
.nav-item--header-event .nav-link {
  display: inline-block;
  color: rgb(255,255,255);
  background-color: var(--bs-primary);
  padding-inline: .5em;
  border: 1px solid transparent;
  transition: all .1s ease-in;
}
.nav-item--header-event .nav-link:hover {
  color: rgb(0,0,0);
  background-color: var(--bs-white);
  border: 1px solid var(--bs-primary);
}

.icon-language {
  width: .75rem;
  height: .75rem;
  margin-inline-end: .35rem;
  vertical-align: base-line;
}

/* Expérimental */
.langSwitchFlag {
  height: 1.2rem;
  aspect-ratio: 1/1;
  margin-inline-end: 1rem;
}
#LangSwitcherCurrent {color: var(--bs-gray-500)}

/* MARK: Personnalisation */
/*--------------------------------------------------------------
# PERSONNALISATION
-----------------------------------------------------------------*/

/* ____ Boutons */
.get-started-btn {border-radius: 0px;}
.get-started-btn {
  color: var(--grey-text);
  background-color: transparent;
  padding: 8px 25px;
  white-space: nowrap;
  transition: .3s;
  font-weight: 600;
  border: 1px solid var(--grey-dark);
  display: inline-block;
}
.get-started-btn:hover {
  color: rgb(255,255,255);
  background: var(--bs-primary);
  border-color: var(--bs-secondary);
}
.get-started-btn {
  font-size: .9em;
  margin-left: 25px;
  padding: 3px 10px;
}
  @media (max-width: 992px) {
    .get-started-btn {
      margin: 0 48px 0 0;
      padding: 6px 18px;
    }
  }
/* ____ IMAGES */
.object-fit-cover {
  width: 100%;
  height :100%;
  object-fit: cover;
}
span.label-on-img {
  position: absolute;
  top: 2%;
  right: 1%;
}

/* _____ Cartes - CARDS */
.card {
  overflow: hidden;
  transition: var(--card-transition);
}
[class^="card-img"] {
  height: var(--card-img-height, 260px);
  object-fit: cover;
  overflow: hidden;
}
[class^="card-img"] img {
  filter: none;
  transition: var(--card-transition);
}
.card:hover :is(.card-img, .card-img-top, .card-img-bottom) img {
  filter: grayscale(60%);
}
.card-title a {
  display: inline;
  padding: 0.125em 0;
  background: linear-gradient(to right, rgba(var(--bs-primary-rgb), 10%), rgba(var(--blue-steel), 90%) );

  background-size: 100% 10%;
  background-repeat: no-repeat;
  background-position: 0 85%;
  transition: background var(--card-transition);

  -webkit-box-decoration-break: clone;
  -o-box-decoration-break: clone;
  box-decoration-break: clone;
}
.card-title:hover a {
  text-decoration: none;
  background-size: 100% 100%;
}
.card-horizontal .img-top {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
/* cartes avec image en fond _ partal card-horizontal */
.card-img-bg_image {
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
}
/* Si pas de description dans le markdown, affiche une div non accessible */
.card-text-empty {min-height: 24px;}

/* ____ OMBRES - SHADOWS */
.hover-shadow:hover {box-shadow: var(--box-shadow-hover)!important;}
.shadow-hover-none:hover {box-shadow: none!important;}/* pas d'ombre au survol */
/* ____ DT DD */
dt {margin-bottom: .5em;}
dd {margin-left: 1em;}
dd + dt {margin-top: 1.5em;}

/* ____ MARGES additionnelles - additional MARGINS  */
.ms-n1 {margin-left: calc(-1 * var(--margin--1))!important;}
.ms-n2 {margin-left: calc(-1 * var(--margin--2))!important;}
.ms-n3 {margin-left: calc(-1 * var(--margin--3))!important;}
.ms-n4 {margin-left: calc(-1 * var(--margin--4))!important;}
.ms-n5 {margin-left: calc(-1 * var(--margin--5))!important;}
.ms-n6 {margin-left: calc(-1 * var(--margin--6))!important;}
.ms-n7 {margin-left: calc(-1 * var(--margin--7))!important;}
.ms-n8 {margin-left: calc(-1 * var(--margin--8))!important;}
.ms-n9 {margin-left: calc(-1 * var(--margin--9))!important;}
.mt-n1 {margin-top: calc(-1 * var(--margin--1))!important;}
.mt-n2 {margin-top: calc(-1 * var(--margin--2))!important;}
.mt-n3 {margin-top: calc(-1 * var(--margin--3))!important;}
.mt-n4 {margin-top: calc(-1 * var(--margin--4))!important;}
.mt-n5 {margin-top: calc(-1 * var(--margin--5))!important;}
.mt-n6 {margin-top: calc(-1 * var(--margin--6))!important;}
.mt-n7 {margin-top: calc(-1 * var(--margin--7))!important;}
.mt-n8 {margin-top: calc(-1 * var(--margin--8))!important;}
.mt-n9 {margin-top: calc(-1 * var(--margin--8))!important;}
.ms-n200 {margin-left: -200px!important}
.mt-n200 {margin-top: -200px!important}
@media (min-width: 1200px) {
  .mt-xl-n24 {margin-top: -40rem!important;}
}

/* PADDING */

.pt-150 {padding-top: 150px;} /* ajout d'espace sur articles de Agenda pour les liens ancres références */
@media screen and (min-width: 768px) {
  .p-lg-5 {padding: 3rem!important;}
}
/* Widths and Heights MARK: a revoir avec SCSS*/ 
/* MAX */
.w-max-100{max-width: 100px!important}
.w-max-150{max-width: 150px!important}
.w-max-200{max-width: 200px!important}
.w-max-250{max-width: 250px!important}
.w-max-300{max-width: 350px!important}
.h-max-150{max-height: 150px!important}
.h-max-200{max-height: 200px!important}
.h-max-250{max-height: 250px!important}
.h-max-350{max-height: 350px!important}
.h-max-500{max-height: 500px!important}
/* MIN */
.h-min-100{min-height: 100px!important}
.h-min-150{min-height: 150px!important}
.h-min-200{min-height: 200px!important}
.h-min-250{min-height: 250px!important}

/* Width and Height fixed */
.h-200 {height: 200px!important;}
.h-250 {height: 250px!important;}
.h-300 {height: 300px!important;}

.w-md-40, .w-md-50, .w-md-75 {width: 100%;}
@media (min-with: 768px) {
  .w-md-40 {width: 40%;}
  .w-md-50 {width: 50%;}
  .w-md-75 {width: 75%;}
}

/* ____ ESPACERS */
.espacer {display: block;width: 100%;height: calc( var(--section-padding-block) * 2 );clear: both;}
.espacer-25{display: block;width: 100%;height: 25px;clear: both;}
.espacer-50{display: block;width :100%;height: 50px;clear: both;}
.espacer-75{display: block;width: 100%;height: 75px;clear: both;}
.espacer-100{display: block;width: 100%;height: 100px;clear: both;}
.espacer-150{display: block;width: 100%;height: 150px;clear: both;}

/* ____ BORDERS */
.border-orange-primary {border-color: var(--bs-primary)!important;}
.border-grey-light {border-color: var(--grey-light)!important;}
.border-grey-mid {border-color: var(--bs-gray-500)!important;}

/* ____ TEXTS */
.text-blue {color: var(--bs-blue);}
.text-red {color: var(--red-primary);}
.text-grey-soft {color: var(--bs-gray-500);}
.text-grey-mid {color: var(--bs-gray-900);}

/* ____ BACKGROUNDS */
.bg-grey-light {background-color: var(--grey-light)!important}
.bg-orange-light {background-color: var(--bs-orange-light)!important;}
.bg-linear-grey {background: var(--linear-gradient-gray);}
.bg-linear-grey-soft {background: var(--linear-gradient-gray-soft);}
.bg-yellow {background-color: var(--bs-yellow);}

/* ____ ICONES */
/* ajouter un fond et une couleur de texte via les classes supplémentaires */
[class^="icon-fs-"], 
[class*=" icon-fs-"] {
  display: inline-flex;
  align-items: var(--align-items, center);
  justify-content: var(--justify-content, center);
  flex-shrink: 0;
}
.icon-rounded {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}
.icon-square {
  display: inline-flex;
  justify-content: center;
  align-items: center;
}
.icon-fs-1,
.icon-fs-2,
.icon-fs-3,
.icon-fs-4,
.icon-fs-5 {
  --icon-fs-width: calc( var(--icon-fs) * 2);
  --icon-fs-height: var(--icon-fs-width);
  width: var(--icon-fs-width);
  height: var(--icon-fs-width);
  font-size: var(--icon-fs);
  aspect-ratio: 1 / 1;
}
.icon-fs-1 {--icon-fs: 1.1rem;}
.icon-fs-2 {--icon-fs: 2.1rem;}
.icon-fs-3 {--icon-fs: 3.5rem;}
.icon-fs-4 {--icon-fs: 4.5rem;}
.icon-fs-5 {--icon-fs: 5rem;}

.icon-fs-anim {animation: icon-fs-anim var(--animation-duration, .3s) var(--animation-timing-function, linear) var(--animation-fill-mode);}


/* ____ VIDEO */
.btn-play {
  background-color:#fff;
  color:#ff5938;
  transition:.2s ease
}
.btn-play:hover {
  background-color:#ff5938;
  color:#fff;
  transition:.2s ease
}

/* ICONE avec apparition au survol, uniquement sur la droite du bouton */
.data-icon--hover {
  position: relative;
  padding-right: unset; /* insérer la variable --bs- de la migration vers BT5.2 (???) */
}
.data-icon--hover::after {
  /* mettre sur le btn data-btn-icon le code _HTML_ de l'icone, par ex. &#xF135; */
  content: attr(data-icon);
  position: absolute;
  left: auto;
  display: inline-block;
  font-family: var(--font-icon);
  color: var(--data-icon--color, inherit);
  transform: translateX(-.5em);
  opacity: 0;
  transition: transform .1s linear;
  speak: none;
}
.data-icon--hover:hover::after {
  transform: translateX(.15em);
  opacity: 1;
}

/* Lien CTA avec icone à la fin __ ne pas utiliser conjointement avec les boutons BT */
.cta-arrow {
  --shift-distance: .25rem;
  --link-color-hovered: var(--__bs-white, rgb(255, 255, 255));
  position: relative;
  display: inline-block;
  color: inherit;
  line-height: 2;
  padding-right: 2.5rem;
  border-radius: var(--bs-border-radius, 2em);
  transform: translatex(0);
  z-index: 1;
  transition: color .15s ease-in-out, transform .3s ease;
}
.cta-arrow::before, 
.cta-arrow::after {
  --bs-border-radius: 1rem;
  display: block;
  position: absolute;
  bottom: 0;
  right: 0;
  height: 2rem;
  z-index: -1;
}
.cta-arrow::before {
  content: "";
  left: calc(100% - 2rem);
  border-radius: var(--bs-border-radius, 1rem);
  background-color: var(--bs-primary);
  transition: left.3s cubic-bezier(.34,1.2,.64,1), right.3s ease, background-position.3s ease;
}
.cta-arrow::after {
  font-family: var(--font-icon);
  content: "\F138";
  left: calc(100% - 1.5rem);
  color: var(--link-color-hovered);
  transition: left.3s cubic-bezier(.34,1.2,.64,1), right.3s ease;
}

.cta-arrow:hover {
  --link-color-hovered: rgb(255, 255, 255);
  color: var(--link-color-hovered);
  text-decoration: none;
  transform: translatex(var(--shift-distance));
}
.cta-arrow:focus-visible:before, 
.cta-arrow:hover::before {
  height: 100%;
  left: -1rem;
  background-position-x: calc(100% - 3.5 * var(--shift-distance));
  transition: right.3s ease,background-position.3s ease;
}
.cta-arrow:focus-visible:after, 
.cta-arrow:hover::after {
  left: calc(100% - 2rem);
  animation: fakebounce .3s ease-in-out;
}

/* Bloquote */
.open-quote {
  --margin-inline-start: 2rem;
  position: relative;
  isolation: isolate;
  margin-inline-start: var(--margin-inline-start);
  z-index: 2;
}

/* MARK: HERO */
/*--------------------------------------------------------------
# Hero page Accueil et autres pages __ Hero for home and Page header for others pages
--------------------------------------------------------------*/
#header {
  position: fixed;
  top: 0;
}
/* Section en-tête ___ HERO section  */
.page-header-section {
  display: flex;
  justify-content: center;
  position: relative;
  height: 100%;
  width: 100%;
  padding: 180px 0 140px;
  color: var(--bs-white);
  background-color: var(--bs-secondary);
  background-image: 
    var(--page-header-section-gradient, linear-gradient(to bottom, rgba(186, 48, 115, .5) 0%, rgba(0, 0, 0, 1) 100%)),
    var(--page-header-section-bg-image, 
    url("../images/logos/logo-cricw-blanc.svg"))
    ;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  mask-image: linear-gradient(rgba(255, 255, 255, 1), rgba(255, 255, 255, 1) 90%, rgba(255, 255, 255, .5) 95%, rgba(255, 255, 255, 0) 100%);
  mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 300 150" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M 300,150 V 0 H 0 v 150 c 110.79407,-7.77434 198.85571,-7.10336 300,0 z"/></svg>');
  mask-size: cover;
  mask-repeat: no-repeat;
}
.page-header-section nav {
  display: flex;
  flex-direction: column;
  align-items:center;
}
.page-header-section h1:not(.hero--title) {
  color: rgb(255, 255, 255);
  color: currentColor;
  font-size: 3rem;
  font-weight: 900;
  padding-inline: clamp(2rem, 50px, 5%);
  animation: fade-in .2s linear;
  text-align: center;
}

/* MARK: SECTIONS */
/*--------------------------------------------------------------
# SECTIONS GENERAL 
--------------------------------------------------------------*/
main, 
main > .section:first-child {background-color: var(--section-background--color, transparent);}

section {
  position: relative;
  padding: var(--section-padding-block-start) var(--section-padding-inline-end) var(--section-padding-block-end) var(--section-padding-inline-start);
}
.section-title {
  text-align: center;
  padding-bottom: 30px;
  position: relative;
}
.section-title p {margin-bottom: 0;}
.section-title h2 {
  position: relative;
  margin-bottom: 20px;
  padding-bottom: 20px;
  font-family: var(--font-primary), serif;
  font-size: 2.3em;
  font-weight: bolder;
}
.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--bs-primary);
  bottom: 5%;
  left: calc(50% - 25px);
}
.section-title h3 {
  position: relative;
  margin-bottom: 20px;
  font-weight: 600;
  text-transform: uppercase;
}
.section-title h2 + h3 {margin-block-start: 3rem;}

/*--------------------------------------------------------------
# SECTIONS bloc coloré en arrière-plan
--------------------------------------------------------------*/
.section-bg {
  --section-background--color: var(--grey-light-rgb);
  position: relative;
  padding: var(--section-padding-block-start) 0 var(--section-padding-block-end) 0;
  /* fallback pour les couleurs définies en rgb() */
  background-color: rgba(var(--section-background--color, transparent), var(--section-background--opacity, 100%));
}
.bg-rounded-top {
  --section-background--color: var(--bs-gray-200, rgb(238, 239, 240));
  --maskWidth: 100%;
  --maskHeight: 3.125em;
  background-color: var(--section-background--color);
  mask-image: url("../images/curve-shape-rounded-bottom.svg"),
  linear-gradient(transparent 0%, transparent var(--maskHeight),black var(--maskHeight),black 100%);
  mask-size: var(--maskWidth) var(--maskHeight), 100%;
  mask-position: center top;
  mask-repeat: no-repeat;
}
.bg-cover {
  background-image: var(--bg-image);
  background-position: var(--bg-position, center);
  background-size: var(--bg-size, cover);
  background-attachment: var(--bg-attachment, scroll);
  background-repeat: no-repeat;
}
/* ____ BG-COVER + OVERLAY */
.new-overlay {border-image: fill 0 linear-gradient(var(--overlay-direction), var(--overlay-color-start, rgba(0,0,0,2%) ), var(--overlay-color-end, rgb(0,0,0, 90%) ) );}


/* fond coloré décalé en pseudo-classe 
# à définir sur une row 
# à définir en ligne la variable var(--col-bg-offset-color) */
.section-bg-offset {
  --section-padding-block-start: 40px;
  --section-padding-block-end: 40px;
  position: relative;
  padding-top: var(--section-padding-block-start);
  padding-bottom: var(--section-padding-block-end);
}
  @media (min-width: 992px) {
    .section-bg-offset {padding-top: var(--section-padding-block-start);}
  }
.section-bg-offset::after {
  content: "";
  display: block;
  position: absolute;
  top: 70px;
  right: 0;
  bottom: 0;
  width: 9999px;
  height: 100%;
  background-color: var(--col-bg-offset-color, rgb(241,241,241));
  transform: skewY(-1deg);
  z-index: -5;
}
@media (min-width: 992px) {
  .section-bg-offset::after {right: 15%;}
}

/* cible la colonne de droite */
.bg-offset-right-col {
  margin-top: 30px;
}
@media (min-width: 768px) {
  .bg-offset-right-col {margin-top: 0;}
}

/* fond décalé sur une colonne
_ ajouter border et border-color pour terminer l'effet  */
.bg-offset--grey {
  position: relative;
  padding: 30px;
  margin-top: 15px;
}
.bg-offset--grey::before {
    content: "";
    background: var(--bs-orange-light);
    position: absolute;
    top: -15px;
    left: -15px;
    height: 100%;
    width: 100%;
    z-index: -1;
}
/* ENSEMBLE DE BLOCKS : image en fond à gauche + fond orange à droite - bloc de texte décalé */
.section-bg-bitone {position:relative;}
.section-bg-bitone::after {
  position:absolute;
  content: "";
  right: 0;
  top: 0;
  background: rgba(var(--bs-primary-rgb),.95);
  width: 100%;
  height: 100%;
  z-index: -1;
}
.section-bg-bitone::before {content: "";}
.section-bg-bitone .video-block{position:relative;}
.section-bg-bitone .video-block {
  border: 5px solid rgb(113, 124, 96);
  }
  @media (min-width: 768px) {
  .section-bg-bitone::after {width: 60%;}
  .section-bg-bitone::before {
    position:absolute;
    content: "";
    left: 0;
    top: 0;
    background-color: var(--grey-light);
    background: url(../../images/illustrations/personnes-primo-arrivantes.png) no-repeat;
    background-size: cover;
    width: 60%;
    height: 100%;
    opacity: .3;
    z-index: -1;
  }
}

/* bloc fond dégradé coloré animé */
.bg-anim--light-grey {
  margin-bottom: 3.2rem;
  padding-bottom: 3.2rem;
  position: relative
}
.bg-anim--light-grey::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 35%;
  width: 100vw;
  background: var(--gradient-light-grey);
  background-size: 200% 400%;
  animation: gradient_1 15s ease infinite;
  z-index: -1
}

/* MARK: Grilles CSS */
/*--------------------------------------------------------------
# Grilles CSS - CSS Grid
--------------------------------------------------------------*/
.layout-grid {display: block;}
@media (min-width: 768px) {
  .layout-grid {
    display: grid;
    grid-template-columns: var(--grid-template-columns, repeat(12, 1fr));
    grid-template-rows: var(--grid-template-rows);
    gap: var(--gap);
  }
}
@media screen and (min-width: 768px) {
  .layout-grid .col-md-4 {
    grid-column: span 4;
  }
  .layout-grid .col-md-6 {
      grid-column: span 6;
  }
}
.grid-composition-institution {
  grid-column-gap: 0;
  grid-row-gap: 0;
  grid-template-rows: auto;
}

/* Nouveau code de grille CSS INTERNE à des blocs de sous-contenu _ juillet 2024 */
.d-grid {
  --hhh: var(--grid-min-size, 0);
  display: grid;
  grid-template-columns: repeat( var(--grid-template-repeat-value, auto-fit), minmax( min(250px ,100%), var(--grid-max-size, 1fr) ) );
  gap: var(--bs-gap);
}

.d-grid-auto-fit {
  display: grid;
  gap: var(--bs-gap, 0);
  grid-template-columns: repeat(auto-fit, minmax( min(var(--grid-min-size), var(--grid-max-size, 100%)), 1fr ) );
}

/* NEW Août 2024 Grille interne remplace GRID > ROW > G-COL */
/* Objectif : se passer de la grille de BT __ grille responsive basée sur 12 colonnes par défaut */
.grille {
  display: grid;
  grid-template-columns: repeat( auto-fill, minmax( min(calc(100% / var(--grille-columns, 12)), 100%), 1fr) );
  gap: var(--gap);
  container: grille / inline-size;
}
[class^="grille-col"] {grid-column: 1 / -1;}
@container grille (width > 768px) {
  .grille-col-1 {grid-column: auto / span 1 ;}
  .grille-col-2 {grid-column: auto / span 2 ;}
  .grille-col-3 {grid-column: auto / span 3 ;}
  .grille-col-4 {grid-column: auto / span 4 ;}
  .grille-col-5 {grid-column: auto / span 5 ;}
  .grille-col-6 {grid-column: auto / span 6;}
  .grille-col-7 {grid-column: auto / span 7;}
  .grille-col-8 {grid-column: auto / span 8;}
  .grille-col-9 {grid-column: auto / span 9;}
  .grille-col-10 {grid-column: auto / span 10;}
  .grille-col-11 {grid-column: auto / span 11;}
  .grille-col-12 {grid-column: auto / span 12;}

  .grille-start-1 {grid-column-start: 1;}
  .grille-start-2 {grid-column-start: 2;}
  .grille-start-3 {grid-column-start: 3;}
  .grille-start-4 {grid-column-start: 4;}
  .grille-start-5 {grid-column-start: 5;}
  .grille-start-6 {grid-column-start: 6;}
  .grille-start-7 {grid-column-start: 7;}
  .grille-start-8 {grid-column-start: 8;}
  .grille-start-9 {grid-column-start: 9;}
  .grille-start-10 {grid-column-start: 10;}
  .grille-start-11 {grid-column-start: 11;}
}

.gap-1 {var(--spacer-1);}
.gap-2 {var(--spacer-2);}
.gap-3 {var(--spacer-3);}
.gap-4 {var(--spacer-4);}
.gap-5 {var(--spacer-5);}

/*--------------------------------------------------------------
# MARK: Breadcrumbs
--------------------------------------------------------------*/
.breadcrumb {justify-content: center;}
.breadcrumb,
.breadcrumb a {
  color: rgb(255, 255, 255);
  color: currentColor;
  font-size: .9em;
  text-transform: uppercase;
  text-decoration: none;
}
.breadcrumb a:hover {color: rgb(255, 255, 255);}
.breadcrumb-item::before{--bs-breadcrumb-divider-color: var(--bs-gray);}

/*--------------------------------------------------------------
# Decorations - cache wave, etc.
--------------------------------------------------------------*/
/* SVG wave */
.deco-wave {
  display: block;
  margin-top: 60px;
  width: 100%;
  height: 60px;
  z-index: 3;
  position: absolute;
  left: 0;
  right: 0;
}
.wave-top {
  top: 0;
  margin-top: 0;
  transform: rotate(180deg);
}
.wave-bottom {bottom: 0;}

/* ligne séparatrice entre 2 blocs */
.divider {
  position: relative;
}
.divider-md::after,
.divider-lg::after {
  position: absolute;
  right: 0;
  height: 100%;
  width: 1px;
  background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 15%, rgba(210,210,210,1) 25%, rgba(210,210,210,1) 75%, rgba(255,255,255,1) 85%, rgba(255,255,255,1) 100%);
}
@media (min-width: 768px) {
  .divider-md::after {content: "";}
}
@media (min-width: 992px) {
  .divider-lg::after {content: "";}
}

/* MARK: NAV TABS */
/*--------------------------------------------------------------
# Nav Tabs
--------------------------------------------------------------*/
.nav-tabs .nav-link.active {
  --bs-nav-tabs-link-active-color: var(--bs-white);
  --bs-nav-tabs-link-active-bg: var(--bs-primary);
}

/* MARK: Timeline */
/*--------------------------------------------------------------
# Ligne du temps / TIMESLINE
--------------------------------------------------------------*/
/* Left and right itmes - source demo.gethugothemes.com/orbitor/service */
.case-timeline{position:relative;}
.case-timeline-divider{
  display: block;
  position: absolute;
  content: "";
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 0;
  width: 2px;
  height: auto;
  margin-left: -1px;
  background-color: var(--bs-gray-500);
}
.case-timeline-dot{
  display: block;
  position: absolute;
  top: 75px;
  left: 50%;
  z-index: 1;
  content: " ";
  width: 20px;
  height: 20px;
  margin-left: -10px;
  background-color:rgb(255,255,255);
  border: 5px solid var(--bs-gray-500);
  border-radius: 50%;
}
.case-img, 
.case-content {padding: 30px;}
  @media(max-width:480px){
    .case-timeline-dot {display:none;}
    .case-timeline-divider {display:none;}
  }
  @media(max-width:400px){
      .case-timeline-dot {display:none;}
      .case-timeline-divider {display:none;}
  }
  @media(max-width:768px){
    .case-timeline-dot {display:none;}
    .case-timeline-divider {display:none;}
  }
  @media(max-width:992px){
    .case-timeline-dot {display:none;}
    .case-timeline-divider {display:none;}
  }
/* Left item only - source https://bootsnipp.com/snippets/xrKXW */ 
ul.timeline {
  list-style-type: none;
  position: relative;
}
ul.timeline:before {
    content: " ";
    background: var(--bs-gray-500, rgb(127,137,161));
    display: inline-block;
    position: absolute;
    left: 29px;
    width: 2px;
    height: 100%;
    z-index: 3;
}
ul.timeline > li {
    padding-left: 1.5rem;
    margin-bottom: 3rem;
}
ul.timeline > li:before {
    content: " ";
    background: rgb(255,255,255);
    display: inline-block;
    position: absolute;
    border-radius: 50%;
    border: 3px solid var(--bs-primary);
    left: 20px;
    width: 20px;
    height: 20px;
    z-index: 3;
}

/* MARK: Icones */
/*--------------------------------------------------------------
# Icones : Icon-box 
--------------------------------------------------------------*/
.icon-box {
  margin-bottom: 20px;
  padding: 15px;
  background: var(--grey-light);
  transition: .3s;
}
.icon-box i {
  float: left;
  color: var(--bs-secondary);
  font-size: 40px;
  line-height: 0;
}
/* services */
.services .icon-box h4 a {
  color: rgb(255,255,255);
  transition: .3s;
}
.services .icon-box p {
  margin-left: 70px;
  line-height: 24px;
  font-size: .9em;
}
/* title with icon in the back */
.title-with-big-icon i[class*="bi-"],
.title-with-big-icon figure {
  font-size: var(--fs, 6em);
  color: rgba( var(--icon-color-rgb, var(--bs-primary-rgb)), var(--opacity, 10%));
  position: absolute;
  top: var(--icon-pos-top, -0.75em);
  left: var(--icon-pos-left, 0);
}
.title-with-big-icon .card {overflow: visible;}
ul.bt-icon-list {
  list-style-type: none;
  margin-left: 2.5em;
  padding-left: 0;
  position: relative;
}
ul.bt-icon-list > li {position: relative;}
ul.bt-icon-list > li > i {
  position: absolute;
  left: -2em;
  width: 2em;
  text-align: center;
  line-height: inherit;
}

/* Bloc carte avec doublement de l'icone en fond */
.card--icons {isolation: isolate;}
.card--icons .icon-front {
  fill: var(--bs-primary);
  z-index: 2;}
.card--icons .card-text {
  position: relative;
  z-index: 3;}
.card--icons .icon-back {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  fill: var(--bs-gray-200);
  opacity: .4;
  transform: translate(45%, 20%) rotate(0);
  transition: var(--card-transition);
  transition-delay: .3s;
  z-index: 1;
}
.card--icons:hover .icon-back {opacity: .2; transform: rotate(9deg);}

/* MARK: FILTERS */
/*--------------------------------------------------------------
# Portfolio : cards with filters
--------------------------------------------------------------*/

.filter-content-advanced:has([data-type*=actualite]:checked) [data-type-target]:not([data-type-target*=actualite]),
.filter-content-advanced:has([data-type*=sensibilisation]:checked) [data-type-target]:not([data-type-target*=sensibilisation]),
.filter-content-advanced:has([data-type*=carteblanche]:checked) [data-type-target]:not([data-type-target*=carteblanche]) {
  display: none;
  visibility: hidden;
}
.filter-content-advanced > article {
  transition: 1.75s ease;
  display: block;
  visibility: initial;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}
.filters input {display: none;}
.filters label {
  padding: 0.2rem 0.8rem;
  font-size: 1em;
  color: var(--bs-btn-active-color);
  border-radius: 1rem;
  border: var(--bs-btn-border-width, 1px) solid var(--bs-btn-border-color, transparent);
  cursor: pointer;
  transition: 0.2s ease;
}
.filters label:hover {--bs-btn-border-color: var(--bs-primary);}
.filters label:has(input:checked) {
  color: var(--bs-white);
  background-color: var(--bs-primary);
}


/*-------------------------------------------------------------
# Effets et filtres / Effects and filters
--------------------------------------------------------------*/
.grayscale {filter: grayscale(100%); opacity: .5;}
a:hover > .grayscale {filter: none; opacity: 1; transition: all .2s ease-in-out;}

/*--------------------------------------------------------------
# Page ACCUEIL & A la une / Home page and her featured section 
--------------------------------------------------------------*/
.pills-alaune .tab-content {min-height: 250px;}
.pills-alaune article {height: 100%;}
.pills-alaune .card {
  align-content: flex-end;
}
.pills-alaune .card-img-overlay {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}
.pill-alaune .card-text {text-wrap: pretty;}
@media screen and (min-width: 576px) {
  .pills-alaune {
    display: grid;
    grid-template-columns: minmax(10ch, 25%) 1fr;
  }
}

/*--------------------------------------------------------------
# A PROPOS page / Page about us
--------------------------------------------------------------*/
#apropos .institution .card-header h4 {margin: .5rem 0 1rem;}
#apropos .institution li {line-height: 2;}

/*--------------------------------------------------------------
# PARCOURS page / Page Parcours of integration
--------------------------------------------------------------*/
.logo-parcours {max-height: 150px;}
.text-parcours-ceraic {color: var(--schema-pa-ceraic);}
.text-parcours-partenaires {color: var(--schema-pa-partenaires);}
#parcours-pa .section-bg-offset--second-row {margin-top: -180px;}
#parcours-pro .icon-box {background: transparent;}
#parcours-pro .icon-box:hover {
  color: var(--grey-dark, rgb(17,17,17));
  background-color: var(--bs-orange-light);
}
#parcours-pro .icon-box:hover i {color: var(--bs-secondary);}
/* parcours ligne du temps */
ul.timeline > li.parcours-ceraic:before {border-color: var(--schema-pa-ceraic)}
ul.timeline > li.parcours-partenaires:before {border-color: var(--schema-pa-partenaires)}
.badge-schema-parcours--ceraic {
  color: var(--schema-pa-ceraic);
  border: 1px solid var(--schema-pa-ceraic);
  padding: .15rem .25em;
  border-radius: var(--border-radius);
  white-space: nowrap;
}

/* MARK: ARTICLES */
/*--------------------------------------------------------------
# ARTICLES - Accueil page, blog section / Blog
--------------------------------------------------------------*/
.entry article h1 {margin-bottom: 1rem;}
.entry article h1 ~ h6 {
  color: var(--bs-gray-700);
  --_margin-bottom: 2rem;
  margin-bottom: var(--_margin-bottom);
  margin-block-end: var(--_margin-bottom);
}
.entry article a {color: var(--bs-primary); text-decoration: underline;}
.entry article blockquote {
  position: relative;
  font-style: italic;
  line-height: 1.6;
  margin: 20px 0;
  padding: 10px 10px 10px 30px;
  border-left: 3px solid var(--bs-primary);
}
.entry article blockquote::before {
  content: "";
  color: #f0715f;
  background-color: var(--bs-primary);
  position: absolute;
  left: -1px;
  top: 50%;
  margin-top: -11px;
  width: 10px;
  height: 15px;
  clip-path: polygon(0% 0%, 0% 100%, 100% 50%)
}
.entry-img {
  max-height: 450px;
  margin: -30px -30px 20px -30px;
  overflow: hidden;
}
.entry-meta {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  color: var(--bs-gray-700);
  list-style-type: none;
  margin-block: 0;
  padding-left: 0;
}
.entry-meta:nth-of-type(n+1){margin-block-start: 1rem;}
.entry-meta li {
  display: flex;
  margin-bottom: .5rem;
}
.entry-meta li:not(:last-of-type) {margin-right: 1.25rem;}
.entry-meta li i {
  margin-right: .5rem;
  color: var(--bs-gray-600);
}
.entry .drop-shadow-sm {
  /*filter: drop-shadow(2px 4px 6px var(--gray-300));*/
  filter: drop-shadow(0 .15rem .25rem rgba(0,0,0,.75));
}
/* footnotes - on markdown */
section.footnotes {padding-top: 40px;}

/* ___ SIDEBAR */
.sidebar {margin-top: 60px;}
@media (min-width: 992px) {
  .sidebar {margin: 0 0 30px 30px;}
 }
.sidebar a {color: var(--bs-dark);}
.sidebar .sidebar-title {
  font-size: 1.5em;
  font-weight: 400;
  padding: 0;
  margin: 0 0 1em 0;
  position: relative;
}
.sidebar .card-body {padding: 10px;}
.sidebar .card-title {
  font-size: 1em;
  color: var(--grey-text);
}

/* Featured item */
/*
.sidebar .featured {margin-bottom: 60px;}
.sidebar .featured h4 {
  font-size: 1em;
  margin-left: .5em;
}
  */
.sidebar .post-img-thumb {
  margin-top: 15px;
  width: 100%;
  max-height: 80px;
  object-fit: cover;
}
/* Recent posts */
.sidebar .recent-posts .post-item + .post-item {margin-top: 25px;}
.sidebar .recent-posts .entry-meta,
.sidebar .recent-posts time {
  display: block;
  margin: 0 0 5px 5px;
  font-size: .8em;
  color: var(--bs-gray-700);
}
.sidebar .recent-posts time {color: var(--grey-dark);}
/* Pagination pages */
#blog .pagination,
#agenda .pagination {margin-top: 3rem;}
.photo-intervenant > img {
  float: left;
  width: 100px;
  margin-right: 1em;
}

/* MARK: AGENDA */
/*--------------------------------------------------------------
# AGENDA page / Page Agenda
--------------------------------------------------------------*/
.grid {--agenda-grid-gap: 50px 30px;}
.agenda-single-llustration {
  width: 100%;
  margin-bottom: 25px;
}
#agenda .g-col {
  grid-column: 1 / -1;
}
@media screen and (min-width: 768px) {
  .agenda-single-llustration {
    width: 50%;
    float: right;
    margin-left: 50px;
  }
  #agenda .g-col {
    grid-column: auto / span 12;
  }
}
@media screen and (min-width: 992px) {
  #agenda .g-col {
    grid-column: auto / span 4;
  }
}
/* meta des activités de Agenda */
.meta-agenda {
  display: flex;
  flex-direction: column;
  list-style-type: none;
  margin-block: .5rem 0;
  padding-left: 0;
  font-size: .95em;
}
#agenda-single-post .meta-agenda {flex-direction: row;}
.meta-agenda li {
  display: flex;
  padding-bottom: .25em;
}
.meta-agenda i {color: rgba(var(--bs-primary-rgb), 0.6);}
/* meta sur article activité à l'horizontal */

/* Meta sur single agenda page */
.meta-agenda--info {display: flex;}
.meta-agenda--info i {
  font-size: 2.2em;
  color: var(--bs-gray-700);
  margin-right: .5em;
}

#agenda .entry :is(h2, h3, h4, h5):where(+ h1, h2, h3, h4) {margin-block-start: 2.5rem;}

#agenda .entry h6 {font-style: italic;}
#agenda h1:has(+ h6) {margin-bottom: .25rem}
#agenda .footnotes {margin-top: 3em;}

/* MARK: BLOG */
/*--------------------------------------------------------------
# BLOG sections / Sections of Blog
--------------------------------------------------------------*/
#blog .section {margin-bottom: 30px;}
#blog .entry .entry-content {margin-top: 2rem;}
#blog .entry .entry-img {
  position: relative;
  width: 100%;
  margin: 0 0px 30px 0;
}
#blog .entry .entry-content h2:not(.accordion-header),
#blog .entry .entry-content h3 {margin-top: 2.5rem;}
#blog .entry .entry-content h6 {
  font-style: italic;
  margin-top: 1.1em;
  margin-bottom: 2em;
}
#blog .entry .entry-footer {
  padding-top: 10px;
  border-top: 1px solid var(--bs-orange-light);
}
#blog .entry .entry-footer i {
  color: var(--bs-gray-500);
  display: inline;
}
#blog .entry .entry-footer a {
  transition: .3s;
}
#blog .entry .entry-footer a:hover {color: var(--bs-primary);}

/* UNUSED - START */
#blog .entry .entry-footer .cats {
  list-style: none;
  display: inline;
  padding: 0 20px 0 0;
  font-size: .9em;
}
#blog .entry .entry-footer .cats li {display: inline-block;}
#blog .entry .entry-footer .tags {
  list-style: none;
  display: inline;
  padding: 0;
  font-size: .9em;
}
#blog .entry .entry-footer .tags li {display: inline-block;}
#blog .entry .entry-footer .tags li + li::before {
  padding-right: 6px;
  color: #6c757d;
  content: ",";
}
/* unused - STOP */
#blog .entry .entry-link {
  display: inline-flex;
  margin-top: 30px;
}
/* lien final des markdown */
/* code retiré ici */
#blog .entry .pour-aller-plus-loin {
  padding: 25px;
  border: 2px solid palegoldenrod;
  border-width: 0 0 0 10px;
}
#blog .pour-aller-plus-loin h2:first-of-type {margin-top: initial!important;}
/* Categories list */
#blog .sidebar .categories {margin-bottom: 60px;}
#blog .sidebar .categories ul {
  list-style: none;
  padding: 0;
}
#blog .sidebar .categories ul li + li {padding-top: 20px;}
/* Tags list */
#blog .sidebar .tags ul li {display: inline-block;}
#blog .sidebar .tags ul a {
  color: #515151;
  font-size: 0.9em;
  padding: 6px 14px;
  margin: 0 6px 8px 0;
  border: 1px solid var(--bs-gray-700);
  display: inline-block;
  transition: .3s;
}
#blog .sidebar .tags ul a:hover {
  color: rgb(255,255,255);
  border: 1px solid var(--link-dark);
  background: var(--link-dark);
}
#blog .sidebar .tags ul a span {
  padding-left: 5px;
  color: var(--grey-light);
  font-size: .9em;
}
#blog .entry .entry-content blockquote {
  margin: 30px 0;
  padding: 10px 30px;
}
#blog .author {
  text-transform: uppercase;
  margin-top: 30px;
  margin-bottom: 60px;
}
#blog .author::before {
  content: "\F604";
  font-family: "bootstrap-icons";
  margin-right: .5em;
}

/* Share links social media */
#share-buttons {
  display: inline-flex;
  justify-content: center;
  padding-inline-start: 1rem;
}
#share-buttons:after {
  content: "";
  display: block;
  clear: both;
}
#share-buttons > div {
  position: relative;
  text-align: left;
  height: 1em;
  width: 2em;
  float: left;
  text-align: center;
}
#share-buttons > div > svg,
#share-buttons > div > i {
  height: 1em;
  color: var(--bs-gray-500);
  fill: var(--bs-gray-500);
}
#share-buttons > div {height: 1em;}
#share-buttons > div:hover {cursor: pointer;}
#share-buttons > div.facebook:hover > svg {fill: #3B5998;}
#share-buttons > div.facebook:hover > i {color: #3B5998;}
#share-buttons > div.twitter:hover > svg {fill: #55ACEE;}
#share-buttons > div.twitter:hover > i {color: #55ACEE;}
#share-buttons > div.linkedin:hover > svg {fill: #0077b5;}
#share-buttons > div.linkedin:hover > i {color: #0077b5;}
#share-buttons > div.pinterest:hover > svg {fill: #CB2027;}
#share-buttons > div.pinterest:hover > i {color: #CB2027;}
#share-buttons > div.mail:hover > svg {fill: #7D7D7D;}
#share-buttons > div.mail:hover > i {color: #7D7D7D;}
#share-buttons > div.facebook > svg {height: 18px;}
#share-buttons > div.twitter > svg {height: 20px;}
#share-buttons > div.linkedin > svg {height: 19px;}
#share-buttons > div.pinterest > svg {height: 20px;}
#share-buttons > div.mail > svg {height: 14px;}

/*

/* MARK: REFONTE 2024 */
/* REFONTE JUILLET 2024, toujours en développement */
.grid--contact {
  --bs-gap: 2rem;
  display: grid;
  grid-template-columns: repeat( var(--grid-template-repeat-value, auto-fit), minmax( var(--avatar-width), calc( var(--avatar-width) + var(--bs-gap, 1.5rem) ) ) );
  justify-content: center;
}
.avatar-card {
  --bs-card-bg: transparent;
  border: none;
  align-items: center;
  overflow: visible;
}
.avatar-card .card-img-top {
	display: grid;
	grid-template-areas: "stack";
	justify-content: center;
	align-items: end;
	height: calc(var(--avatar-width) * 1.15);
	width: var(--avatar-height);
  margin-inline: var(--bs-card-spacer-x); 
  margin-block: var(--bs-card-spacer-y); 
	border-radius: 0 0 100vw 100vw;
	overflow: hidden;
}
.avatar-card .card-img-top > * {
	grid-area: stack;
	aspect-ratio: 1;
}
.avatar {
	--avatar-translateY: 10px;
  --bs-bg-opacity: .8;
  display: inline-block;
  align-self: center;
  height: var(--avatar-width);
  width: var(--avatar-height);
  background-image: url("../images/avatars-planche.webp");
  background-repeat: no-repeat;
	z-index: 3;
}

/* DEV */
.card--avatar-new {
   --bs-card-bg: transparent;
   border: none;
   align-items: center;
   overflow: visible;
 }
 .card--avatar-new .card-img-top {
   display: grid;
   grid-template-areas: "stack";
   justify-content: center;
   align-items: end;
   height: calc(var(--avatar-width) * 1.05);
   width: var(--avatar-height);
   margin-block-start: 0;
   margin-block-end: var(--bs-card-spacer-y); 
   margin-inline: var(--bs-card-spacer-x); 
   border-radius: 0 0 100vw 100vw;
   overflow: hidden;
 }
 .card--avatar-new .card-img-top > * {
   grid-area: stack;
   aspect-ratio: 1;
   transition: 300ms cubic-bezier(0.4, 0, 0.2, 1);
 }
 .card--avatar-new .circle {
   /* CSS Pattern source https://css-pattern.com/ */
   --background-image: url("https://images.unsplash.com/photo-1498612753354-772a30629934?q=80&w=987&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
   --s: 15px; /* control the size*/
   --c1: rgb(255, 240, 240);
   --c2: #62a392;
   --_g: radial-gradient(calc(var(--s)/2),var(--c1) 97%,rgba(255, 255, 255, 0));
   
   position: relative;
   /*background-image: repeating-radial-gradient(circle at 0px 0px, transparent 0px, rgb(229, 229, 247) 16px), repeating-linear-gradient(rgba(247, 142, 69, 0.333), rgb(247, 142, 69));*/
   /*background: var(--background-image);*/
    background: var(--_g),var(--_g) calc(2*var(--s)) calc(2*var(--s)),
   repeating-conic-gradient(from 45deg,rgba(255, 255, 255, 0) 0 25%,var(--c2) 0 50%) calc(-.707*var(--s)) calc(-.707*var(--s)),
   repeating-linear-gradient(135deg,var(--c1) calc(var(--s)/-2) calc(var(--s)/2),var(--c2) 0 calc(2.328*var(--s)));
    background-size: calc(4 * var(--s)) calc(4 * var(--s));

   background-color: var(--bs-primary);
   border-radius: 50%;
   z-index: 1;

 }
.card--avatar-new .avatar {
   --avatar-translateY: 10px;
   --bs-bg-opacity: .8;
   display: inline-block;
   height: var(--avatar-width);
   width: var(--avatar-height);
   align-self: flex-end;
   background-image: url("../images/avatars-planche.webp");
   background-repeat: no-repeat;
   aspect-ratio: 1;
   z-index: 3;
}
/* Hovering effects start under */
.card--avatar-new:hover .circle {
  transform: translateY(25px);
}
.card--avatar-new:hover .avatar {
  transform: translateY( calc(var(--avatar-translateY) * -1) ) scale(1.20);}

/* DEBUG */

/* .card--avatar-new .circle {background-color: #ecd078; outline: 3px solid lime;} */
/* .card--avatar-new:hover .circle, .card--avatar-new:hover .avatar {outline: 2px dashed deeppink;} */

/*--------------------------------------------------------------
# Drapeaux / FLAGS
--------------------------------------------------------------*/
i[class^="contryflag-"] {
  display: inline-block;
  width: 20px;
  height: 14px;
  vertical-align: middle;
  border-radius: 1px;
}
i.contryflag-francais {background: linear-gradient(180deg, rgba(0,85,164,1) 0%, rgba(0,85,164,1) 33%, rgba(255,255,255,1) 33%, rgba(255,255,255,1) 66%, rgba(239,65,53,1) 66%, rgba(239,65,53,1) 100%);}
i.contryflag-anglais {background: linear-gradient(180deg, rgba(1,33,105,1) 0%, rgba(1,33,105,1) 30%, rgba(255,255,255,1) 30%, rgba(255,255,255,1) 35%, rgba(200,16,46,1) 35%, rgba(200,16,46,1) 65%, rgba(255,255,255,1) 65%, rgba(255,255,255,1) 70%, rgba(1,33,105,1) 70%, rgba(1,33,105,1) 100%);}
i.contryflag-ukrainien {background: linear-gradient(180deg, rgba(0,102,204,1) 0%, rgba(0,102,204,1) 49%, rgba(255,204,0,1) 49%, rgba(255,204,0,1) 100%);
}
i.contryflag-russe {background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 33%, rgba(0,50,160,1) 33%, rgba(0,50,160,1) 66%, rgba(218,41,28,1) 66%, rgba(218,41,28,1) 100%);}

/* MARK: ANIMATIONS */
/*--------------------------------------------------------------
# ANIMATIONS / Animations
--------------------------------------------------------------*/
.bg-anim-gradient-1 {
  background: var(--gradient-light-grey);
  background-size: 400% 400%;
  animation: gradient_1 15s ease infinite;
}
.fade-in, .fade-in-bottom, .slide-left, .slide-right, .float, .move-up, .move-down, .move-left, .move-right, .fly-in, .fly-in-left, .fly-in-right {
  animation-duration: var(--animation-duration, 3s) ;
  animation-timing-function: var(--animation-timing-function, ease-in-out); 
  animation-delay: var(--animation-delay, 0); 
  animation-iteration-count: var(--animation-iteration-count, 1); 
  animation-direction: var(--animation-direction); 
  animation-fill-mode: var(--animation-fill-mode); 
  animation-play-state: var(--animation-play-state, running); 
}
.fade-in {animation-name: fade-in;}
.fade-in-bottom {animation-name: fade-in-bottom;}
.slide-left {animation-name: slide-in-left;}
.slide-right {animation-name: slide-in-right;}
.float {--animation-duration: 3s; animation-name: floating;}
.move-up {animation-name: move_top;}
.move-down {animation-name: move_down;}
.move-left {animation-name: move_down;}
.move-right {animation-name: move_right;}
.fly-in {animation-name: fly-in;}
.fly-in-left {animation-name: fly-in-left;}
.fly-in-right {animation-name: fly-in-right;}

/* ____ !! Animation avec animation-timeline */
[data-animation-type="animation-timeline"] {
  animation-timeline: var(--animation-timeline, view());
  animation-range: var(--animation-range-start-style, cover) var(--animation-range-start-value, 0%) var(--animation-range-end-style, cover) var(--animation-range-end-value, 20%);
  animation-delay: var(--animation-delay, 1ms); /* firefox bug 2024 */
}

/* _________________ OCTOBRE 2024 DEV TEST ________________ */
.atl-fade-in {
  animation-timeline: view(block 50% 10%);
  animation-name: kf-trouble-fade-in;
  animation-fill-mode: both;
  animation-duration: 1ms; /* Firefox requires this to apply the animation */
  animation-timing-function: linear;
}
@keyframes kf-trouble-fade-in {
  from {opacity: 0; transform: scaleX(0);}
  to {opacity: 1; transform: scaleX(.6);}
}
/* __________________________________________________ */

.revealing-image {
  view-timeline-name: --revealing-image;
  view-timeline-axis: block;
  animation: reveal var(--animation-timing-function, linear) var(--animation-fill-mode);
  animation-timeline: --revealing-image;
  animation-range: entry 10% cover 40%;
}

/* ___ KEYFRAMES ___ */
@media (prefers-reduced-motion: no-preference) {
  @keyframes animate-loading {
    0% {transform: rotate(0deg);}
    100% {transform: rotate(360deg);}
  }
  @keyframes gradient_1 {
    0% {background-position: 0% 50%;}
    50% {background-position: 100% 50%;}
    100% {background-position: 0% 50%;}
  }
  @keyframes kf-fade-in {
    0% {opacity: 0; color: green;}
    100% {opacity: 1; color: red;}
  }
  @keyframes fade-in-bottom {
    0% {transform: translateY(var(--animation-translateY), 50px); opacity: 0;}
    100% {transform: translateY(0); opacity: 1;}
  }
  @keyframes slide-in-left {
    0% {
      transform: translateX(var(--animation-translateX-start, -100px));
      opacity: var(--animation-opacity-start, 0);
    }
    100% {
      transform: (var(--animation-translateX-end,0));
      opacity: var(--animation-opacity-end, 1);}
  }
  @keyframes slide-in-right {
    0% {
      transform: translateX(var(--animation-translateX-start, 100px));
      opacity: var(--animation-opacity-start, 0);
    }
    100% {
      transform: (var(--animation-translateX-end, 0));
      opacity: var(--animation-opacity-end, 1);}
  }
  @keyframes floating {
    0% {transform: translateY(var(--animation--translateY-start, 0));}
    50% {transform: translateY(var(--animation-translateY-50, 60px));}
    100% {transform: translateY(var(--animation--translateY-start, 0));}
  }
  @keyframes move_top {
    0%, 100% {transform: translateY(0);}
    50% {transform: translateY(var(--animation-translateY, 50px));}
  }
  @keyframes move_down {
    0%, 100% {transform: translateY(0);}
    50% {transform: translateY(var(--animation-translateY, 50px));}
  }
  @keyframes move_left {
    0%, 10% {opacity: 0; transform: translateX(var(--animation-translateX-start, 50%));}
    50%, 70% {opacity: 1; transform: translateX(0);}
    90%, 100% {opacity: 0; transform: translateX(var(--animation-translateX-end, -25%));} 
  }
  @keyframes move_right {
    0%, 10% {opacity: 0; transform: translateX(var(--animation-translateX-start, -50%));}
    50%, 70% {opacity: 1; transform: translateX(0);}
    90%, 100% {opacity: 0; transform: translateX(var(--animation-translateX-end, 25%));} 
  }
  @keyframes fly-in {
    from {
      opacity: 0; 
      translate: -80% 0 0;
    }
    to {
      opacity: 1; 
      translate: 0 0 0;
    }
  }
  @keyframes fly-in-left {
    from {
      opacity: 0; 
      translate: -80% 0 0;
    }
    to {
      opacity: 1; 
      translate: 0 0 0;
    }
  }
  @keyframes fly-in-right {
    from {
      opacity: 0; 
      translate: 80% 0 0;
    }
    to {
      opacity: 1; 
      translate: 0 0 0;
    }
  }
  @keyframes reveal {
    from {
        opacity: 0;
        clip-path: inset(80% 30%);
    }
    to {
        opacity: 1;
        clip-path: inset(0% 0%);
    }
  }
  @keyframes fakebounce {
    0% {left: calc(100% - 2rem)}
    50% {left: -1.5rem}
    75% {left: -.5rem}
    88% {left: -1.125rem}
    to {left: -1rem}
  }
}

/* CARROUSEL - CAROUSEL */
/* hauteur définie en ligne */
.simpleslider {
  display: flex;
  width: 100%;
  height: auto;
  margin: 0 auto;
  overflow: hidden;
  background-color: palegreen;
}
.simpleslider .item {
  display: flex;
  align-items: center;
  padding: 0 10px;
  animation-name: carouselslideanim;
  animation-duration: var(--sliderspeed, 20s);
  animation-delay: var(--animation-delay, 2s);
  animation-direction: var(--animation-direction, alternate);
  animation-iteration-count: var(--animation-iteration-count, infinite);
  animation-timing-function: var(--animation-timing-function, linear);
}
.simpleslider .item img {
  width: 100%;
  max-height: 100%;
}
.simpleslider:hover .item {animation-play-state: paused;}
@keyframes carouselslideanim {
  0% {
      transform: translate3d(0, 0, 0);
  }
  100% {
      transform: translate3d(-900px, 0, 0);
  }
}
@keyframes tilt-shaking {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(5deg); }
  50% { transform: rotate(0eg); }
  75% { transform: rotate(-5deg); }
  100% { transform: rotate(0deg); }
}

/*--------------------------------------------------------------
# Bulletin info
--------------------------------------------------------------*/
main#bulletininfo ul {
  list-style: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" fill="rgb(192,192,192)" class="bi bi-check" viewBox="0 0 16 16"><path d="M10.97 4.97a.75.75 0 0 1 1.07 1.05l-3.99 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425a.267.267 0 0 1 .02-.022z"/></svg>');
  }
main#bulletininfo li {margin-bottom: .325em;}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  --section-padding-block-start: 60px;
  --section-padding-inline-end: 0;
  --section-padding-block-end: 30px;
  --section-padding-inline-start: 0;
  position: relative;
  color: rgb(0, 0, 0);
  font-size: .95em;
  background-color: var(--bs-white, rgb(255, 255, 255));
  padding: var(--section-padding-block-start, 90) var(--section-padding-inline-end) var(--section-padding-block-end) var(--section-padding-inline-start);
}
#footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 0;
  height: 5px;
  width: 80%;
  background: linear-gradient(90deg, rgba(23,23,59,1) 0%, rgba(23,23,59,1) 35%, rgba(186,48,115,1) 35%, rgba(186,48,115,1) 100%, rgba(0,212,255,1) 100%);
}
#footer a:not(class~="btn") {color: var(--bs-dark);}
#footer ul {
  list-style-type:none;
  padding-left: 0;
}
#footer .footer-content {
  --bs-gutter-x: 3rem;
  --bs-gutter-y: 1.5rem;
  outline: 2px solid red;
}

#footer .footer-content [class^="col"] {
  display: flex;
  flex-direction: column;
  justify-content: center;
  justify-self: flex-end;
  outline: 5px dashed deepskyblue;
}
footer .social-links {
  display: flex;
  list-style-type: none;
  padding-inline-start: 0;
}
footer .social-links i {
  color: var(--link-dark);
  font-size: 2rem;
  margin-inline-end: 1rem;
  padding: 5px;
}
footer .social-links a:hover i {color: var(--bs-primary);}

/* footer .logos-financiers > * {flex: 1;} */

footer .logos-financiers {display: flex; flex-direction: row; align-items: center; gap: 15px; height: max(3rem, 80px);}
footer .logos-financiers a {display: flex; justify-content: center; align-items: center; height: 100%; width: 100%;}
footer .logos-financiers img {max-height: 100%; width: fit-content;}

footer .logos-financiers a:hover img {
  opacity: 1;
  transition: .3s;
}

footer .credits {
  padding-top: 5px;
  font-size: .8em;
}

/*--------------------------------------------------------------
# PRINT
--------------------------------------------------------------*/
@media print {
  :root {--bs-gutter-y: 0!important;}
  a:not(.btn):after {
    content:" (" attr(href) ") ";
    font-size: .8em;
    font-weight:normal;
    margin-left: .325em;
    margin-right: 1em;
  }
  header {display: none;}
  .page-header-section{
    background-image: none;
    padding: initial;
  }
  .page-header-section {background-image: none!important;}
  .page-header-section .breadcrumb {display: none; visibility: hidden;}
  .page-header-section h1 {color: black!important; background-color: transparent!important;}
  .overlay::before {content: ""; display: none;}
  ol.breadcrumb {display: none;}
  .section, .section-bg {padding: 0;background: none;}
  .section-title {--bs-gutter-x: 0!important;}
  .section-title h2::after {display:none; visibility: hidden;}
  .container {width: 100%; max-width: unset;}
  .card{border:none;}
  .card{ padding: 0;}
  .btn{
    border:none;
    padding:0;
  }
  img[src*="svg"] {max-height: 80mm;}
  [class^="icon-fs-"], 
  [class*="icon-fs-"] {
    display: none;
    visibility: hidden;
  }
  .fs-5.mt-3 {margin-top: 0;}
  .row>* {--bs-gutter-y: 0!important;}
  .card-box {margin: 0!important; padding: 0!important;}
  .card-box p {margin: 0!important;}
  /* General Footer */
  #footer .col.footer-links{
    display: none;
    visibility: hidden;
  }
  #footer .mt-5{
    margin-top: 0!important;
  }
  #footer .col-financiers{
    display: grid;
    grid-template-columns: repeat(6, 1fr);
  }
  /* contact page */
  .avatar{
    display: none;
    visibility: hidden;
  }
}

/* MARK: 2024 */
/*--------------------------------------------------------------
# 2024 POST-SCSS ADDITION - à partir de mai 2024
--------------------------------------------------------------*/

/* _____ COMPTEURS MAI 2024 */
/* revamp from https://codepen.io/chriscoyier/pen/xjapNK?editors=1100 */
.steps {
  clear: both;
  list-style: none;
  padding-left: 2%;
}
.steps li {
  margin: 2em 0;
  padding-top: 1em;
  display: block;
  position: relative;
  counter-increment: inst;
}
.steps li::before {
  content: counter(inst);
  background-color: rgba( var(--bs-primary-rgb), var(--bs-bg-opacity, .35) );
  color:var(--bs-white, rgb(255,255,255));
  font-size: 1.5em;
  font-weight: 700;
  font-style: italic;
  border-radius: 0 0.675rem 0.675rem 0;
  text-align: center;
  padding-top: 0;
  padding-left: 2.25%;
  left: -5%;
  top: -0.65em;
  height: 2em;
  width: 2em;
  position: absolute;
  transition: all 0.2s ease-in-out;
  z-index: -1;
}
@media (min-width: 576px) {
    .steps li:before {
        border-radius: 50%;
        font-size: 2rem;
        height: 1.35em;
        margin-left: 2.5%;
        padding-left: 0;
        padding-top: 0;
        top: -.75rem;
        width: 1.35em;
        z-index: -1;
    }
}

/* Markdown footnotes */
.footnotes[role="doc-endnotes"] {margin-top: 4em;}

/* Bandeau fermeture exceptionnelle */
.alert-fermeture {
  position: fixed;
  bottom: 0;
  width: 100%;
  margin: 10px 0 0 0;
  z-index: 9999;
}
/*--------------------------------------------------------------
# Autres
--------------------------------------------------------------*/
.confettis:hover {
  background: center url(../video/Confetti-Animation-by-Qrious-Studio-LottieFiles_1.gif) no-repeat;
}


/*--------------------------------------------------------------
# 2024 Accessibilité
--------------------------------------------------------------*/
/* Bouton de partage réseau social
#  source https://www.vinci.be/fr/la-formation-continue
#   cache le contenu sauf si le focus est mis dessus via un lien stretched
#   <li style="position: relative;"><a href="" style="position:absolute;top: 0;bottom: 0;lef: 0;right: 0;z-index: 1;"><span class="sr-only">YouTube</span></a> <i class="bi bi-youtube" aria-hidden="true"></i></li>
#    le lien doit couvrir image, cache le texte "Youtube" mais le fait apparaitre au focus du lien 
*/
.sr-only:not(:focus),
.visually-hidden {
  overflow: hidden!important;
  position: absolute!important;
  width: 1px!important;
  height: 1px!important;
  padding: 0;
  white-space: nowrap;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}

/*--------------------------------------------------------------
# Développement uniquement
--------------------------------------------------------------*/
.draft-element {
  color: deeppink;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: .2rem;
  font-weight: bold;
  background-color: paleturquoise;
  padding: 0 10px;
}
/* Nouvelle grille principale, remplaçant container(-fluid) de BT */
.content-grid {
  --padding-inline: 1rem;
  --content-max-width: 1320px;
  --breakout-max-width: 1400px;
  --breakout-size: calc( (var(--breakout-max-width) - var(--content-max-width) ) / 2);
  display: grid;
  grid-template-columns:
  [full-width-start] minmax(var(--padding-inline), 1fr) 
	  [breakout-start] minmax(0, var(--breakout-size)) 
		  [content-start] min(50% - (var(--padding-inline) * 2), calc(var(--content-max-width) / 2)) 
		  [content-middle] min(50% - (var(--padding-inline) * 2), calc(var(--content-max-width) / 2)) 
		  [content-end] minmax(0, var(--breakout-size)) 
	  [breakout-end] minmax(var(--padding-inline), 1fr) 
  [full-width-end] !important;
}
.content-grid > :not(.breakout, .full-width),
.full-width > :not(.breakout, .full-width) {
  grid-column: content;
}
.content-grid > .breakout {
  grid-column: breakout;
}
.content-grid > .full-width {
  display: grid;
  grid-column: full-width;
  grid-template-columns: inherit;
}
/* espacement entre les lignes de la grille sur elt parent FLOW */
.flow > * + * {
  margin-top: var(--flow-spacing, 1em);
}
