#header .menu-primary .menu>li>.sub-menu>li>.sub-menu>li>a,#header .top-menu .menu a:focus:not(:active), #header .top-menu .menu a:hover:not(:active) {
    color: var(--color-default)!important;
}
#header .menu-primary .menu>li>.sub-menu>li>.sub-menu>li>a:hover:not(:active), #header .menu-primary .menu>li>.sub-menu>li>.sub-menu>li.current_page_item>a {
    color: var(--color-primary)!important;
}

body:not(.override_colors) .module.has-background-secondary p,
body:not(.override_colors) .module.has-background-secondary title,
body:not(.override_colors) .module.has-background-secondary h1,
body:not(.override_colors) .module.has-background-secondary h2,
body:not(.override_colors) .module.has-background-secondary h3
body:not(.override_colors) .module.has-background-secondary h4 {
    color: #772321!important;
}
body:not(.override_colors) .module.has-background-secondary .btn-primary:hover {
    background-color: var(--color-primary)!important;
    border-color: var(--color-primary)!important;
}

body h1, body .title-section-1 {
    font-size: 2.8125rem!important;
}
body h2, body .title-section-2 {
    font-size: 2.1875rem!important;
}
body h3, body .title-section-3 {
    font-size: 1.5625rem!important;
}

.module-images-videos-parallax .list .media-wrapper {
    background-color: unset;
}

.module-images-videos-parallax .list .media-wrapper .overlay {
    display: none;
}

.module-images-videos-parallax .list .media-wrapper .media {
    opacity: 1!important;
}

.module.h1-xs h1 {
    font-size: 40px;
}

/* Module tuile : show desc on hover  */
body .module-clickable.style2bis .item .desc, body .module-clickable.style2bis .video-wrapper::before {
    opacity: 1;
}

.module-clickable.style2bis .item .editor.txt {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.5s ease, transform 0.5s ease, max-height 0.5s ease;
} 

.module-clickable.style2bis .item:hover .editor.txt {
  opacity: 1;
  max-height: 100px; /* suffisamment grand pour le contenu */
} 

body:not(.override_colors) .module.has-background-secondary .btn-primary, body:not(.override_colors) .floating-btn:focus, body:not(.override_colors) .floating-btn:hover,body:not(.override_colors)  .btn-primary:hover, body:not(.override_colors) .gform_button.button:hover,body:not(.override_colors)  #cc-main .cm .cm__btn:first-child:hover {
    background-color: #772321!important;
    border-color: #772321!important;
    color: var(--color-background)!important;
}

#cc-main .cm:before {
    background: url(https://experts-afe.fr/app/uploads/2025/06/cookies-light.a362d0.svg)!important;
}

.module:not(.has-background-primary):not(.has-background-secondary) .txt h1,
.module:not(.has-background-primary):not(.has-background-secondary) .txt h2,
.module:not(.has-background-primary):not(.has-background-secondary) .txt h3,
.module:not(.has-background-primary):not(.has-background-secondary) .txt h4,
.module:not(.has-background-primary):not(.has-background-secondary) .txt h5,
.module:not(.has-background-primary):not(.has-background-secondary) .title-module h1,
.module:not(.has-background-primary):not(.has-background-secondary) .title-module h2,
.module:not(.has-background-primary):not(.has-background-secondary) .title-module h3,
.module:not(.has-background-primary):not(.has-background-secondary) .title-module h4,
.module:not(.has-background-primary):not(.has-background-secondary) .title-module h5 {
  color: var(--color-default) !important;
}

.module-columns.has-background-primary .module .txt h1, .module-columns.has-background-secondary .module .txt h1,
.module-columns.has-background-primary .module .txt h2, .module-columns.has-background-secondary .module .txt h1,
.module-columns.has-background-primary .module .txt h3, .module-columns.has-background-secondary .module .txt h1,
.module-columns.has-background-primary .module .txt h4, .module-columns.has-background-secondary .module .txt h1,
.module-columns.has-background-primary .module .txt h5, .module-columns.has-background-secondary .module .txt h1,
.module-columns.has-background-primary .module .title-module h1, .module-columns.has-background-secondary .module .txt h1,
.module-columns.has-background-primary .module .title-module h2, .module-columns.has-background-secondary .module .txt h1,
.module-columns.has-background-primary .module .title-module h3, .module-columns.has-background-secondary .module .txt h1,
.module-columns.has-background-primary .module .title-module h4, .module-columns.has-background-secondary .module .txt h1,
.module-columns.has-background-primary .module .title-module h5, .module-columns.has-background-secondary .module .txt h1 {
    color: #fff!important;
}

.module-accordion .accordion .title {
    font-size: 1.725rem;
}

body #header .menu-primary .menu>li>.sub-menu>li>.sub-menu {
    position: absolute;
    opacity: 0;
    top: 0;
    right: 0;
    transform: translateX(100%);
    padding: 0 ;
    background: #fff!important;
    box-shadow: 0 0 .75rem rgba(0, 0, 0, .15);
    transition: opacity 0.3s ease;
}
body #header .menu-primary .menu>li>.sub-menu>li:hover>.sub-menu {
    position: absolute;
    opacity: 1;
    z-index: 99999999;
}
body #header .menu-primary .menu>li>.sub-menu>li>.sub-menu>li>a {
    font-size: 0.975rem;
    max-width: 250px;
    padding: 0.45rem 1.225rem;
}
body #header .menu-primary .menu>li>.sub-menu>li>.sub-menu:before {
    left: 0;
    bottom: 0;
    top: 0;
    width: 2px;
}
.module .editor .asl-cont ul li::before {
    display: none;
}
.module .editor .asl-cont .rangeFilter.asl-filter-cntrl *, .module .editor .asl-cont .sl-search-group * {
    border-radius: 0!important;
}
.module .editor .asl-cont .search_filter {
    padding-left: 0;
    padding-right: 0;
}
.module .editor .asl-cont .Filter_section div:nth-child(2) {
    align-content: flex-end;
}
.module .editor .asl-cont .rangeFilter.asl-filter-cntrl {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.module .editor .asl-cont .rangeFilter.asl-filter-cntrl .asl-cntrl-lbl {
    order: 1;
    margin-bottom: 0!important;
    text-transform: none!important;
}
.module .editor .asl-cont .rangeFilter.asl-filter-cntrl .slider-horizontal {
    order: 2;
    margin-bottom: 10px!important;
}
.module .editor .asl-cont .rangeFilter.asl-filter-cntrl .rad-unit {
    order: 1;
    padding-top: 0!important;
    font-size: 0!important;
}
.module .editor .asl-cont .rangeFilter.asl-filter-cntrl .rad-unit #asl-dist-unit {
    text-transform: lowercase;
}
.module .editor #asl-storelocator.asl-cont .sl-miles {
    display: none;
}

@media screen and (min-width: 1024px){
    body .container, body .container-large {
        max-width: 85%;
    }
    .module-illustration-video.full-width .container-large, .module-columns .module-images-slider .container-large {
        width: 100%;
        max-width: 100%;
    }
    #footer .top {
        align-items: center!important;
        justify-content: space-between!important;
    }
    #footer .top .col-1, #footer .top .col-3 {
        max-width: 15%;
    }
    #footer .social-networks {
        margin-top: 0!important;
    }
    #footer .bottom {
        top: 50%;
        position: absolute;
        width: 55%;
        transform: translate(-50%, -50%);
        display: flex;
        flex-direction: row;
        margin-top: 0!important;
        left: 50%;
    }
}

@media screen and (max-width: 1023px) {
    #header .menu-mobile-wrapper, #header .menu-mobile-wrapper .menu-mobile {
        overflow: scroll!important;
    }
    #header .menu-primary.mobile .menu>li>.sub-menu {
        display: block!important;
    }
    #header .menu-primary.mobile .menu>li>.sub-menu>li>a {
    padding: 0.2rem 1.375rem!important;
    }
    body h1, body .title-section-1 {
    font-size: 2.25rem!important;
    }
    body h2, body .title-section-2 {
        font-size: 1.75rem!important;
    }
    body h3, body .title-section-3 {
        font-size: 1.25rem!important;
    }    
	body #header .menu-primary .menu>li>.sub-menu>li>.sub-menu {
		position: relative!important;
		transform: none!important;
		opacity: 1;
		margin: .5rem 0;
		box-shadow: unset;
		margin: 0.5rem  0 0.5rem 2.5rem;
	}
	body #header .menu-primary .menu>li>.sub-menu>li>.sub-menu>li>a {
		padding :0.2rem 1.225rem;
	}
}