.d-flex {
    display: flex;
}

.primary-button {
    display: block;
    border-radius: 50px;
    color: #005143;
    font-weight: 700;
    background-color: #ffd929;
    box-shadow: none;
    border: 2px solid transparent;
    padding: 5px 15px;
    transition: ease-in-out all 150ms;
    text-align: center;
}

.primary-button:hover {
    transform: translateY(-2px);
}

.families-buttons {
    flex-wrap: wrap;
    column-gap: 1rem;
    row-gap: 1rem;
}

.family-button {
    border-radius: 50px;
    color: #fff;
    font-weight: 700;
    background-color: #005143;
    box-shadow: none;
    border: 2px solid transparent;
    padding: 5px 15px;
    transition: ease-in-out all 150ms;
}

.family-button:not(.outline) {
    background-color: #005143;
    border: 2px solid transparent;
}

.family-button.outline {
    border: 2px solid #005143;
    color: #005143 !important;
    background-color: #fff;
}

.product-card {
    width: 250px;
    border: 2px solid transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: ease-in-out all .2s;
}

.product-card:hover {
    border-color: #005143;
}

.product-card .picture {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 150px;
    height: 150px;
}

.product-card .product-title {
    text-align: center;
    margin-bottom: 0;
    font-size: 1.6rem;
}

.product-card .product-ref {
    text-align: center;
    font-style: italic;
}

.product-card .product-availability {
    text-transform: uppercase;
    color: #49aa61;
    text-align: center;
    font-weight: 700;
    margin-bottom: 0;
}

.product-card .content {
    width: 100%;
}

.product-card .bottom {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.product-card .cart_quantity_button {
    display: flex;
    justify-content: space-between;
}

.product-card .cart_quantity_input {
    text-align: center;
}

.display-type li>a {
    color: #959595;
}

.display-type li.selected>a {
    color: #005143;
    font-weight: bold;
}

.display-type > li > button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    border: none;
    background: none;
}
.display-type > li > button > i {
    font-size: 1.5rem;
}

.display-type > li > button.active {
    color: #0b5143;
}

.notification {
    border: 1px solid #005143;
    padding: 15px;
    display: flex;
    flex-direction: column;
}

.loader {
    display: none;
    align-items: center;
    flex-direction: column;
    width: 100%
}

.loader>img {
    width: 15%;
    margin-bottom: 2rem;
}

.loader>p {
    font-size: 2rem;
    color: #005143
}

#cadencierLoading.on-loading .loader {
    display: flex;
}

main.on-loading>.notification,
main.on-loading>.content-page,
main.on-loading>.content-page-filters,
#module-hd_cadenciers-display .list::before,
#module-hd_cadenciers-display .list .product-container .product-desc,
.display-grid thead {
    display: none;
}

.availability.type_in_stock {
    color: #0AA244;
}

.availability.type_out_of_stock {
    color: #F8A91B;
}

.availability.type_supplier {
    color: #009FE3;
}

#module-hd_cadenciers-display .product-container .box-info-product .content_quantity_wanted {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}
#module-hd_cadenciers-display .product-container .box-info-product .content_quantity_wanted .qty-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 1rem;
}

#module-hd_cadenciers-display .product-container .box-info-product .content_quantity_wanted .qty-wrapper input {
    width: 100px;
    padding: 0;
}

/* ************************************************ Liste Globale mode list ************************************************ */
#module-hd_cadenciers-display .list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    row-gap: 1rem;
}

#module-hd_cadenciers-display .list li {
    margin: 0;
}

#module-hd_cadenciers-display .list .product-container {
    display: -ms-grid;
    display: grid;
    grid-template-columns: 10rem 1fr 10rem 15rem;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 1rem;
    border: 2px solid #005543;
}

#module-hd_cadenciers-display .list .product-container .left-block {
    display: flex;
    align-items: center;
    width: auto;
    border: none;
}

#module-hd_cadenciers-display .list .product-container .left-block .product_img_link img {
    width: 100%;
    max-width: 150px;
    max-height: 150px;
    margin: auto;
}

#module-hd_cadenciers-display .list .product-container .right-block {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    padding: 1rem 1.5rem;
    border: none;
}

#module-hd_cadenciers-display .list .product-container .price-block {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: inherit;
    padding: 0;
    width: auto;
    height: 100%;
    border: none;
    border-left: 1px solid #cccccc;
}

#module-hd_cadenciers-display .list .product-container .price-block .content_availability {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    margin: 0;
}

#module-hd_cadenciers-display .list .product-container .price-block .content_availability small {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 100%;
}

#module-hd_cadenciers-display .list .product-container .box-info-product {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 0;
    border: none;
}

#module-hd_cadenciers-display .list .product-container .box-info-product .primary-button {
    display: block;
    width: 100%;
}

/* ************************************************ Liste Globale mode grid ************************************************ */
#module-hd_cadenciers-display #product_list.grid {
    row-gap: 1.5rem;
}

/* ************************************************ Liste Globale ************************************************ */
@media (max-width: 992px) {
    #module-hd_cadenciers-display .list .product-container {
        position: relative;
        grid-template-columns: 15rem 1fr 20rem;
    }

    #module-hd_cadenciers-display .list .product-container .price-block {
        align-items: baseline;
    }

    #module-hd_cadenciers-display .list .product-container .box-info-product {
        position: absolute;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
        width: 20rem;
        height: auto;
        margin: 0;
        padding: 0;
    }
}

@media (max-width: 640px) {
    #module-hd_cadenciers-display .list .product-container {
        position: relative;
        grid-template-columns: 0.5fr 1fr;
    }

    #module-hd_cadenciers-display .product_list.row.grid .product-container {
        margin-bottom: 3rem;
    }

    #module-hd_cadenciers-display .list .product-container .list .product-container h5 > .product-name{
        margin-bottom: 1rem;
    }

    #module-hd_cadenciers-display .list .product-container .right-block {
        height: 100%;
    }

    #module-hd_cadenciers-display .list .product-container .price-block {
        align-items: center;
        border: none;
    }

    #module-hd_cadenciers-display .list .product-container .box-info-product {
        position: inherit;
        transform: none;
        top: auto;
        margin: 0 !important;
        width: auto;
    }

        #module-hd_cadenciers-display .list .product-container .box-info-product > .box-cart-bottom{
            margin-top: 1rem !important;
        }

}

.nav-tabs > li > a {
    border-color: #eeeeee #eeeeee #ddd;
    text-decoration: none;
    background-color: #eeeeee;
}

span.product_availability {
    text-transform: uppercase;
    font-weight: bold;
    font-family: 'Montserrat Medium', sans-serif;
}

.universe-title {
    color: #005143;
    font-weight: bold;
    font-size: 2rem;
    margin-bottom: 0;
}

.sub-universe-title {
    font-size: 1.6rem;
}
.product_availability.supplier {color: #009fe3;}
.product_availability.out_of_stock  {color: #f8a91B;}
.product_availability.in_stock    {color: #0aa244;}

#module-hd_cadenciers-display table {
    table-layout: fixed ;
}

/* ************************************** Famille article View GRID ************************************** */
.display-grid tbody {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    flex-wrap: wrap;
    gap: 2rem;
}

.display-grid tbody tr {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    border: 2px solid transparent;
}

.display-grid tbody tr:hover {
    border-color: #005143;
}

.display-grid tbody td {
    text-align: center;
    padding: 0 !important;
    border: none !important;
    background: white !important;
}

.display-grid tbody td.wk_qo_product_ref_col {
    display: block;
    margin: auto;
    padding: 0;
}
.display-grid tbody td.wk_qo_product_ref_col img {
    width: auto !important;
    border: none !important;
}

.display-grid tbody td.cart_quantity {
    display: flex;
    justify-content: center;
    width: auto !important;
}

.display-grid td.cart_quantity .qty{
    display: flex;
    align-items: center;
    position: relative;
}

.display-grid td.cart_quantity .qty .cart_quantity_button {
    margin: 0 !important;
}


.display-grid td.cart_quantity .qty .cart_quantity_button a  {
    position: absolute;
    top: 0;
}

.display-grid td.cart_quantity .qty .cart_quantity_button a.cart_quantity_down  {
    left: -25px;
}

.display-grid td.display-grid-name-product span {
    font-weight: bold;
    color: #3a3939;
}
.display-grid td.display-grid-add-cart {
    margin: auto;
    padding: 1rem !important;
}

/* *********************** Responsive *********************** */
@media (max-width: 992px) {
    .display-grid tbody {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    #module-hd_cadenciers-display table {
        table-layout: initial;
    }

    .display-grid tbody {
        display: flex;
        flex-wrap: nowrap;
    }
        .display-grid tbody tr {
            padding: 1rem;
            width: 250px;
        }

    .display-grid td.display-grid-name-product span {
        display: block;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    #module-hd_cadenciers-display table tbody td.wk_qo_product_ref_col img {
        max-width: initial;
    }
    .display-grid tbody td.wk_qo_product_ref_col img {
        max-width: 100%;
    }
}

/* **************** override bootstrap **************/
@media (max-width: 768px) {
    #module-hd_cadenciers-display .table-responsive {
        width: 100%;
        margin-bottom: 15px;
        overflow-y: hidden;
        overflow-x: scroll;
        border: 1px solid #d6d4d4;
    }

    #module-hd_cadenciers-display .table-responsive>.table {
        margin-bottom: 0;
        background-color: #fff;
    }

    #module-hd_cadenciers-display .table-responsive>.table>thead>tr>th,
    #module-hd_cadenciers-display .table-responsive>.table>thead>tr>td,
    #module-hd_cadenciers-display .table-responsive>.table>tbody>tr>th,
    #module-hd_cadenciers-display .table-responsive>.table>tbody>tr>td,
    #module-hd_cadenciers-display .table-responsive>.table>tfoot>tr>th,
    #module-hd_cadenciers-display .table-responsive>.table>tfoot>tr>td {
        white-space: nowrap;
    }

    #module-hd_cadenciers-display .table-responsive>.table-bordered {
        border: 0;
    }

    #module-hd_cadenciers-display .table-responsive>.table-bordered>thead>tr>th:first-child,
    #module-hd_cadenciers-display .table-responsive>.table-bordered>thead>tr>td:first-child,
    #module-hd_cadenciers-display .table-responsive>.table-bordered>tbody>tr>th:first-child,
    #module-hd_cadenciers-display .table-responsive>.table-bordered>tbody>tr>td:first-child,
    #module-hd_cadenciers-display .table-responsive>.table-bordered>tfoot>tr>th:first-child,
    #module-hd_cadenciers-display .table-responsive>.table-bordered>tfoot>tr>td:first-child {
        border-left: 0;
    }

    #module-hd_cadenciers-display .table-responsive>.table-bordered>thead>tr>th:last-child,
    #module-hd_cadenciers-display .table-responsive>.table-bordered>thead>tr>td:last-child,
    #module-hd_cadenciers-display .table-responsive>.table-bordered>tbody>tr>th:last-child,
    #module-hd_cadenciers-display .table-responsive>.table-bordered>tbody>tr>td:last-child,
    #module-hd_cadenciers-display .table-responsive>.table-bordered>tfoot>tr>th:last-child,
    #module-hd_cadenciers-display .table-responsive>.table-bordered>tfoot>tr>td:last-child {
        border-right: 0;
    }

    #module-hd_cadenciers-display .table-responsive>.table-bordered>thead>tr:last-child>th,
    #module-hd_cadenciers-display .table-responsive>.table-bordered>thead>tr:last-child>td,
    #module-hd_cadenciers-display .table-responsive>.table-bordered>tbody>tr:last-child>th,
    #module-hd_cadenciers-display .table-responsive>.table-bordered>tbody>tr:last-child>td,
    #module-hd_cadenciers-display .table-responsive>.table-bordered>tfoot>tr:last-child>th,
    #module-hd_cadenciers-display .table-responsive>.table-bordered>tfoot>tr:last-child>td {
        border-bottom: 0;
    }
}