/* ************* Manager Nav Styles **************** */
#managerNav {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    border-top: 1px solid white;
    border-bottom: 1px solid rgba(128, 128, 128, 0.4);
    font-size: smaller;
    background-color: black;
    color: purple;
    font-weight: bold;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
.navto {
    padding: 5px;
    border-radius: 3px;
    border-left: 1px solid white;
}

.navto:hover {
    background-color: white;
    color: rgba(255, 0, 102, 1)
}
#branchLocation {
    font-weight: bolder;
    color: green;

}
/* ************* End of Manager Nav Styles **************** */
.shopHeader {
    border-top: 1px solid rgba(128,128,128,0.4);
    border-bottom: 1px solid rgba(128,128,128,0.4);
    background: black;
    /* position: sticky;
    top: 100px; */
    z-index: 100;
    padding: 10px;
}
.shopHead {
    display: flex;
    flex-grow: 1;
    justify-content: space-between;
    align-items: center;
    background: black;
    color: white;
    text-align: center;
}
.shopName {
    flex-grow: 1;
}
.shop-name {
    color: white;
}
.shop-name-colored {
    background: linear-gradient(to top, white, purple);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}
.shop_place, .branch_place {
    padding: 3px;
    border-radius: 2px;
    font-size: 12px;
    font-weight: bold;
    background-color: chartreuse;
    display: initial;
}
.shopImage, .shopQRimage {
    height: 8vh;
}

.shopImage img, .shopQRimage img {
    max-height: 100%;
    max-width: 15vw;
}
#distancefromelement {
    display: inline-block;
    padding: 5px;
    font-size: smaller;
    background-color: white;
    color: green;
    font-style: italic;
    font-weight: bolder;
    border: 1px solid chartreuse;
    border-radius: 5%;
}

.sellerProductImage {
    height: 100px;
}

.sellerProductImage img {
    height: 100%;
}

.searchProductName {
    color: purple;
    font-weight: bold;
}

.shopItem {
    display: flex;
    overflow: auto;
    border-bottom: 1px solid white;
}

.shopItem:last-child {
    border-bottom: none;
}

@media(min-width: 768px) {
    .itemImage {
        width: 200px;
    }
}

@media(max-width: 768px) {
    .itemImage {
        width: 175px;
    }
}

.itemImage img {
    width: 100%;
}

.itemName {
    font-weight: bold;
    color: purple;
    margin-left: 10px;
}

.quantityandpricescontainer {
    overflow: auto;
}

.quantityandprices {
    display: flex;
}

.quantityprice {
    padding: 10px;
    border-right: 1px solid black;
}

.quantityprice:last-child {
    border-right: none;
}

.price {
    color: green;
    font-weight: bold;
}

/* ****************Shop Styles***************** */
/* @media(min-width: 768px) {
    .shopHead {
        position: sticky;
        top: 100px;
        z-index: 100;
    }
} */

/* shops modal */
#myShopsModal, #printcodesmodal {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
    background: rgba(0,0,0, 0.8);
    display: grid;
    place-items: center;
    padding: 10px;
    z-index: 125;
    /* overflow: auto; */
    padding: 10px;
}
#myShopsBox, #printcodesmodal #printcodescontainer {
    /* overflow: auto; */
    padding: 10px;
    border-radius: 5px;
    background-color: white;
    min-height: 8vh;
    width: max-content;
    max-width: 90vw;
    max-height: 95vh;
}
.modalheader, .printmodalheader {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.closeshopsmodal {
    cursor: pointer;
    font-size: 2rem;
}
.closeshopsmodal:hover {
    color: rgba(255, 0, 102, 1);
}
tfoot {
    font-weight: bold;
}
.showqrpreview {
    max-width: 45vw;
    max-height: 45vw;
}
#scanpreview {
    max-width: 100%;
    max-height: 100%;
}
.myShopsDiv {
    overflow: auto;
    max-height: 75vh;
}
.businessContainer {
    border-bottom: 1px solid rgba(128, 128, 128, 0.8);
}
.businessContainer:last-child {
    border-bottom: none;
}
.abusinessContainer {
    padding: 5px;
}
.business {
   display: flex;
   justify-content: space-between;
   align-items: center;
   /* max-width: 480px; */
}
.business:last-child {
    border-bottom: none;
}
.branch {
    border: 1px solid rgba(128, 128, 128, 0.4);
    padding: 5px 5px 5px 5px;
    border-radius: 3px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 5px 5px 5px 20px;
}
.branch:hover {
    background: honeydew;
}
.branch > div {
    padding: 5px;
}
.shop_name {
    font-weight: bold;
}
#branchName {
    font-weight: bold;
}
.bname {
    font-weight: bold;
}
#shoppingresponse{
    background-color: #fff;
    padding: 5px;
    max-width: fit-content;
}

#shoppingresponse .error{
    color: rgba(255, 0, 102, 1);
    
}
#shoppingresponse .success{
    color: green;
}
/* ******************End shop styles***************** */
#resetcartdiv {
    border-radius: 5px;
    border: 1px solid chartreuse;
    width: max-content;
    padding: 10px;
    background-color: white;
}

/* ******************Printing QR Codes* *************** */
#allProducts {
    display: flex;
    flex-wrap: wrap;
    padding: 10px;
    width: 100%;
}
@media (min-width: 768px) {
    .productImg {
        height: 10vw;
        width: 10vw;
    }
    .productImg img {
        height: 10vw;
        width: 10vw;
    }
}
@media (max-width: 768px) {
    .productImg {
        height: 20vw;
        width: 20vw;
    }
    .productImg img{
        height: 20vw;
        width: 20vw;
    }
}
.productBox {
    background-color: white;
    padding: 10px;
}
.productBoxQR {
    border: 1px solid rgba(128, 128, 128, 0.4);
}
.productBox:hover {
    background: honeydew;
}
.productImg img {
    object-fit: cover;
}
form.printqrcodes {
    font-size: small;
}
.batchcode {
    font-weight: bold;
}
.printnowarea {
    display: flex;
    justify-content: center;
    align-items: center;
}
.bottombar {
    background-color: rgba(0, 0, 0, 0.8);
    position: fixed;
    bottom: 0;
    z-index: 100;
}


/* ******************End Printing QR Codes* *************** */
/* ******************** Print Codes * ****************** */
#printcodes {
    overflow: auto;
    max-height: 75vh;
}
/* ******************** End of print Codes *************** */