@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300&display=swap');
@-ms-viewport{
    width: device-width;
  }

html, body{
	font-family: 'Poppins', sans-serif;
    background: #fff !important;
    width:100vw;
}
.container-flex{
	  display: flex;
  align-items: center;
  justify-content: center;
}

a.mainBtn {
    display: block;
    margin: 10% auto;
    box-shadow: 0px 2px 2px #2a2627;
    padding: 1.8rem 0;
    text-align: center;
    font-size: 1.6rem;
    width: 92%;
    text-decoration: none;
    color: #2a2627;
    border-radius: 35px;
    background: #ffce05;
}

img.logo {
    margin-top:6px;
    max-height: 4.2rem;
}

.modal-dialog {
    max-width: 90%;
}

.modal-footer>:not(:last-child) {
    position: absolute;
    left: 20px;
}

button.btn, .modal-title {
    font-size: 5vw !important;
}

button.bottomBtn {
    margin: 0 0.1rem;
    padding: 0.5rem 0.8rem;
    border: 1px solid #000;
}


h2{    font-size: 1.6rem;}
h4{font-size:1.3rem}

table#list {
    width: 100%;
}


table#list td {
    font-size: 1.4rem;
    padding: 0.5rem;
}
table#list tr {border-bottom: 2px solid #000;}

div#listContainer {
    padding-bottom: 115px;
}

a .bi:before {
    color: #2a2627 !important;
}

header a .bi:before {
    color: #2a2627 !important;
}

td a i.bi {
    color: #000;
}

th {
    font-size: 1rem;
    background: #b7b7b7;
    color: #000000;
}
table#list th,table#list td{
	padding-left: 10px;
	padding-right: 10px;
}


div#listHeader {
    width: 100%;
    background: #2a2627;
    color: #fff;
    padding: 0.4rem;
}

div#listHeader b {
	text-align: center;
    display: block;
}

div#listHeader i {
    display: block;
    text-align: center;
    font-size: 0.7rem;
}

a.scanName {
    font-size: 1.3rem;
    color: #b7b7b7;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: inline-block;
}

h3 {
    font-size: 2rem;
}

span.scanDates {
    text-transform: uppercase;
    font-size: 0.8rem;
    color: #767676;
    font-weight: bold;
}

td a i.bi:before {
    font-size: 1.5rem;
    margin: 5px;
}

span#backBtn {
    position: absolute;
    top: 50%;
    left: 35px;
    margin-top: -13px;
}

header{position:relative;}

.bi-house-door-fill::before, .bi-arrows-fullscreen::before {
    font-size: 1.7rem;
color: #fff;
}

input#totQty {
    background: #fff;
    color: black;
    border: 0;
	font-weight:bold;
    width: 150px;
}

span.prodName {
    color: #000;
    font-weight: bold;
    width: 100%;
    display: inline-block;
    font-size: 1.1rem;
}

a#goFS {
    position: absolute;
    top: 50%;
    right: 35px;
    margin-top: -16px;
}

.modal-dialog {
margin:0 auto !important;
}

a#editScanName i.bi:before {
    color: #fff !important;
}

#orderList .order-item:nth-child(even) {
    background: #f7f7f7;
}

#tabTaglieInput {
    font-size: 0.8rem;
    border-collapse: separate;
    border-spacing: 0.3rem 0.1rem;
}

#tabTaglieInput tr {
    display: inline-block;
    width: 50%;
}

tr.prodotto a .bi:before {
    color: #eca62c !important;
}

#qr-reader video{
    border: 5px solid orange;
}

.aspect-ratio-box {
    position: relative;
    width: 100%;
    padding-top: 78%; /* 0.78:1 aspect ratio */
    overflow: hidden; /* Impedisce il contenuto in overflow */
}

.aspect-ratio-box > #qr-reader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Adatta l'altezza al contenitore */
    object-fit: cover; /* Taglia l'immagine se necessario mantenendo il contenitore riempito */
}

#qr-reader video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Assicura che l'elemento video si adatti al contenitore */
}