*{
    padding:0px;
    margin:0px;
    font-family: Georgia, 'Times New Roman', Times, serif;
}
.body{
    background-color: navajowhite;
}
/*
.header{
    width: 100%;
    height: 15%;
    background-color: grey;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 2;
    padding: 0.5em;
}*/
.header span{
    text-transform: uppercase;
}
.menu{
    z-index: 3;
}
/*

.menu ul{
    width: 100%;
    padding: 0.5em;
}
.menu a{
    text-decoration: none;
    width: calc(100%/6.3);
    display: inline-block;
    height: 100%;
}
.menu a li{
    width: 100%;
    height: 100%;
    list-style: none;
    text-align: center;
    text-transform: uppercase;
}
.menu a:hover{
    background-color: pink;
}*/
.biz-name{
    text-align: center;
    text-transform: uppercase;
    justify-content: center;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-weight: bolder;
    font-size: 1.4em;
}
.main{
    width: 100%;
    /*background-color: lightpink;*/
    padding: 0em 3em;
}
.section{
    width: 100%;
    height: 45%;
    /*border: 0.5px solid black;*/
}
.section .sectiontitle{
    width: 100%;
    border-bottom: 1px solid black;
    box-shadow: 1px 1px 0 black;
    justify-content: center;
}
.sectiontitle p{
    padding: 0.3em;
    font-weight: bold;
}
.section .sectioncontent{
    height: 85%;
    display: flex;
    overflow-x: scroll;
    overflow-y: hidden;
    padding-top: 1em;
}
.latest .sectioncontent{
    white-space: nowrap;
}
.sectioncontent .piecedisplay{
    width: calc(100%/5);
    height: 100%;
    margin: 0 0.5em;
    display: inline-block;
    white-space: normal;
}
body::-webkit-scrollbar {
    width: 50%;               /* width of the entire scrollbar */
}

body::-webkit-scrollbar-track {
background: black;        /* color of the tracking area */
color: wheat;
}
.piecedisplay img{
    max-width: 100%;
    max-height: 80%;
    aspect-ratio: 3/2;
    object-fit: contain;
}
.piecedisplay .pieceaction{
    text-align: center;
    padding: 0.3em;
}
.like{
    color: green;
}
.dislike{
    color: red;
}
/*.view{
    background-color: black;
}*/
.currency{
    font-weight: bold;
    width: 60%;
}
.piecedisplay .addtocart{
    width: 100%;
    padding: 0.3em;
    text-align: center;
    color: white;
    background-color: green;
    display: inline-block;
    height: 100%;
}
.updateduffle{
    width: 100%;
    background-color: yellow;
}
.back{
    padding: 0.5em;
    background-color: red;
    border-radius: 5px;
    border: 0px;
    color: white;
}
.addbtn{
    padding: 0.5em;
    background-color: mintcream;
    border-radius: 5px;
    border: 0px;
}
.addbtn:hover{
    background-color: black;
    color: mintcream;
}
input[type="text"], input[type="email"], input[type="number"], input[type="password"], select{
    padding: 0.5em;
}
.savebtn{
    padding: 0.5em;
    background-color: mintcream;
    border-radius: 5px;
    border: 0px;
    text-transform: uppercase;
}
td .savebtn{
    width: 80%;
    margin:2% auto;
}
.no-records{
    width:100%;
    height:100%;
    text-align: center;
    align-items: middle;
    text-transform: uppercase;
    color: red;
    font-weight: bold;
}
.big-piece-display{
    width: 30%;
    height: 70%;
    position: fixed;
    top: 18%;
    left: 35%;
    border-radius: 5%;
    z-index: 3;
    -moz-box-shadow: 1px 1px 3px #000;
    -webkit-box-shadow: 1px 1px 3px #000;
    box-shadow: 1px 1px 3px #000;
    padding: 1em;
    background-color: wheat;
    display: none;
}
.big-piece-display .close-big-display {
    background: #606061;
    color: #FFFFFF;
    line-height: 25px;
    position: absolute;
    right: -12px;
    text-align: center;
    top: -10px;
    width: 24px;
    text-decoration: none;
    font-weight: bold;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
    -moz-box-shadow: 1px 1px 3px #000;
    -webkit-box-shadow: 1px 1px 3px #000;
    box-shadow: 1px 1px 3px #000;
}
.big-piece-display .addtocart{
    width: 100%;
    background-color: green;
    color: white;
    padding: 0.5em;
    text-align: center;
    font-style: italic;
}
.big-piece-display .piece-space{
    width: 100%;
    height: 60%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.piece-space img{
    max-width: 100%;
    max-height: 60%;
    min-width: 60%;
    width: auto;
    height: auto;
}
/*#images, .category-box{
    display: none;
}*/
.categoryoptions{
    display: none;
}
td img{
    max-width: 100px;
    max-height: 100px;
}
.img-circle{
    max-width: 100%;
    max-height: 100%;
}
.img-responsive{
    aspect-ratio: 3/2;
    object-fit: contain;
}
.createnewpiece{
    width: 100%;
}
.createnewpiece h3{
    width: 100%;
}
.createnewpiece table tr td input{
    width: 100%;
    padding: 0.5em;
}
.createnewpiece table tr td label::after{
    content: ":";
}
#notification{
    background-color: black;
    color: white;
    padding: 0.7em;
    top: 20%;
    left: 45%;
    position: fixed;
}
.category-name{
    background-color: #000;
    color: white !important;
    padding: 0.3em;
}
.pieceuploadpreview {
    cursor: pointer;
    max-height: 300px;
}
.img-preview {
    /*display: none;*/
    max-width: 100%;
    margin-top: 10px;
}
/* Full-width cart dropdown */
.cart-nav .dropdown-menu {
    width: 100vw !important;   /* full viewport width */
    left: 0 !important;        /* align to left edge */
    right: 0 !important;       /* align to right edge */
    border-radius: 0;
    margin-top: 0.5rem;
}
.cart-dropdown {
    max-height: 400px;         /* scrollable if too tall */
    overflow-y: auto;
}
#piece-size {
    max-width: 80%;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #ddd;
    margin-bottom: 10px;
}

@media screen and (max-width:600px) {
    .sectioncontent .piecedisplay{
        width: calc(100%/4);
        height: 100%;
    }
    .category-name{
        background-color: #000;
        color: white !important;
        padding: 0.3em;
    }
    .piecedisplay .pieceaction{
        text-align: center;
        padding: 0.2em;
    }
}
@media screen and (max-width:480px) {
    .sectioncontent .piecedisplay{
        width: calc(100%/1.5);
        height: 100%;
    }
    .category-name{
        background-color: #000;
        color: white !important;
        padding: 0.3em;
    }
    .big-piece-display{
        width: 40%;
        height: 80%;
        position: fixed;
        top: 20%;
        left: 30%;
        border-radius: 5%;
        z-index: 3;
        box-shadow: 0.3em black;
    }
    .piecedisplay .pieceaction{
        text-align: center;
        padding: 0.1em;
    }
    .createnewpiece{
        width: 100%;
    }
}
