/*** Responsive ***/

/*** < 1800px ***/
@media screen and (max-width: 1800px) {
    .contributeursList {
        max-height: 600px;
    }

    .aboutUs .headerIngredient {
        flex-wrap: wrap;
    }

    .aboutUs .headerIngredient .titleHeader {
        min-width: 100%;
    }

    .aboutUs .headerIngredient .chiffresBloc {
        padding-left: 24px;
    }
}

/*** < 1630px ***/
@media screen and (max-width: 1630px) {
    .contributeursList {
        max-height: 800px;
    }
}

/*** < 1280px ***/
@media screen and (max-width: 1280px) {
    .contributeursList {
        max-height: 920px;
    }
    #popup_new_products {
    margin-top: 20px!important;
    }
    .clash-card__image {
        margin-top: 10px;
        margin-bottom: 0px;
        height: 150px;
    }
    .clash-card__show_product{
      padding-bottom: 10px;
    }
    .clash-card__unit-description{
        padding-bottom: 0px;
    }
}

/*** < 1145px ***/
@media screen and (max-width: 1145px) {
    .contributeursList {
        max-height: 1050px;
    }
}

/*** < 1080px ***/
@media screen and (max-width: 1080px) {
    .openMenu {
        margin-left: 0px;
    }

    aside.tabAnchorNav {
        display: none;
    }
    
    .imageIngredient {
        display: none !important;
    }

    .imageIngredientMobile {
        display: flex !important;
        margin-bottom: 8px;
    }

    .headerTop {
        flex-direction: column;
    }

    .headerTop button {
        margin-top: 16px;
        margin-bottom: 16px;
    }

    #partners {
        display: none;
    }

    #partnersMobile {
        display: block;
    }
}

/*** < 901px ***/
@media screen and (max-width: 901px) {
    .contributeursList {
        max-height: 1300px;
    }

    .tabListElement li {
        height: 45px;
    }
}

/*** < 800px ***/
@media screen and (max-width: 800px) {  
    .searchBar .searchBarInput {
        min-width: 400px;
    }

    .searchBar .changeMap {
        min-width: 362px;
    }

    .contactBloc {
        flex-wrap: wrap;
    }

    .contactBloc .contactBlocDiv {
        width: 100%;
        margin-bottom: 16px;
    }
    
    .partnerIngrdientTable {
        max-width: 80vw;
    }
}

/*** < 768px ***/
@media screen and (max-width: 768px) {
    .contributeursList {
        max-height: 445px;
    }

    .chiffresBloc {
        flex-wrap: wrap;
    }

    .chiffresBloc div {
        width: 100%;
        margin-top: 8px;
    }
    
    .tabListElement {
        max-width: 100%;
        width: 100%;
    }

    .blocImage .displayDefaultInfos {
        width: 100%;
    }

    .hideOnMobile {
        display: none;
    }

    thead.displayOnMobile {
        display: table-header-group !important;
    }

    tbody.displayOnMobile {
        display: table-row-group !important;
    }

    .new-feature .modal-content {
        background: radial-gradient(80.42% 21.9% at -2.29% 4.72%, #FF795B 0%, rgba(246, 244, 246, 0.55) 90%), #FFF;
    }
}

/*** < 650px ***/
@media screen and (max-width: 650px) {
    .searchBar {
        position: fixed;
        left: 24px;
        right: 24px;
        bottom: 32px;
        flex-direction: column-reverse;
    }

    .searchBar .changeMap {
        border-radius: 12px 12px 0 0;
        width: 100%;
        margin-left: 0px !important;
        top: -40px;
        padding-bottom: 20px;
        height: 60px;
        max-height: 60px;
    }

    .searchBar .changeMap .dropdown-menu {
        width: 100%;
        top: 0px !important;
    }
    .searchBar .changeMap .dropdown-menu.show {
        top: -369px !important;
    }

    #barrederesultat {
        top: -66vh !important;
        height: 75vh;
        max-height: 70vh;
    }

    .leaflet-control-container > div:first-of-type {
        bottom: 130px;
    }

    button.openMenu, button.openMenu:hover {
        background-color: transparent;
        box-shadow: none;
    }
    
    button.openMenu svg {
        fill: var(--orange-main);
        width: 24px;
        height: 24px;
    }

    button.openMenu:hover svg {
        fill:  var(--orange-dark);
    }

    .searchBar .searchBarInput,
    .searchBar .changeMap {
        min-width: 100%;
    }
}

/*** < 600px ***/
@media screen and (max-width: 600px) {
    .partnerIngrdientTable {
        max-width: 70vw;
    }

    .sectionContentOtherPage .pageContent .headerIngredient {
        padding: 0px 34px 0 34px;
    }

    .sectionContentOtherPage .pageContent .headerIngredient .blockTitle {
        border-left: 0px;
        border-top: 20px solid;
        margin-left: 0px;
        padding-left: 0px;
        padding-top: 24px;
        margin-top: -10px;
    }

    .sectionContentOtherPage .pageContent .headerIngredient .imageIngredientMobile img {
        max-height: 300px;
        margin: auto;
    }

    .modal.product-of-week img.potw-img {
        display: none;
    }
}

/*** < 500px ***/
@media screen and (max-width: 500px) {
    .contentOtherPages {
        padding: 0 34px 34px 34px;
    }

    .contentOtherPages a {
        word-break: auto-phrase;
    }

    .aboutUs .headerIngredient .chiffresBloc {
        padding-left: 0px;
    }

    .chiffresBloc div {
        margin-left: 0px;
    }

    .timeLineBloc {
        padding-left: 0px;
        padding-bottom: 16px;
        margin-left: 0px;
        border: none;
    }

    .timeLineBlocImg {
        display: none;
    }
}

/*** < 400px ***/
@media screen and (max-width: 400px) {
    .contentOtherPages {
        padding: 0 16px 16px 16px;
        word-break: auto-phrase;
    }

    .sectionContentOtherPage .pageContent .headerIngredient {
        padding: 0px 16px 0 16px;
    }

    .searchBar .changeMap button {
        justify-content: flex-end;
        padding-right: 8px !important;
    }

    .searchBar .changeMap button span {
        display: none;
    }

    h1 {
        word-break: break-all;
    }

    .PartnersBloc a {
        height: auto;
        width: 44%;
    }
}