
body {
    font-family: 'PT Sans', sans-serif;
    padding-left: 1em;
    background-image: url("../../images/pizza-back.jpg")
}

main {
    margin: 0;
}

ul {
    list-style: none;
}

nav {
    position: fixed;
    top: 0px;
}

.static {
    color: white;
    padding: 4em;
    background-color: #19160d;
    opacity: 80%;
    margin: auto;
}

.msgBox {
    display: none;
    background-color: green;
    color: white;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 5em;
    text-align: center;
    z-index: 50;
}

.refreshCart {
    float: right;
    cursor: pointer;
}

.popup {
    display: none;
}

#mobile-top {
    display: none;
    ;
}



#mycart {
    position: fixed;
    bottom: 0;
    height: 0.5em;
    background-color: #d23c22;
}



.footer {
    height: 100px;
    text-align: center;
    background-color: #1e2732;
    color: #e7e282;
    opacity: 0.9;

}

label {
    text-align: left;
}

tr:nth-child(even) {
    background-color: #f2f2f2
}

select {
    margin-bottom: 0;
}

.cartAndAddress{
  background-image: url("../../images/emptycart.png");
  background-position: top;
  background-repeat: no-repeat;  
  background-color: white;
  opacity: 95%;
  grid-area: cartAndAddress;
  display: none;
}

.minAmountBtn {
    text-align: center;
    width: 98%;
    margin-top: -2rem;
    margin-bottom: 2rem;   
    cursor: pointer;
}

.priceheader {
    text-align: right;
}

.addressblock {
    width: 100%;
    background-color: #ffe28a;
}

#cart {
    width: 100%;
}

#extras {
    box-shadow: inset 0 0 10px #000000;
    padding: 1rem
}

.topping {
    cursor: pointer;
    float: left;
    padding: 0.1em;
    margin: 0.3em;
}

.rTopping {
    cursor: pointer;
    float: left;
    padding: 0.1em;
    margin: 0.3em;
    clear:right;
}

.bundleRadioGroup{
    display: flex;
    justify-content: center;
}

.bitems {
    float: left;
    font-size: 0.6em;
    word-wrap: break-word;
    max-width: 15em;
}

#pname {
    float: left;
    font-size: larger;
}

.addtocart-button {
    cursor: pointer;
    color: gold;
    background-color: red;
    float: right;
    padding-left: 1.5rem;
    padding-right: 1.5rem
}

.prices {
    margin-top: 1.5rem;
}

.topping-name {
    padding-left: 0.3em;
    padding-right: 0.3em;
    cursor:pointer;
}

.selected {
    background-color: gold;
    color: #d23c22;
    border-radius: 5px;
}

.cartBar {
    margin-left: 0em;
    padding-left: 0.5em;
}

#dcart {
    background-color: white;
    z-index: 50;
    box-shadow: -8px 8px 8px #666;
}

#top {
    height: 5em;
    margin-top: 1.7em;
    margin-bottom: 0.3em;
    padding: 0.3em;
    font-family: 'Permanent Marker', cursive;
    text-align: center;
    color: white;
}

.header{
    display: grid;
    background-color: #d23c22;
}

.shop-info {
    grid-area: s;
}

.main {
    display: grid;
}

.products{
    grid-area: products;
}


#shop-address {
    float: left;
    height: inherit;
}

.cart-link {
    cursor: pointer;
    color: white;
    background-color: #d23c22;
    grid-area: c;
    display: flex;
}

.cart-link-active {
    color: #d23c22; 
    background-color: white;
}



#ordersubmit {
    padding: 1em;
    background-color: #fff694;
    margin-top: -2rem;

}

#cartHeader {
    padding: 1em;
}

#itemsTable {
    padding: 1em;
    margin-top: -6rem;
}

tbody#itemsTable {
    background-color: antiquewhite;
}


#categories {
    text-align: center;
    background-color: red;
    color: white;
}

nav {
    z-index: 100;
}

.category {
    cursor: pointer;
    float: left;
    padding-right: 1rem;
    padding-left: 0.9rem;
    margin-bottom: 0rem;
    color: white;
    background-color: #d23c22;
}



.product {
    padding: 0.7em;
    margin-bottom: 0;
}

.productprices{
    grid-area: prices;
}

.product:hover {
    background-color: #ff9504;
    color: white;
}

.evenRow {
    background-color: #ffe28a;
    opacity: 0.9;
}

.oddRow {
    background-color: #fff694;
    opacity: 0.9;
}

.order-button {
    color: white;
    background-color: darkgreen;
    margin: auto;
}

.addToCart {
    cursor: pointer;
    background-color: #d23c22;
    padding-top: 0.1em;
    padding-bottom: 0.1em;
    padding-left: 0.4em;
    padding-right: 0.4em;
    color: white;
    border-radius: 0.5em;
    float: right;
    margin-left: 1rem;
}

.addToCartB {
    cursor: pointer;
    background-color: #d23c22;
    padding-top: 0.1em;
    padding-bottom: 0.1em;
    padding-left: 0.4em;
    padding-right: 0.4em;
    color: white;
    border-radius: 0.5em;
    float: right;
    margin-left: 1rem;
}

.addToCartS {
    cursor: pointer;
    background-color: #d23c22;
    padding-top: 0.1em;
    padding-bottom: 0.1em;
    padding-left: 0.4em;
    padding-right: 0.4em;
    color: white;
    border-radius: 0.5em;
    float: right;
    margin-left: 1rem;
}

.productname {
    font-weight: bold;
}


.price-info {
    float: left;
}

.prices {
    margin-top: -2rem;
    margin-bottom: 2rem;
}

.category-image {
    width: 75%;
    background-color: lightsalmon;
    height: 250px;
}

.bundlegroup {
    clear: both;
    border-color: green;
    border-style: double;
    margin-bottom: 1em;
}

#checkoutBlock {
    margin-left: -3rem;
}

#cartitems th:first-child,
td:first-child {
    padding-left: 10px;
}

td:last-child {
    padding-right: 10px;
}

#cartitems th, td {
    padding: 0.5px 0.5px;
}

.cq {
    cursor: pointer
}

#ordercharges {
    margin-top: -6rem;
    padding-right: 1em;
}

ul#ordercharges {
    list-style-type: none;
    text-align: right;
    padding-right: 2em;
    line-height: 0.4em;
    font-size: smaller;
    padding-bottom: 0.1em;
    padding-top: 0.4em;
}

li#ordercharges {
    margin-bottom: 0;
    padding-right: 0.5em;
    text-align: right;
}

input#ordersubmit {
    margin-top: -0.7rem;
}

label#ordersubmit {
    margin-top: -1rem;
}

.error {
    color: red;
    top: -4px;
}

.error label {
    margin-top: -10px;
}

#placeOrder{
    background-color: green;
    color: #FFFFFF;
}

#category-list {
    display: flex;
}


#title, #subtitle {
    text-align: center;
    color: white;
}


.price {
    width: 5em;
}

@media (max-width: 799px) {

    body {
        padding-right: 0px;
        padding-left: 0px;
        margin-left: 0px;
        margin-top: 0px;
        margin-right: 0px;
        margin-bottom: 0px;
    }

    .container{
        padding-right: 0px;
        padding-left: 0px;
        margin-left: 0px;
        margin-top: 0px;
        margin-right: 0px;
        margin-bottom: 0px;
    }

    .productdesc {
        max-width: 270px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        }


    #dcart {
        display: none;
    }

    #rightBar {
       display: none;
    }

    .cart-link {
        display: none;
    }


    #top {
        margin-left: -2.3em;
        top: 0;
        height: 4em;
        position: fixed;
        display: block;
        font-family: 'Permanent Marker', cursive;
        text-align: center;
        color: white;
        background-color: #d23c22;
        cursor: pointer;
        z-index: 100;
        
    }

    .mobile-menu-button {
        display: block;
        background-color: #d23c22;
        outline: 1px solid white !important;
        grid-area: mo;
    }

    #mobile-header {
        flex-grow: 1;
    }

    .namedesc{
        display: grid;
        grid-area: namedesc;
    }

    .product {
        padding: 0.5em;
        margin-bottom: 0;
        height: auto;
        display: grid;
        grid-template-areas: 'namedesc prices';
        grid-template-columns: 80% 20%;
    }

    #circle {
        box-shadow: 1px 1px 5px #313030;
        background: #054620;
        z-index: 70;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        cursor: pointer;
        position: fixed;
        bottom: 1em;
        padding: 0.3em;
        margin-left: 45%;
    }

    #circledcart {
        padding: 5px;
        margin-left: 12px;
        margin-top: 12px;
    }

    header {
        height: 2.5em;
    }

    .remodal {
        font-size: 1em;
        width: 100%;
    }

    th, td {
        padding: 5px 5px;
    }

    .pricelbl {
        font-size: 0.7em;
        text-align: right;
    }

    .bundle-popup {
        padding: 4rem;
        font-size: 1.3em;
    }

    #pname {
        padding-top: 2rem;
    }

    nav {
        display: none;
    }

    .popup {
        display: none;
    }

    #category-list {
        flex-direction: column;
        
    }
    .menu-wrapper{
        display: none;
        width: 10em;
        margin-left: 0;
        margin-top: -10;
        z-index: 60;
        box-shadow: 10px 10px 30px #313030;
    }

    .header {
        height: 38px;
        grid-template-areas: 'mo s';
        grid-template-columns: 10% 90%;
        width: 100vw;
        z-index: 80;
        position: fixed;
        top: 0;
    }

    .main {
        grid-template-areas: 
         'products';
        grid-template-columns: 100%;
        width: 100vw; 
    }

    #title {
        padding-top: 0.5em;
    }

    #subtitle {
        display: none;
    }

    .icono-hamburger {
        margin-left: -20;
    }


}
@media (min-width: 800px) {

    .header {
        height: 130px;
        grid-template-areas: 
        's s s'
        's s s'
        'm m c';
        grid-template-columns: 47% 42% 10%;
        grid-template-rows: 38% 38% 23%;
    }

    .main {
        grid-template-areas: 
         'products cartAndAddress';
        grid-template-columns: 60% 40%; 
    }

    .products-only {
        grid-template-areas: 'products'; 
        grid-template-columns: 100%;
    }

    .category:hover {
        color: #d23c22;
        background-color: white;
    }

    .mobile-menu-button {
        display: none;
    }

    .product {
        padding: 0.5em;
        margin-bottom: 0;
        height: auto;
        display: grid;
        grid-template-areas: 'namedesc prices';
        grid-template-columns: 70% 30%;
    }



    .prices {
        margin-top: -1rem;
        margin-bottom: 2rem;
    }

    #rightBar {
        margin-left: 0;
        display: block;
        float: right;
        width:34.5%
    }

    #title {
        font-size: 2.5em;
    }

    #subtitle {
        margin-top: -1em;
    }

    #pname {
        padding-top: 0rem;
    }

    #circle {
        display: none;
    }

    #circledcart {
        display: none;
    }

    .popup {
        display: none;
    }

    #category-list {
        flex-direction: row;
    }
    .menu-wrapper{
        display: block;
        grid-area: m;
    }
    .shop-info {
        padding-top: 1em;
    }
    .icono-cart {
        margin-top: -1px;
    }

    .menu-fixed {
        position: fixed;
        top: 0;
        z-index: 10;
    }

}