/*Fact Finder _ version épurée*/
/*source : ff-products-per-page-dropdown.html*/
ff-products-per-page-dropdown {
    min-width: 110px;
    text-align: center;
    --dropdown-item-container: {
        border: 1px solid lightgray;
    }
}
ff-products-per-page-dropdown[opened] ff-products-per-page-item.selected {border-bottom: none;}
ff-products-per-page-dropdown[opened] ff-products-per-page-item.selected,
ff-products-per-page-item.selected:hover {
    background-color: #393b3e;
    color: white;
}
/*source : ff-paging.html -> pour la barre de navigation dans les résultat : préc. 1 2 3 ... 10 suiv. */
ff-paging span.more {--paging-item-cursor-mixin: {padding: 0 5px;}}
ff-paging {
    font-size: 22px;
    line-height: 32px;
    height: 32px;
}
ff-paging-item:hover {
    background-color: rgb(255, 105, 44);
    color: #FFF;
}
ff-paging-item[type="nextLink"]:hover,
ff-paging-item[type="previousLink"]:hover {
    background-color: rgb(255, 105, 44);
}
ff-paging-item[type="nextLink"],
ff-paging-item[type="previousLink"] {
    background-color: white;
}
ff-paging ff-paging-item,
ff-paging span.more {
    color: #393b3e;
    transition: 400ms;
}
ff-paging-set input {outline: none;}
ff-paging span.more {padding: 0 13px;}
ff-paging-item .padd {padding: 0 13px;}
ff-paging ff-paging-item,
ff-paging ff-paging-item:nth-last-of-type(1) {
    border: 0px;
}
ff-paging ff-paging-item[type="currentLink"] {
    background-color: #393b3e;
    color: #FFF;
    font-weight: normal;
}
/*source : ff-sortbox.html _ supprimé, non utilisé*/
/*source : ff-suggest.html _ pavé auto-suggestion*/
ff-suggest {
    width: 800px;
    margin-top: -75px;
    --suggest-container: {
        max-width: 900px;
        border: 1px solid #EEEEEE;
        border-radius: 3px;
        -webkit-box-shadow: 0px 0px 10px 2px rgba(221, 221, 221, 0.7);
        -moz-box-shadow: 0px 0px 10px 2px rgba(221, 221, 221, 0.7);
        box-shadow: 0px 0px 10px 2px rgba(221, 221, 221, 0.7);
        padding: 0px;
    };
    --suggest-container-wrapper: {
        padding: 2px;
    }
}
.containerCaption {
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    background-color: rgb(255, 105, 44);
    font-weight: bold;
    font-size: 14px;
    color: #ffffff;
    padding: 6px 5px 7px 13px;

}
ff-suggest-item.ff-highlight-suggest-item {
    background-color: rgb(225, 75, 14);
    color: #ffffff !important;
}
ff-suggest[layout="block"] section.searchTermContainer {width: 198px;}
ff-suggest[layout="list"] section.searchTermContainer {width: auto;}
.categoryContainer {width: 198px;}
ff-suggest[layout="block"] section.productsContainer {width: 510px;}
ff-suggest[layout="list"] section.productsContainer {width: auto;}
.productsContainer {border-left: 1px solid #ddd;}
ff-suggest-item[type="productName"] {
    height: 100px;
    position: relative;
    display: block;
}
ff-suggest-item[type="productName"] img {
    width: 80px;
    height: 80px;
    margin: 5px;
    float: left;
}
.product-center {
    position: relative;
    width: 300px;
    height: 100px;
    float: left;
}
.product-name {
    width: 300px;
    position: relative;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
.product-right {
    width: 100px;
    position: relative;
    float: right;
}
.product-price {font-weight: bold;}
.product-availabilitytext {
    background-color: darkgray;
    border-radius: 3px;
}
ff-suggest-item.ff-highlight-suggest-item span.query {color: #ffffff;}
ff-suggest-item span.query {
    font-weight: bold;
    color: rgb(255, 105, 44);
}
.suggestItemCaption {
    border-bottom: 1px solid #dadada;
    padding-bottom: 3px;
    margin-bottom: 3px;
    color: #009fb7;
}
ff-suggest-item {
    padding-left: 13px;
    padding-bottom: 5px;
    padding-top: 5px;
    cursor: pointer;
}


/* DS AGENCY _ https://www.ds-agency.com/fr modifié par BD suite V3 FF */
[unresolved] {
    transition: 700ms;
    opacity: 0;
}
ff-searchbox input {
    height: 16px;
    width: 70%;
    padding: 8px;
    font-size: 18px;
    border: none;
    border-bottom: 1px solid lightgray;
    outline: none;
}
ff-searchbutton {
    height: 33px;
    cursor: pointer;
    outline: none;
    border: none;
    border-bottom: 1px solid lightgray;
}
        
#ff_recherche_top{width: 100%;}
ff-searchbox{
    display: flex;
    flex-direction: row;
    margin-left: -1px;
    width: 100%;
}
ff-searchbox > input {
    margin-left: 4px;
    position: relative;
    width: 100%;
    margin-bottom: 0;
    display: block;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 50px;
    border-right: 0px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
ff-searchbox > input:not(:last-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
     
ff-searchbutton{border:none;}
.ffsearch-button {
    height: 38px;
    width: 120px;
    padding: 0.375rem 0.75rem;
    color: white;
    text-align: center;
    vertical-align: middle;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    background: linear-gradient(-120deg, #FA1836, #FF6D3E);
    border: 0px solid #ced4da;
    border-radius: 50px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    text-decoration: none;
}

/* Mise en forme des champs de suggestion FACT Finder */

#ff_suggest{
    display: none;
    z-index: 100;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    position: absolute;
    bottom: -40px;
    left: 0;
}

#ff_suggest > ff-suggest{width: 1010px;}
#ff_suggest > ff-suggest #ffSuggestContainerWrapper{
    width: 100%;
}

#ff_suggest #ffSuggestContainer {max-width: 100%;}
#ff_suggest #searchContainer {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    max-height: 800px; 
    overflow-y: auto;
}

#ff_suggest #searchContainer > div {
    width: 50%;
    padding: 15px;
}

#ff_suggest #searchContainer > div img {
    width: 30px;
    height: auto;
    margin-right: 10px;
}

#ff_suggest #searchContainer > div .containerCaption {
    border: 0;
    background: none;
    color: #000;
    text-transform: uppercase;
    font-size: 16px;
    margin-bottom: 15px;
    border-bottom: 1px solid #ccc;
    padding-left: 0;
    margin-left: 11px;
}
#ff_suggest #searchContainer > div ff-suggest-item {
    display: flex;
    align-items: center;
    height: auto;
}

#ff_suggest #searchContainer > div ff-suggest-item > a{
    display: flex;
    justify-content: flex-start;
    text-align: left;
}

#ff_suggest #searchContainer > div ff-suggest-item .bar {
    margin-right: 10px;
}

@media (max-width: 1080px) {
    #ff_suggest{
        display: none !important;
    }
}

/******** ff-asn.css (pour les filtres de regroupement/sélection) *************/

ff-asn{
    display: flex;
    flex: 1;
    flex-direction: column;
}

ff-asn-group {
    display: flex;
    flex-direction: column;
    flex: 1;
}

ff-asn-group-element{
    display: inline-block;
    padding: 5px 10px;
}

.ffw-asn-unselected,
.ffw-asn-selected{display: flex;}
.ffw-asn-unselected::before,
.ffw-asn-selected::before{
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    border: 1px solid #979797;
    position: relative;
    margin-right: 10px;
    border-radius: 4px;
}

.ffw-asn-selected::before {
    background-color: #EA1836;
    content: "✓";
    color: #fff;
    text-align: center;
}

ff-asn-group, ff-asn-group-slider {
    cursor: pointer;
    padding-bottom: 15px;
    position: relative;
    max-width: 100% !important;
}

ff-asn-group [data-container="groupCaption"],
ff-asn-group-slider [data-container="groupCaption"] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #393b3e;
    user-select: none;
    font-weight: bold;
    border-bottom: 1px solid #ccc;
    padding: 8px 5px 8px 0;
    margin-bottom: 10px;
}

ff-asn-group [data-container="groupCaption"] .openState::before,
ff-asn-group-slider [data-container="groupCaption"] .openState::before {
    font-size: 24px;
    position: absolute;
    transform: translateY(-50%) translateX(-50%);
    padding-right: 15px;
}

ff-asn-group [data-container="groupCaption"] .openState::before,
ff-asn-group-slider [data-container="groupCaption"] .openState::before {
    content: "+";
}

ff-asn-group[opened] [data-container="groupCaption"] .openState::before,
ff-asn-group-slider[opened] [data-container="groupCaption"] .openState::before {
    content: "-";
}

ff-asn-group [data-container="detailedLinks"],
ff-asn-group [data-container="hiddenLinks"] {
    padding-left: 15px;
}

ff-asn-group:not([filter-style="TREE"]) ff-asn-group-element:hover {
    text-decoration: underline;
    color: rgb(255, 105, 44);
}

ff-asn-remove-all-filter:hover {
    cursor: pointer;
    text-decoration: none;
    color: rgb(255, 105, 44);
}

ff-asn-group-element [data-selected] {
    font-weight: bold;
    color: rgb(255, 105, 44);
}

.sliderBtn {
    cursor: pointer;
    position: absolute;
    margin-left: -0.5em;
    top: -0.2em;
    border-radius: 5px;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
    background: #ffffff;
    width: 15px;
    height: 15px;
}

[data-container="showMore"],
[data-container="showLess"] {
    transition: 400ms;
}

[data-container="showMore"] span,
[data-container="showLess"] span {
    padding-top: 10px;
    display: inline-block;
}

.clusterLevel0 {}

.clusterLevel1 {padding-left: 7px;}

.clusterLevel2 {padding-left: 14px;}

.clusterLevel3 {padding-left: 21px;}

.clusterLevel4 {padding-left: 28px;}

ff-slider-control {padding: 15px;}

ff-slider {
    background-color: rgb(255, 105, 44) !important;
    width: 80%;
}

ff-asn-group-slider [data-container="removeFilter"] {padding-left: 15px;}

ff-asn-group[filter-style="TREE"] ff-asn-group-element {padding-top: 3px;}

/******** ff-record-list.css (pour l'affichage des la liste des résultats)) *************/

#searchContent {
    padding: 0 15px;
}
#searchContent .filtre-produit {
    padding: 10px 20px;
    margin-top: 0;
    margin-left: 0;
    /* margin-right: 50px; */
}

@media (max-width: 1080px) {
    #searchContent .filtre-produit {
        display: block;
        width: 100%;
        margin-bottom: 50px;
    }
}

#searchContent .filtre-produit p, #searchContent .filtre-produit div {
    margin: 0;
    padding: 0;
}
#searchContent .filtre-produit div[data-container="groupCaption"] {
    margin: 10px 0;
    padding-bottom: 5px;
}
#searchContent .filtre-produit div[data-container="groupCaption"] > span{
    text-transform: capitalize;
}
#searchContent .filtre-produit .ff-asn-group-container #wrapper ff-asn-group-element{
    padding: 8px 0;
}

#searchContent .bloc-produits {
    /* max-width: 800px; */
    width: 100%;
    flex: 1;
}
#searchContent .bloc-produits .pagination {
    display: flex; 
    justify-content: space-between;
    margin: 30px 0; 
}

@media (max-width: 1080px) {
    #searchContent .bloc-produits .pagination {
        flex-direction: column;
    }
    #searchContent .bloc-produits .pagination .pageLinks {
        margin-bottom: 15px;
        height: auto;
    }
}

ff-record-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 0 -15px;
}

ff-record-list ff-record {
    padding: 0 15px;
    width: 300px;
    /* width: 33.333%; */
    margin-bottom: 30px;
    display: flex;
    min-height: 290px;
}

@media (max-width: 768px) {
    ff-record-list ff-record {
        width: 50%;
    }
}
@media (max-width: 500px) {
    ff-record-list ff-record {
        width: 100%;
    }
}

ff-record-list ff-record .block-search {
    flex: 1;
    box-sizing: border-box;
    padding: 15px;
    border: 1px solid #d8dcde;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 5px 5px 10px 0px rgba(0,0,0,0.25);
    background-color: #fff;
    position: relative;
    border: 1px solid;
    border-image: linear-gradient(-160deg, #fff, #808080) 50;
    transition: box-shadow 0.3s;
    text-align: center;
}

ff-record-list ff-record .block-search:hover {
    box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.25);
}

ff-record-list ff-record .basketIcon {
    height: 32px;
    width: 32px;
    padding-top: 8px;
    cursor: pointer;
}

ff-record-list ff-record .recordContent {
    font-size: 16px;
}

ff-record-list ff-record .productDetailLink {
    font-size: 16px;
    text-decoration: none;
    text-align: center;
    color: #393b3e;
    margin-bottom: 15px;
    margin-top: 15px;
    transition: 400ms;
    display: inline-block;
}

ff-record-list ff-record .price {
    font-weight: bold;
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: 22px;
    color: rgb(255, 105, 44);
}

ff-record-list ff-record .brand {
    font-weight: bold;
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: 22px;
    color: #393b3e;
}

ff-record-list ff-record .productInfo {
    display: flex;
    justify-content: space-between;
    padding-top: 7px;
    padding-right: 25px;
}

ff-record-list ff-record .description {
    padding-right: 25px;
    max-height: 5em;
    font-size: 1em;
    line-height: 1em;
    overflow: hidden;
}

ff-record-list ff-record .toProduct {
    border-top: 1px solid #d8dcde;
    border-left: 1px solid #d8dcde;
    border-bottom: 1px solid #d8dcde;
    padding: 15px;
    margin-top: 15px;
    cursor: pointer;
    text-align: center;
}

ff-record-list ff-record .toProduct:hover {
    background-color: #393b3e;
    color: white;
    transition: 400ms;
}

ff-record-list ff-record a,
ff-record-list ff-record a:active,
ff-record-list ff-record a:visited {
    text-decoration: none;
    color: #000;
}

ff-record-list ff-record img {
    width: 170px;
    height: auto;
}

/******** ff-breadcrumb-trail.css (présent dans la phrase de résultat) *************/
ff-breadcrumb-trail {
    font-size: 20px;
    padding-left: 15px;
}

ff-breadcrumb-trail-item {
    color: rgb(255, 105, 44);
}

