/*--------------------------------------------------------------
This is your custom stylesheet.

Add your own styles here to make theme updates easier.
To override any styles from other stylesheets, simply copy them into here and edit away.

Make sure to respect the media queries! Otherwise you may
accidentally add desktop styles to the mobile layout.
https://www.w3schools.com/css/css_rwd_mediaqueries.asp
--------------------------------------------------------------*/


a {
    color: #149d71;
}


/***** menu style *****/
/********************/

.primary-menu>li>a, .site-header #primary-navbar .primary-menu .menu-item>.ab-submenu .bb-sub-menu .menu-item a, .site-header .sub-menu a {
    font-weight: 600;
}
.site-header #primary-navbar .primary-menu .menu-item>.ab-submenu .bb-sub-menu .menu-item a:hover{
    font-weight: 400;
}
/* bordure hover */
.bb-template-v2 .primary-menu>li>a:before {
    content: "";
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: -1;
    height: 40px;
    left: 0;
    right: 0;
}

.bb-template-v2 .primary-menu>li:hover>a:before {
    border-radius: 0;
    background-color:unset;
    border-bottom: 4px solid #149D71;
    color: #149D71;
    transition: all 0.2s ease;
}

/* carré espace */
.bb-template-v2 .primary-menu>li:not(:last-child)::before {
    content: ' \25A0';
    position: absolute;
    right: 0;
    top: -1px;
    width: 2px;
    color: #149D71;
    font-size: 14px;
}
.bb-template-v2 .primary-menu>li {
    padding: 0 10px 0 15px;
}
.bb-template-v2 .primary-menu>.menu-item-has-children:not(.hideshow)>a:before {
    right: 0;
}
/* virer la fleche de sous menu */

#navbar-extend .menu-item-has-children:after, .menu-style-standard .primary-menu .menu-item-has-children:not(.hideshow):after {
    display: none;
}

.bb-template-v2 .primary-menu>.menu-item-has-children:not(.hideshow)>a {
    padding-right: 10px;
}

/* sous menu  */
.site-header #primary-navbar .primary-menu .menu-item:hover>.ab-submenu, .site-header .sub-menu {
    border-bottom: 5px solid #149D71;
}

.site-header #primary-navbar .primary-menu .menu-item>.ab-submenu .bb-sub-menu {
    max-width: unset;
}


/* cacher icon panier */
/**********************/
.cart-wrap {
    display: none;
    }

/* cacher formulaire de recherche pour les non connecté*/
/*******************************************************/
body:not(.logged-in) .header-search-link {
        display: none;
}    


/* cacher nombre de membre dans la liste - dans le haut de liste et dans la pagination */
/****************************************************************************************/
.dir-navs.bp-subnavs+.bp-secondary-header .bb-item-count,
.buddypress-wrap .bp-pagination .pag-count { 
    display: none;
}


/* type profile dans la liste des membres et profil */
.friends-mutual-list .bp-member-type, .members-list .bp-member-type, .users-header .bp-member-type {
    background: #f0f2fb;
    color: #0f3248;
}


/* widget personnalis� sur la homepage */
/****************************************/
.widget.widget_block {
  padding: 0;
}

.widget.widget_block .wp-block-group {
  padding: 1.25rem 1.25rem 1.5625rem 1.25rem;
}





/* page group-setting : description du type de groupe */
/******************************************************/
.group-create-types #group-type-description {
    margin-top: 15px;
    font-weight: bold;
    background-color: #f3f3f3;
    padding: 5px 20px;
    text-align: center;
    border-radius: 10px;
    font-size: 15px;
}



/** formulaire Contact Form 7 **/
/*********************************/

/* Espacement entre les champs */
.wpcf7 input,
.wpcf7 textarea,
.wpcf7 select {
    margin-bottom: 10px;
    width: 100%;
    box-sizing: border-box;
}

/* Bouton personnalisé */
.wpcf7 input[type="submit"] {
    width: 100%;
    background-color: #0F3248;
    color: #ffffff;
    border: none;
    padding: 12px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 16px;
    border-radius: 4px;
}

/* Effet au survol */
.wpcf7 input[type="submit"]:hover {
    background-color: #14506d;
}




/* footer */ 
/****************/

.bb-footer {
    border-top: 10px solid #149D71;
    padding: 0 !important;
    padding-top: 30px !important;
}

/* Newsletter Layout */
.newsletter-section {
    border:2px solid #149D71;
    padding: 20px 80px;
    border-radius: 10px;
    text-align: center;
    width: 450px;
    margin: auto;
}

.newsletter-content {
    display: inline-grid;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.newsletter-text h2 {
    margin: 0;
    font-size: 1.8em;
    font-weight: 600;
    color: #fff;
}

.newsletter-button .button a {
    color:#fff;

}

@media (max-width: 768px) {

    .newsletter-section {
        padding: 30px 20px;
    }
}



/* Titre des colonnes en blanc */
.footer-columns {
    color: #fff;
    display: flex; 
    justify-content: space-between; 
    padding: 40px 0;
  }
 .footer-column {
    flex: 1; 
    padding: 0 20px;
 } 

 .footer-column  .footer-address {
    margin-top: 20px;
    font-size: .75rem;
    line-height: 1.5;
  }

.footer-column h3 {
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
  }
  
  /* Liste de menu dans les colonnes */
  .footer-menu-hub {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .footer-menu-hub li {
    margin-bottom: 10px;
  }
  
  .footer-menu-hub li a {
    color: #149d71;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
  }
  
  .footer-menu-hub li a:hover {
    color: #fff;
  }
  
  /* Icône flèche avant chaque lien */
  .footer-menu-hub li a::before {
    content: "\e860"; /* Unicode pour fa-angle-right */
    font-family: "bb-icons";
    margin-right: 10px;
    color: #fff;
    transition: color 0.3s ease;
    font-size: 25px;
    font-weight: normal;
  }
  
  .footer-menu-hub li a:hover::before {
    color: #fff;
  }
  
  /* Ligne de séparation avant le copyright */
  .copyright {
    margin: 0;
    margin-top: 40px;
    padding: 30px 0;
    color: #fff;
    font-size: 14px;
    text-align: center;
    background-color: #0a293d;
  }
  
.bb-footer .footer-socials {
    justify-content: flex-start;
}
.bb-footer .footer-socials i {
    font-size: 44px;
}

/* menu copyright / condition*/
.footer-menu-copy {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 20px 0;
    font-size: 14px;
}

.footer-menu-copy li {
    display: inline;
}

.footer-menu-copy a {
    text-decoration: none;
    color: #ccc;
    transition: color 0.3s ease, border-bottom 0.3s ease;
}

.footer-menu-copy a:hover {
    color: #149D71;
}


@media (max-width: 768px) {
    .footer-menu-copy {
        gap: 10px;
        font-size: 13px;
    }
}


@media (max-width: 768px) {

    /* Colonne du footer en stack */
    .footer-columns {
        flex-direction: column;
        gap: 30px;
        margin-left: 50px;
    }

    .footer-column {
        padding: 0;
    }

    .footer-column h3 {
        font-size: 20px;
        text-align: left;
    }

    .footer-menu-hub {
        margin-top: 15px;
        padding: 0;
    }

    .footer-menu-hub li a {
        font-size: 15px;
      }


    /* Centrer les icônes sociales */


    .footer-socials li {
        margin: 0 10px;
    }

    /* Copyright ajusté */
    .copyright {
        font-size: 13px;
        padding-top: 15px;
        margin-top: 30px;
    }

}
.tribe-events .tribe-events-calendar-list .tribe-events-calendar-list__event-wrapper .tribe-events-calendar-list__event-featured-image-wrapper .tribe-events-calendar-list__event-featured-image {
  position: relative !important;
}
