﻿
:root {
    --blue: #007bff;
    --indigo: #6610f2;
    --purple: #6f42c1;
    --pink: #e83e8c;
    --red: #dc3545;
    --orange: #fd7e14;
    --yellow: #ffc107;
    --green: #28a745;
    --teal: #20c997;
    --cyan: #17a2b8;
    --white: #fff;
    --gray: #6c757d;
    --gray-dark: #343a40;
    --primary: #007bff;
    --secondary: #6c757d;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #343a40;
    --breakpoint-xs: 0;
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
    --font-family-sans-serif: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    --font-family-monospace: SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;
}

:root {
    --primary-bg-color: #75990B;
    --secondary-color: #FF5400;
    --open-cat-color: #CBE5B0;
}
*, *::before, *::after {
    box-sizing: border-box;
    border-collapse: collapse;
}


body {
    font-size: 1rem;
    font-family: "Roboto Condensed";
    line-height: 1.4;
    color: rgba(0, 0, 0, 0.7);
    margin: 0px;
    padding: 0px;
    overflow-x: hidden;
    overflow-y: auto;
}


.HomeContent {
    display: flex;
    align-items: center;
    flex-direction: column;
}

    .HomeContent > div {
        text-align: center
    }

.main_head {
    background-color: white;
    display: grid;
    grid-template-columns: 0.5fr 1fr;
}

.itemimg {
    height: 80px;
    width: 80px;
    position: relative;
}

    .itemimg .discount {
        position: absolute;
        left: 0px;
        bottom: 0px;
        background: yellow;
        color: red;
        width: auto;
        padding: 2px;
    }

    .itemimg img {
        width: 100%;
        height: 100%;
        border-radius: 10px;
    }

.itemname {
    font-weight: bold;
}

.price {
    background: rgb(0, 118, 255);
    color: white;
    font-size: 1.2em;
    padding: 2px 5px;
    border-radius: 3px;
}

.mrp {
    font-size: 1.2em;
    color: red;
    text-decoration: line-through;
}

.sale {
    font-size: 1.2em;
    color: red;
}

.table th {
    font-weight: normal;
    background-color: #e5e3e3;
}

.table tr td {
    border: 1px solid #e0e0e0;
    padding: 2px;
}

/*.bg {
    background: url("/Images/grocery-store.jpg") no-repeat center center fixed;
    background-size: cover;
    background-color:white;
}*/

.veg {
    color: green;
}

.nonveg {
    color: red;
}

div, table {
    width: 100%;
}

.MainGrid {
    /*max-width: 1000px;*/
    margin: auto;
    background-color: whitesmoke;
    display: grid;
    height: 100vh;
    grid-template-rows: auto 1fr;
}

    .MainGrid div {
        overflow: auto;
    }

.header {
    background-color: #90caf9;
    text-align: left;
    padding: 8px 14px;
    grid-column: span 2;
    font-size: 1.2em;
    margin: 2px;
}

.cart_img {
    width: 50px !important;
    height: 35px !important;
    float: left;
    margin-left: 25%;
    margin-top: -3px;
}

.redclr {
    color: red;
}

@media screen and (max-width:420px) {

    .MainGrid {
        height: auto;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
    }

    .header {
        grid-column: span 1;
    }

    /*#divList {
        height: 70vh;
    }*/

    #divOrders {
        overflow: visible;
        border-top: 2px solid blue;
    }

    #divTotal {
        position: fixed;
        bottom: 0px;
    }
}

.hl {
    background-color: yellow;
}

li {
    list-style: none;
    text-align: left;
}

.itemname {
    text-transform: capitalize;
}

.table tr:nth-child(even) {
    background-color: #f2f2f2;
}

.ItemList td:nth-child(2) {
    text-align: left;
}

.ItemList tr:nth-of-type(odd) {
    background-color: #f8f5f0;
}

.ItemList td {
    border: 1px solid #dfd7ca;
    padding: 0px 5px;
}

.ItemList tr:hover td {
    background-color: wheat;
}

.ItemList td:nth-child(5) {
    white-space: nowrap;
}

input[type='text'], input[type='number'], select, .search, textarea, input[type='password'], #divSearch {
    font-size: 1.5em;
    width: 100%;
    border: 0px;
    padding: 5px 10px;
    border: 1px solid #e5e3e3;
    border-radius: 5px;
}

#divSearch {
    border-radius: 5px 0px 0px 5px;
}

/*input:focus, .search:focus, textarea:focus {
    background-color: #ffffcc;
}*/

#divCustomer input[type='text']:focus, .search:focus {
    background-color: #ffffcc;
    font-size: 1em !important;
}

.ShopGrid {
    position: relative;
}

#divItemList .tile {
    height: 250px;
}

.itemlist {
    display: grid;
    background-color: whitesmoke;
    grid-gap: 5px;
}


.item {
    display: grid;
    grid-template-columns: repeat(5,auto);
    background-color: white;
    padding: 5px;
    box-shadow: -1px 0px 3px 0px rgba(0,0,0,0.5);
    margin: auto;
    width: 99%;
}

    .item img {
        width: 75px;
        height: 75px;
        border: 1px solid whitesmoke;
    }

.tile {
    position: absolute;
    background-color: white;
    width: 100px;
    height: 100px;
    transition-duration: .3s;
    box-shadow: -1px 0px 3px 0px rgba(0,0,0,0.5);
    overflow: hidden !important;
}

    .tile img {
        /*height: 100%;*/
        width: 100%;
        cursor: pointer;
        margin-left: -25%;
        transition-duration: .2s;
    }

    .tile .text {
        font-size: .8em;
        position: absolute;
        bottom: 0px;
        visibility: hidden;
        background-color: rgba(255,255,255,.8);
    }

    .tile:hover > div.text {
        visibility: visible;
        font-size: .5em;
    }

    .tile:hover {
        box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
        transition-duration: .3s;
    }

        .tile:hover img {
            margin-left: 0%;
            transition-duration: .2s;
        }


.btn {
    background-color: #44c767;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    border-radius: 5px;
    border: 1px solid #18ab29;
    display: inline-block;
    cursor: pointer;
    color: #ffffff;
    font-family: Arial;
    font-size: 17px;
    padding: 5px 20px;
    text-decoration: none;
    text-shadow: 0px 1px 0px #2f6627;
}

    .btn:hover {
        background-color: #5cbf2a;
    }

    .btn:active {
        position: relative;
        top: 1px;
    }

#divloader {
    display: none;
}

.loader-caption {
    position: absolute;
    z-index: 99999999;
    top: 50%;
    color: #fff;
    font-size: 17px;
    text-align: center;
    width: 100%;
}

    .loader-caption img {
        width: 70px;
    }

.loader-screen {
    background: rgba(0,0,0,.5);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999999;
}

.badge {
    background-color: darkslateblue;
    color: #fff;
    display: inline-block;
    padding-left: 8px;
    padding-right: 8px;
    text-align: center;
    border-radius: 50%;
}

.popup {
    position: absolute;
    left: 25%;
    top: 3vh;
    width: 50%;
    height: 55vh;
    background-color: white;
    padding: 10px;
    box-shadow: 10px 10px 8px 10px #888888;
    border-radius: 5px;
}

#search {
    position: fixed;
    height: 20px;
    background-color: white;
    width: 100%;
    left: 0px;
    bottom: 0px;
}

#KeyBoard {
    position: fixed;
    background-color: white;
    left: 0px;
    bottom: 0px;
}



    #KeyBoard div.letter {
        grid-column: span 2;
        text-align: center;
        padding: 5px;
        outline: 1px solid #cacad2;
    }

.Alphabets, .KeyBoardBottom, .KeyBoardNumbers, .help {
    display: grid;
    grid-template-columns: repeat(20, 1fr);
    grid-gap: 1px;
}

.help {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-gap: 1px;
}

.KeyBoardNumbers {
    grid-template-columns: repeat(8, 1fr);
}

@keyframes animate {
    to {
        visibility: visible;
    }
}

.animate {
    visibility: hidden;
    animation: 0s linear 0.5s forwards animate;
    z-index: 9999;
}

#divHeader a {
    text-decoration: none;
    color: darkblue;
}

@media (max-width:480px) {
    body {
        font-size: 0.9em;
    }
    /*.btn {
        margin: 10px !important;
        font-size:0.8em;
        padding:5px 10px;
    }*/
    #divCustomer input[type='text']:focus, .search:focus {
        background-color: #ffffcc;
        font-size: 0.8em !important;
    }

    .main_head {
        grid-template-rows: auto auto;
        grid-template-columns: auto;
    }
}


@-webkit-keyframes bounceInUp {
    from, 60%, 75%, 90%, to {
        -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
        animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    }

    from {
        opacity: 0;
        -webkit-transform: translate3d(0, 3000px, 0);
        transform: translate3d(0, 3000px, 0);
    }

    60% {
        opacity: 1;
        -webkit-transform: translate3d(0, -20px, 0);
        transform: translate3d(0, -20px, 0);
    }

    75% {
        -webkit-transform: translate3d(0, 10px, 0);
        transform: translate3d(0, 10px, 0);
    }

    90% {
        -webkit-transform: translate3d(0, -5px, 0);
        transform: translate3d(0, -5px, 0);
    }

    to {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

@keyframes bounceInUp {
    from, 60%, 75%, 90%, to {
        -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
        animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    }

    from {
        opacity: 0;
        -webkit-transform: translate3d(0, 3000px, 0);
        transform: translate3d(0, 3000px, 0);
    }

    60% {
        opacity: 1;
        -webkit-transform: translate3d(0, -20px, 0);
        transform: translate3d(0, -20px, 0);
    }

    75% {
        -webkit-transform: translate3d(0, 10px, 0);
        transform: translate3d(0, 10px, 0);
    }

    90% {
        -webkit-transform: translate3d(0, -5px, 0);
        transform: translate3d(0, -5px, 0);
    }

    to {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

.bounceInUp {
    -webkit-animation-name: bounceInUp;
    animation-name: bounceInUp;
}

.brand {
    font-size: .8em;
    color: purple;
}

.stickyTable {
    position: relative;
}

    .stickyTable th {
        position: sticky;
        top: 0; /* Don't forget this, required for the stickiness */
    }


.Stock {
    background: purple;
    color: white;
    padding: 2px 5px;
    border-radius: 3px;
}

.StockDateGreen {
    background: green;
    padding: 2px 5px;
    border-radius: 3px;
    color: white;
    margin-left: 3px;
}

.StockDatePink {
    padding: 2px 5px;
    border-radius: 3px;
    background: pink;
    margin-left: 3px;
}

.list-item {
    padding-left: 5px;
}

/*.list-item__center {
    padding: 6px 3px 6px 0;
}*/

.categoryHome {
    display: grid;
    padding-right: 20px;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    grid-gap: 10px;
    justify-content: center;
}

    .categoryHome div {
        text-align: center;
    }

    .categoryHome img {
        width: 100%;
    }
