/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/*header*/

.scroll-background {
    background-color: transparent;
    transition: background-color 0.3s ease; 
	/*backdrop-filter: blur(0px);*/
}

.scroll-background.scrolling {
    background-color: #000000!important; 
}

header{
	position: sticky!important;
    width: 100%;
    top: 0;
    z-index: 99999999999;
    transition: background-color 2s ease;
}


.ancre-offset {
  position: relative;
  top: -100px; /* ton offset souhaité */
  height: 0;
  visibility: hidden;
}


.scroll-effect {
  transition: transform 0.1s linear;
  will-change: transform;
}

.toque{
    opacity:0.2;
}

.stickers{
  opacity: 0.8;
}

/*GRADIENT IMG*/
.img-en-avant {
  position: relative;
  display: inline-block;
  object-fit: cover;
}

.post .wp-post-image{
    max-height: 381px;
}

.img-en-avant::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(180deg, #00000000 40%, #071013 98%), linear-gradient(0deg, #00000000 20%, #071013 98%) !important;
  pointer-events: none; /* pour ne pas bloquer les clics */
}

/*CARTE MAP*/
.elementor-element-5d4fc2c{
  filter: brightness(73%) contrast(109%) saturate(0%) blur(0px) hue-rotate(0deg);
}
    


/*STICKY TEL*/
/*.tel-max{
  display:none;
}

.tel-min:hover ~ .tel-max{
  display:block!important;
}*/


.btn-hover-text .text-hover {
  display: none;
}

.btn-hover-text:hover .text-normal {
  display: none;
}

.btn-hover-text:hover .text-hover {
  display: inline;
}

/*BLOG*/

.wpr-grid-image-wrap img{
  height: 115px;
  object-fit: cover;
}

.single-post .wpr-post-content h2, .single-post .wpr-post-content h3{
  margin-top: 50px;
}

.single-post .wpr-post-content h2{
  color: #c49f27;
}


/*ANIM ENTREE*/

.fade-in {
  opacity: 0;
  animation: apparition 2s ease-in-out 0.5s forwards; /* animation de 3s, après 1s de délai */
}



/*Menu*/

.etiquette-allergene {
    display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.3em 0.6em;
  margin: 0.2em 0.3em;
  border: 1px solid #3d3d3d;
  border-radius: 999px;
  background-color: transparent;
  color: #686868;
  font-size: 0.65em;
  text-transform: uppercase;
  white-space: nowrap;
  font-weight: 500;
}

.etiquette-allergene .icon-allergene {
    width: 1.6em;
  height: 1.6em;
  display: inline-block;
  vertical-align: middle;
}


@keyframes apparition {
  to {
    opacity: 1;
  }
}



/*cookies*/

#cmplz-manage-consent .cmplz-manage-consent {
    bottom: 30px !important;
    left: 30px !important;
    border-radius: 100% !important;
    color: #C49F27 !important;/*CHANGER LA COULEUR*/
    background: #C49F27 !important;/*CHANGER LA COULEUR*/
    padding: 15px 15px 15px 15px !important;
    min-width: unset !important;
    width: 45px;
    height: 45px !important;
    padding: 0 !important;
    background-image: url(https://lafactory-restaurant.fr/wp-content/uploads/2025/08/cookie.png) !important;/*CHANGER L'URL*/
    background-position: center;
    background-repeat: no-repeat !important;
}

#cmplz-document, .editor-styles-wrapper .cmplz-unlinked-mode {
    max-width: 100%;
}

#cmplz-document h2, #cmplz-document p, #cmplz-document li {
    color: #878787;
}


@media screen and (max-width: 1650px) {
  body:not(.rtl) .elementor-21 .elementor-element.elementor-element-379c73d .hfe-nav-menu__layout-horizontal .hfe-nav-menu > li.menu-item:not(:last-child), body:not(.rtl) .elementor-21 .elementor-element.elementor-element-8c8ce08 .hfe-nav-menu__layout-horizontal .hfe-nav-menu > li.menu-item:not(:last-child){
    	margin-right: 22px;
	}
}

@media screen and (max-width: 1445px) {
  body:not(.rtl) .elementor-21 .elementor-element.elementor-element-379c73d .hfe-nav-menu__layout-horizontal .hfe-nav-menu > li.menu-item:not(:last-child), body:not(.rtl) .elementor-21 .elementor-element.elementor-element-8c8ce08 .hfe-nav-menu__layout-horizontal .hfe-nav-menu > li.menu-item:not(:last-child){
    	margin-right: 9px;
	}
  
}



@media screen and (max-width: 1024px) {
  .overflow {
    overflow:hidden;;
  }
  
}
