/* ali fast order customized style */

/* ensures the increment/decrement arrows always display */

:root {
    --alifo-prestappro-color: #317786;
}

input[type="number"] {
    appearance: auto !important;
    -moz-appearance: auto !important;
    -webkit-appearance: auto !important;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    opacity: 1 !important;
    -webkit-appearance: auto !important;
}

input[type="number"][forcestep="1"]:invalid {
    background-color: red;
    border-color: red;
}

/*
input[type="number"][forcestep="0"]:invalid {
    background-color: orange ;
    border-color: orange;
}
*/
.input-error {
    outline: 1px solid red;
}

table {
    border-collapse: collapse;
}

.input-product-modif-cart {
    margin-left: auto;
    order: 2;
    max-width: 100px;
    text-align: right;
    appearance: auto !important;
}

.alifo-header {
    background-color: #ccc;
    display: inline-flex;
    justify-content: center;
    height: 50px;
    width: 100%;
    padding: 5px;
}

.alifo-zone-transfer {
    display: block;
    background-color: #eee;

}

.alifo-btn-ser-section {
    display: inline-flex;
    background-color: #eee;
    padding: 5px 0 5px 0;
    justify-content: end;
    height: 50px;
    width: 100%;
}

.alifo-btn-ser {
    padding: 0.5rem 1rem !important;
}

.alifo-btn-ser-left {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-top-right-radius: 1.25rem;
    border-bottom-right-radius: 1.25rem;
}

.ser-cat {
    border-top-left-radius: 1.25rem !important;
    border-bottom-left-radius: 1.25rem !important;
}

.ser-prod {
    padding: 0.5rem 1rem !important;
}

.alifo-btn-ser-area {
    margin-right: 3px;
}

.alifo-center {
    display: flex;
    flex-wrap: wrap;
    background-color: #ccc;
    padding: 5px 0 5px 0;
    justify-content: end;
    height: auto;
    width: 100%;
    gap: 5px;
    border-top: solid #000 1px;
}

.alifo-search-form {

    width: auto;
    display: inline-flex;
    margin: 0 10px 0 10px;
}

.alifo-add-bulk {
    margin: 0 10px 0 10px;
}


.ser-cat:focus,
.ser-prod:focus {
    outline: none;
    border: none;
}

.alifo-btns-section {
    display: flex;
    justify-content: right;
}

.alifo-btns {
    margin-right: 3px;
}

.ali-float-right {
    text-align: right;
}

.ali-float-center {
    text-align: center;
}

.product-name-label {
    width: 70px;
    text-align: left;
    padding: 5px;
}

.product-name-div {
    /*  background-color: #fff;
    padding: 5px;
    border: solid 2px;*/
    display: inline-block;
    width: calc(100% - 70px);
    font-weight: bold;
}

.prevision-unite-label {
    text-align: left;
    padding: 5px 0px 5px 5px;
    width: calc(100% - 80px);
}

.prevision-unite-div {
    display: inline-block;
    padding: 5px 15px 5px 0px;
    width: 80px;
    text-align: right;
}

.product-disponible-quantite {
    padding: 5px;
    margin: 5px;
    /*background-color: #fff;
    border: solid 2px;*/
}

.product-dispo-label {
    text-align: left;
    width: calc(100% - 30px);
}

.product-dispo-div {
    text-align: right;
    display: inline-block;
    width: 30px;
}

.product-quantite-label {
    text-align: left;
    width: calc(100% - 50px);
}

.product-quantite-div {
    text-align: right;
    display: inline-block;
    width: 45px;
}

.product-ajout-label {
    text-align: left;
    width: 50%;
}

.product-ajout-div {
    text-align: right;
    display: inline-block;
    width: calc(50% - 40px);
}

.product-ajouter-quantite span {
    text-align: right;
    display: inline-block;
    width: 30px;
}

.product-quantite-panier,
.product-ajouter-quantite {
    padding: 5px;
    margin: 5px;
    background-color: #fff;
    border-radius: 15px;
}

.product-cover-image {
    padding: 5px 5px 5px 10px;
}

.product-image,
.product-link {
    display: flex;
    justify-content: center;
}

.product-details {
    padding: 5px 10px 5px 5px;
}

.rounded-ico {
    background-color: #96BE21;
    padding: 6px;
    margin: 3px 0px 3px 5px;
    border-radius: 50%;
    border: solid 2px white;
    display: inline;
}

.pan-btn {
    display: inline-flex;
    border-radius: 24px 24px 24px 24px;
    background-color: black;
    width: 150px;
    padding: 0;
    margin: 0 2px 0 2px;
}

.pan-p {
    padding: 3px 2px 3px 5px;
    display: block;
}

.pan-p-d {
    text-align: left;
    padding: 0px;
    font-size: 14px;
    width: 100px;
    color: #fff;
}

.cart-product-line-header {
    padding: 5px 0px 5px 0px;
}



.cart_border_bottom {
    border-bottom: 1pt solid #dfdfdf;
}

.cart_border_top {
    border-top: 1pt solid grey;
}

.ali-left {
    text-align: left;
}

.ali-right {
    text-align: right;
}

.success {
    border: 1px solid;
    width: 100%;
    height: 50px;
    background-repeat: no-repeat;
    background-position: 10px center;
    position: absolute;
    top: 0px;
}

table.scrolldown tbody {
    display: block;
}

table.scrolldown tbody {
    height: 50px;
    overflow-y: auto;
    overflow-x: hidden;
}

.sortActiveAli {
    color: #96BE21 !important;
}

#loader_fastorder {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: #000;
    opacity: 0.5;
    background: url(/img/loader.gif) center no-repeat grey;
}

i.alifo-round {
    display: inline-block;
    border-radius: 50%;
    border: 1px solid #fff;
    padding: 2px;
    width: 32px;
    height: 32px;
    margin-right: 3px;
}

.modal-footer {
    text-align: right;
}

.modal-footer button {
    margin-top: 0 !important;
}

#cart-summary-product-list .media-body>.product-name>a,
#cart-summary-product-list .media-body>.product-quantity {
    color: var(--alifo-prestappro-color);
}

#cart-summary-product-list .media-body>.product-price {
    color: #000;
}

.fast-order-button {
    display: block;
    float: left;
    width: 100%;
}

.div-input-product-modif-cart {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
}

th.ali-float-center.th-solde {
    padding: 0 25px;
}

span.chevron_right {
    position: relative;
    cursor: pointer;
}

tr.cart_border_bottom_line {
    border: 0;
    border-bottom: solid 1px #808080;
    height: 26px;
    position: relative;
    width: 100%;
}

.chevron_right>.active {
    rotate: 90deg;
}

tr.cart_border_bottom_line.active,
.search_product_bottom_line.active {
    visibility: visible !important;
}

.text_green {
    background: #eaf1ec;
    color: #57966d;
}

.text_red {
    background: #fbe7e7;
    color: #ca4b47;
}

.text_blue {
    background: #e9f3fb;
    color: #3d7ccb;
}

i.material-icons.active.red {
    color: #ff0000 !important;
}