
:root {
  --blue : #4D90F6;
  --blue : #1453b1;
  --orange : #F76201;
  --orange :  #047e7a;
  --orange :  #2ea19e;

  --green : #3CD4CF;
  --green-light : #e2fbfb;
  --orange-dark : #bc540e;
  --orange-dark :  #024d4a;
  --blue-dark : #1e6adc;
  --blue-dark : #032e6e;
  --orange-light: #ffe7d6;
  --blue-light: #95c0ff;
  --back :  rgb(252, 252, 255);

  --blue : #1453b1;
  --blue-light:  #4D90F6;
  --blue-very-light:  #c0d9ff;

  --blue-dark : #032e6e;
  --blue-dark-transparent : #032e6ee8;


  --blue : #6b5b8a;
  --blue : #7a6992;
  --blue : #8a6992;
  --blue : #648495;
  --blue : #956489;
  --blue : #647395;


  --blue-light:  #8d97af;
  --blue-very-light:  #cbd8f6;
  --blue-dark : #454f66;
  --blue-dark-transparent : #2e3444c5;

  --orange-very-dark : #034e4c;
  --orange-dark : #047e7a;
  --orange :  #2ea19e;
  --orange-light : #def0ec;

  --red : #e4386c;
  --red-light: #ffe4f0;
  --red-dark : #bd2055;

  --contour : rgb(144, 153, 174);
  --interieur : rgb(193, 187, 196);
  --contour-portable : rgb(202, 209, 226);

  --couleur-user : #454f66;
  --couleur-user-portable : #bbc5de;

  --couleur-main : #56c9c5;
  --couleur-forum : #bac7e6;

  --font1 : 'Life Savers'; /* Titre */
  --font1 : 'Philosopher';
  --font2 : 'Della Respira'; 
  --font3 : 'Philosopher'; /*Classique */
  --font4 : 'PT Serif';

}

body {
  margin : 0px;
  font-family: var(--font3), serif;
  background-color: var(--back);
}

@media (min-width: 1150px) {

.navbar {
  top: 0px;
  background-color: #ffffff;
  font-size : 18px;
  border-radius : 30px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
  margin-left : 50px;
  margin-right: 50px;  
  padding-right: 20px;
  margin-top: 20px;
  transition: all 0.25s ease;
  z-index: 9999; 
  position: fixed;
  width: calc(100% - 100px);
  height : 70px;
}

}

@media (max-width: 1150px) {
  .navbar {
    top: 0px;
    background-color: #ffffff;
    font-size : 18px;
    border-radius : 30px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
    margin-left : 20px;
    margin-right: 20px;  
    padding-right: 20px;
    margin-top: 20px;
    transition: all 0.25s ease;
    z-index: 9999;
    position: fixed;
    width: calc(100% - 60px);
    height : 70px;
  }
}


.navbar.sticky {
  border-radius : 0px;
  position: fixed;
  width : 100%;
  margin: 0px;
  z-index: 9999;
  top: 0;
  transition: all 0.25s ease;
}

.navbar-a {
  float: right;
  color: rgb(0, 0, 0);
  text-align: center;
  padding: 10px 12px; /* Espacement autour du texte de lien */
  text-decoration: none;
  line-height: 50px; /* centrer verticalement les icônes et les boutons */
  position: relative;
}

.normal-menu .principal  {
	position: relative;
	transition: color .3s ease-in-out;
	
	&::before {
		content: '';
		position: absolute;
		top: 100%;
		width: calc(100% - 20px);
		height: 3px;
		background-color: var(--blue);
		transform: scaleX(0);
		transition: transform .3s ease-in-out;
	}
	
	&:hover {
		color: var(--blue);
	}
	
	&:hover::before {
		transform: scaleX(1);
	}	
}

.dropdown {
  float: right;
  overflow: hidden;
  z-index : 200;
}

.dropdown .dropbtn {
  font-size: 18px;  
  border: none;
  outline: none;
  color: rgb(0, 0, 0);
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
  line-height: 40px;
}

/* Afficher le dropdown container au survol ou au clic */
.dropbtn:hover .dropdown-content {
  display: block;
}

/* Afficher le dropdown container au survol ou au clic */
.dropbtn:hover .dropdown-content-hamb {
  display: block;
}

.navbar-a:hover, .dropdown:hover .dropbtn {
  color :var(--blue);
}




.open .dropdown-content-hamb {
  display: block;
}


.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f3f3f3;
  min-width: 200px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 999;
  border-radius: 0px;
  right: 70px;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
  z-index: 999;
  position: relative;
}

.dropdown-content a {
  position: relative;
}

.dropdown:hover .dropdown-content {
  display: block;
  border-top : 3px solid var(--blue);
}

.dropbtn {
  cursor : pointer;
}

.normal-menu {
  width : 100%;
  height: 100%;
  position: relative; /* Établit un contexte de position pour les éléments enfants */
}

#normalMenu, #hamburgerMenu {
  display: none;
}


.nom-site{
  position: absolute;
  font-family: var(--font4); 
  font-size: 40px;
  height : 60px;
  top: 50%;
  transform: translateY(-50%);
  margin: 0; /* Pour annuler toute marge par défaut */
  display: flex;
  align-items: center; /* Pour le centrage vertical */
  font-weight: lighter;
}


@media (min-width : 500px) {
  #logo_LCdP {
    margin-left: 15px;
  }

  .nom-site {
    margin-left: 80px;
  }
}

@media (min-width : 425px) and (max-width : 500px) {
  #logo_LCdP {
    margin-left: 7px;
  }

  .nom-site {
    margin-left: 65px;
  }
}

@media (min-width : 325px) and (max-width : 425px) {
  #logo_LCdP {
    margin-left: 5px;
  }

  .nom-site {
    margin-left: 60px;
  }
}


@media (max-width : 325px) {
  #logo_LCdP {
    margin-left: 5px;
  }

  .nom-site {
    margin-left: 65px;
  }
}


#logo_LCdP {
  margin-top: 5px; 
  display: inline-block;
  height : 60px;
  width : auto;
}

.dropbtn-hover .dropdown-content {
  display: block;
}


.hamburger-menu {
  width : 100%;
  height: 100%;
}

/* Barre de défilement */

::-webkit-scrollbar {
  width: 8px; /* Largeur de la barre de défilement */
}

::-webkit-scrollbar-track {
  background-color: #f1f1f1; /* Couleur de fond de la piste de défilement */
}

::-webkit-scrollbar-thumb {
  background-color: var(--blue-light); /* Couleur de la barre de défilement */
  border-radius : 10px;

}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--blue-dark); /* Couleur de la barre de défilement au survol */
}

.dropdown-content-hamb {
  display: none;
  background-color: #f3f3f3;
  min-width: 200px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 999;
  border-radius: 0px;
  right: 0;
  position: relative;
}

.dropdown-content-hamb a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
  z-index: 999;
  position: relative;
  font-size: 25px;
}

.dropdown-content-hamb a {
  position: relative;
}

.dropdown:hover .dropdown-content-hamb {
  display: block;
  border-top : 3px solid var(--blue);
}

legend, label, input, ul, li{
  margin: 0; 
  padding: 0;
}

ul,li{
  list-style: none;
}

a,
.navbar-a { 
  text-decoration: none;
}

.input-toggler{ 
  display: none;
}


.menu-toggler-line{
  width: 90%; 
  height: 3px; 
  background:var(--blue); 
  margin: 0 0 10px 0px; 
  position: relative; 
  transition: all .40s ease-out;
}

.input-toggler:checked ~ .menu-toggler .menu-toggler-line {
  top: 5px; 
  transform: translateY(100px);  
  transform:rotate(45deg);
}

.input-toggler:checked ~ .menu-toggler .menu-toggler-line:nth-child(2) {
  display: none;
}

.input-toggler:checked ~ .menu-toggler .menu-toggler-line:nth-child(3) {
  top: -5px; 
  translateY:10; 
  transform:rotate(135deg);
}

.nav{ 
  width: 100%; 
  height: 100%; 
  background:white;
}

.nav ul{ 
  width: 100%;
  left: 0;
}

.hamb {
  float: none !important;
  margin: 0 auto !important;
  text-decoration: none;
  color: black;
  font-size: 25px;
}

.hamburger-menu .sidebar ul li {
  padding: 10px 12px; /* Espacement autour du texte de lien */
}

.hamb:hover {
  color: var(--blue);
}


.nav ul li a{
  font-size: 36px; 
  color: #fff; 
  text-transform: uppercase;
}

.sidebar {
  position: absolute; 
  top: 0; 
  height: 100vh; 
  width: 100%; 
  background:white; 
  opacity: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateX(-100%);
  transition: all .40s ease-out;
}

.input-toggler:checked ~ .sidebar {
  transform: translateX(0%); 
  opacity: .98;
}




.body-bell {
  background: white;
  align-items: center;
  justify-content: center;
  width : 54px;
  height : 54px;
  position: relative;
  float: right;
  margin-top: 8px;
}

.bell-icon {
  position: relative;
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 50%;
  display: flex;
  cursor: pointer;
}

.bell-icon svg {
  margin: auto;
  position: relative;
  right: 2%;
  width: 100%;
  height: 100%;
}

.bell-icon .bell-icon__group {
  transform-origin: 50% 2px;
  transform: rotate(-8deg);
  animation-fill-mode: both;
  animation-iteration-count: 1;
  animation-timing-function: ease-in-out;
}

.bell-icon .bell-icon__ball {
  transform-origin: 50% 2px;
  transform: translateX(-6.5%);
  animation-fill-mode: both;
  animation-iteration-count: 1;
  animation-timing-function: ease-in-out;
}

.bell-icon.animate {
  outline: none;
}

.bell-icon.animate .bell-icon__group {
  animation: animateGroup 2.3s;
}

.bell-icon.animate .bell-icon__ball {
  animation: animateBall 2.3s;
}

.bell-icon.animate .notification-amount-0 {
  opacity: 1;
  visibility: visible;
}

.bell-icon.animate .notification-amount-0::before {
  animation-name: bounce;
  animation-delay: 0ms;
}



.bell-icon:hover {
  outline: none;
}

.bell-icon:hover .bell-icon__group {
  animation: animateGroup 2.3s;
}

.bell-icon:hover .bell-icon__ball {
  animation: animateBall 2.3s;
}

.bell-icon:hover .notification-amount {
  opacity: 1;
  visibility: visible;
}

.bell-icon:hover .notification-amount::before {
  animation-name: bounce;
  animation-delay: 0ms;
}



.notification-amount-0 {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 10%;
  right: 17%;
  width: 20px;
  height: 19px;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Copse", serif;
  font-size: 14px;
  font-weight: bold;
}
.notification-amount-0 span {
  position: relative;
}
.notification-amount-0::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: var(--red);
  border-radius: 50%;
  z-index: 0;
  transform: scale(0);
  animation-duration: 800ms;
  animation-fill-mode: both;
}


.notification-amount {
  position: absolute;
  top: 6%;
  right: 12%;
  width: 23px;
  height: 23px;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Copse", serif;
  font-size: 14px;
  font-weight: bold;
}
.notification-amount span {
  position: relative;
}
.notification-amount::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: var(--red);
  border-radius: 50%;
  z-index: 0;
}


@keyframes animateGroup {
  0%, 100% {
    transform: rotate(-8deg);
  }
  17.42% {
    transform: rotate(0deg);
  }
  34.84% {
    transform: rotate(-20deg);
  }
  48.235% {
    transform: rotate(20deg);
  }
  57.027% {
    transform: rotate(-20deg);
  }
  64.914% {
    transform: rotate(8deg);
  }
  74.505% {
    transform: rotate(-15deg);
  }
  78.93% {
    transform: rotate(-7deg);
  }
}

@keyframes animateBall {
  0%, 100% {
    transform: translateX(-6.5%);
  }
  17.42% {
    transform: translateX(0%);
  }
  21.777% {
    transform: translateX(-1%);
  }
  34.84% {
    transform: translateX(11%);
  }
  48.235% {
    transform: translateX(-11%);
  }
  52.662% {
    transform: translateX(0%);
  }
  59.613% {
    transform: translateX(10%);
  }
  68.27% {
    transform: translateX(-11%);
  }
  78.93% {
    transform: translateX(11%);
  }
  86.014% {
    transform: translateX(-11%);
  }
}

@keyframes bounce {
  0% {
    transform: scale(0);
  }
  14% {
    transform: scale(1.15);
  }
  28% {
    transform: scale(1);
  }
  42% {
    transform: scale(1.15);
  }
  70% {
    transform: scale(1);
  }
  100% {
    transform: scale(1);
  }
}




/* Style du dropdown container */
.notification-container-bell {
  display: none;
  position: absolute;
  right: 0;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
  width: 300px;
  max-height: calc(100vh - 150px);
  overflow-y: auto;
  background-color: white;
  font-size: 15px;
  z-index: 101;
}

/* Style de la barre de défilement */
.notification-container-bell::-webkit-scrollbar {
  width: 4px;
}

.notification-container-bell::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.notification-container-bell::-webkit-scrollbar-thumb {
  background: #cecece;
}

.notification-container-bell::-webkit-scrollbar-thumb:hover {
  background: #adadad;
}


/* Afficher le dropdown container au survol ou au clic */
.body-bell:hover .notification-container-bell, .notification-container-bell.active {
  display: block;
}


.notification-container-bell-like {
  height : auto;
  margin-top: 0;
  margin-bottom: 0;
  padding: 10px 5px;
  border : 1px solid rgb(235, 230, 235);
}

.notification-container-bell-useful {
  height : auto;
  margin-top: 0;
  margin-bottom: 0;
  padding: 10px 5px;
  border : 1px solid rgb(235, 230, 235);
}

.notification-container-bell-commentaire {
  height : auto;
  margin-top: 0;
  margin-bottom: 0;
  padding: 10px 5px;
  border : 1px solid rgb(235, 230, 235);
}

.notification-container-bell-reponse {
  height : auto;
  margin-top: 0;
  margin-bottom: 0;
  padding: 10px 5px;
  border : 1px solid rgb(235, 230, 235);
}

.non-vu {
  background-color: var(--blue-very-light);
}

.like-rond {
  width: 20px;
  height: 18px;
  margin-right: 10px;
  padding: 10px; 
  border-radius: 50%;
  background-color: var(--red);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}


.useful-rond {
  width: 20px;
  height: 18px;
  margin-right: 10px;
  padding: 10px; 
  border-radius: 50%;
  background-color: var(--orange);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}


.commentaire-rond {
  width: 20px;
  height: 18px;
  margin-right: 10px;
  padding: 10px; 
  border-radius: 50%;
  background-color: var(--blue-light);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}

.reponse-rond {
  width: 20px;
  height: 18px;
  margin-right: 10px;
  padding: 10px; 
  border-radius: 50%;
  background-color: var(--blue-dark);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}


.reference-like,
.reference-commentaire,
.reference-reponse,
.reference-useful {
  color: black;
  font-weight: bold;
}

.reference-like:hover {
  color: var(--red);
}

.reference-useful:hover {
  color: var(--orange);
}

.reference-commentaire:hover {
  color: var(--blue-light);
}

.reference-reponse:hover {
  color: var(--blue-dark);
}

.date-notification {
  font-style: italic; 
  font-size: 12px;
  margin: 0;
  margin-top: 3px;
}



.badgee {
  position: absolute;
  display: flex;
  align-items: center; /* Centrage vertical */
  justify-content: center; /* Centrage horizontal */
  background-color: var(--red); /* Utilise la variable --red pour la couleur de fond */
  color: white; /* Texte blanc */
  border-radius: 50%; /* Rend le badgee circulaire */
  height: 30px;
  width: 30px;
  font-weight: bold; /* Texte en gras */
  font-size: 1em; /* Taille du texte. Ajustez selon vos besoins */
  top: 20px;
  left: 130px;
  margin-left: 15px;
}


.badgee-2 {
  left: 8px;
  top: 17px;
  height: 10px;
  width: 10px;
}

.badgee-3 {
  left: 0px;
  top: 0px;
  height: 10px;
  width: 10px;
}

.badgee-4 {
  left: 160px;
  top: 12px;
}


@media (min-width : 550px) {

  .cookie-banner {
      position: fixed;
      bottom: 10px;
      right: 10px;
      background-color: var(--red);
      color: white;
      padding: 20px !important;
      border-radius: 5px;
      width: 500px !important;
      box-shadow: 0px 0px 10px rgba(0,0,0,0.2);
      z-index: 99999;
      overflow: hidden;
  }

  .cookie-banner svg {
    position: absolute;
    transform: scale(0.5) rotate(270deg);
    left: 240px;
    top: -60px;
  }

}


@media (max-width : 550px) {
  
  .cookie-banner {
      position: fixed;
      bottom: 10px;
      right: 2%;
      background-color: var(--red);
      color: white;
      padding: 20px;
      border-radius: 5px;
      width: calc(96% - 40px);
      margin-left: 5%;
      box-shadow: 0px 0px 10px rgba(0,0,0,0.2);
      z-index: 99999;
      overflow: hidden;
  }

  .cookie-banner svg {
    position: absolute;
    transform: scale(0.4) rotate(250deg);
    left: 30%;
    top: -40px;
  }

}
  
  #acceptCookies,
  #rejectCookies,
  #customizeChoice {
      margin-top: 10px;
      padding: 5px 15px;
      border: 0;
      box-shadow: 0px 0px 10px rgba(0,0,0,0.2);
      border-radius : 5px;
      cursor: pointer;
      font-family: var(--font3), serif;
      color: black;
      font-size: 15px;
      background-color: white;
      font-weight: 200;
  }

  .cookie-banner p {
    font-size: 13px;
  }

  #acceptCookies:hover,
  #rejectCookies:hover,
  #customizeChoice:hover {
      background: lightgrey;
  }

  .cookie-banner a {
    color: white;
    font-weight: bold;
  }


  
.hide-cookie {
    display: none;
}
.show-cookie {
    display: block;
}


/* Styles généraux pour la modalité des cookies */
#cookies-modal {
    position: fixed; /* Fixe la modalité au premier plan */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000000; /* Assure que la modalité est au-dessus d'autres éléments */
    background: white; 
    border-radius: 8px;
    box-shadow: 0px 0px 30px rgba(0,0,0,0.3);
    padding: 20px;
    width: 70%;
    max-width: 800px; /* Limite la largeur pour les grands écrans */
    max-height: 70%;
    overflow-y: auto;
}

/* Styles pour le contenu de la modalité */
.cookies-checklist-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.d-small-copy {
    font-size: 14px;
    line-height: 1.5;
    color: black;
}

.cookie-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 10px 0;
}

.checkmark {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid  var(--red);
    border-radius: 4px;
    margin-right: 10px;
}

#analytics-cookies .checkmark {
  cursor: pointer;
}

input[type="checkbox"]:checked + .checkmark {
    background-color: var(--red);
}

.cookie-desc {
    flex: 1;
}

.d-copy.d-color-secondary {
    font-size: 16px;
    font-weight: bold;
    color: black;
}

/* Styles pour le bouton de confirmation */
#cookies-confirm-modal {
    margin-top: 0px;
    text-align: center;
}

.primary-cta {
    width: auto;
    height: auto;
    display: inline-block;
    padding: 15px;
    background-color: var(--orange);
    color: white;
    text-decoration: none;
    border-radius: 7px;
    font-weight: bold;
    transition: transform 80ms ease-in;
    cursor: pointer;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    border: none;
    margin-top: 0;
    margin-bottom: 10px;
}

.primary-cta:hover {
    background: var(--orange-dark);
}

.cta-wrapper span {
  font-size: 17px !important;
}

.cookie-banner p {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    line-height: 1.1;  /* Cela donne une hauteur de ligne de 19.5px (13 * 1.5) */
    letter-spacing: 0.5px;  /* Un léger espacement entre les lettres */
    font-weight: lighter;
    font-family: var(--font3), serif;
}

.popup-content ul li::marker {
    content: none !important;
}

.popup-content ul li {
    list-style: none !important;
}