
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
.container {
    margin-top: 180px;
    max-width: 100%;
    overflow-x: hidden; /* Redondant, mais explicite */
}


/*+++++++++ debut all page +++++++++*/
.clickable{
    cursor: pointer;
}

.margetop60{
	margin-top: 60px;
}

.margetop100{
	margin-top: 100px;
}


body {
	background-color:#FFFFFF;
	font-size: 0.75rem;
	font-family: 'Poppins', sans-serif !important;
	margin: 0;
    padding: 0;
	
} 

a{
	text-decoration: none;
	
}

li {
	list-style: none;
}

h1{
	font-size: 40px;
	color: #2980b9;
}


.editpwd-page h1,h2{
	color: #2e6da4;
}

.editpwd-page h1{
	font-size: 45px;
}


.editpwd-page h2{
	font-size: 40px;
	font-weight: bold;
}

.editpwd-page form{
	width: 400px;
	margin: auto;
}

.editpwd-page input{
	margin-bottom: 20px;
}

.input-container {
	position: relative;
	margin-bottom: 10px;
}

.show-old-pwd,.show-new-pwd {
	position: absolute;
	top: 0px;
	right: -35px;
}


/*  +++++++ fin edit pwd ++++++   */



/*+++++++++  Debut nouvel utilisateur ***********/

.user-page form{
	width: 400px;
}


/*+++++++++  fin nouvel utilisateur ***********/

.table-fixed tbody {
	height: 200px;
	overflow-y: auto;
	width: 100%;
}

.table-fixed thead,
.table-fixed tbody,
.table-fixed tr,
.table-fixed td,
.table-fixed th {
	display: block;
}

.table-fixed tbody td,
.table-fixed tbody th,
.table-fixed thead > tr > th {
	float: left;
	position: relative;
	
	&::after {
	content: '';
	clear: both;
	display: block;
}
}
.parent-container {
	display: flex;
}


.fixTableHead thead th {
	position: sticky;
	top: 0;
}

table {
	border-collapse: collapse;        
	width: 100%;
}
th,
td {
	font-size:10px;
	font-family: 'Roboto', sans-serif;
	padding: 8px 15px;
	border: 0px solid #555;
    max-width: 400px;
    overflow-wrap: break-word;
    word-wrap: break-word;
}
.custom-panel {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3); 
}


.fixTableHead {
	overflow-y: auto;
	max-height: 320px;
}

.table {
	border-collapse: collapse;        
	width: 100%;
}
.th,
.td {
	padding: 8px 15px;
	border: 0px solid #404040;
}


/* Définition de la taille de police pour le formulaire */
.form_2 {
	font-family: 'Roboto', sans-serif;
	font-size: 11px;
}

.navbar-nav {
	margin-top: auto; /* Pour centrer verticalement les éléments dans la barre de navigation */
	margin-bottom: auto;
}

.navbar-toggler {
	margin-bottom: auto; /* Pour centrer verticalement le bouton de bascule (toggle button) */
}
.navbar-nav .nav-link{
	font-size: 12px;
	color: #fff;
	
}
.navbar-nav .nav-link2{
	font-size: 12px;
	color: #1D4999;
	
}
.dropend .dropdown-toggle{
	color: #1D4999;
	margin-left: auto;
}
.dropdown-item:hover{
	background-color: orangered;
	color: #fff;
	margin-left: auto;
	
}
.dropdown-menu:hover{
	display: block;
	color: #1D4999;
	font-size: 12px;
	
	
}

.col-form-label{
	font-weight:bold;
	
	color:#1D4999;
	font-family: 'Roboto', sans-serif;
	
}


.auto-height {
    height: auto;
min-height: 25vh;}

.card_shad{
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.custom-table tbody tr:nth-child(odd) {
    background-color: #FFFFFF;
}

.custom-table tbody tr:nth-child(even) {
    background-color: #f7f7f7;
}

.custom-table tbody tr:hover {
    background-color: #bbdefb;
}

.custom-table thead th.custom-header {
    background-color: #e3f2fd;
    color: darkblue;
    font-weight: bold;
}


.custom-table tr.cloture {
    background-color: #aef7e2 !important;
}

.custom-table tr.echu {
    background-color: #ff99a3 !important;
}


.custom-table td.nowrap {
    white-space: nowrap;
}

.parag {
		font-size: 2rem;
	text-align: center;
}

.titre {
	font-size: 2.25rem; 
	text-align: center;
}

@media (max-width: 768px) {
	.titre {
		font-size: 1.75rem; 
}
.parag {
	font-size: 1.25rem;
}		
	
}

@media (max-width: 480px) {
	.titre {
		font-size: 1.25rem; 
	}
	.parag {
	font-size: 1rem;
}		
	
}



.c1{	
	color: #0D6797 !important;
	font-size:1.25rem !important;
}
.navbar-brand img {
	height: 100%; 
max-height: 100px; }

.presta {
	margin-left:30px;
	width:40%;
}


.forf {
	height:3rem;
}

@media (max-width: 576px) {
	.presta {
		margin-left:auto;
		width:auto;
		height:2rem; 
	}	
	
	.forf {
		height:1.5rem;
	}	
}

.banniere_pqn {
    position: relative;
    width: 100%;
    height: 80vh;
    background-image: url("/b3");
    background-size: cover;
    background-position: top;
    overflow: hidden;
}

.banniere_pqn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(50, 100, 255, 0.4); /* Couleur bleue avec opacité */
    z-index: 1;
}

.banniere_pqn .contenu {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
}



.banniere_ctc {
    position: relative;
    width: 100%;
    height: 80vh;
    background-image: url("/b2");
    background-size: cover;
    background-position: top;
    overflow: hidden;
}

.banniere_ctc::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(50, 100, 255, 0.4); /* Couleur bleue avec opacité */
    z-index: 1;
}

.banniere_ctc .contenu {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
}


.banniere_offr {
    position: relative;
    width: 100%;
    height: 80vh;
    background-image: url("/b1");
    background-size: cover;
    background-position: top;
    overflow: hidden;
}

.banniere_offr::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(50, 100, 255, 0.4); /* Couleur bleue avec opacité */
    z-index: 1;
}

.banniere_offr .contenu {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
}

.banniere {
    position: relative;
    width: 100%;
    height: 80vh;
    background-image: url("/sygma4");
    background-size: cover;
    background-position: top;
    overflow: hidden;
}

.banniere::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(50, 100, 255, 0.4); /* Couleur bleue avec opacité */
    z-index: 1;
}

.banniere .contenu {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
}

.promo-banner1 {
    position: relative;
    left: -100%; /* La bannière commence à l'extérieur de l'écran à gauche */
    background-color: #f4f4f4; /* Couleur de fond */
    color: #0D6797; 
    padding: 10px 20px; /* Espacement interne */
    font-size: 18px; /* Taille de police */
    border-radius: 5px; /* Coins arrondis */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Ombre légère */
    animation: slideIn 1s forwards 1s; /* Animation après un retard de 1 seconde */
}
.promo-banner2 {
    position: relative;
    left: -100%; /* La bannière commence à l'extérieur de l'écran à gauche */
    background-color: #E5F4FF; /* Couleur de fond */
    color: #0D6797;
    padding: 10px 20px; /* Espacement interne */
    font-size: 18px; /* Taille de police */
    border-radius: 5px; /* Coins arrondis */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Ombre légère */
    animation: slideOut 2s forwards 1s; /* Animation après un retard de 1 seconde */
}

@keyframes slideIn {
    0% {
        left: 100%; /* Début de l'animation : hors écran à droite */
	}
    100% {
        left: 0px; /* Fin de l'animation : la bannière est affichée à 20px du bord gauche */
	}
}
@keyframes slideOut {
    0% {
		left: -100%; /* La bannière commence à l'extérieur de l'écran à gauche */
	}
    100% {
        left: 0px; /* Fin de l'animation : la bannière est affichée à 20px du bord droit */
	}
}

.carousel-item {
	position: relative;
	height: 50vh;
	overflow: hidden;
	
	display: flex;     /* Forcer flex */
	justify-content: center !important; /* Centrage horizontal */
	align-items: center !important;     /* Centrage vertical */
}

.carousel-item .bg-blur {
	position: absolute;
	top: 0; left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	filter: blur(20px);
	transform: scale(1.1);
	z-index: 1;
}

.carousel-item .center-img {
	position: relative;
	z-index: 1;
	max-height: 100%;
	object-fit: contain;
	border-radius: 1rem;
	box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
	
	display: block; /* Évite espace sous l’image */
	margin: auto;
}

.carousel-caption {
	z-index: 3;
}

.banner0 {
    background-color: #FFFFFF; /* Couleur de fond */
    color: #0D6797; 
    font-size: 18px; /* Taille de police */

    animation: slideIn 2s forwards 1s; /* Animation après un retard de 1 seconde */
	height:auto;
}
.banner1 {
    background-color: #f4f4f4; /* Couleur de fond */
    color: #0D6797; 
    font-size: 18px; /* Taille de police */
    animation: slideIn 2s forwards 1s; /* Animation après un retard de 1 seconde */
	height:auto;
}
.banner2 {
    background-color: #E5F4FF; /* Couleur de fond */
    color: #0D6797;
    font-size: 18px; /* Taille de police */
    animation: slideOut 2s forwards 1s; /* Animation après un retard de 1 seconde */
	height:auto;
}
.style-card {
    background-color: #f2f2f2; /* Couleur de fond */
    color: #2E75B6;
    font-size: 1.25rem; /* Taille de police */
	height:75%; 
	max-width:80%; 
}

.badge-pulse-top-center {
    position: absolute;
    top: -2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    font-size: 2rem !important;
    padding: 0.5rem 1rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.5); }
    70% { box-shadow: 0 0 0 10px rgba(220, 53, 69, 0); }
    100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0); }
}

@media (max-width: 576px) {
    .badge-pulse-top-center {
		font-size: 0.75rem;
		padding: 0.4rem 0.8rem;
	}
}




/* Animation de l'élément au chargement */
.section-scroll {
    opacity: 0;
    transform: translateY(50px); /* Décalage vers le bas */
    transition: opacity 1s ease-out, transform 1s ease-out;
}

/* Lors du scroll descendant, l'élément devient visible et monte */
.section-scroll.down-scroll {
    opacity: 1;
    transform: translateY(0);
}

/* Lors du scroll ascendant, l'élément devient visible et descend */
.section-scroll.up-scroll {
    opacity: 1;
    transform: translateY(100px); /* Décalage vers le bas */
    transition: opacity 1s ease-out, transform 1s ease-out;
}

/* Optionnel : animation supplémentaire pour plus de dynamique */
@keyframes slide-in-down {
    0% {
        opacity: 0;
        transform: translateY(50px);
	}
    100% {
        opacity: 1;
        transform: translateY(0);
	}
}

@keyframes slide-in-up {
    0% {
        opacity: 0;
        transform: translateY(-50px);
	}
    100% {
        opacity: 1;
        transform: translateY(0);
	}
}

.section-scroll.down-scroll {
    animation: slide-in-down 1s ease-out forwards;
}

.section-scroll.up-scroll {
    animation: slide-in-up 1s ease-out forwards;
}


.faded-image {
  max-width: 100%;
  max-height: 100%;
  height: auto;
  width: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  mask-image: radial-gradient(ellipse at center, black 70%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 70%, transparent 100%);
}
.badge-tampon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 90px; /* légèrement agrandi */
    height: 90px;
    background: linear-gradient(145deg, #007bff, #0056b3); /* dégradé pour plus de profondeur */
    color: white;
    font-size: 0.80rem; /* légèrement augmenté */
    font-weight: bold; /* pour plus de lisibilité */
    border-radius: 50%;
    text-align: center;
    padding: 1rem;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.7), 0 0 5px rgba(255, 255, 255, 0.2); /* ombre améliorée */
    border: 2px solid white; /* contraste avec le fond */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4); /* pour mieux lire le texte */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.badge-tampon:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.8), 0 0 10px rgba(255, 255, 255, 0.3);
}

.object-fit-cover {
  object-fit: cover;
}

.filter_b {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(50, 100, 255, 0.4); /* Voile bleu avec transparence */
    z-index: 2; /* Juste au-dessus du fond flou */
    pointer-events: none; /* Pour que les clics passent à travers */
}