/* Styles personnalisés */
/* ------------------------ Cookie Button ------------------------ */
#cookie-notice {
    background-color: rgb(32, 137, 85, 0.7) !important;
    transition: background-color 0.4s ease;
}

#cookie-notice:hover {
    background-color: rgb(32, 137, 85) !important;
}

.cookie-btn {
    color: #000;
    border-radius: 100px !important;
    background-color: #FFF !important;
    border-color: var(--e-global-color-69729f3);
    border-width: 3px 3px 3px 3px;
    border-style: solid !important;
    font-family: var(--e-global-typography-secondary-font-family), Sans-serif;
    font-weight: 700;
    transition: background-color 0.4s ease;
    text-transform: uppercase;
    text-align: center;
    padding: 5px 20px !important;
    line-height: 1;
}

.cookie-btn:hover {
    color: #FFF;
    background-color: var(--e-global-color-cd6d08f) !important;
    border-style: solid !important;
}

#cn-notice-text {
    font-family: var(--e-global-typography-secondary-font-family), Sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    margin-top: 7px;

}

/* ------------------------ Custom carroussel ------------------------ */
/* ------------ Enlever la marge sur mobile ------------ */
html,body{
    width:100%;
    overflow-x:hidden;
    }

/* ------------ Style pour carroussel via Elementor ------------ */
/* NOTE : Style basé sur le skin N10 de Easy Social Feed
/*----  General style Slide ----*/
/* Définir les règle responsive */
.efbl-content-wrapper {
    display: flex;
    flex-direction: row;
}

@media (max-width: 1024px) {
    .efbl-content-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .efbl-thumbnail-col {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .efbl-feed-content {
        flex: 0 0 100%;
        max-width: 100%;
    }
}


.efbl_feeds_holder {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 0 30px; 
    margin: 0 0; 
}

.efbl-story-wrapper {
    height: 100%;
    width: 100%;
    cursor: grab;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden; 
}

.efbl-story-wrapper:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('/wp-content/uploads/2025/04/Saint-Fiacre-Photo-du-village.webp');
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.15;
    top:0;
    right:0;
}

.efbl-story-wrapper * {
    z-index: 1;
}

.efbl-story-wrapper img {
    cursor: auto;
}

.efbl-description-wrap {
    cursor: auto;
}

.efbl-profile-image {
    cursor: auto;
}

.efbl-profile-title{
    cursor: auto;
}

.efbl-thumbnail-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* ---- Header Slide ---- */
/* Définir la taille de l'image */

.efbl-thumbnail-col {
    display: flex;
    align-items: center;
    border-right: unset !important;
}

.efbl-thumbnail-col img {
        height: 300px !important;
    width: 100% !important;
    object-fit: contain;
    background: transparent !important;
    outline: unset !important;
}

/* ---- Footer Slide ---- */

/*Retiré bouton "Partager" */

.esf-share-wrapper a {
    display: none !important;
}

.efbl_popup_wraper.efbl_popup_footer_logo {
    display: none;
}

/*Modifier l'apparence du button "Nous voir sur Facebook" */
.efbl-halfwidth-skin .efbl-thumbnail-wrapper .efbl-post-footer .efbl-view-on-fb{
    font-size: 0 !important;
    border-radius: 100px !important;
    background-color: #FFF !important;
    border-color: var(--e-global-color-69729f3) !important;
    border-width: 3px 3px 3px 3px;
    border-style: solid !important;
    font-family: var(--e-global-typography-secondary-font-family), Sans-serif;
    font-weight: 700;
    transition: background-color 0.4s ease;
    text-transform: uppercase;
    text-align: center;
    padding: 5px 20px !important;
    line-height: 1;
}

.efbl-halfwidth-skin .efbl-thumbnail-wrapper .efbl-post-footer .efbl-view-on-fb::before{
    content : "Partager sur Facebook";
    font-size: initial;
}

.efbl-thumbnail-wrapper .efbl-post-footer .efbl-view-on-fb:hover{
    background : var(--e-global-color-cd6d08f) !important;
}

/*Définir la couleur du Titre */
.efbl-profile-title-wrap h2 {
    color : black;
    font-family: var(--e-global-typography-secondary-font-family), Sans-serif;
    text-transform: uppercase;
}

/* Changer la couleur "Time ago */
.efbl-profile-title span {
    color: grey !important;
}

/* Changer la couleur du texte */
.efbl-feed-content .description {
    color: black;
    text-align: justify;
    min-height: 150px;
    height: 150px;
    min-height: 150px;
}

.efbl-feed-content .description a {
    color: var(--e-global-color-primary);
}

/* Changer le style du lien "Lire plus..." */
.read-more-link {
    color: #33A487;
    transition: all 0.s;
}

.read-more-link:hover {
    color: #000;
}

/* ---- Arrow Carousel ---- */

.carousel-button.prev {
    left: -5px; /* Position à gauche */
}

.carousel-button.next {
    right: -5px; /* Position à droite */
}

.elementor-swiper-button {
    height: unset !important;
    width: unset !important;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1;
    cursor: pointer;
    /* Style */
    border-radius: 50%;
    padding: 10px;
    background-color: #FFF !important;
    border-color: var(--e-global-color-69729f3) !important;
    border-width: 2px 2px 2px 2px !important;
    border-style: solid !important;
    transition: background-color 0.4s ease;
}

.elementor-swiper-button:hover {
    background-color: var(--e-global-color-cd6d08f)  !important; 
}

.elementor-swiper-button svg {
    width: 30px; 
    height: 30px; 
    fill: #000 !important;
    transition: fill 0.4s ease; 
}

.elementor-swiper-button:hover svg {
    fill: #FFF !important; 
}

.swiper-button-disabled:hover {
    background-color: #F1ECE5 !important;
}

.swiper-button-disabled:hover svg {
    fill: #000 !important;
}

.dialog-lightbox-widget .elementor-swiper-button {
    margin: 10px;
}

/* ----- Dot Carousel ---- */
.swiper-pagination-bullet {
    padding: 7px;
    border-radius: 50%;
    margin: 10px 5px 10px 5px;
    border: unset;
    cursor: pointer;
    transition: background-color 0.3s ease !important;
    opacity: 1 !important;
}

.swiper-pagination-bullet:hover {
    background-color: var(--e-global-color-69729f3) !important;
}

.swiper-pagination-bullet-active {
    background-color: var(--e-global-color-69729f3) !important;
}

.swiper-pagination-bullet-active:hover {
    background-color: var(--e-global-color-69729f3) !important;
}

/* ---- Overlay style ---- */

/* Cacher le logo Easy Social Feed */
.efbl_popup_footer_logo {
    left: 200vh !important;
}

.icon.icon-esf-plus.efbl-plus {
    display: none;
}

.efbl-overlay {
    bottom: 5px !important;
}

/* ---- PopUp style ---- */

.efbl_popup_left_container {
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.efbl_popup_left_container *{
    padding: 0;
    margin: 0;
}

.efbl_popupp_footer {
    padding: unset !important;
}

.efbl_popupp_footer p {
    text-align: justify;
    padding: 0 20px 20px 20px;
}

.efbl_popup_readmore {
    float: right; 
    margin-top: 25px
}

.efbl_popup_readmore {
    color: #000;
    border-radius: 100px !important;
    background-color: #FFF !important;
    border-color: var(--e-global-color-69729f3);
    border-width: 3px 3px 3px 3px;
    border-style: solid;
    font-family: var(--e-global-typography-secondary-font-family), Sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    transition: background-color 0.4s ease;
    padding: 5px 20px !important;
    line-height: 1;
    
}

.efbl_popup_readmore:hover {
    color: #fff;
    background : var(--e-global-color-cd6d08f) !important;
}

.efbl_popupp_footer p {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.esfp-close {
    border-radius: 50%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="%23000000"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"/></svg>') !important;
    background-size: 25px !important;
    background-position: 4px 4px !important;
    background-repeat: no-repeat !important;
    padding: 10px;
    opacity: 1;
    /* Style */
    background-color: #FFF !important;
    border-color: var(--e-global-color-69729f3) !important;
    border-width: 2px 2px 2px 2px !important;
    border-style: solid !important;
    transition: all 0.3s ease; 

}

.esfp-close:hover {
    border-radius: 50%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="%23FFFFFF"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"/></svg>') !important;
    background-size: 25px !important;
    background-position: 4px 4px !important;
    background-repeat: no-repeat !important;
    /* Style */
    background-color: var(--e-global-color-cd6d08f) !important;
    border-color: #000;
    border-width: 2px 2px 2px 2px !important;
    border-style: solid !important;
}

.efbl-post-footer .efbl-view-share {
    align-self: center;
}

.efbl_popup_if_video {
    width: 100% !important;
    height: 500px !important;
    border: unset;
}
