.item-tile figcaption {
    font-size: 0.8rem;
    font-weight: 400;
    text-align: center;
    overflow: hidden;
    text-shadow: 1px 1px 2px #fff;
    word-break: keep-all;
}

figure.item-tile {
    display: flex;
    /* border: 1px solid #333; */
    border-radius: 5%;
    box-shadow: 1px 1px 4px 0px #0000009a;
    /* width: 12.5rem; */
    background-color: #c9f0f194;
    /* height: 11.5rem; */
    padding: 1rem 3rem 0.4rem 3rem;
    /* margin: 2rem !important; */
    padding: 0rem 2rem;
    margin: 4rem 2rem;
}
.tile-icon, .item-tile img {
    width: 3rem;
    height: 3rem;
    margin: 0px auto;
    border-radius: 50%;
    border: 1px solid darkslateblue;
    box-shadow: -2px 1px 0px 2px #1c00ff;
}

.modalBackdrop{
    display: none;
    position:fixed;
    top:0;
    left:0;
    width:100vw;
    width:100svw;
    height:100vh;
    height:100dvh;
    margin: unset !important;
    background-color:rgba(0,0,0,0.6);
}

span.inline-grid-tile {
    display: inline-grid;
    /*overflow: auto;*/
}

.quantity {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
}

.uom {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
}

.productiondate {
    font-size: 0.9rem;
    font-weight: 600;
    display: block;
    text-align: center;
}
.productiondate:before {
    content: "Produced on: ";
    font-size: 0.7rem;
    font-weight: 900;
}





.labelproductform {
    display: inline-block;
    box-shadow: 1px 1px 5px 0px #000;
    margin: 0 1rem 2rem 1rem;
    padding: 1rem 1.75rem 1rem 1.25rem;
    border-radius: 6px;
    border: 1px solid blue;
}

#item-details-modal h4 {
    text-align: center;

}
.label-samples {
    text-align: center;
}
.label-samples img {
    border-radius: 15px;
    border: 3px solid #000;
    box-shadow: 1px 1px 2px 0px #000;
    margin-top: 10px;
}




div#item-details-modal {
    box-sizing: border-box;
    z-index: 9999;
    border: 1px solid black;
    position: fixed;
    background-color: #fcfcfc;
    overflow: auto;
    display: none;
    padding: 0 0 0.5rem 0;
    border-radius: 5px;
    margin: auto;
    box-shadow: 5px 7px 10px 0px #00000085;
    padding: 0 0 1.25rem 0;

    }

.modal-headblock {
    position: sticky;
    text-align: center;
    top: 0;
    z-index: 99;
    background: white;
    padding: 1rem;
    border-bottom: 1px solid #000000;
    box-shadow: 0 4px 5px 0px #00000073;
}
.modal-headblock h3 {
    margin: 0px;
    padding: 1rem 2rem 0.75rem 2.25rem;
}

span.close-icon a {
    text-decoration: none;
    color: white;
    cursor: pointer;
    border: 1px solid #000;
    padding: 0 0.6rem 0rem 0.6rem;
    border-radius: 20px;
    text-shadow:1px 1px 2px #000000, -1px -1px 2px #4f4e4e;
    box-shadow: 1px 1px 2px 0px #909090;
}

span.close-icon {
    background-color: #e07306e6;
    float: right;
    /* display: block; */
    text-align: right;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 900;
    padding: 0px;
    border-radius: 20px;
    margin: -0.5rem;
}

table {
    border: 1px solid #030303;
    margin: 1rem auto;
}

th {
    background-color: #61e3e3;
    border-bottom: 3px solid #0a0a0a;
    padding: .5rem .75rem;
    font-size: 0.9rem;
    font-weight: 500;
}
tbody td {
    color: #373636;
}
tr:nth-of-type(odd) {
    background-color: antiquewhite;
}

tr {
    padding: .4rem .9rem;
    background-color: #dddddd;
    border-bottom: 1px solid darkblue;
}
tr:last-of-type {
    border-bottom: none;
}
tbody td {
    font-size: 0.8rem;
    text-align: center;
    vertical-align: middle;
}
.figure-row {
    display: none;
}

.unselectable {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  }

  
  
@media only screen and (min-width: 1024px) {
    #item-details-modal {
        padding: 0 0 1.25rem 0;
        height: 70vh;
        height: 70dvh;
        top: 15vh;
        top: 15dvh;
        width: 70vw;
        width: 70dvw;
        left: 15vw;
        left: 15dvw;

    }
    .modal-headblock {
        text-align: left;
    }
}
@media only screen and (max-width: 1024px) {
    #item-details-modal {

        height: 90vh;
        height: 90dvh;
        top: 5vh;
        top: 5dvh;
        width: 90vw;
        width: 90dvw;
        left: 5vw;
        left: 5dvw;

    }
    .modal-headblock {
        text-align: center;
    }
}


@media only screen and (min-width: 600px) {
    .tab-box {
        display: flex;
    }

}
@media only screen and (max-width: 599px) {
    .tab-box {
        width: min-content;
    }
    span.close-icon {
        margin: 0.5rem;
    }

    table {
        width: 95%;
        border-radius: 5px;
        box-shadow: 1px 1px 1px 0px #909090;
    }
    thead {
        display: none;
    }
    tr {
        display: grid;
    }
    tbody td {
        border-bottom: 1px solid #909090;
        text-align: left;
    }
    tbody td {
        padding-left: 1rem;
    }
    tbody td:first-of-type, tbody td:last-of-type {
        padding-left: 0;
    }
    tbody td:first-of-type {
        font-weight: 700;
        font-size: 1rem;
    }
    .label-samples {
        align-content: center;
        height: -webkit-fill-available;
        text-align: center;
        height: 340px;
    }
    .label-samples img {
            rotate: 90deg;
            margin-left: -45px;
    }




}


.inner-modal {
    display: none;
    border: 1px solid;
    color: black;
    position: absolute;
    top: 12%;
    left: 12%;
    width: 75%;
    height: 75%;
    background: #d7d7d7;
    z-index: 99;
    padding: 1.8rem 2rem;
    box-sizing: border-box;
    border-top: 4px solid white;
    box-shadow: 1px 1px 5px 1px #000;
    border-radius: 10px;
    text-align: center;
    border-left: 4px solid white;
    border-bottom: 4px solid grey;
    border-right: 4px solid grey;
}

.inner-modal h4 {
    color: #000;
    text-shadow: 2px 2px 1px #fbfbfb;
    font-size: 1.8rem;
    margin: 0 0 1rem 0;
    display: inline-block;
    text-align: start;
}
.inner-modal input, .inner-modal button {
    font-size: 7rem;
}


.inner-modal input {
    width: 19rem;
    display: flex;
    margin: auto;
    float: left;
    margin-left: 5rem;
    font-size: 15rem;
}

.innerbuttons {
    display: inline-grid;
}
.innerbuttons button {
    border-radius: 28px;
    padding: 1rem 2.5rem 1rem 2rem;
    font-size: 3rem;
    margin: 1rem;
    background-color: #80d76a;
}








div[class*="icon"], span[class*="icon"], img[class*="icon"] {
    cursor: pointer;
}