/* 
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
*/

body {
    font-family: "Source Sans Pro", sans-serif;
}

/* ==================================== */
/* ============== HEADER ============== */
/* ==================================== */

/* SEARCH FORM */

.elementor-widget-search-form .elementor-widget-container .elementor-search-form .elementor-search-form__toggle .e-font-icon-svg-container {
    background: transparent;
    position: relative;
}

.elementor-widget-search-form .elementor-widget-container .elementor-search-form .elementor-search-form__toggle .e-font-icon-svg-container:before,
.elementor-widget-search-form .elementor-widget-container .elementor-search-form .elementor-search-form__toggle .e-font-icon-svg-container:after {
    content: "";
    display: block;
    position: relative;
}

.elementor-widget-search-form .elementor-widget-container .elementor-search-form .elementor-search-form__toggle .e-font-icon-svg-container:before {
    width: 18px;
    height: 18px;
    border-radius: 20px;
    border: 1px solid #FFF;
    top: 1px;
    left: 1px;
    transform: none;
}

.elementor-widget-search-form .elementor-widget-container .elementor-search-form .elementor-search-form__toggle .e-font-icon-svg-container:after {
    width: 6px;
    height: 1px;
    background-color: #FFF;
    top: 1px;
    left: 15px;
    transform: rotate(45deg);
}

.elementor-widget-search-form .elementor-widget-container .elementor-search-form .elementor-search-form__toggle .e-font-icon-svg-container svg {
    opacity: 0;
}

/* MINI CART */

.elementor-location-header .elementor-widget-ucaddon_woo_mini_cart_ax .ue-mini-cart_wrapper .ue_mini_cart_toggle {
    padding-left: 0;
    padding-right: 0;
}

/* STICKY */
.elementor-location-header {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 99;
    transform: translateY(0%);
    transition: transform 0.3s;
}

.elementor-location-header.down {
    transform: translateY(-100%);
}

body:not(.home) .elementor-location-header,
.elementor-location-header.scrolled {
    background-color: #FFF;
}

.elementor-location-header.scrolled {
    box-shadow: 0 0 18px rgba(0, 0, 0, 0.1);
}

@media (min-width: 1025px) {
    #main-header.open {
        background-color: var(--e-global-color-primary);
    }

    #main-header.open .ue-menu > li > a {
        color: #FFF;
    }

    .elementor-location-header #main-menu,
    .elementor-location-header #main-menu .ue-nav-menu,
    .elementor-location-header #main-menu .ue-menu,
    .elementor-location-header #main-menu li.menu-item-has-children {
        position: static;
    }
    .elementor-location-header #main-menu .ue-menu > li > .sub-menu,
    .elementor-location-header #main-menu .ue-menu > li:hover > .sub-menu {
        visibility: hidden;
        opacity: 0;
        width: 100%;
        left: 0;
        padding: 40px 56px;
        background: url(./images/submenu-top-left.svg) no-repeat top left, url(./images/submenu-botom-right.svg) no-repeat bottom right;
        background-color: var(--e-global-color-primary);
        display: none;
    }
    .elementor-editor-active .elementor-location-header #main-menu .ue-menu > li > .sub-menu {
        z-index: -99;
    }
    .elementor-location-header #main-menu .ue-menu > li > .sub-menu:not(.open) .sub-menu {
        pointer-events: none;
    }
    .elementor-location-header #main-menu .ue-menu > li > .sub-menu .sub-menu,
    .elementor-location-header #main-menu .ue-menu > li > .sub-menu .sub-menu li,
    .elementor-location-header #main-menu .ue-menu > li > .sub-menu .sub-menu li a {
        visibility: hidden;
        opacity: 0;    
        transition: all 0.3s ease-in-out;
    }
    .elementor-location-header #main-menu .ue-menu > li > .sub-menu.open,
    .elementor-location-header #main-menu .ue-menu > li > .sub-menu.open .sub-menu,
    .elementor-location-header #main-menu .ue-menu > li > .sub-menu.open .sub-menu li,
    .elementor-location-header #main-menu .ue-menu > li > .sub-menu.open .sub-menu li a {
        visibility: visible;
        opacity: 1;
    }
    .elementor-location-header #main-menu .ue-menu > li:not(.full-width) > .sub-menu {
        padding: 40px 24px;
    }
    .elementor-location-header #main-menu .ue-menu > li > .sub-menu > li > a {
        padding: 0;
    }
    .elementor-location-header #main-menu .ue-menu > li.full-width > .sub-menu > li > a {
        font-weight: 700;
        font-size: 32px;
    }
    .elementor-location-header #main-menu .ue-menu > li > .sub-menu > li.menu-item-has-children > a > .ue-nav-menu-icon {
        display: none !important;
    }
    .elementor-location-header #main-menu .ue-menu > li > .sub-menu a {
        color: var(--e-global-color-c8c8098);
    }
    .elementor-location-header #main-menu .ue-menu > li > .sub-menu > li > .sub-menu {
        position: static;
        visibility: visible;
        opacity: 1;
    }
    .elementor-location-header #main-menu .ue-menu > li.full-width > .sub-menu > li:not(.close) {
        display: flex;
        align-items: flex-start;
        gap: 56px;
        width: 100%;
        max-width: 1227px;
        margin: auto;
    }
    .elementor-location-header #main-menu .ue-menu > li.full-width > .sub-menu > li > .sub-menu {
        flex-grow: 1;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 32px;
    }
    .elementor-location-header #main-menu .ue-menu > li.full-width > .sub-menu > li > .sub-menu a {
        padding: 0;
        display: flex;
        gap: 16px;
        flex-direction: column;
        align-items: flex-start;
        font-size: 20px;
        font-weight: 600;
        font-family: var(--e-global-typography-primary-font-family);
    }
    .elementor-location-header #main-menu .ue-menu > li.full-width > .sub-menu > li > .sub-menu a .menu-item-description {
        font-size: 16px;
        font-weight: 300;
        text-transform: none;
    }
    .elementor-location-header #main-menu .ue-menu .close {  
        position: absolute;
        z-index: 103;
        top: 35px;
        right: 56px; 
        display: block;
        width: 24px;
        height: 24px;
        cursor: pointer;
    }
    .elementor-location-header #main-menu .ue-menu .close a {  
        font-size: 0 !important;
        display: block;
        width: 24px;
        height: 24px;
        pointer-events: none;
    }
    .elementor-location-header #main-menu .ue-menu .close a:before {
        transform: rotate(45deg);
    }
    .elementor-location-header #main-menu .ue-menu .close a:after {
        transform: rotate(-45deg);
    }
    .elementor-location-header #main-menu .ue-menu .close a:before,
    .elementor-location-header #main-menu .ue-menu .close a:after {
        content: "";   
        display: block;
        position: absolute;
        top: 12px;
        left: -2px;
        transform-origin: center center;
        width: 30px;
        height: 2px;
        background-color: #fff;
    }
    .elementor-location-header #main-menu .ue-menu .mobile {
        display: none;
    }
}

@media (max-width: 1024px) {
    .elementor-location-header #main-menu .ue-menu .desktop {
        display: none;
    }
    #main-header .ue-menu.uc-mobile {
        gap: 0;
        padding: 24px;
        background-color: #FFF;
    }
    #main-header .ue-menu > li {
        border-top: 1px solid #D9D9D6;
    }
    #main-header .ue-menu > li > a {
        padding: 20px 24px;
        justify-content: space-between;
        font-size: 16px;
    }
    #main-header .ue-menu > li > a .ue-nav-menu-icon {
        transition: transform 0.3s;
    }
    #main-header .ue-menu > li > a:not(.uc-active) .ue-nav-menu-icon {
        transform: rotate(-90deg);
    }
    #main-header .ue-menu > li > a.uc-active + .sub-menu > li > a {
        display: none;
    }
    #main-header .ue-menu > li > a.uc-active + .sub-menu > li > a + .sub-menu {
        display: block !important;
    }
    #main-header .ue-menu > li > a.uc-active + .sub-menu > li > a + .sub-menu a {
        border-top: 1px solid #D9D9D6;
        padding: 16px 24px;
        color: var(--e-global-color-primary);
        font-size: 14px;
    }
    #main-header .ue-menu .menu-item-description {
        display: none !important;
    }
}

@media (min-width: 1193px) {
    .elementor-location-header #main-menu .ue-menu > li:not(.full-width) > .sub-menu {
        padding: 40px calc(50vw - 572.5px);
    }
}

/* ==================================== */
/* ============== LAYOUT ============== */
/* ==================================== */

::-webkit-scrollbar {
  width: 8px; 

}

::-webkit-scrollbar-track {
  background-color: white; 
}

::-webkit-scrollbar-thumb {
  background-color: var(--e-global-color-primary); 
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--e-global-color-primary) white; 
}

.woocommerce-breadcrumb .sep {
    font-weight: 300;
    color: #000;
}

@media (max-width: 768px) {
    .woocommerce-breadcrumb,
    .woocommerce-breadcrumb a {
        font-size: 12px  !important;
    }
}
/*
 
.elementor-widget-theme-post-content p + p,
.elementor-widget-text-editor p + p {
    margin-top: 16px;
}

.elementor-location-header + div .elementor-widget-theme-post-content p,
.elementor-location-header + div .elementor-widget-text-editor p {
    line-height: 1.5;
}

.elementor-location-header + div .elementor-widget-text-editor p a {
    text-decoration: underline;
        color: var(--e-global-color-primary);
}

.elementor-widget-heading .elementor-heading-title {
    color: #302B2B;
}

.title-line .elementor-heading-title:after {
    content: "";
    display: block;
    margin-top: 16px;
    background: url("./images/line.svg") no-repeat left bottom;
    background-size: 100% auto;
    aspect-ratio: 363 / 5;
}

*/

/* ==================================== */
/* ============= BUTTON =============== */
/* ==================================== */

.elementor-button-icon {    
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ==================================== */
/* =============== FORM =============== */
/* ==================================== */

select {
    appearance: none;
    border: none;
    height: 43px;
    padding-right: 30px;
    background: url('./images/select.svg') #FFFFFF center right 20px no-repeat;
    background-size: 10px auto;
    box-shadow: 0px 0px 5px 2px rgba(0, 0, 0, 0.04);
}

.select-container select {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    opacity: 0;
}

.select-container select.hide + .select-stylized {
    display: none !important;
}

.select-container .select-stylized {
    position: relative;
    z-index: 2;
    font-size: 16px;
    font-weight: bold;
    color: var(--e-global-color-primary);
}

.select-container .select-stylized.open {
    z-index: 4;
}

.select-container .select-stylized > span {
    display: block;
    padding: 0 24px;
    background: #FFF url('data:image/svg+xml,<svg width="14" height="8" viewBox="0 0 14 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M12.6666 0.656854L7.00977 6.31371L1.35291 0.656854" stroke="%23013181" stroke-linecap="round"/></svg>') no-repeat right 24px center;
    height: 35px;
    line-height: 35px;
    text-overflow: ellipsis;
    overflow: hidden;
    cursor: pointer;
}

.select-container .select-stylized ul {
    position: absolute;
    padding-left: 0;
    z-index: 3;
    width: 100%;
    top: 100%;
    left: 0;
    background-color: #FFF;
    list-style: none;
    display: none;
    max-height: 50vh;
    overflow: auto;
}

.select-container .select-stylized.open ul {
    display: block;
}

.select-container .select-stylized ul li {
    padding: 8px 24px;
    line-height: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.select-container .select-stylized ul li:hover {
    background-color: rgba(0,0,0,0.05);
}

.frm_forms fieldset {
    margin: 0;
    padding: 0;
    border: none;
}

.frm_section_heading h3 {
    position: relative;
    margin: 0 0 20px 0;
    padding: 15px;
    background-color: var(--e-global-color-primary);
    font-family: "Raleway";
    font-weight: 600;
    font-size: 16px;
    line-height: 1.3;
}

.frm_section_heading h3 svg {
    display: none !important;
}

.frm_section_heading h3:after {
    content: "";
    position: absolute;
    top: calc(50% - 7px);
    right: 15px;
    display: block;
    height: 14px;
    width: 14px;
    border-top: 1px solid #013181;
    border-right: 1px solid #013181;
    transform: rotate(45deg);
    opacity: 1;
    transition: opacity 0.3s;
}

.frm_section_heading h3.active:after {
    opacity: 0;
}

.frm_toggle_container {
    padding: 0px 0 24px;
    grid-gap: 24px;
}

.frm_primary_label {
    margin: 4px 0 20px;
    font-size: 20px;
    font-weight: 600;
}

.frm_input_group {
    position: relative;
}

.frm_inline_box {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
}

input[type=date], input[type=email], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=url], select, textarea {
    padding: 9px 24px;
    border: none;
    background-color: #FFF;
    border-radius: 0;
}

input[data-frmmask] {
    letter-spacing: 2px;
}

.frm_checkbox {
    padding: 25px 0;
}

.frm_checkbox label {
    position: relative;
    padding-left: 35px; 
    cursor: pointer;
    line-height: 1.4;
}

.frm_checkbox input[type="checkbox"] {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
}

.frm_checkbox input[type="checkbox"]::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    width: 24px;
    height: 24px;
    background-color: #fff;
    box-sizing: border-box;
}

.frm_checkbox input[type="checkbox"]::after {
    content: '\2713'; 
    font-size: 20px; 
    color: var(--e-global-color-primary); 
    position: absolute;
    left: 6px;
    top: 2px; 
    opacity: 0;
    transition: opacity 0.2s;
    line-height: 1;
}

.frm_checkbox input[type="checkbox"]:checked::after {
    opacity: 1; 
}

.frm_forms .frm_submit .frm_button_submit {
    border: none;
    width: 100%;
    padding: 16px 20px;
    line-height: 0.688;
}

/* Display true select */
.chosen-container {
    display: none !important;
}

.frm_form_field select {
    display: block !important;
}

@media (max-width: 768px) {
    .frm_section_heading h3 {
        padding-right: 30px;
        color: #FFF;
        text-transform: uppercase;
    }
}

@media (min-width: 769px) {
    .frm_toggle_container {
        display: grid !important;
        grid-gap: 40px;
    }
    .frm_section_heading h3 {
        pointer-events: none;
        margin: 40px 0 35px;
        width: 360px;
        background-color: #013181;
        color: #fff;
        font-size: 24px;
        text-align: center;
    }
    .frm_forms .frm_submit {
        text-align: right;
    }
    .frm_forms .frm_submit .frm_button_submit {
        min-width: 290px;
        width: auto;
        display: inline-block;
        font-size: 20px;
    }
}

/* ==================================== */
/* ============= DIALOG =============== */
/* ==================================== */
.dialog-widget .dialog-widget-content .dialog-close-button {
    width: 24px;
    height: 24px;
}

.dialog-widget .dialog-widget-content .dialog-close-button::before,
.dialog-widget .dialog-widget-content .dialog-close-button::after {
  content: '';
  position: absolute;
  width: 1px;
  height: 30px;
  background-color: #000;
  top: 0px;
  left: 11px;
}

.dialog-widget .dialog-widget-content .dialog-close-button::before {
  transform: rotate(45deg);
}

.dialog-widget .dialog-widget-content .dialog-close-button::after {
  transform: rotate(-45deg);
}

.dialog-widget .dialog-widget-content .dialog-close-button svg {
    display: none;
}

/* ==================================== */
/* ========= Filtres porduits ========= */
/* ==================================== */
.filters ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 12px;
}
.filters ul li a {
    display: block;
    padding: 12px 16px;
    background: #FFF;
}
.filters ul li.chosen a {
    background-color: var(--e-global-color-primary);
    color: #FFF;
}
.filters ul li .count {
    display: none;
}

@media (min-width: 768px) {
    .filters ul {
        flex-wrap: wrap;
    }
}

@media (max-width: 769px) {
    .filters > .e-con-inner {
        padding: 0 24px;
        overflow-x: scroll;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        overflow: -moz-scrollbars-none;
        -ms-overflow-style: none;
    }
    .filters > .e-con-inner > .elementor-widget:last-child ul li:last-child {
        padding-right: 24px;
    }
    .filters > .e-con-inner::-webkit-scrollbar {
        display: none;
    }
    .filters ul li a {
        white-space: nowrap;
    }
}

/* ==================================== */
/* ============= Timeline ============= */
/* ==================================== */

.elementor-widget-ucaddon_unlimited_timeline .ue_timeline_item.last .ue_timeline_item_icon_line {
    display: none !important;
}

.juicer-feed h1.referral {
    display: none !important;
}

.ue_mini_cart_toggle {
    display: none !important;
}

.country-selector.weglot-dropdown {
    margin-right: 0 !important;
}


/* ==================================== */
/* ============= Ressources ============ */
/* ==================================== */

.ressources-list-typologie:has(.ressources-list-typologie-grid:empty) {
  display: none !important;
}

.ressources-list-typologie.filtred,
.ressources-list-typologie .ressource-item.filtred {
  display: none !important;
}

.ressources-filter {
  display: flex;
  display: none;
  flex-direction: column;
  gap: 12px;
}

.ressources-filter > div {
  flex-grow: 1;
}

.ressources-list {
  margin-top: 25px;
  display: grid;
  grid-gap: 25px;
}

.ressource-item {
  position: relative;
  display: flex;
  gap: 12px;
  padding: 12px 16px 12px 16px;
  background-color: #FFF;
  color: var(--e-global-color-primary);
}

.ressource-item a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  font-size: 0;
}

.ressource-item .document-title {
  flex-grow: 1;
}

.ressources-list-typologie-grid {
  display: grid;
  grid-gap: 12px;
}

.ressources-list-typologie[data-typologie="fiche-commerciale"], .ressources-list-typologie[data-typologie="fiche-dinstruction"], .ressources-list-typologie[data-typologie="fiche-dutilisation"] {
    display: none;
}

@media (min-width: 768px) {
  .ressources-filter {
    flex-direction: row;
    align-items: center;
  }
  .ressources-list-typologie-grid {
    grid-template-columns: 1fr 1fr;
  }
}