/*
Theme Name: prodimeca
Author: Rougevert
Tags: blog, custom-menu
Version: 1.0.0
Requires at least: 5.0.0
Tested up to: 5.8.0
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: prodimeca
*/

/* GENERAL */
body {margin: 0;}

html {overflow-x: hidden;}

.titre-formes::before,
.titre-formes::after {
        content: "";
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 120px;
        height: 120px;
        background-size: contain;
        background-repeat: no-repeat;
        background-image: url('/wp-content/uploads/2024/03/forme_titre.png');
}

.titre-formes::before {
        background-position: center bottom;
}

.titre-formes::after {
        background-position: center top;
}

.titre-formes>.elementor-widget-container {
        margin-top: 20px;
        margin-bottom: 20px;
}

/* BOUTONS */
a.elementor-button::before {
        display: block;
        width: 0;
        height: 100%;
        transition: all .5s;
        content: '';
        background-color: var(--e-global-color-primary);
        position: absolute;
        left: 0;
        top: 0;
        z-index: 0;
}

a.elementor-button>span.elementor-button-content-wrapper {
        z-index: 1;
        position: relative;
        transition: all .5s;
}

a.elementor-button>span.elementor-button-content-wrapper svg>path {
        transition: all .5s;
}

a.elementor-button:hover>span.elementor-button-content-wrapper svg>path {
        fill: white !important;
}

a.elementor-button:hover>span.elementor-button-content-wrapper {
        color: white !important;
}

a.elementor-button:hover::before {
        width: 100%;
}

a.elementor-button {
        position: relative;
        transition: all .5s !important;
}

a.elementor-button:hover {
        border-color: var(--e-global-color-primary) !important;
}

.filtre_taxo button.e-filter-item::before {
        display: block;
        width: 0;
        height: 100%;
        transition: all .5s;
        content: '';
        background-color: var(--e-global-color-primary);
        position: absolute;
        left: 0;
        top: 0;
        z-index: -1;
}

.filtre_taxo button.e-filter-item:hover::before {
        width: 100%;
}

.filtre_taxo button.e-filter-item {
        position: relative;
        transition: all .5s;
        cursor: pointer;
        padding: 8px 14px !important;
}


/* FORMULAIRE */

[id^="gform_"] .gform_footer {
        width: fit-content;
        position: relative;
}

[id^="gform_"] input.datepicker {
        width: 100% !important;
}

[id^="gform_drag_drop_area_"]::before {
        color: var(--e-global-color-primary) !important;
}

[id^="gform_"] .gform_footer::before,
[id^="gform_browse_button_"]::before {
        content: '';
        background-color: var(--e-global-color-primary);
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 0;
        transition: all .5s !important;
        z-index: -1;
        display: block !important;
}

[id^="gform_browse_button_"]::before {
        content: '' !important;
}

[id^="gform_"] .gform_footer:hover::before,
[id^="gform_browse_button_"]:hover::before {
        width: 100%;
}

span.gfield_required.gfield_required_asterisk {
        display: inline-block !important;
}

input[type="text"]:focus, 
input[type="password"]:focus, 
textarea:focus,
[id^="gform_browse_button_"] {
	outline: none;
}

[id^='gform_submit_button_'],
[id^="gform_browse_button_"] {
	transition: all .5s;
        border-radius: 0 !important;
        background-color: transparent !important;
        color: var(--e-global-color-primary) !important;
        padding: 0.5rem 1rem !important;
        border: solid 2px var(--e-global-color-primary) !important;
        font-weight: bold;
        font-size: 18px !important;
        z-index: 1;
}

[id^="gform_"] .gform_footer:hover [id^="gform_submit_button_"],
[id^="gform_browse_button_"]:hover {
        color: white !important;
}

[id^='gform_'] input:not([type="checkbox"]):not([type="submit"]),
[id^='gform_'] textarea {
        border-radius: 0 !important;
        background-color: transparent;
        box-shadow: none !important;
}

[id^='gform_'] textarea {
        border-left: none !important;
        border-right: none !important;
        border-top: none !important;
        border-bottom: solid 2px var(--e-global-color-primary) !important;
}

[id^='gform_'] input[type="checkbox"] {
        border: solid 1px var(--e-global-color-primary) !important;
        border-radius: 0 !important;
}

[id^='gform_'] input[type="checkbox"]:focus {
        box-shadow: none !important;
        outline: none !important;
}

[id^='gform_'] input[type="checkbox"]::before {
        color: var(--e-global-color-primary) !important;
        font-size: 20px !important;
        transition: all .5s;
        transform: rotate(-45deg);
}

[id^='gform_'] input[type="checkbox"]:checked::before {
        transform: rotate(0) !important;
}

[id^='gform_'] label {
        font-size: 16px !important;
}

[id^="gform_"] .gform_heading {
        display: none !important;
}

[id^='gform_fields_'] {
        grid-row-gap: 15px !important;
}

div[id^='gform_confirmation_message_'] {
        text-align: center;
}

/* HEADER */

.menu_linkedin>a>i {
        font-size: 45px;
}

#container_header {
        height: fit-content !important;
}

#container_header {
        filter: drop-shadow(0px 0px 5px #00000030);
}

#conteneur_logo {
        -webkit-mask-image: url('/wp-content/uploads/2024/03/forme_decoupe_logo.png');
        -webkit-mask-size: 100% 100%;
        -webkit-mask-position: right top;
        -webkit-mask-repeat: no-repeat;
}

#container_header #logo_header_inferieur img {
        transition: all .5s;
        width: 125px !important;
        margin-left: 0 !important;
        opacity: 0;
}

#container_header.actif #logo_header_inferieur img {
        margin-left: 60px !important;
        width: 250px !important;
        opacity: 1;
}

#container_header.actif #menu-header-home>.elementor-widget-container {
        margin: 0;
}

#container_header #menu-header-home>.elementor-widget-container {
        transition: all .5s;
}

#container_header #menu-header-home {
        margin-left: 0;
        margin-right: auto;
}

#container_header #header_superieur {
        transition: all .5s;
}

#container_header.actif #header_superieur {
        margin-top: -120px;
}

.image_menu_ombre {
        transform: translate(50%, -50%);
}

.image_menu_ombre img {
        filter: drop-shadow(0px 0px 1px #251F1F30);
}

.colonne_mega-menu:hover .titre_colonne_mega-menu,
.colonne_mega-menu:hover .texte_colonne_mega-menu {
        transform: scale(0.95);
}

.colonne_mega-menu .titre_colonne_mega-menu,
.colonne_mega-menu .texte_colonne_mega-menu {
        transition: all .5s;
}

body.home #menu-header-home ul#menu-menu-header>li>.elementskit-megamenu-panel {
        top: auto !important;
        bottom: 95px;
        z-index: 1;
        box-shadow: 0px 0px 10px -5px #00000090;
}

#container_header.actif #menu-header-home ul#menu-menu-header>li>.elementskit-megamenu-panel {
        top: 95px !important;
        bottom: auto !important;
}

#container_header #menu-header-home ul#menu-menu-header>li:has(div.elementskit-megamenu-panel)>a::before {
        content: '';
        display: block;
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%) translateY(-70%);
        height: 75px;
        width: 75px;
        background-image: url(/wp-content/uploads/2024/03/forme_titre.png);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        opacity: 0;
        transition: all .5s;
}

#container_header #menu-header-home ul#menu-menu-header>li:has(div.elementskit-megamenu-panel):hover>a::before {
        opacity: 1;
}

#container_header.actif #menu-header-home ul#menu-menu-header>li:has(div.elementskit-megamenu-panel)>a::before {
        bottom: 0 !important;
        top: auto !important;
        transform: translateX(-50%) translateY(70%) !important;
}

body:not(.home) #container_header #menu-header-home ul#menu-menu-header>li:has(div.elementskit-megamenu-panel)>a::before {
        bottom: 0 !important;
        top: auto !important;
        transform: translateX(-50%) translateY(70%) !important;
        z-index: 150;
}

#container_header #menu-header-home ul#menu-menu-header>li:has(div.elementskit-megamenu-panel)>a {
        z-index: 1000;
}

#menu-header-home ul#menu-menu-header>li:not(:last-child)>a::after {
        content: '';
        height: 20px;
        width: 20px;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateX(50%) translateY(-50%);
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        background-image: url('/wp-content/uploads/2024/03/forme_titre.png');
}

#menu-menu-header>li>a:hover {
        color: var(--e-global-color-primary);
}

#menu-header-home ul#menu-menu-header>li.menu_linkedin>a::after {
        display: none !important
}

#icone_rs_header .elementor-social-icons-wrapper {
        display: flex;
        flex-direction: column;
}

/* HOME */

#slider_home .videos_home {
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        height: 120vh !important;
        width: 120vw !important;
        object-fit: cover !important;
        object-position: center !important;
}

#slider_home .n2-ss-layers-container {
        max-width: none !important;
}

#slider_home .n2-ss-layers-container>.n2-ss-layer {
        padding: 0 !important;
}

#slider_home .bloc_slider_top_right {
        left: auto !important;
        right: 0 !important;
        transform: none !important;
        width: fit-content !important;
}

#slider_home .texte_slider {
        -webkit-text-stroke: 3px #FFFFFF70;
        white-space: nowrap;
        display: flex;
        max-width: none !important;
        width: 100vw;
}

#slider_home .texte_slider p {
        color: transparent !important;
        white-space: nowrap;
        overflow: hidden;
        position: relative;
        animation: marquee 10s linear infinite; /* Vous pouvez ajuster la durée (5s) selon vos préférences */
}
    
@keyframes marquee {
        0% { left: 100%; }
        100% { left: -100%; }
}

#slider_home,
#slider_home>.elementor-widget-container,
#slider_home>.elementor-widget-container>.elementor-shortcode,
#slider_home>.elementor-widget-container>.elementor-shortcode>.n2_clear,
#slider_home>.elementor-widget-container>.elementor-shortcode>.n2_clear>ss3-force-full-width,
#slider_home>.elementor-widget-container>.elementor-shortcode>.n2_clear>ss3-force-full-width>.n2-section-smartslider,
#slider_home>.elementor-widget-container>.elementor-shortcode>.n2_clear>ss3-force-full-width>.n2-section-smartslider>#n2-ss-2-align,
#slider_home>.elementor-widget-container>.elementor-shortcode>.n2_clear>ss3-force-full-width>.n2-section-smartslider>#n2-ss-2-align>.n2-padding,
#slider_home>.elementor-widget-container>.elementor-shortcode>.n2_clear>ss3-force-full-width>.n2-section-smartslider>#n2-ss-2-align>.n2-padding>#n2-ss-2 {
        height: 100% !important;
}

span.texte_rouge {
        color: var(--e-global-color-primary);
}

span.texte_noir {
        color: black;
}

.cadres_secteurs {
        overflow: hidden !important;
}

.forme_grise::before,
.forme_rouge::before {
        content: "" !important;
        background-size: contain;
        background-position: top right;
        background-repeat: no-repeat;
        position: absolute !important;
        right: 10px !important;
        top: 10px !important;
        left: auto !important;
        height: 35px !important;
        width: 35px !important;
        display: block !important;
}

.forme_grise::before {
        background-image: url('/wp-content/uploads/2024/03/forme_grise.png');
}

.forme_rouge::before {
        background-image: url('/wp-content/uploads/2024/03/forme_titre.png');
}

.bloc_survol:not(.bloc_contact):hover .forme_grise::before {
        background-image: url('/wp-content/uploads/2024/03/forme_titre.png');
}

.bloc_survol,
.bloc_survol img,
.bloc_survol .image_survol {
        transition: all .5s !important;
}

.bloc_survol:hover {
        transform: scale(0.95);
}

.bloc_survol img {
        object-position: top;
}

.bloc_survol .image_survol {
        opacity: 0;
}

.bloc_survol:hover .image_survol {
        opacity: 1 !important;
}

#bouton_contact_single span.elementor-button-text,
#bouton_realisations_home span.elementor-button-text,
#bouton_actualites_home span.elementor-button-text {
        padding-top: 2px;
}

#bouton_contact_single a .elementor-button-icon,
#bouton_realisations_home a .elementor-button-icon,
#bouton_actualites_home a .elementor-button-icon {
        transition: all .5s;
}

#bouton_contact_single a:hover .elementor-button-icon,
#bouton_realisations_home a:hover .elementor-button-icon,
#bouton_actualites_home a:hover .elementor-button-icon {
        margin-right: 20px;
}

#bouton_contact_single a {
        float: center;
}

.titre_article_boucle>.elementor-widget-container::before,
.titre_article_boucle>.elementor-widget-container::after {
        content: '';
        display: block;
        height: 0px;
        width: 0px;
        background-size: contain;
        background-position: center center;
        background-repeat: no-repeat;
        margin-left: 0;
        transition: all .5s;
}

.titre_article_boucle {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
}

.titre_article_boucle>.elementor-widget-container::before {
        background-image: url('/wp-content/uploads/2024/03/groupe_forme_boucle_haut.png');
        order: -2;
}

.titre_article_boucle>.elementor-widget-container::after {
        order: -1;
        background-image: url('/wp-content/uploads/2024/03/groupe_forme_boucle_bas.png');
        margin-top: -15px;
        margin-bottom: 15px;
        transition: all .5s;
}

.bloc_actu_boucle:hover .titre_article_boucle>.elementor-widget-container::after {
        margin-bottom: 0;
}

.titre_article_boucle>.elementor-widget-container {
        width: fit-content;
        display: flex;
        flex-direction: column;
}

.titre_article_boucle>.elementor-widget-container>span {
        width: 100%;
}

.bloc_actu_boucle:hover .titre_article_boucle>.elementor-widget-container>span {
        margin-top: -10px;
}

.bloc_actu_boucle:hover .titre_article_boucle>.elementor-widget-container::before,
.bloc_actu_boucle:hover .titre_article_boucle>.elementor-widget-container::after {
        height: 25px;
        width: 35px;
}

/* PAGES INTER */

.bloc_sous_titre_inter {
        transform: translateY(-50%);
}

.signe_plus_inter {
        transform: translate(-50%, -50%);
}

.plan_du_site ul>li {
        position: relative;
        padding-left: 25px;
}

.plan_du_site ul {
        padding-inline-start: 0px;
}

.plan_du_site ul.elementor-sitemap-partenaire-list>li>a {
        pointer-events: none !important;
}

.plan_du_site ul>li::before {
        background-image: url('/wp-content/uploads/2024/03/forme_titre.png');
        background-size: contain;
        background-position: center right;
        background-repeat: no-repeat;
        display: block;
        position: absolute;
        content: "";
        height: 15px;
        width: 15px;
        left: 0;
}

#texte_politique h2:first-child {
        margin-top: 0 !important;
}

#titre404 span>a {
        transition: all .5s;
}

#titre404 span>a:hover {
        color: var(--e-global-color-primary);
}

#texte_politique {
        padding-top: 40px;
}

.boucle_actus_inter .elementor-loop-container {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
}

.boucle_actus_inter .elementor-loop-container>div[data-elementor-type="loop-item"]:first-of-type {
        width: 100%;
}

.boucle_actus_inter .elementor-loop-container>div[data-elementor-type="loop-item"]:not(:first-of-type) {
        width: calc((100% / 3) - 20px);
}

.carousel_inter .swiper-slide figure,
.carousel_inter .swiper-slide figure>img {
        height: 100%;
        width: 100%;
        object-fit: cover;
}

.filtre_taxo .sous_filtres {
        position: absolute;
        left: 50%;
        transform: translateX(-50%) rotateX(90deg);
        transform-origin: bottom;
        bottom: 100%;
        overflow: hidden;
        transition: all .5s;
        display: flex;
        flex-direction: column;
        justify-content: center;
        flex-wrap: wrap;
        background-color: white;
        width: 100%;
}

.filtre_taxo .groupe_de_filtres_expertises,
.filtre_taxo .groupe_de_filtres_secteurs {
        position: relative;
}

.filtre_taxo .groupe_de_filtres_expertises:hover>.sous_filtres,
.filtre_taxo .groupe_de_filtres_secteurs:hover>.sous_filtres {
        transform: translateX(-50%) rotateX(0deg);
}

.boutons_filtres a {
        width: 100% !important;
}

#conteneur_filtres_expertises #sous_conteneur_expertises,
#conteneur_filtres_secteurs #sous_conteneur_secteurs {
        overflow: hidden;
        transform: rotateX(90deg);
        transform-origin: bottom;
        transition: all .5s;
        position: absolute;
        bottom: 100%;
        left: 0%;
        z-index: 150;
}

#conteneur_filtres_expertises:hover #sous_conteneur_expertises,
#conteneur_filtres_secteurs:hover #sous_conteneur_secteurs {
        transform: rotateX(0deg);
}

.boutons_filtres:not(#bouton_secteurs):not(#bouton_expertises) {
        cursor: pointer;
}

/* FOOTER */

#bouton_footer_contact span.elementor-button-text {
        padding-top: 2px;
}

#bouton_footer_contact a .elementor-button-icon {
        transition: all .5s;
}

#bouton_footer_contact a:hover .elementor-button-icon {
        margin-right: 20px;
}

.horaires_footer {
        display: flex;
}

.horaires_footer::before {
        content: "";
        background-image: url('/wp-content/uploads/2024/03/forme_titre.png');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center right;
        display: block;
        width: 12px;
        height: 12px;
        margin-right: 2px;
}

#container_map_footer {
        -webkit-mask-image: url('/wp-content/uploads/2024/03/forme_map_footer.png');
        -webkit-mask-size: cover;
        -webkit-mask-position: bottom left;
        -webkit-mask-repeat: no-repeat;
}

#image_formes_footer {
        transform: translateX(-50%);
        height: 50%;
}

#map_footer,
#map_footer iframe {
        height: 60vh;
}

/* MEDIA QUERIES */

        /* MEDIA QUERIES HEADER */

                /* HEADER ACTIF / SCROLL */

                @media screen and (min-width: 1025px) and (max-width: 1845px) {
                        #container_header.actif #menu-header-home #menu-menu-header>li>a {
                                font-size: 18px;
                        }
                }

                @media screen and (min-width: 1025px) and (max-width: 1720px) {
                        #container_header.actif #menu-header-home #menu-menu-header>li>a {
                                padding: 0 20px 0 20px;
                        }
                }

                @media screen and (min-width: 1025px) and (max-width: 1670px) {
                        #container_header.actif #menu-header-home #menu-menu-header>li>a {
                                padding: 0 15px 0 15px;
                        }
                }

                @media screen and (min-width: 1025px) and (max-width: 1620px) {
                        #container_header.actif #menu-header-home #menu-menu-header>li>a {
                                padding: 0 12px 0 12px;
                        }
                }

                @media screen and (min-width: 1025px) and (max-width: 1605px) {
                        #container_header.actif #menu-header-home #menu-menu-header>li>a {
                                font-size: 16px;
                        }
                }

                @media screen and (min-width: 1025px) and (max-width: 1455px) {
                        #container_header.actif #menu-header-home #menu-menu-header>li>a {
                                padding: 0 11px 0 11px;
                        }
                }

                @media screen and (min-width: 1025px) and (max-width: 1450px) {
                        #container_header.actif #menu-header-home #menu-menu-header>li>a {
                                font-size: 14px;
                        }
                }

                @media screen and (min-width: 1025px) and (max-width: 1370px) {
                        #container_header.actif #logo_header_inferieur img {
                                width: 150px !important;
                        }
                }

                @media screen and (min-width: 1025px) and (max-width: 1270px) {
                        #container_header.actif #bouton_contact_header span.elementor-button-text {
                                font-size: 14px !important;
                        }

                        #container_header.actif #icone_rs_header a svg {
                                height: 0.5em !important;
                                width: 0.5em !important;
                        }
                        
                        #container_header.actif #icone_rs_header a {
                                --icon-padding: 2px !important;
                        }
                }

                @media screen and (min-width: 1025px) and (max-width: 1225px) {
                        #container_header.actif #logo_header_inferieur img {
                                margin-left: 10px !important;
                        }
                        
                        #container_header.actif #header_inferieur {
                                padding-right: 10px;
                        }
                }


                @media screen and (min-width: 1025px) and (max-width: 1125px) {
                        #container_header.actif #bouton_contact_header a {
                                padding: 10px 10px 10px 10px;
                        }
                }

                @media screen and (min-width: 1025px) and (max-width: 1080px) {
                        #container_header.actif #menu-header-home #menu-menu-header>li>a {
                                padding: 0 12px 0 12px;
                        }
                }

                @media screen and (min-width: 1025px) and (max-width: 1060px) {
                        #container_header.actif #menu-header-home #menu-menu-header>li>a {
                                padding: 0 11px 0 11px;
                        }
                }

                @media screen and (min-width: 1025px) and (max-width: 1040px) {
                        #container_header.actif #menu-header-home #menu-menu-header>li>a {
                                padding: 0 10px 0 10px;
                        }
                }

                /* HEADER CLASSIQUE */

                @media screen and (min-width: 1025px) and (max-width: 1705px) {
                        #menu-header-home #menu-menu-header>li>a {
                                font-size: 20px;
                        }
                }

                @media screen and (min-width: 1025px) and (max-width: 1535px) {
                        #menu-header-home #menu-menu-header>li>a {
                                padding: 0 20px 0 20px;
                        }
                }

                @media screen and (min-width: 1025px) and (max-width: 1485px) {
                        #menu-header-home #menu-menu-header>li>a {
                                padding: 0 15px 0 15px;
                        }
                }

                @media screen and (min-width: 1025px) and (max-width: 1435px) {
                        #menu-header-home #menu-menu-header>li>a {
                                padding: 0 12px 0 12px;
                        }
                }

                @media screen and (min-width: 1025px) and (max-width: 1420px) {
                        #menu-header-home #menu-menu-header>li>a {
                                font-size: 17px;
                        }
                }

                @media screen and (min-width: 1025px) and (max-width: 1305px) {
                        #menu-header-home #menu-menu-header>li>a {
                                font-size: 15px;
                        }
                }

                @media screen and (min-width: 1025px) and (max-width: 1235px) {
                        #menu-header-home #menu-menu-header>li>a {
                                padding: 0 15px 0 15px;
                        }
                }

                @media screen and (max-width: 1220px) {
                        #container_header:not(.actif) #logo_header_inferieur {
                                width: 20px;
                        }
                }

                @media screen and (min-width: 1025px) and (max-width: 1115px) {
                        #bouton_contact_header span.elementor-button-text {
                                font-size: 14px !important;
                        }

                        #icone_rs_header a svg {
                                height: 0.5em !important;
                                width: 0.5em !important;
                        }
                        
                        #icone_rs_header a {
                                --icon-padding: 2px !important;
                        }

                        #header_inferieur {
                                padding-right: 20px;
                        }

                        #menu-header-home #menu-menu-header>li>a {
                                padding: 0px 13px 0px 13px;
                        }
                }

                @media screen and (min-width: 1025px) and (max-width: 1442px) {
                        #conteneur_logo {
                                --width: 100px;
                        }

                        #container-haut-header-logo {
                                --width: 230px;
                        }
                }

                @media screen and (max-width: 1600px) {
                        #image_formes_footer {
                                transform: translateX(-25%);
                        }
                }

                @media screen and (max-width: 1370px) {
                        #image_formes_footer {
                                transform: translateX(-8%);
                        }
                }

                @media screen and (max-width: 1024px) {
                        #container_header #bouton_contact_header span.elementor-button-text {
                                font-size: 14px !important;
                        }

                        #container_header #icone_rs_header a svg {
                                height: 0.5em !important;
                                width: 0.5em !important;
                        }
                        
                        #container_header #icone_rs_header a {
                                --icon-padding: 2px !important;
                        }

                        #container_header #bouton_contact_header a {
                                padding: 10px 10px 10px 10px;
                        }
                }

                /* HEADER INTER */

                @media screen and (min-width: 1024px) and (max-width: 1830px) {
                        body:not(.home) #menu-header-home #menu-menu-header>li>a {
                                font-size: 20px !important;
                        }
                }

                @media screen and (min-width: 1024px) and (max-width: 1805px) {
                        body:not(.home) #menu-header-home #menu-menu-header>li>a {
                                padding: 0 20px 0 20px;
                        }
                }

                @media screen and (min-width: 1024px) and (max-width: 1754px) {
                        body:not(.home) #menu-header-home #menu-menu-header>li>a {
                                padding: 0 15px 0 15px;
                        }
                }

                @media screen and (min-width: 1024px) and (max-width: 1655px) {
                        body:not(.home) #menu-header-home #menu-menu-header>li>a {
                                font-size: 17px !important;
                        }

                        body:not(.home) #container_header #menu-header-home>.elementor-widget-container {
                                margin-left: 10px !important;
                        }

                        body:not(.home) #menu-header-home #menu-menu-header>li>a {
                                padding: 0 25px 0 25px;
                        }
                        
                       

                }

                @media screen and (min-width: 1024px) and (max-width: 1560px) {
                        body:not(.home) #menu-header-home #menu-menu-header>li>a {
                                padding: 0 20px 0 20px;
                        }
                }
                
                @media screen and (min-width: 1024px) and (max-width: 1510px) {
                        body:not(.home) #menu-header-home #menu-menu-header>li>a {
                                padding: 0 15px 0 15px;
                        }
                        
                         
                }

                @media screen and (min-width: 1024px) and (max-width: 1460px) {
                        body:not(.home) #menu-header-home #menu-menu-header>li>a {
                                padding: 0 12px 0 12px;
                        }
                }

                @media screen and (min-width: 1024px) and (max-width: 1420px) {
                        body:not(.home) #menu-header-home #menu-menu-header>li>a {
                                font-size: 14px !important;
                        }
                }

                @media screen and (min-width: 1024px) and (max-width: 1300px) {
                        body:not(.home) #bouton_contact_header span.elementor-button-text {
                                font-size: 14px !important;
                        }

                        body:not(.home) #icone_rs_header a svg {
                                height: 0.5em !important;
                                width: 0.5em !important;
                        }
                        
                        body:not(.home) #icone_rs_header a {
                                --icon-padding: 2px !important;
                        }

                        body:not(.home) #header_inferieur {
                                padding-right: 20px !important;
                                padding-left: 20px !important;
                        }
                }

                @media screen and (min-width: 1024px) and (max-width: 1240px) {
                        body:not(.home) #logo_header_inferieur_inter img {
                                width: 175px !important;
                        }
                }

                @media screen and (min-width: 1024px) and (max-width: 1165px) {
                        body:not(.home) #menu-header-home #menu-menu-header>li>a {
                                padding-left: 13px;
                                padding-right: 13px;
                        }
                }

                @media screen and (min-width: 1024px) and (max-width: 1150px) {
                        body:not(.home) #logo_header_inferieur_inter img {
                                width: 150px !important;
                        }

                        body:not(.home) #bouton_contact_header a {
                                padding-left: 10px;
                                padding-right: 10px;
                        }
                }

                @media screen and (min-width: 1024px) and (max-width: 1045px) {
                        body:not(.home) #logo_header_inferieur_inter img {
                                width: 140px !important;
                        }

                        body:not(.home) #bouton_contact_header a {
                                padding-left: 8px;
                                padding-right: 8px;
                        }
                }

                @media screen and (min-width: 1024px) and (max-width: 1030px) {
                        body:not(.home) #bouton_contact_header a>.elementor-button-content-wrapper>span.elementor-button-text {
                                font-size: 12px !important;
                        }
                }
                
                @media screen and (min-width: 1024px) and (max-width: 1085px) {
                        body:not(.home) #menu-header-home #menu-menu-header>li>a {
                                font-size: 13px !important;
                        }
                }

                @media screen and (max-width: 1024px) {
                        body:not(.home) #bouton_contact_header a {
                                padding-left: 10px;
                                padding-right: 10px;
                        }

                        body:not(.home) #bouton_contact_header span.elementor-button-text {
                                font-size: 14px !important;
                        }

                        body:not(.home) #icone_rs_header a svg {
                                height: 0.5em !important;
                                width: 0.5em !important;
                        }
                        
                        body:not(.home) #icone_rs_header a {
                                --icon-padding: 2px !important;
                        }

                        body:not(.home) #logo_header_inferieur_inter img {
                                width: 200px !important;
                        }

                        #menu-header-home .elementskit-menu-overlay {
                                height: 100vh !important;
                        }

                        #menu-header-home ul#menu-menu-header>li>a::after {
                                content: '';
                                height: 20px;
                                width: 20px;
                                position: absolute;
                                right: -10px !important;
                                top: 50%;
                                transform: translateX(50%) translateY(-50%);
                                background-size: contain;
                                background-position: center;
                                background-repeat: no-repeat;
                                background-image: url('/wp-content/uploads/2024/03/forme_titre.png');
                        }
                }

        /* FIN MEDIA QUERIES HEADER */

/* MEDIA QUERIES CLASSIQUES */

@media screen and (max-width: 1024px) {
        #image_formes_footer {
                top: 100% !important;
                left: 0;
                right: auto !important;
                transform: translateX(0%);
        }

        #container_header #menu-header-home {
                margin-left: auto !important;
                margin-right: 0 !important;
        }

        #container_header {
                top: 0 !important;
                bottom: auto !important;
                position: fixed;
        }

        #container_header #header_inferieur #logo_header_inferieur img {
                width: 200px !important;
                opacity: 1 !important;
        }

        #container_header:not(.actif) #logo_header_inferieur {
                width: fit-content !important;
                opacity: 1 !important;
        }

        #ekit-megamenu-menu-header {
                height: 100vh !important;
        }

        #menu-menu-header {
                display: flex;
                flex-direction: row;
                flex-wrap: wrap;
                align-content: flex-start;
                justify-content: center;
                margin-top: 20px;
        }

        #menu-menu-header>li {
                width: 100%;
                display: flex;
                flex-direction: row;
                flex-wrap: wrap;
                justify-content: center;
        }

        #menu-menu-header>li>a {
                width: fit-content;
        }

        #ekit-megamenu-menu-header>.elementskit-nav-identity-panel>button.elementskit-menu-close.elementskit-menu-toggler {
                margin-top: 15px !important;
                margin-right: 20px !important;
                margin: 0;
                height: 40px;
                font-size: 18px;
                border: solid 2px var(--e-global-color-primary);
                transition: all .5s !important;
        }

        #ekit-megamenu-menu-header>.elementskit-nav-identity-panel>button.elementskit-menu-close.elementskit-menu-toggler:hover {
                background-color: transparent;
                color: var(--e-global-color-primary) !important;
        }

        #menu-header-home span.elementskit-menu-hamburger-icon {
                height: 3px !important;       
        }

        #menu-header-home button.elementskit-menu-hamburger.elementskit-menu-toggler {
                height: 40px !important;
        }

        #ekit-megamenu-menu-header>.elementskit-nav-identity-panel {
                padding-top: 0 !important;
        }

        #container_slider_home {
                height: 50vh !important;
        }

        #menu-menu-header>li>a {
                height: fit-content;
        }

        #menu-menu-header>li>a::before {
                display: none !important;
        }

        .boucle_actus_inter .elementor-loop-container>div[data-elementor-type="loop-item"]:not(:first-of-type) {
                width: calc((100% / 2) - 20px);
        }

        .carousel_inter .elementor-image-carousel-wrapper {
                height: 100%;
        }

        #container_header #menu-header-home ul#menu-menu-header>li>a .elementskit-submenu-indicator {
                position: absolute;
                left: 0;
                transform: translateX(-100%);
                color: white;
                border: none !important;
                padding: 0;
        }

        #container_header #menu-header-home ul#menu-menu-header>li>a {
                padding-left: 5px;
                padding-right: 5px;
        }

        #slider_home .bloc_slider_top_right {
                left: 50% !important;
                top: 50% !important;
                right: auto !important;
                transform: translate(-50%, -50%) !important;
        }

        #slider_home .videos_home {
                height: 50vh !important;
                width: 180vw !important;
        }
}

@media screen and (min-width: 769px) {
        .texte_deux_colonnes p {
                margin-top: 0 !important;
                margin-bottom: 0 !important;
        }
}

@media screen and (max-width: 768px) {
        .boucle_realisations div[data-elementor-type="loop-item"]:not(:first-of-type) {
                display: none !important;
        }

        #map_footer,
        #map_footer iframe {
                height: 40vh;
        }

        .boucle_actus_inter .elementor-loop-container>div[data-elementor-type="loop-item"]:not(:first-of-type) {
                width: 100%;
        }
        
        ss-word {display: math !important; position: relative; width: 500px !important;}
        div#n2-ss-2item4 {width: 500px !important;}
}

@media screen and (min-width: 1025px) {
        #container_slider_home {
                height: 100vh !important;
        }

        #bouton_contact_header {
                margin-right: auto;
        }

        .single_sticky {
                height: fit-content !important;
                position: sticky !important;
                top: 120px !important;
        }

        .single_actu_content p:first-child {
                margin-top: 0;
        }

        li.menu_contact,
        #menu-menu-header>li.menu_linkedin {
                display: none !important;
        }

        #menu-menu-header>li.menu_recrutement>a::after {
                display: none !important;
        }

        .boucle_actus_inter .elementor-loop-container>div[data-elementor-type="loop-item"]:first-of-type .bloc_actu_boucle img {
                height: 350px !important;
        }

        .carousel_inter .swiper-slide {
                height: 100vh !important;
                background-size: cover;
                background-position: center;
        }

        #container_header #menu-header-home ul#menu-menu-header>li>a .elementskit-submenu-indicator {
                display: none !important;
        }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
        .boucle_realisations div[data-elementor-type="loop-item"]:last-of-type {
                display: none !important;
        }
}

@media screen and (min-width: 1366px) and (max-width: 1630px) {
        .forme_grise .elementor-widget-heading span.elementor-heading-title {
                font-size: 12px;
        }

        .forme_grise .elementor-widget-heading h3 {
                font-size: 12px !important;
        }
}

@media screen and (min-width: 1451px) and (max-width: 1477px) {
.page-id-2 .elementskit-navbar-nav > li > a {padding: 0px 15px 0px 15px !important;}
}

@media screen and (min-width: 1320px) and (max-width: 1470px) {
        #slider_home .videos_home {
                height: 150vh !important;
                width: 150vw !important;
        }
}

@media screen and (min-width: 1220px) and (max-width: 1319px) {
        #slider_home .videos_home {
                height: 150vh !important;
                width: 150vw !important;
        }
}

@media screen and (min-width: 1025px) and (max-width: 1219px) {
        #slider_home .videos_home {
                height: 130vh !important;
                width: 200vw !important;
        }
}

