div.wpforms-container-full .wpforms-form button[type=submit] {      
    margin: 0 auto !important;      
    display: block !important;      
    width: 100% !important;
}

/* Cacher auteur et date des évènements*/
.wpr-grid-item-date .inner-block, .entry-meta {
    display: none;
}


.ast-above-header.ast-above-header-bar{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); 
    height: 110px;
}

/* Ajuster l'image à l’intérieur du conteneur */
.elementor-image-carousel-wrapper .swiper-slide img {
    width: 100%;
    object-fit: cover;
    object-position: center;
    margin-top: 110px;
    height: calc(100vh - 110px)
}

/* Éviter que les images soient redimensionnées par le widget */
.elementor-image-carousel img {
    max-width: none;
    max-height: none;
}

/* Centrer le titre sur l'image */
.elementor-image-carousel-caption {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Pour un centrage parfait */
    text-align: center;
    opacity: 0; 
    transition: transform 1s ease, opacity 3s ease; 
}



.swiper-slide-active .elementor-image-carousel-caption {
    opacity: 1;
}


 /*banner*/
.banner_parinama{
    margin-top: 110px !important;
    height: 550px !important;
}



.wp-post-image {
    max-height: 400px; 
    width: auto; 
    object-fit: cover; 
}

.wpr-grid-media-wrap {
    max-height: 250px;
    overflow: hidden;
}


.lesson_hour p{
    margin: 0;
}

/*#social-viewer {
    width: 100%;
    max-width: 800px;
    margin: auto;
  }*/
  


 /* #root {
    border: 2px solid red; 
    height: 100vh;
  }*/



@media (max-width: 1024px) {

    /*
        SLIDER ACCUEIL
    */
    
    /* Ajuster l'image pour qu'elle couvre toute la hauteur sans s'ajuster à la largeur */
    .elementor-image-carousel-wrapper .swiper-slide img {
        margin-top: 0;
        height: 100%;
    }

    /* Header fixe avec une hauteur définie */
    .main-header-bar{
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background: rgba(255, 255, 255, 0.8);
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); 
        height: 120px;
    }  

    .ast-builder-menu-mobile .main-navigation {
        margin-top: 120px;
        position: fixed; 
    }


    .elementor-image-carousel-wrapper .swiper-slide img {
        width: 100%;
        object-fit: cover;
        object-position: center;
        margin-top: 120px;
        height: calc(100vh - 120px)
    }

    /*version tablette et mobile avec les images du carousel de l'accueil pas à la hauteur de l'écran*/
    /*.elementor-image-carousel-wrapper .swiper-slide{
        margin-top: 120px;
    }


    .elementor-image-carousel-wrapper .swiper-slide img{
        width: 100%;
        height: 300px;
    }*/

    /*banner*/
    .banner_parinama{
        margin-top: 120px !important;
    }

    /* Centrer le titre sur l'image */
    .elementor-image-carousel-caption {
        position: absolute;
        width: 100%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%); /* Pour un centrage parfait */
        text-align: center;
        opacity: 0; 
        transition: transform 1s ease, opacity 3s ease; 
    }

    
}















