/**
* 2007-2021 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author    PrestaShop SA <contact@prestashop.com>
*  @copyright 2007-2021 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/

table, th {
    text-align: center;
}

.title_panel {
    padding: 15px 0px;
    text-align: center;
}

.quantity_input {
    display: flex;
    justify-content: center;
}

tr>td.action_line{
    display: flex;
}

tr>td.total>div{
    float: right;
}

tr>td.total{
    vertical-align: middle;
}

.div-add-to-cart {
    text-align: end;
}

.flex-buscar{
    display: flex!important;
    justify-content: space-evenly;
}

.img-buscar{
    margin-right: .425rem;
    vertical-align: middle;

}
/* .nombre-buscar{
    margin: 0 20px;
} */

ul.am-fb {
    width: 25%;
    min-width: 280px;
    max-width: 300px;
    max-height: 350px;
    overflow-y: auto;
}

.descripcion-buscar{
    height: 50px;
    overflow-y: hidden;
    line-height: 1;
}


.descripcion-buscar>p{
    margin-bottom: 0;
}

.precio-buscar{
    float: right;
}

.tbody-b2b > tr > td {
    vertical-align: middle;
    color: #7a7a7a;
    margin: 0;
}

.subtotal_cart {
    text-align: end;
}

.product {
    display: flex;
    justify-content: center
}

.product>div{
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    margin: 0 10px;
}

.img_product {
    width: 100%;
    height: auto;
    max-width: 100px;
}

.info_product {
    text-align: left;
}
.info-buscar{
    width: -webkit-fill-available;
}
.ajax-loader>img {
    position: fixed;
    z-index: 10000;
    top: 50%;
    left: 50%;
    background: rgb(197 21 21 / 30%);
}

.reference_product, table-amb2bfastbuy th:nth-child(3){
    width: 150px;
}
.price_product, table-amb2bfastbuy th:nth-child(3){
    padding: 0;
    width: 175px;
}
.total_product, table-amb2bfastbuy th:nth-child(5){
   min-width: 120px;
}
tr .product{
    width: 100%;
    justify-content: center;

}
.eliminar_fila{
    font-weight: 500;
    font-style: normal;
    font-size: 23px;
    display: inline-block;
    vertical-align: middle;
    line-height: 1.5;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-feature-settings: "liga";
    font-feature-settings: "liga";
    color:black;
    border-radius: 50%;
    cursor: pointer;
    margin-top: -5px;
    margin-left: 3px;
    transition: all ease-in-out .2s;
}
.eliminar_fila:hover{
    color: crimson;
}

/* lupa de busqueda */
.search-widget form{
    position: relative;
}
.search-widget form input[type="text"] {
    /* border: none; */
    padding: 10px;
    min-width: 255px;
    color: #7a7a7a;
    border: 1px solid rgba(0,0,0,.25);
}
.search-widget form button.btn-lupa{
    position: absolute;
    background: white;
    border: none;
    bottom: .8rem;
    right: .125rem;
    color: #7a7a7a;
}
/* input de cantidad del producto */
.form-control[readonly]{
    background: white;
}

.table-amb2bfastbuy thead .first-tr td:last-child p:not(.message) {
  color: #002f8b;
  font-weight: bold;
}

.table-amb2bfastbuy thead .first-tr td:last-child p.message {
  color: red;
  font-weight: bold;
}
