
.center-nav {justify-content: center;}
.no-padding {padding: 0 0 !important;}
.no-padding-bottom {padding-bottom: 0 !important;}
.padding-top-20 {padding-top: 20px !important;}
footer {padding: 0 0 !important;}
.space-10 {height: 10px; display: block;}
.space-15 {height: 15px; display: block;}
.space-20 {height: 20px; display: block;}

.bg-an-white { background-color: #fff !important;}
.bg-an-dark { background-color: #24354B !important;}
.bg-an-green { background-color: #8BDC54 !important;}
.bg-an-blue { background-color: #07097D !important;}

.w-15 { width: 15% !important;}
.w-10 { width: 10% !important;}
.w-5 { width: 5% !important;}

.an-blue {color: #07097D !important;}
.an-green {color: #90DF51 !important;}

.bg-an-green{background-color: #90DF51 !important;}
.bg-an-yellow{background-color: #F8B505 !important;}
.bg-an-bleu{background-color: #07097D !important;}

.border-left-bleu-10 {border-left: solid 10px #07097D !important;}
.border-right-blue-10 {border-left: solid 10px #07097D !important;}
.border-left-green-10 {border-left: solid 10px #90DF51 !important;}
.border-right-green-10 {border-left: solid 10px #90DF51 !important;}

.border-bottom-blue-5 { border-bottom: solid 5px #07097D !important;}
.border-top-blue-5 { border-top: solid 5px #07097D !important;}
.border-left-bleu-5 { border-left: solid 5px #07097D !important;}
.border-right-blue-5 { border-right: solid 5px #07097D !important;}

.border-bottom-green-5 { border-bottom: solid 5px #90DF51 !important;}
.border-top-green-5 { border-top: solid 5px #90DF51 !important;}
.border-left-green-5 { border-left: solid 5px #90DF51 !important;}
.border-right-green-5 { border-right: solid 5px #90DF51 !important;}
.no-border {border: none;}
.card .card-body, .card .card-footer { padding: 0.5rem 1rem !important;}
/* .card:hover{ scale: 1.1;} */
.divider { flex-grow: 1; height: 1px; background-color: #000; margin: 0 10px;}
.nav .nav-item .btn:hover{ background-color: #90DF51 !important; transition: background-color 0.3s ease;}
/* .nav .nav-item:hover .fa { color: #fff !important; } */

.slider1-container::-webkit-scrollbar {height: 7px;}

.slider1-container::-webkit-scrollbar-track {background: none; border-radius: 10px; }

.slider1-container::-webkit-scrollbar-thumb {background: #ffffffae;border-radius: 10px;}

.slider1-container::-webkit-scrollbar-thumb:hover {background: #fff;}

.slider1-container{width: 100%;overflow-x: auto;}

.slider1 {display: flex;width: fit-content;align-items: center;justify-content: center;gap: 40px;overflow-x: auto;margin: auto;padding: 20px;}

.slide1 {
    width: 250px;
    height: 300px;
    background-color: #fff;
    border-radius: 2px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: 0.3s ease;
}

.slide1 h4{font-size: 30px;}

.slide1 p{font-size: 14px;margin-top: 5px;opacity: 0.7;margin-bottom: 20px;}

.slide1 .icon{position: absolute;bottom: 30px;right: 30px;font-size: 30px;}

.slide1:hover{scale: 1.1;}
.an-bold {font-weight: 900;}
.an-medium {font-weight: 500;}
.h1{size:3.125vw !important;}
.h6{size: 1.256613757vw !important;}
.icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: white;
  box-shadow: 0 0 0 1px #e0e0e0; /* Crée un contour léger */
}

.an-dot {
  width: 10px;
  height: 10px;
  background-color: #07097D;
  border-radius: 50%;
  display: inline-block;
  margin: 0 8px;
}

.info-block {position: relative; padding-bottom: 5px; /* Espace pour le trait */
}

.info-block::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px; /* Épaisseur du trait */
  background-color: #e0e0e0; /* Couleur du trait */
}

.btn-custom {
  background-image: linear-gradient(to bottom, #07097D, #4A4CB5);
  border: none;
  color: white;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 5px;
  transition: all 0.3s ease;
}
.btn-custom:hover { background-image: linear-gradient(to right, #07097D, #6A6CD5); color: white;}

.card .card-top {
  border-radius: 5px;
  padding: 1rem 15px;
  margin-right: 0px;
  margin-top: -50px;
  border: 0;
  /* background-color: #90DF51; */
}
.card-categorie{font-size: 0.9rem; z-index: 1; right: 0%; transform: translateX(-20%);}

.underline-effect { display: inline-block; position: relative;}

.underline-effect::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px; /* Ajustez cette valeur pour contrôler la distance entre le texte et le trait */
  height: 5px;
  width: 100%;
  background: linear-gradient(to right, #006828 0%, #006828 33%, #ffbe00 33%, #ffbe00 66%, #eb0000 66%, #eb0000 100%);
}

.social-icons {
  display: flex;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  margin-left: 8px;
  color: white;
  text-decoration:none;
}
.social-icon:hover {color: #fff;}

.facebook { background-color: #3b5998; }
.twitter { background-color: #1da1f2; }
.instagram { background-color: #e1306c; }
.linkedin { background-color: #0077b5; } 
.youtube { background-color: #c4302b; } 
.custom-card-background{background-color: #F5F6FF;}

.form-control, .is-focused .form-control {
  background-image: linear-gradient(to top, #07097D 2px, rgba(156, 39, 176, 0) 2px), linear-gradient(to top, #d2d2d2 1px, rgba(210, 210, 210, 0) 1px);
}
/* E6E7F5 F0F1FF E8E9F3 F5F6FF */


.text-size-12 { font-size: 12px !important;}
.text-size-14 { font-size: 14px !important;}
.text-size-16 { font-size: 16px !important;}
.text-size-20 { font-size: 20px !important; font-weight: 300 !important; line-height: 30px !important;}

.text-size-24 { font-size: 24px !important; font-weight: 300 !important; line-height: 40px !important;}

.text-size-45 { font-size: 45px !important; font-weight: 300 !important; }

.bg-an-dg-blue { background-image: linear-gradient(to right, #07097D, #6A6CD5);}
.bg-an-dg-blue-fix { background-image: linear-gradient(to right, #07097D, #07097D); border: #fff 1px solid ;}

.custom-label { font-size: 18px; font-weight: 600; color: white;}

.custom-input { background-color: white !important; padding-left: 10px !important;
}

.custom-input::placeholder { color: #6c757d; }
.bg-video{background-color: #5D5FBF ;}
.list-group-item { padding: 0.1rem !important; }

/* === Contenu rendu par CKEditor (responsive) === */
.cke-content {
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}
.cke-content img,
.cke-content figure,
.cke-content video,
.cke-content iframe,
.cke-content embed,
.cke-content object {
    max-width: 100% !important;
    height: auto;
}
.cke-content figure { margin-left: 0; margin-right: 0; }
.cke-content figure.image,
.cke-content figure.image img { display: block; }
.cke-content iframe { aspect-ratio: 16 / 9; width: 100%; height: auto; }

/* Tableaux : scroll horizontal sur mobile (stratégie A — simple, préserve la structure) */
.cke-content table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

