html,body {
    height:100%;
    width:100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

#allShow{
    display: grid;
    grid-template-columns: 9fr auto;
    grid-template-rows: 100px auto;
    grid-column-gap: 0px;
    grid-row-gap: 0px; 
    height:100%;
    width:100%;
    grid-template-areas: "header header" 
                        "main cart";
}
#header {
    grid-area: header;
    background-color: #ddd;
    color: #fff;
    text-align: center;
    line-height: 100px;   
    z-index: 10px;        
    border-bottom: 2px solid #bbb;
}
#header button{
    background: #333;
}
#header button:hover{
    border-color: white;
   /* background: #ff6633;*/
    background: #eacf79;
}
#content_html{
    grid-area: main;
    overflow: hidden;
    height: 100%;
    z-index: 1;
    background: #ddd;
}
/*
#resum{
    grid-area: cart;
    width: 400px;
    display: none;
}
#resum .close_cart{
    float:right;
    color: gray;
    font-size: 24px;
}

#resum{
    padding: 10px;
    overflow: scroll;
}
*/
.page {
    display: none;
}
#page{
    height: 100%;
}
.page.active {
    display: block;
}
#page-container{
    background: none !important;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

  .hidden_page {
    transform: translateX(-100%);
  }


.input_quantitat{
    width: 70px;
}
.total{
    font-weight: bold;
    line-height: 26px;
    /*color: #ff6633;*/
}
.total_preu{
    font-size: 18px;
    color: black;
}
.product_name{
    font-weight: normal;
    border-bottom: 0px;
    padding-bottom: 0px !important;
    color:#444 !important;
    /*color:#ff6633;*/
}
.product_name_first{
    border-top: 2px solid white !important;
}
.product_uds{
    font-weight: normal;
    padding-bottom: 0px !important;
    color:#888 !important;
    line-height: 32px;
}

.page_number{
    color:#666;
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
}
.btn {
    border: 1px solid #999;
}
.btn_margin_left {
    margin-left:20px;
}
.btn_margin_right {
    margin-right:20px;
}
.btn_margin {
    margin-left:5px;
    margin-right:10px;
}
.empty_name{
    width: 120px;
}
.td_price{
    font-size: 16px;
    line-height: 32px;
}

.btn-flipbook_cart {
    /*background-color: #ff6633;
    border-color: #ff6633;*/
    background-color: #eacf79;
    border-color: #eacf79;
    box-shadow: none;
    color:#333;
}
.btn-flipbook_cart:hover {
    color: #fff;
    /*background-color: #e24c1a;
    border-color: #e24c1a;*/
    background-color: #e8553f;
    border-color: #e8553f;
    box-shadow: none;
}

#content_html {
overflow: hidden; /* Evita que els elements surtin dels marges */
position: relative; /* Necessari per a que els elements fent "position: absolute" es posicionin respecte a aquest element */
}

.page {
position: absolute; /* Per permetre el posicionament absolut respecte al contenidor "content_html" */
/* cursor: move;*/ /* Canvia el cursor quan l'usuari fa clic i arrossega */
}
.floatbutton{
    z-index: 1000;
}
.loading_html {
    text-align: center;
    width: 220px;
    height: 220px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999; 
}
.loading_html div{
    color: #888;
    text-align: center;
}
.loading_html .spinner-border{
    width: 60px;
    height: 60px;
}
.loading_html .texte{
    font-weight: 600;
    margin-top: 10px;
    font-size: 1em;
}

.bt_opcio_form h3 {
    color: white;
}
.bt_opcio_form:hover h3 {
    color: #eacf79;
}

#pas_to_pas {
    margin-right: 20px;
}


.add_product_in_cart .modal-content{
    color: #333 !important;
    line-height: 10px;
    padding: 20px;
}

.add_product_in_cart .modal-header{
    padding-top: 0px;
    padding-right: 0px;
    padding-left: 0px;
    border-bottom:0px;
}

.add_product_in_cart #qty_title{
    font-weight: bold;
    background: #ddd;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 30px;
    line-height: 20px;
}
.add_product_in_cart .group_qty .col_qty_1{
    margin-top: 14px;
}
.add_product_in_cart .group_qty .col_qty_1 #qty_preu{
    font-weight: bold;
}
.add_product_in_cart .group_qty .col_qty_2{
    margin-top: 14px;
    color: #000;
}
.add_product_in_cart .group_qty .col_qty_3{
    margin-top: 14px;
    text-align: left;
}
.add_product_in_cart #qty_unidades{
    font-weight: bold;
    margin: 20px;
    float: left;
}
.add_product_in_cart .modal-content{
    text-align: center;
}
.add_product_in_cart input{
    margin: 0 auto;
    margin-bottom: 20px;
}
.add_product_in_cart .updateQtyUnidades{
    color: #ff6633;
}

.add_product_in_cart .modal-footer{
    padding-bottom: 0px;
    padding-right: 0px;
}

.add_product_in_cart #updateUdsProductID{
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 15px;
    width: 60px;
    color: #888;
}



#img_carret{
    height: 20px;
    display: inline-block;
}
.div_img{
    background:#198754;
    padding: 0px 6px 2px 6px;
    margin-right:10px;
    width:35px;
    border-radius:4px;
    display:inline-block;
}
.div_ico{
    background: #ffc107;
    color: white;
    padding: 2px 6px 2px 8px;
    margin-right: 10px;
    width: 35px;
    border-radius: 4px;
    display: inline-block;
}

#btn_index{
    display:none;
}

#indexModalContent img{
    margin:15px;
    height:200px;
    float:left;
    border:1px solid #ccc;
    cursor:pointer;
}

#indexModalContent img:hover{
    border:1px solid #ff6600;
    box-shadow: 3px 3px 3px 1px rgba(0, 0, 0, 0.2);
}

#showModalCart .modal-footer {
    border-bottom: 0px !important;
}

#showModalCart .modal-body thead th {
    border-bottom: 0px !important;
    border-top: 0px !important;
}

#showModalCart .total, #showModalCart .total_preu{
    border-bottom: 0px !important;
}


#searchModalResults{
    margin-top:20px;
}
.llistat_cerca{
    list-style-type: none;
}
.llistat_cerca li{
    margin-top: 15px;
}
.llistat_cerca li a{
    cursor: pointer;
    color: #1a0dab;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
}
.link_pagina_cerca:hover{
    color: #1a0dab;
    text-decoration: underline;
}
.texte_resaltat {
    background-color: yellow; /* Per destacar el text amb un fons groc */
   /* font-weight: bold; /* Opcional: fer que el text sigui en negreta */
}

.alert-success{
    background-color: #f5f3e5;
}

.without_border{
    border:0px;
}

.btn-close{
    --bs-btn-close-opacity: 1;
}



/*
.linea_de_carrega{
    position: absolute;
    top:97px;
    left:0px;
    height:3px;
    width:100%;
    background-color: none;
    z-index: 9999;
}
.progress-bar{
    background-color: #ff6600;
    height:3px;
}*/