*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}
/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}
:root{
    --primary:#f90000;
    --another:#212a87;
}
.bg-pri{
    background-color: var(--primary) !important;
}
.bg-sec{
    background-color: var(--another) !important;
}
.fw-30{
    font-size: 30px;
}
.fw-20{
    font-size: 20px;
}
.pd-10{
    padding: 10px !important;
}
.pd-15{
    padding: 15px;
}
.pdlr{
    padding:0 10px
}
.bb-2{
    border-bottom: 2px solid #000;
}
.bt-2{
    border-top: 2px solid #000;
}
h1{
    text-align: center;
}
.stick {
    width: 100%;
    position: sticky;
    background-color: var(--another);
    padding: 10px;
    top: 0px;
    color: white;
    z-index: 999;
    flex-wrap: wrap;
}
@media (max-width:992px) {
    .stick,
    .min{
        font-size: 15px;
    }
    .code{
        display: none;
    }
}
@media (max-width:768px) {
    .table td{
        font-size: 15px !important;
    }
    .inp{
        width: 100px;
    }
    .table-headings th{
        font-size: 15px !important;
    }
    .table th{
        padding: 0;
    }
    .table tr img {
        max-width: 30px;
        max-height: 30px;
    }
}
@media (max-width:576px) {
    .logobar{
        margin: 0 !important;
        padding: 0 !important;
    }
    .stick{
        font-size: 10px;
    }
    p{
        margin: 0;
    }
    .table>:not(caption)>*>* {
        padding: 0 !important;
    }
    .table td{
        font-size: 10px !important;
    }
    .inp{
        width: 50px;
    }
    .table-headings th{
        font-size: 10px !important;
    }
    .table td input {
        padding: 5px;
    }
}
@media (max-width:370px) {
    .table-headings th{
        font-size: 8px !important;
    }
    .table td{
        font-size: 8px !important;
    }
    .table td input {
        padding: 0 !important;
    }
    .inp{
        width: 30px;
    }
    .overtotal{
        font-size: 15px;
    }
}
.flex{
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}
.js{
    justify-content: space-between;
}

/* search css */
.filterPrd{
    padding: 5px 10px;
    border-radius: 10px;
    width: 100%;
}
.filterCat{
    width: 100%;
    padding: 5px 10px;
    border-radius: 10px;
}
.listitem{
    display: none;
    position: absolute;
    margin-top: 5px;
    right: 15px;
    max-width: 40%;
    background-color: #fff;
    color: #000;
    overflow: auto;
    height: 50vh;
    z-index: 9999;
    list-style: none;
    cursor: pointer;
    border: 1px solid #000;
    border-radius: 10px;
}

  /* tabel css */
.table-headings th{
    background: var(--another) !important;
    color: #fff;
    text-align: center;
}
.table{
    width: 100%;
    vertical-align: middle;
    margin: 0;
}
.table th{
    padding: 10px;
    /* font-size: 20px; */
    border: 1px solid #fff;
    vertical-align: middle;
}
.table td{
    text-align: center;
    border: 1px solid #000;
}
.table td input{
    text-align: center;
    padding: 10px;
    border: 1px solid;
    border-radius: 10px;
}
.cat{
    background-color: var(--primary) !important;
    color: #fff !important;
}
.table tr img{
    max-width: 50px;
    max-height: 50px;
    cursor: pointer;
}
.overtotal{
    text-align: center;
    background-color: var(--another);
    font-weight: 600;
    margin: 0;
}

/* pop up */
.popupsec{
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    z-index: 999;
    background-color: rgba(146, 145, 145,0.5);
}
.pop{
    display: block; 
    text-align: center;
    background-color: #fff;
    border-radius: 10px;
}
.pop button{
    cursor: pointer;
    border: none;
    background: none;
    font-size: 30px;
    color: #626262;
    margin: 10px;
}
.pop iframe{
    width: 560px;
    height: 320px;
}
@media (max-width:560px) {
    .pop iframe{
        width: 360px;
        height: 220px;
    }    
}
@media (max-width:420px) {
    .pop iframe{
        width: 250px;
        height: 150px;
    }    
}
.thumbnail{
    max-width: 50px;
    max-height: 50px;
    cursor: pointer;
}
.icon{
    font-size: 40px;
    cursor: pointer;
    color: #ff0000;
}

/* Search item section */
.itemlist{
    display: none;
    width: 30%;
    background-color: #fff;
    color: #000;
    overflow: auto;
    height: 50vh;
    z-index: 9999;
    list-style: none;
    padding: 10px;
    cursor: pointer;
    position: absolute;
    border: 1px solid #000;
}
@media (max-width:992px) {
    .filterCat option,
    .itemlist{
        width: 40%;
    }
}
@media (max-width:576px) {
    .itemlist{
        width: 80%;
    }
}
/* Order Preview page */
.download{
    display: flex;
    justify-content: space-around;
}
.bottom{
    padding: 10px;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1111;
}
.bottom input{
    background-color: var(--another);
    color: #fff;
}

/* User details section */
.details input,
.details textarea,
.details select{
    width: 300px;
    padding: 10px;
    font-size: 20px;
    border-radius: 10px;
}
.details label{
    width: 150px;
}
#hpc{
    width: 250px;
}
.addflex{
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (max-width:471px) {
    .addflex{
        display: block;
    }
}

/* pdf layout */
.brd{
    border: 1px solid black;
}
.abrd{
    border-top: 2px soild black;
    border-right: 1px soild black;
    border-left: 1px soild black;
}
.rbd td{
    border: 2px solid black;
    text-align: center;
}
.bold{
    font-weight: bold;
}

/* Promo Section */
#hpc{
    cursor: pointer;
    font-weight: bold;
}
#hpc:hover{
    color: #008000;
}
.rline{
    border-right: 2px solid black;
}

/* tablet view */
.bg-box1{
    background-color: #a8cbf4;
}
.bg-box2{
    background-color: #c3d5f5;
}
.prdcard{
    position: relative;
}
.acode{
    position: absolute;
    border: 1px solid #000;
    background-color: var(--primary);
    color: #fff;
    border-top-left-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
}
.cimg{
    width: 90px;
    height: 90px;
}
.pinp{
    width: 50px;
    text-align: center;
    border-radius: 5px;
}
.pstotal{
    position: absolute;
    bottom: 0;
    right: 0;
    width: 120px;
    height: 30px;
    border: none;
    border-top-left-radius: 15px;
    border-bottom-right-radius: 0.375rem;
    text-align: center;
}
.fixed{
    position: fixed;
    bottom: 20px;
    z-index:  99999;
    width: 100%;
}
.fixed .fdiv{
    background-color: var(--primary);
    padding: 5px 10px;
    color: #fff;
    border-radius: 15px;
}
/* nav-cart */
.div1prd{
    position: absolute;
    top: -20px;
    left: 20px;
    background-color: var(--another);
    border-radius: 50%;
    color: #fff;
    padding: 5px;
}
.div2prd{
    position: absolute;
    top: -20px;
    background-color: var(--primary);
    border-radius: 50%;
    color: #fff;
    padding: 5px;
}

/* cart page css */
.cth thead tr th{
    text-align: center;
    background-color: var(--primary) !important;
    color: #fff !important;
}
.cr-cart-qty {
    text-align: center;
}
.cr-cart-qty .cart-qty-plus-minus {
    width: 80px;
    height: 30px;
    margin: 0 auto;
    position: relative;
    display: inline-block;
    overflow: hidden;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    background-color: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 5px;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}
.cr-cart-qty .cart-qty-plus-minus input {
    width: 30px;
    margin: 0;
    padding: 0;
    background: transparent none repeat scroll 0 0;
    color: #444;
    border: medium none;
    float: left;
    font-size: 14px;
    font-weight: 600;
    line-height: 38px;
    height: auto;
    text-align: center;
    outline: none;
}
.cr-cart-qty .cart-qty-plus-minus button {
    height: 25px;
    width: 25px;
    margin-top: -2px;
    border: none;
    background-color: transparent;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}
.final tr td{
    color: #fff !important;
}