/*
Theme Name: Hello elementor Enfant
Description: Theme enfant de Hello elementor. Vous pouvez maintenant effectuer vos modifications en toute sécurité.
Author: WPMarmite
Author URI: https://wpmarmite.com
Template: hello-elementor
Version: 1.0
*/

html,body{
    overflow-x: hidden;
}



/* #tarteaucitronIcon,
#tarteaucitronAlertSmall { display: none !important; }

#tarteaucitron #tarteaucitronServices .tarteaucitronMainLine#tarteaucitronMainLineOffset{
	background: #020086 !important;
	border: none !important;
}


#tarteaucitronServices #tarteaucitronInfo{
	background-color: #020086 !important;
	border: none !important;
}
#tarteaucitronServices .tarteaucitronTitle button{
	background-color: #020086 !important;
}

#tarteaucitron #tarteaucitronClosePanel{
	background: #020086 !important;
}

#tarteaucitron #tarteaucitronServices #tarteaucitronMainLineOffset .tarteaucitronBorder .tarteaucitronTitle button.button{
	background: #020086 !important;
	background-color: #020086 !important;
}

#tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronClosePanelCookie, #tarteaucitron #tarteaucitronClosePanel, #tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesList .tarteaucitronTitle, #tarteaucitron #tarteaucitronServices .tarteaucitronTitle button, #tarteaucitron #tarteaucitronInfo, #tarteaucitron #tarteaucitronServices .tarteaucitronDetails{
		background: #020086 !important;
	background-color: #020086 !important;
}

body #tarteaucitronAllDenied2{
    background: #de071a;
}

#tarteaucitronRoot #tarteaucitronAlertBig{
	background: linear-gradient(178deg,#020086 0%,#020086 18%,rgba(255,255,255,1) 18.3%)!important;
}

#tarteaucitron #tarteaucitronServices #tarteaucitronAllDenied.tarteaucitronIsSelected, #tarteaucitron #tarteaucitronServices #tarteaucitronAllDenied:not(.tarteaucitronIsSelected), #tarteaucitron #tarteaucitronServices .tarteaucitronLine.tarteaucitronIsDenied .tarteaucitronDeny, #tarteaucitronAllDenied2{
	background: #DE0B1A !important;
	background-color: #DE0B1A !important;
} */

/* Documents */
.elementor-widget-elementskit-image-box {
	max-width: 267px!important;
}

.ekit-wid-con .elementskit-info-image-box.floating-style .elementskit-box-body {
	padding: 15px!important;
}

/* Filtres articles */

.filter-menu li.menu-item {
	padding: 10px!important;
}

.filter-menu .sub-menu li.menu-item {
	padding: 0px!important;
}

.filter-menu a.elementor-item {
	background-color:white;
	border-radius: 15px;
	padding: 0px 20px 0px 20px!important;
}

/* megamenu */

.position-unset{
    position: unset !important;
}
.position-unset > .elementor-widget-wrap{
    position: unset !important;
}
.position-unset > .elementor-widget-wrap > .elementor-widget-shortcode{
    position: unset !important;
}
.menu_header_container{
    display: flex;
    flex-direction: row;
    gap: 3rem;
    position: relative;
}
.container_categories:hover{
    display: block;
}
.container_categories{
    position: absolute;
    top: calc(100% - 1px);
    left: 0;
    width: 100%;
    z-index: 2000;
    padding: 40px 20px;
    background-color: white;
    display: none;
    margin-top: 10px;
}

.megamenu_custom{
    display: flex;
    flex-direction: row;
    gap: 3rem;
    display: none;
}

.menu-lv1 > a{
    padding: 0 1.5rem;
    color: #020086;
    font-family: "Miriam Libre", Sans-serif;
    font-weight: 600;
    font-size: 22.25px;
}
.menu-lv1:hover .container_categories{
    display: block;
}
.menu-lv1:hover > a{
    color: #DE0B1A;
}

.categorie{
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 3rem;
    justify-content: start;
}
.categorie > a{
    flex: 0 25%;
    text-align: center;

}
.megamenu_custom .categorie_link a{
    text-align: center;
}
.megamenu_custom .categorie_link{
    flex: 50%;
    max-width: 50%;
}
.megamenu_custom .products{
    gap: 10px;
    display: flex;
}
.categorie_link > a{
    padding: 10px 30px;
    font-size: 18px;
    font-family: "Miriam Libre", sans-serif;
    color: #102031;
    border-radius: 10px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    
}
.categorie_link > a:hover{
    background-color: #DE0B1A;
    color: white;
}
.categorie_link:hover + .products_container {
    display: flex;
}
.categorie > .products_container:hover{
    display: flex;
}

.categorie > .products_container{
    flex: 0 30%;
    position: absolute;
    height: auto;
    left: 49%;
    top: 0;
    z-index: 10;
    /* transform: translateY(-50%); */
    padding: 0 30px;
    height: 100%;
    align-items: center;
    height: auto;

}
.container_inner{
    position: relative;
    gap: 10px;
    flex-direction: row;
    display: flex;


}
.megamenu_custom .categories{
    flex: 0 50%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 20px;

}
.megamenu_custom .container_inner > .image{
    flex: 0 50%;
    display: flex;
    justify-content: center;
    align-items: start;
    
}

.products{
    flex-direction: column;
}

.megamenu_custom .product{
    flex-direction: row;
    display: flex;
    flex: 0 50%;
    align-items: center;
}

.megamenu_custom .product > .link_container{
    flex-direction: row;
    display: flex;
    width: 100%;
}
.megamenu_custom .link_product{
    width: 100%;
    flex: 0 100%;
    justify-content: center;
    display: flex;
    text-align: center;
}
.megamenu_custom .link_product:hover{
    background-color: #DE0B1A;
    color: white;
}

.megamenu_custom .product a{
    font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;
    font-weight: 400;
    font-size: 16px;
    color: #102031;
    padding: 10px;
    background-color: #D2D4D8;
    border-radius: 10px;
}
.megamenu_custom .image img{
    object-fit: cover;
    border-radius: 20px;
    padding: 10px;
    visibility: hidden;
    border: 1px solid #DE0B1A;
    object-fit: contain;
    max-width: 400px;
    max-height: 400px;
}

.megamenu_custom.open{
    display: block;
    height: calc(100vh - 100px);
    overflow-y: scroll;
    overflow-x: hidden;
}
.background-color{
    display: block;
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 200%;
    transform: translateX(-25%);
    height: calc(100vh + 2rem);
    max-height: 80vh;
    background-color: white;
    border-top: 1px solid #DE071A ;
}
@media screen and (min-width: 992px) {

    .megamenu_custom .categories{
        max-height: calc(100vh - 200px);
    /* overflow-y: auto; */
    }
    .background-color{
        max-height: calc(80vh);
        overflow-y: auto;
    }
    .megamenuControl{
        display: none !important;
    }
    .categorie > .products_container{
        display: none;
        width: 100%;
        height: 100%;
        max-width: 50%;
        align-items: start;
    }
    .megamenu_custom{
        display: flex;
        
    }
    .openMegamenu{
        display: none;
        
    display: flex;
    justify-content: end;

    }

    .megamenu_header_class,
    .megamenu_header_class .elementor-widget-container,
    .megamenu_header_class .elementor-shortcode,
    .megamenu_header_class .megamenu_custom,
    .megamenu_header_class .menu-lv1{
        height: 100%;
    }

    .megamenu_header_class .menu-lv1{
        display: flex;
        align-items: center;
    }
    .container_inner{
        max-height: calc(80vh - 80px);
        height: 100vh;
        overflow-y: auto;
    }

}

.closeMegamenu{
    display: none;
}
.megamenuControl.open .closeMegamenu{
    display: block;
}
.megamenuControl.open .openMegamenu{
    display: none;
}
.megamenuControl{
    display: flex;
    justify-content: end;
}
.megamenu_custom_inner{
    display: flex;
    flex-direction: row;
    justify-content: end;
    width: 100%;
    
    /* gap: 3rem; */
}
.wpml-ls-legacy-dropdown{
    font-family: "Miriam Libre", sans-serif;
    font-size: 16px;
    color: white;
    font-weight: 700 !important;
    padding: 4px 0;
    border-radius: 8px;
    width: 60px !important;
    
}
.wpml-ls-legacy-dropdown span{
    color: white !important;
}
.js-wpml-ls-item-toggle {
    border-radius: 8px;
    color: white;
    background: #DE0B1A !important;
    border: none !important;
}
.blue_dropdown .js-wpml-ls-item-toggle{
    background: #00124D!important;
}
.wpml-ls-legacy-dropdown .wpml-ls-sub-menu a{
    border-width: 0 !important;
}

.wpml-ls-legacy-dropdown .wpml-ls-sub-menu{
    border-top: none !important;
}

.wpml-ls-item a{
    background: #DE0B1A!important;
}
.blue_dropdown .wpml-ls-item a{
    background: #00124D!important;
}

.wpml-ls-legacy-dropdown a.wpml-ls-item-toggle:after{
    color: white;
}

@media screen and (max-width: 991px) {
    .menu-lv1{
        width: 100%;
        text-align: center;
    }
    .megamenu_custom_inner{
        flex-direction: column;
        
    }
    .megamenu_custom{
        position: absolute;
    z-index: 10000;
    max-height: 100vh;
    
    top: 100%;
    left: -20px;
    background-color: white;
    width: calc(100% + 40px);
    display: none;
    flex-direction: column;
    align-items: center;
    }
    .megamenu_custom_inner{
        
        width: 100%;
        
    }
    .container_categories{
        display: flex; 
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        position: relative;
    }
    .categorie{
        width: 100%;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    .container_inner{
        width: 100%;
    }
    .megamenu_custom .container_inner > .image{
        display: none !important;
        flex: 0 !important;
    }
    .megamenu_custom .categories{
        flex: 100% !important;
        align-items: center;
    }
    .megamenu_custom .categories .categorie > .products_container{
        display: block !important;
        position: relative;
        flex: 100%;
        width: 100%;
        left: 0;
        top: 0;
    }
}

.manage_cookies{
	cursor: pointer;
}


.Button_outer_normal {
    background: rgb(222, 7, 26) !important;
}
.sc_sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}
.sc_sidebar_viewer > div {
    height: 100%;
}
.sc_sidebar .SC3DActions {
    display: flex;
    gap: 20px;
    justify-content: space-between;
}
.SCCADFormatMenu select {
    padding: 0 10px;
}

.elementor img {
    width: 100%;
}