* {
    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 {
    /* --prime:#fdb016;
    --another:#042f46; */
    --prime: #1f3d70;
    --another: #f15d4e;
}

.bg-pri {
    background-color: var(--prime) !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,
.top-estimate {
    width: 100%;
    position: sticky;
    background-color: var(--another);
    padding: 15px;
    top: 65px;
    color: white;
    z-index: 999;
    flex-wrap: wrap;
}

.top-estimate {
    top: 0px;
    margin: 0 !important;
}

@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: 500px) {
    .details label {
        width: auto !important;
    }

    .details .d-flex.align-items-center {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .top-estimate {
        top: 0px;
    }

    .stick {
        top: 65px;
    }
}

@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: 10px;
    border-radius: 10px;
    width: 100%;
}

.filterCat {
    width: 100%;
    padding: 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: none;
    background-color: var(--prime);
    border-radius: 10px;
    color: #fff !important;
}

.cat {
    background-color: var(--prime) !important;
    color: #000 !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;
}

.pyo-btn {
    color: #000;
    background-color: var(--prime);
    font-size: 18px;
}

/* pop up */
.popupsec {
    display: none;
    /* Hidden by default */
    justify-content: center;
    align-items: center;
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    z-index: 9999;
    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;
}

.esti_td {
    font-size: 16px;
    font-weight: 700 !important;
}

@media (max-width:1024px) {
    .w-mrp {
        width: 100px;
    }
}

@media (max-width:560px) {
    .pop {
        width: 90%;
    }

    .pop iframe {
        width: 360px;
        height: 220px;
    }

    .imgdiv img {
        max-width: 300px !important;
    }

    .w-mrp {
        width: 50px;
    }

    .esti_td {
        font-size: 14px;
        font-weight: 500 !important;
    }
}

@media (max-width:420px) {
    .pop iframe {
        width: 250px;
        height: 150px;
    }
}

@media (max-width:375px) {
    .imgdiv img {
        max-width: 225px !important;
    }
}

.thumbnail {
    max-width: 50px;
    max-height: 50px;
    cursor: pointer;
}

.vicon {
    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: #ffdae0;
}

.bg-box2 {
    background-color: #ffb4bf;
}

.prdcard {
    position: relative;
    height: 100%;
}

.acode {
    position: absolute;
    border: 1px solid #000;
    background-color: var(--prime);
    color: #fff;
    border-top-left-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
}

.cimg {
    width: 90px;
    height: 90px;
}

.pinp {
    width: 50px;
    padding: 5px;
    text-align: center;
    border-radius: 5px;
    border: 1px solid #000000;
    background: #FFFFFF;
}

.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;
    border: 1px solid #000000;
    background: #FFFFFF;
}

.fixed {
    position: fixed;
    bottom: 20px;
    z-index: 99999;
    width: 75%;
}

@media (max-width: 1200px) {
    .fixed {
        width: 100%;
    }
}

.fixed .fdiv {
    background-color: var(--another);
    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: 2px 8px;
    width: auto;
    height: 25px;
}

.div2prd {
    position: absolute;
    top: -20px;
    background-color: var(--prime);
    border-radius: 50%;
    color: #fff;
    padding: 5px;
}

/* cart page css */
.cth thead tr th {
    text-align: center;
    background-color: var(--prime) !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;
}

/* views */
.view {
    fill: #fff !important;
}

.prdcard p,
.cat p {
    font-size: 16px;
    font-weight: bold !important;
}

.loading {
    pointer-events: none;
    opacity: .5;
}

.cat p {
    color: #fff;
}

.pyo-btn {
    color: #000;
    background-color: var(--primary);
    font-size: 18px;
}