@import url('https://fonts.googleapis.com/css2?family=Tangerine:wght@700&display=swap');
/*
.bounce .flash .pulse .rubberBand .shake
.swing .tada .wobble .bounceIn .bounceInDown
.bounceInLeft .bounceInRight .bounceInUp .bounceOut
.bounceOutDown .bounceOutLeft .bounceOutRight .bounceOutUp
.fadeIn .fadeInDown .fadeInDownBig .fadeInLeft
.fadeInLeft .fadeInLeft2 .fadeInLeftBig
.fadeInRight .fadeInRightBig .fadeInUp .fadeInUpBig .fadeOut
.fadeOutDown .fadeOutDownBig .fadeOutLeft .fadeOutLeftBig
.fadeOutRight .fadeOutRightBig .fadeOutUp .fadeOutUpBig
.animated.flip .flipInX .flipInY .flipOutX .flipOutY
.lightSpeedIn .lightSpeedOut .rotateIn .rotateInDownLeft
.rotateInDownRight .rotateInUpLeft .rotateInUpRight .rotateOut
.rotateOutDownLeft .rotateOutDownRight .rotateOutUpLeft
.rotateOutUpRight .hinge .rollIn .rollOut .zoomIn .zoomInDown
.zoomInLeft .zoomInRight .zoomInUp .zoomOut .zoomOutDown
.zoomOutLeft .zoomOutRight .zoomOutUp .slideInDown .slideInLeft
.slideInRight .slideInUp .slideOutDown .slideOutLeft .slideOutRight .slideOutUp
*/

.main{
    min-height: 1000px;
    color: #154360;
}

.header-page{
    position:relative;
}

.titre-page-overlay-top{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    z-index:10;

    background:rgba(0,0,0,0.5);
    padding:20px;
    text-align:center;
}

/* cas sans image */
.titre-page-overlay-top.no-image{
    position:relative;
    background:#333;
}

.avatar{
    height: 110px;
    width: 110px;
    border-radius: 50%;
    position: absolute;
    margin-top: -70px;
    left: 50%;
    transform: translateX(-50%);
}

.separator{
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background-color: #2693AC;
    display: inline-block;
    margin-left: 10px;
    margin-right: 10px;
}

.article-content img {
    float: left; 
    margin-right: 30px; 
    border-radius: 5px;
}

.tabs {
    display: flex;
    gap: 1rem;
    border-bottom: 2px solid #ddd;
    margin-bottom: 1.5rem;
}

.tab {
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: #555;
    border-bottom: 3px solid transparent;
}

.tab:hover {
    color: #000;
}

.tab.active {
    font-weight: bold;
    color: #000;
    border-color: #0d6efd;
}


.news-text {
  overflow-wrap: anywhere;  
  word-break: break-word;   
}

.article-content img,
.article-content video,
.article-content iframe,
.article-content table {
  max-width: 100% !important;  
  height: auto !important;
}

.article-content iframe {
  width: 100% !important;
  aspect-ratio: 16 / 9;    
}

.article-content::after {
  content: "";
  display: block;
  clear: both;
}

.article-content img {
  float: none;
  display: block;
  margin: 0 auto 1rem;        
  border-radius: 5px;
}
@media (min-width: 768px) {
  .article-content img {
    float: left;
    margin: 0 1.5rem 1rem 0;
    max-width: 40%;           
  }
}


.modif-avatar-icon{
    opacity: 0;
}

.avatar-2{
    height: 120px;
    width: 120px;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.avatar-2 img{
    border-radius: 50%;
    height: 120px;
    width: 120px;
}

.avatar-2:hover .modif-avatar-icon{
    opacity: 1;
    position: absolute; top:30%; left: 40%;
    font-size: 30px;
    color: black;
}

.modif-avatar-form {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    background: white;
    padding: 10px;
    z-index: 1;
    width: 300px;
}

td, th{
    vertical-align: middle;
}

.delay{
    animation: animate__zoomInLeft 1.5s;
    animation: animate__zoomInUp 1.5s;
}

label{
    width: 100%;
    margin-top: 25px;
}

input{
    border: none;
    border-bottom: 1px solid #ED901D;
    border-radius: 20px;
    padding: 10px 15px 10px 25px;
    color: #2693AC;
    width: 100%;
}

textarea{
    height: 100px;
    border: 1px solid #ED901D;
    border-radius: 20px;
    padding: 10px 15px 10px 25px;
    color: #2693AC;
    width: 100%;
}

.form-card{
    padding-left: 50px;
    padding-right: 50px;
    padding-top: 50px;
}

.formation{
    background-color: #ED901D;
}

.association{
    border:none;
    margin-top: -20px;
    background: #469DCE
}

.bi, .fas{
    font-size: 20px;
}

.nav-item{
    margin-right: 30px;
    text-transform: uppercase;
}

.dropdown-menu{
    background-color: #C7D7E5;
    --bs-dropdown-zindex: 9999;
    z-index: 9999!important;
    opacity: 1!important;
}

.dropdown-item{
    color: grey;
     z-index: 9999!important;
}

.navbar .dropdown { position: relative !important; }
.navbar .navbar-collapse { overflow: visible; }

.dropdown-item:focus, .dropdown-item:hover{
    background-color: #2693AC;
}

.navbar .nav-item.animate__animated {
  animation: none !important; 
}

.dropdown-item:hover{
    color: #FFFFFF;
}

.dropdown-menu{
    padding: 0;
}


h1, .h1{
    font-weight: bold;
    font-size: 36px;
    color: #2693AC;
    padding-left: 20px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    padding-top: 20px;
}

h2{
    font-weight: bold;
    font-size: 24px;
    color: #22A0C8;
}

h3{
    font-weight: bold;
    font-size: 20px;
    color: #E98E25;
}

h4{
    font-size: 18px;
    color: #C63B8C;
}

 /* wrapper qui porte l’ascenseur */
  .table-wrapper-vertical {
    max-height: 420px;     /* ≈ 5 lignes + thead — ajuste si besoin */
    overflow-y: auto;
    overflow-x: auto;      /* au cas où les colonnes débordent */
    border: 1px solid #ddd;
    position: relative;
  }

  /* entête collante pendant le scroll */
  .table-wrapper-vertical thead th {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 2;
  }

  /* évite l’espace en bas qui provoque une double barre */
  .table-wrapper-vertical table { margin-bottom: 0; }

.img {
  max-width: 100% !important;
  height: auto !important;
  width: auto !important;   /* neutralise width="1920" */
}

figure.image {
  max-width: 800px !important;   /* ou 100% si tu veux fluide */
  margin: auto;
}

figure.image img {
  width: 100% !important;
  height: auto !important;
}

li:hover{
    color: #2693AC;
}

.navbar{
    border-bottom: 5px solid; /* Épaisseur et type de bordure */
    border-image: linear-gradient(to right, #22A0C8, #EB911D, #CD5F99, #00A872); /* Dégradé de couleurs */
    border-image-slice: 1;
}

.navbar-nav {
  flex-wrap: wrap !important;
  justify-content: center; 
}

.navbar-nav .nav-item {
  margin-bottom: 0.5rem;
}

.navbar-nav a {
    position: relative;
    text-decoration: none;
}

.navbar-nav a span {
    position: absolute;
    width: 0;
    height: 1px;
    background-color: #2693AC; /* Couleur du trait */
    bottom: 0;
    left: 0;
    transition: width 0.3s; /* Animation de la largeur */
}

.navbar-nav a:hover span {
    width: 100%;
}

nav, nav .container-fluid{
    background: #FFFFFF;
}

/* Style du carré rose */
.square-pink {
    background-color: #CA5D97;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    cursor: pointer;
    bottom: 0;
    box-sizing: border-box;
    padding: 6px;
    position: fixed;
    right: 0;
    z-index: 99999;
}

a{
    color: #CA5D97;
    text-decoration: none;
}

/* Style de l'icône de chevron vers le haut */
.fa-chevron-up {
    font-size: 24px;
    color: white;
}

/* Style lorsque le bouton est survolé */
.back-to-top:hover {
    text-decoration: none; /* Pour enlever le soulignement du lien */
}

@media screen and (min-width:992px){
    .img-accueil{
        border: 3px white solid;
        margin-top: -50px;
    }
    .btn-green{
        background: linear-gradient(to bottom, #00A872, #0BD38B);
        border:none;
        padding-left: 40px;
        padding-right: 40px;
        color: #212529;
    }
    .image-about{
        border-radius: 50%;
        border: #CA5D97 3px dashed;
        padding: 10px;
        background-color: #FFFFFF;
        margin-left: auto;
        margin-right: auto;
        height: 300px;
        width:300px
    }
    .rond{
         padding: 15px;
     }
    .lexique-et-liens, .container-formation-detail{
        width: 95%;
        margin-left:auto;
        margin-right:auto;
    }
}

@media screen and (max-width:992px){
    .img-accueil{
        border: 10px white solid;
        margin-top: 0;
    }
    .btn-green{
        background: linear-gradient(to bottom, #00A872, #0BD38B);
        border:none;
        padding-left: 40px;
        padding-right: 40px;
        width: 50%;
        transition: width 2s;
        color: #212529;
    }
    .image-about{
        border-radius: 50%;
        border: #CA5D97 3px dashed;
        padding: 10px;
        background-color: #FFFFFF;
        margin-left: auto;
        margin-right: auto;
        margin-top:-200px;
        height: 200px;
        width:200px
    }
    .rond{
        padding: 5px;
    }
    .lexique-et-liens, .container-formation-detail{
        width: 100%;
        margin-left:auto;
        margin-right:auto;
    }
}

.nav-tabs{
    --bs-nav-tabs-link-active-border-color: #CA5D97 #CA5D97 #CA5D97;
    --bs-nav-tabs-link-active-color: #CA5D97;
}

.w-90{
    width: 90%;
}

.bg-color1 {
    background-color: #E7B363; /* Couleur de fond pour les boutons pairs */
}

.bg-color2 {
    background-color: #B7DADB; /* Couleur de fond pour les boutons impairs */
}

.bg-opacity-75::before {
    content: "";
    background-color: rgba(255, 255, 255, 0.7);
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1; /* Placez le fond en dessous du contenu */
    border-radius: 30px;
    margin-bottom : 50px;
}

@media screen and (min-width:992px) {
    .w-90 {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        padding: 20px;
    }

    .carousel-inner{
        width: 75%;
        margin-left: auto;
        margin-right: auto;
    }

    .formations-metier{
        width: 40%;
        margin-bottom: 100px;
    }
}
@media screen and (max-width:992px) {
    .w-90, .col-lg-8 {
        width: 100%;
        padding: 10px;
    }
}

.card-img-overlay{
    padding: 0;
}

.date-formation-accueil{
    padding: 10px;
}

.formations-metier{
    border-radius: 25px;
}

.btn-pink{
    background: linear-gradient(to bottom, #CA5D97, #FEC3C2);
    border:none;
    padding-left: 40px;
    padding-right: 40px;
    width: 300px;
    transition: width 2s;
}

.btn-pink:hover{
    background: #CA5D97;
    color: white;
    width: 350px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3)
}

.btn-blue{
    background: linear-gradient(to bottom, #22A0C8, #C3E7E5);
    border:none;
    padding-left: 40px;
    padding-right: 40px;
    width: 300px;
    transition: width 2s;
}

.btn-blue-simple{
    background: linear-gradient(to bottom, #22A0C8, #C3E7E5);
    border:none;
    padding-left: 40px;
    padding-right: 40px;
    margin: 5px;
}

.btn-blue:hover{
    background: #22A0C8;
    color: white;
    width: 350px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3)
}

.btn-green:hover{
    background: #00A872;
    color: #212529;
    width: 55%;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3)
}

.btn-white{
    background: white;
    border:1px solid #CA5D97;
    padding-left: 40px;
    padding-right: 40px;
    width: 300px;
    transition: width 2s;
}

.btn-white:hover{
    background: #CA5D97;
    color: white;
    border: 1px solid white;
    width: 350px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3)
}

.btn-orange {
    background: linear-gradient(to bottom, #E64C18, #FFC94D);
    border: none;
    padding-left: 40px;
    padding-right: 40px;
    color: #FFFFFF;
    width: 300px;
    transition: width 2s;
}

.btn-orange:hover {
    background: #E64C18;
    color: white;
    width: 350px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3)
}



.text-pink{
    color: #CA5D97;
}

.card:hover .card-body{
    background-color: #CA5D97;
    color: white;
    cursor: pointer;
}

.card:hover .no-hover{
    cursor: default;
    background-color: white;
    color: black;
}

.card-formation:hover .lien-card{
    color: white;
}

.card-formation .lien-card2{
    color: #0C4A6E;
}

.card-formation:hover .lien-card2 ul li{
    color: #0C4A6E;
}

.card-formation:hover .lien-card2{
    color: white;
}

.card-formation:hover .lien-card ul li{
    color: white;
}

.card-formation .lien-card{
    color: #0C4A6E;
}

.card:hover .line-of-dots{
    display: block;
}

.image-about{
    border-radius: 50%;
    border: #CA5D97 3px dashed;
    padding: 10px;
    background-color: #FFFFFF;
}

.rond{
    border-radius: 50%;
    background-color: #FFFFFF;
}

.p div, li{
    color: #0c4a6e;
}

.bi-facebook , .bi-instagram, .bi-linkedin{
    font-size: 30px;
}

.nav-item{
    font-size: 15px !important;
}

.text-right{
    text-align: right;
}

.carousel-inner.img-accueil{
    height: 400px;width: 400px
}

@media screen and (max-width:992px) {
    .carousel-inner.img-accueil{
        height: 300px;width: 300px
    }
}

@media screen and (max-width:1519px) {
    .carousel-inner.img-accueil{
        height: 300px;width: 300px
    }
}

.bg-opacity-90::before {
    content: "";
    background-color: rgba(255, 255, 255, 0.9);
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    border-radius: 30px;
    margin-bottom: 50px;
}

.bg-opacity-90 {
    --bs-bg-opacity: 0.90;
}

.modal-backdrop{
    position: unset;
}

.btn-outline-secondary:hover{
    background-color: #CA5D97;
    color: white !important;
}

.btn-outline-secondary:hover a{
    color: white !important;
}

.btn:hover{
    -webkit-box-shadow: 0px 10px 13px -7px #000000, 5px 5px 15px 5px rgba(0,0,0,0);
    box-shadow: 0px 10px 13px -7px #000000, 5px 5px 15px 5px rgba(0,0,0,0);
}

#map-search-container gmp-place-autocomplete {
    width: 100%;
}

#map-search-container input {
    background: white !important;
    border: 1px solid #ddd !important;
    border-radius: 8px;
    padding: 10px;
}

@keyframes scroll-banner {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}
/* Fix menu mobile : sous-menus qui dépassent de l'écran */
@media (max-width: 1399.98px) {
  .navbar .navbar-nav { margin-left: 0 !important; }
  .navbar .nav-item { margin-right: 0 !important; }
  .navbar .dropdown-item { white-space: normal !important; }
  .navbar .dropdown-menu { width: 100% !important; max-width: 100%; box-sizing: border-box; }
}
/* Fix menu mobile : menu deroulant scrollable (en-tete en position fixed) */
@media (max-width: 1399.98px) { #site-fixed-header .navbar-collapse { max-height: calc(100vh - 80px); max-height: calc(100dvh - 80px); overflow-y: auto !important; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; } }
