/*retrait banniere wpml dev site*/
.otgs-development-site-front-end{display:none!important;}

/*footer toujours below de fold meme sur page avec pas beacoup de contenu*/
main#content,body>.product,body>div.elementor{min-height:100vh;}

/*impossible scroll horizontal si débordement*/
body,html,.elementor-popup-modal{overflow-x:hidden!important;}

/*Jet engine*/
.jet-listing-grid__item{padding:0;}

/*fix hauteur du modal pour le mobile, pour prendre la barre de navigation du browser en compte (css "dvh" = dynamic viewport height) - utilise la variable css "--vh" généré en javascript (voir custom.js) pour plus de compatibilité */
body .elementor-popup-modal .dialog-widget-content .dialog-message{height: calc(var(--vh, 1vh) * 100)!important;height: 100dvh!important;	overflow-y: auto;}



/*couleur menu basé sur categorie*/

/*

cat-49 = orange
cat-50 = jaune
cat-51 = bleu
cat-53 = vert

bleu = var( --e-global-color-primary )
orange = var( --e-global-color-eb8abad ) 
jaune = var( --e-global-color-accent )
vert = var( --e-global-color-0c92371 )
*/


body .e--pointer-text .elementor-nav-menu .cat-49>a:hover,
body .e--pointer-text .elementor-nav-menu .cat-49>a.elementor-item-active,
body .jet-mega-menu-container .cat-49.current_page_item *,
body .cat-49>.jet-mega-menu-item__inner:hover>a *,
body .jet-mega-menu-item.cat-49:has(.current_page_ancestor) .jet-mega-menu-item__inner>a *,
.jet-mega-menu.jet-mega-menu--layout-horizontal .jet-mega-menu-item.jet-mega-menu-item--hover.cat-49>.jet-mega-menu-item__inner .jet-mega-menu-item__title
{color:var( --e-global-color-eb8abad )!important;}

body .e--pointer-text .elementor-nav-menu .cat-50>a:hover,
body .e--pointer-text .elementor-nav-menu .cat-50>a.elementor-item-active,
body .jet-mega-menu-container .cat-50.current_page_item *,
body .cat-50>.jet-mega-menu-item__inner:hover>a *,
body .jet-mega-menu-item.cat-50:has(.current_page_ancestor) .jet-mega-menu-item__inner>a *,
.jet-mega-menu.jet-mega-menu--layout-horizontal .jet-mega-menu-item.jet-mega-menu-item--hover.cat-50>.jet-mega-menu-item__inner .jet-mega-menu-item__title
{color:var( --e-global-color-accent )!important;}

body .e--pointer-text .elementor-nav-menu .cat-51>a:hover,
body .e--pointer-text .elementor-nav-menu .cat-51>a.elementor-item-active,
body .jet-mega-menu-container .cat-51.current_page_item *,
body .cat-51>.jet-mega-menu-item__inner:hover>a *,
body .jet-mega-menu-item.cat-51:has(.current_page_ancestor) .jet-mega-menu-item__inner>a *,
.jet-mega-menu.jet-mega-menu--layout-horizontal .jet-mega-menu-item.jet-mega-menu-item--hover.cat-51>.jet-mega-menu-item__inner .jet-mega-menu-item__title
{color:var( --e-global-color-primary )!important;}

body .e--pointer-text .elementor-nav-menu .cat-53>a:hover,
body .e--pointer-text .elementor-nav-menu .cat-53>a.elementor-item-active,
body .jet-mega-menu-container .cat-53.current_page_item *,
body .cat-53>.jet-mega-menu-item__inner:hover>a *,
body .jet-mega-menu-item.cat-53:has(.current_page_ancestor) .jet-mega-menu-item__inner>a *,
.jet-mega-menu.jet-mega-menu--layout-horizontal .jet-mega-menu-item.jet-mega-menu-item--hover.cat-53>.jet-mega-menu-item__inner .jet-mega-menu-item__title
{color:var( --e-global-color-0c92371 )!important;}







/*texte reste blanc, mais underline de couleur - classe appliqué avec elementor pointer souligner au lieu de pointer texte*/
body .e--pointer-underline ul.elementor-nav-menu li.cat-49 a:hover:after,
body .e--pointer-underline ul.elementor-nav-menu li.cat-49 a.elementor-item-active:after{	
background-color:var( --e-global-color-eb8abad )!important;
}

body .e--pointer-underline ul.elementor-nav-menu li.cat-50 a:hover:after,
body .e--pointer-underline ul.elementor-nav-menu li.cat-50 a.elementor-item-active:after{	
background-color:var( --e-global-color-accent )!important;
}

body .e--pointer-underline ul.elementor-nav-menu li.cat-51 a:hover:after,
body .e--pointer-underline ul.elementor-nav-menu li.cat-51 a.elementor-item-active:after{	
background-color:var( --e-global-color-primary )!important;
}

body .e--pointer-underline ul.elementor-nav-menu li.cat-53 a:hover:after,
body .e--pointer-underline ul.elementor-nav-menu li.cat-53 a.elementor-item-active:after{	
background-color:var( --e-global-color-0c92371 )!important;
}
















/*shortcode menu famille*/
.menu-famille a,.menu-famille h4{
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: var(--e-global-typography-text-font-size);
    font-weight: var(--e-global-typography-text-font-weight);
    line-height: var(--e-global-typography-text-line-height);
    text-decoration:none;
    color:#fff;
}
.menu-famille li.page_item_has_children>a{margin-bottom:0.5rem;display:block;}
.menu-famille a.current-page,.menu-famille .current_page_item>a{text-decoration:underline!important;cursor:default;}
.menu-famille h4 a, body .menu-famille h4{font-weight:700!important;}
.menu-famille a:hover{text-decoration:underline;color:#fff!important;}
.menu-famille li{margin-bottom:1rem;color:#fff;}
.menu-famille ul {list-style-type:none;padding:0;}
.menu-famille ul li a svg{fill: #fff;width: 20px;margin-right:10px;line-height: 0;margin-bottom: -5px;}





/*lien rapide - javascript liste des widget custom button sur la page */
.container-lien-rapide ul a{
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: var(--e-global-typography-text-font-size);
    font-weight: var(--e-global-typography-text-font-weight);
    line-height: var(--e-global-typography-text-line-height);
    text-decoration:none;
    color:#fff;
}
body .container-lien-rapide h4{color:#fff;font-weight:700!important;}
.container-lien-rapide ul li a:hover{text-decoration:underline;}
.container-lien-rapide ul li{margin-bottom:1rem;color:#fff;}
.container-lien-rapide ul{padding:0;list-style-type:none;margin-bottom:2rem;}
.container-lien-rapide ul svg{fill: #fff;width: 20px;margin-right:10px;line-height: 0;margin-bottom: -5px;}




/*liste de document dans event list*/
.evenement-documents svg{fill: var( --e-global-color-secondary );width: 15px;margin-right:5px;line-height: 0;margin-bottom: -5px;}
.evenement-documents a{text-decoration:none!important;}
.evenement-documents a:hover{text-decoration:underline!important;}
body .tribe-common .evenement-documents a{
	font-family: var(--e-global-typography-61d1c8e-font-family), Sans-serif;
    font-size: var(--e-global-typography-61d1c8e-font-size);
    line-height: var(--e-global-typography-61d1c8e-line-height);
    letter-spacing: var(--e-global-typography-61d1c8e-letter-spacing);
    word-spacing: var(--e-global-typography-61d1c8e-word-spacing);
	color:var(--e-global-color-secondary);
    font-weight: var(--e-global-typography-text-font-weight);
}


/*event list sur page single*/
body.wp-singular.elementor-page .tribe-events-calendar-list__month-separator,
body.wp-singular.elementor-page .tribe-events-calendar-series-archive__container a,
body.wp-singular.elementor-page .tribe-events-calendar-list-nav{
    display:none!important;
}

body.wp-singular.elementor-page article:not(.tribe_events_cat-evenements-publics) h3.tribe-events-calendar-list__event-title a{pointer-events:none;}
body.wp-singular.elementor-page h3.tribe-events-calendar-list__event-title a{text-decoration:none;}
body.wp-singular.elementor-page .tribe-events-calendar-list{display:flex;flex-wrap:wrap;justify-content:flex-start;align-items:stretch;gap:2%;}
body.wp-singular.elementor-page .elementor-widget-shortcode .tribe-events-view--shortcode .tribe-events-calendar-list{flex-direction:row-reverse;justify-content:flex-end;}


body.wp-singular.elementor-page .elementor .tribe-events-calendar-list>li{max-width:calc(96% / 3);flex:0 0 calc(96%/ 3);margin:1% 0!important;}

@media(max-width:1024px){
	body.wp-singular.elementor-page .elementor .tribe-events-calendar-list>li{max-width:calc(96% / 2);flex:0 0 calc(96% / 2);}
}

@media(max-width:768px){
	body.wp-singular.elementor-page .elementor .tribe-events-calendar-list>li{max-width:100%;flex:0 0 100%;}
}


/*shortcode prev-next event*/

.shortcode-prev-next a:hover{text-decoration:underline;}
.shortcode-prev-next a{    
	color: var(--e-global-color-secondary);
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: var(--e-global-typography-text-font-size);
    font-weight: var(--e-global-typography-text-font-weight);
    line-height: var(--e-global-typography-text-line-height);
}

