.storeitems {
  display: flex;
  flex-flow: row wrap;
  align-content: space-around;
}

.storeitems article {
    font-size: 0.9em;
    width: 10em;
    position: relative; 
    text-align: center;
    display: inline-block;
    margin: 0.3em;
    padding: 0.5em;
    padding-bottom: 2.5em;
    border-radius: 5px;
    background: #fff;
    border: 1px solid #4CAF50;
    color: #000;
}

.iline {
    display: block;
    clear: both;
    margin-left: auto;
    margin-right: auto;
}

.iname {
    font-weight: bold;
}

.icapt {
    font-size: 0.7em;
    color: #989898;
}

.iprice {
    font-weight: bold;
    font-size: 0.8em;
}

.sizebox {
    outline:1px #fff solid;
    display: block;
}

.sizebox-err {
    outline:1px #D8000C solid;
}

.isize {
    display: inline-block;
}

.isize-radio {
    position: absolute;
    left: -9999px;
}

.isize-radio ~ label {
    font-weight: bold;
    display: inline-block;
    border: 1px solid #4CAF50;
    padding: 0.3em;
    margin: 0.1em;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* To save space */
.isize label:first-child {
    margin-left: 0;
}
.isize label:last-child {
    margin-right: 0;
}

.isize-radio ~ label:hover {
    cursor: pointer;
}

.isize-radio:checked ~ label {
    background-color: #4CAF50;
}

.iquantity input {
    display: inline-block;
    width: 26px;
    padding: 1px;
    border-radius: 0px;
    margin: 0;
}

.iqty-err {
    border: 1px solid #D8000C;
}

.iadd-cart {
    position: absolute;
    overflow: hidden;
    bottom: 0.5em;
    width: calc(100% - 2*0.6em);
    border-radius: 5px;
    height: 26px;
    background: #fff;
    border: 1px solid #4CAF50;
    vertical-align: middle;
}

.iadd-cart.err {
    border-color: #D8000C;
}

.iadd-cart-mo:hover {
    background-color: #4CAF50;
    cursor: pointer;
}

.iicon {
    vertical-align: bottom;
}

@media only screen and (max-width: 800px) {
    .storeitems div {
        width: 40%;
    }
    
    .isize-radio ~ label {
        padding: 0.5em;
        margin: 0.1em 0.3em;
    }
    
    .iadd-cart-mo:hover {
        background-color: #FFF;
        cursor: pointer;
    }
}

.err-prompt {
    color: #D8000C;
}

#storefooter {
    margin-top: 1.6em;
    text-align: right;
}

.g-button {
    font-size: 1.1em;
    display: inline-block;
    margin: 0.3em;
    padding: 0.5em 1.2em;
    border-radius: 5px;
    background: #4CAF50;
    border: 2px solid #4CAF50;
    color: #000;
}

.g-button:hover {
    background: #fff;
    cursor: pointer;
}

.g-button svg {
    vertical-align: bottom;
}

.estore-sel-date {
    width: 220px;
    margin: 0.3em;
}

#pickup-select, #pickup-select-adm, #browse-itms {
    padding: 1em;
    margin: 0.3em;
    border: 1px solid #4CAF50;
    border-radius: 4px;
    background-color: #fff;
}

#pickup-select:hover, #pickup-select:active, #browse-itms:hover, #browse-itms:active {
    cursor:pointer;
    border: 1px solid #4CAF50;
}

#orderTime {
    margin-bottom: 6px;
}

.opend {
    transform: rotate(90deg);
}

.categoryarrow {
    position: relative;
    top: 24px;
    right: 16px;
}

.categoryhead {
    padding-left: 1em;
    cursor: pointer;
}

.categoryhead h3 {
    margin-bottom: 0.2em;
    margin-top: 0;
}

.warn-icon {
    color: #ffa31a;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}